Home
last modified time | relevance | path

Searched refs:Dims (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILFlattenArrays.cpp87 ArrayRef<uint64_t> Dims,
90 ArrayRef<uint64_t> Dims,
119 ArrayRef<Value *> Indices, ArrayRef<uint64_t> Dims, IRBuilder<> &Builder) { in genConstFlattenIndices() argument
120 assert(Indices.size() == Dims.size() && in genConstFlattenIndices()
126 unsigned DimSize = Dims[I]; in genConstFlattenIndices()
136 ArrayRef<Value *> Indices, ArrayRef<uint64_t> Dims, IRBuilder<> &Builder) { in genInstructionFlattenIndices() argument
144 unsigned DimSize = Dims[I]; in genInstructionFlattenIndices()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExprOpenMP.h35 SourceLocation R, ArrayRef<Expr *> Dims);
42 void setDimensions(ArrayRef<Expr *> Dims);
62 SourceLocation R, ArrayRef<Expr *> Dims,
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUHSAMetadataStreamer.cpp201 auto Dims = HSAMetadataDoc->getArrayNode(); in getWorkGroupDimensions() local
203 return Dims; in getWorkGroupDimensions()
206 Dims.push_back(Dims.getDocument()->getNode( in getWorkGroupDimensions()
208 return Dims; in getWorkGroupDimensions()
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DOMPIRBuilder.h2428 MapDimArrayTy Dims; member
2451 NonContigInfo.Dims.append(CurInfo.NonContigInfo.Dims.begin(), in append()
2452 CurInfo.NonContigInfo.Dims.end()); in append()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp5237 void OMPArrayShapingExpr::setDimensions(ArrayRef<Expr *> Dims) { in setDimensions() argument
5239 NumDims == Dims.size() && in setDimensions()
5241 llvm::copy(Dims, getTrailingObjects<Expr *>()); in setDimensions()
5253 ArrayRef<Expr *> Dims) in OMPArrayShapingExpr() argument
5255 RPLoc(R), NumDims(Dims.size()) { in OMPArrayShapingExpr()
5257 setDimensions(Dims); in OMPArrayShapingExpr()
5264 ArrayRef<Expr *> Dims, in Create() argument
5266 assert(Dims.size() == BracketRanges.size() && in Create()
5269 totalSizeToAlloc<Expr *, SourceRange>(Dims.size() + 1, Dims.size()), in Create()
5271 auto *E = new (Mem) OMPArrayShapingExpr(T, Op, L, R, Dims); in Create()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaOpenMP.h1413 ArrayRef<Expr *> Dims,
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp987 SmallVector<Expr *, 4> Dims(NumDims); in VisitOMPArrayShapingExpr() local
989 Dims[I] = Record.readSubExpr(); in VisitOMPArrayShapingExpr()
990 E->setDimensions(Dims); in VisitOMPArrayShapingExpr()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp8205 for (unsigned I = 0, L = 0, E = NonContigInfo.Dims.size(); I < E; ++I) { in emitNonContiguousDescriptor()
8208 if (NonContigInfo.Dims[I] == 1) in emitNonContiguousDescriptor()
8211 ArrayType *ArrayTy = ArrayType::get(DimTy, NonContigInfo.Dims[I]); in emitNonContiguousDescriptor()
8215 for (unsigned II = 0, EE = NonContigInfo.Dims[I]; II < EE; ++II) { in emitNonContiguousDescriptor()
8583 ConstantInt::get(Int64Ty, CombinedInfo.NonContigInfo.Dims[I]); in emitOffloadingArrays()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp7611 CombinedInfo.NonContigInfo.Dims.push_back(IsNonContiguous ? DimSize
7628 CombinedInfo.NonContigInfo.Dims.push_back(IsNonContiguous ? DimSize
7649 CombinedInfo.NonContigInfo.Dims.push_back(IsNonContiguous ? DimSize
7660 StructBaseCombinedInfo.NonContigInfo.Dims.push_back(
8433 UnionCurInfo.NonContigInfo.Dims.push_back(0); in generateAllInfoForClauses()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DTreeTransform.h2844 ArrayRef<Expr *> Dims, in RebuildOMPArrayShapingExpr() argument
2847 Base, LParenLoc, RParenLoc, Dims, BracketsRanges); in RebuildOMPArrayShapingExpr()
13322 SmallVector<Expr *, 4> Dims; in TransformOMPArrayShapingExpr() local
13330 Dims.push_back(DimRes.get()); in TransformOMPArrayShapingExpr()
13336 E->getRParenLoc(), Dims, in TransformOMPArrayShapingExpr()
H A DSemaOpenMP.cpp24417 ArrayRef<Expr *> Dims, ArrayRef<SourceRange> Brackets) { in ActOnOMPArrayShapingExpr() argument
24433 LParenLoc, RParenLoc, Dims, Brackets); in ActOnOMPArrayShapingExpr()
24443 for (Expr *Dim : Dims) { in ActOnOMPArrayShapingExpr()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DAttrDocs.td445 template <typename KernelName, typename KernelType, int Dims>
446 void parallel_for(range<Dims> NumWorkItems, KernelType KernelFunc) {
448 sycl_kernel_function<KernelName, KernelType, Dims>(KernelFunc);