Home
last modified time | relevance | path

Searched refs:Dimension (Results 1 – 25 of 41) sorted by relevance

12

/llvm-project-15.0.7/flang/include/flang/Runtime/
H A Ddescriptor.h45 class Dimension {
64 Dimension &SetLowerBound(SubscriptValue lower) { in SetLowerBound()
68 Dimension &SetUpperBound(SubscriptValue upper) { in SetUpperBound()
73 Dimension &SetExtent(SubscriptValue extent) { in SetExtent()
77 Dimension &SetByteStride(SubscriptValue bytes) { in SetByteStride()
202 Dimension &GetDimension(int dim) { in GetDimension()
261 const Dimension &dim{GetDimension(k)};
285 const Dimension &dim{GetDimension(k)};
294 const Dimension &dim{GetDimension(k)};
326 bytes += rank * sizeof(Dimension);
[all …]
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/readability/
H A Dmagic-numbers.cpp162 struct Dimension { struct
166 explicit Dimension(T xval, T yval) noexcept : x{xval}, y{yval} { in Dimension() function
173 Dimension<T> size;
176 …Rectangle(Point<T> origin_, Dimension<T> size_, T rotation_ = 0) noexcept : origin{origin_}, size{… in Rectangle()
184 …e<double> mandelbrotCanvas{geometry::Point<double>{-2.5, -1}, geometry::Dimension<double>{3.5, 2}}; argument
/llvm-project-15.0.7/flang/runtime/
H A Dinquiry.cpp29 const Dimension &dimension{array.GetDimension(dim - 1)}; in RTNAME()
53 const Dimension &dimension{array.GetDimension(i)}; in RTNAME()
62 const Dimension &dimension{array.GetDimension(i)}; in RTNAME()
75 const Dimension &dimension{array.GetDimension(dim - 1)}; in RTNAME()
H A Dpointer.cpp79 Dimension &dim{pointer.GetDimension(j)}; in RTNAME()
166 const Dimension &pDim{pointer.GetDimension(j)}; in RTNAME()
167 const Dimension &tDim{target->GetDimension(j)}; in RTNAME()
H A Ddescriptor.cpp117 return sizeof *this - sizeof(Dimension) + raw_.rank * sizeof(Dimension) + in SizeInBytes()
170 const Dimension &dim{GetDimension(k)}; in DecrementSubscripts()
185 const Dimension &dim{GetDimension(k)}; in ZeroBasedElementNumber()
H A Dtransformational.cpp45 const Dimension &shiftDim{shift_.GetDimension(k)}; in Init()
188 const Dimension &sourceDim{source.GetDimension(0)}; in RTNAME()
H A Dtype-info.cpp115 Dimension &dim{descriptor.GetDimension(j)}; in EstablishDescriptor()
H A Dnamelist.cpp157 const Dimension &dim{source.GetDimension(j)}; in HandleSubscripts()
/llvm-project-15.0.7/mlir/lib/Conversion/GPUCommon/
H A DIndexIntrinsicsOpLowering.h41 case gpu::Dimension::x: in matchAndRewrite()
44 case gpu::Dimension::y: in matchAndRewrite()
47 case gpu::Dimension::z: in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/GPU/Transforms/
H A DAllReduceLowering.cpp69 Value dimX = getDimOp<gpu::BlockDimOp>(gpu::Dimension::x); in rewrite()
70 Value dimY = getDimOp<gpu::BlockDimOp>(gpu::Dimension::y); in rewrite()
71 Value dimZ = getDimOp<gpu::BlockDimOp>(gpu::Dimension::z); in rewrite()
72 Value tidX = getDimOp<gpu::ThreadIdOp>(gpu::Dimension::x); in rewrite()
73 Value tidY = getDimOp<gpu::ThreadIdOp>(gpu::Dimension::y); in rewrite()
74 Value tidZ = getDimOp<gpu::ThreadIdOp>(gpu::Dimension::z); in rewrite()
153 Value getDimOp(gpu::Dimension dimension) { in getDimOp()
H A DMemoryPromotion.cpp62 for (auto dim : {gpu::Dimension::x, gpu::Dimension::y, gpu::Dimension::z}) { in insertCopyLoops()
H A DKernelOutlining.cpp35 for (auto dim : {gpu::Dimension::x, gpu::Dimension::y, gpu::Dimension::z}) in createForAllDimensions()
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/
H A DPDBSymbolTypeDimension.h20 DECLARE_PDB_SYMBOL_CONCRETE_TYPE(PDB_SymType::Dimension)
H A DPDBTypes.h274 Dimension, enumerator
/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dfold-designator.h174 struct Dimension { struct
178 using Dimensions = std::vector<Dimension>;
/llvm-project-15.0.7/polly/lib/Analysis/
H A DDependenceInfo.cpp715 unsigned Dimension; in isParallel() local
727 Dimension = isl_map_dim(ScheduleDeps, isl_dim_out) - 1; in isParallel()
729 for (unsigned i = 0; i < Dimension; i++) in isParallel()
736 for (unsigned i = 0; i < Dimension; i++) in isParallel()
739 Distance = isl_set_lower_bound_si(Distance, isl_dim_set, Dimension, 1); in isParallel()
748 Distance = isl_set_project_out(Distance, isl_dim_set, 0, Dimension); in isParallel()
/llvm-project-15.0.7/llvm/include/llvm/Demangle/
H A DItaniumDemangle.h738 Node *Dimension; variable
758 if (Dimension) in printRight()
759 Dimension->print(OB); in printRight()
1067 const Node *Dimension; variable
1078 if (Dimension) in printLeft()
1085 const Node *Dimension; variable
1096 Dimension->print(OB); in printLeft()
1102 const Node *Dimension; variable
1112 Dimension->print(OB); in printLeft()
3617 if (!Dimension) in parseArrayType()
[all …]
/llvm-project-15.0.7/libcxxabi/src/demangle/
H A DItaniumDemangle.h738 Node *Dimension; variable
758 if (Dimension) in printRight()
759 Dimension->print(OB); in printRight()
1067 const Node *Dimension; variable
1078 if (Dimension) in printLeft()
1085 const Node *Dimension; variable
1096 Dimension->print(OB); in printLeft()
1102 const Node *Dimension; variable
1112 Dimension->print(OB); in printLeft()
3617 if (!Dimension) in parseArrayType()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUSubtarget.h259 unsigned getMaxWorkitemID(const Function &Kernel, unsigned Dimension) const;
H A DAMDGPUSubtarget.cpp441 unsigned Dimension) const { in getMaxWorkitemID()
442 unsigned ReqdSize = getReqdWorkGroupSize(Kernel, Dimension); in getMaxWorkitemID()
/llvm-project-15.0.7/llvm/unittests/DebugInfo/PDB/
H A DPDBApiTest.cpp443 InsertItemWithTag(PDB_SymType::Dimension); in SetUp()
505 VerifyDyncast<PDBSymbolTypeDimension>(PDB_SymType::Dimension); in TEST_F()
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/
H A DPDBSymbol.cpp95 FACTORY_SYMTAG_CASE(Dimension, PDBSymbolTypeDimension) in createSymbol()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/SparseTensor/IR/
H A DSparseTensorAttrDefs.td86 // Dimension level types that define sparse tensors:
/llvm-project-15.0.7/llvm/lib/Target/BPF/
H A DBPFAbstractMemberAccess.cpp442 uint32_t Dimension = 1; in replaceWithGEP() local
444 Dimension = getConstant(Call->getArgOperand(DimensionIndex)); in replaceWithGEP()
449 for (unsigned I = 0; I < Dimension; ++I) in replaceWithGEP()
/llvm-project-15.0.7/llvm/lib/IR/
H A DIRBuilder.cpp1189 Type *ElTy, Value *Base, unsigned Dimension, unsigned LastIndex, in CreatePreserveArrayAccessIndex() argument
1199 SmallVector<Value *, 4> IdxList(Dimension, Zero); in CreatePreserveArrayAccessIndex()
1209 Value *DimV = getInt32(Dimension); in CreatePreserveArrayAccessIndex()

12