Home
last modified time | relevance | path

Searched refs:NumClauses (Results 1 – 25 of 28) sorted by relevance

12

/external/clang/include/clang/AST/
DStmtOpenMP.h42 const unsigned NumClauses; variable
55 return MutableArrayRef<OMPClause *>(ClauseStorage, NumClauses); in getClauses()
69 unsigned NumClauses, unsigned NumChildren) in OMPExecutableDirective() argument
71 EndLoc(std::move(EndLoc)), NumClauses(NumClauses), in OMPExecutableDirective()
184 unsigned getNumClauses() const { return NumClauses; } in getNumClauses()
242 unsigned NumClauses) in OMPParallelDirective() argument
244 StartLoc, EndLoc, NumClauses, 1), in OMPParallelDirective()
251 explicit OMPParallelDirective(unsigned NumClauses) in OMPParallelDirective() argument
253 SourceLocation(), SourceLocation(), NumClauses, in OMPParallelDirective()
280 unsigned NumClauses, EmptyShell);
[all …]
/external/clang/lib/AST/
DStmtOpenMP.cpp73 unsigned NumClauses, in CreateEmpty() argument
78 C.Allocate(Size + sizeof(OMPClause *) * NumClauses + sizeof(Stmt *)); in CreateEmpty()
79 return new (Mem) OMPParallelDirective(NumClauses); in CreateEmpty()
113 unsigned NumClauses, in CreateEmpty() argument
119 C.Allocate(Size + sizeof(OMPClause *) * NumClauses + in CreateEmpty()
121 return new (Mem) OMPSimdDirective(CollapsedNum, NumClauses); in CreateEmpty()
166 unsigned NumClauses, in CreateEmpty() argument
172 C.Allocate(Size + sizeof(OMPClause *) * NumClauses + in CreateEmpty()
174 return new (Mem) OMPForDirective(CollapsedNum, NumClauses); in CreateEmpty()
218 unsigned NumClauses, in CreateEmpty() argument
[all …]
/external/llvm-project/clang/lib/AST/
DStmtOpenMP.cpp19 size_t OMPChildren::size(unsigned NumClauses, bool HasAssociatedStmt, in size() argument
23 NumClauses, NumChildren + (HasAssociatedStmt ? 1 : 0)), in size()
28 assert(Clauses.size() == NumClauses && in setClauses()
52 OMPChildren *OMPChildren::CreateEmpty(void *Mem, unsigned NumClauses, in CreateEmpty() argument
55 return new (Mem) OMPChildren(NumClauses, NumChildren, HasAssociatedStmt); in CreateEmpty()
206 unsigned NumClauses, in CreateEmpty() argument
208 return createEmptyDirective<OMPParallelDirective>(C, NumClauses, in CreateEmpty()
241 unsigned NumClauses, in CreateEmpty() argument
245 C, NumClauses, /*HasAssociatedStmt=*/true, in CreateEmpty()
286 unsigned NumClauses, in CreateEmpty() argument
[all …]
/external/llvm-project/clang/include/clang/AST/
DStmtOpenMP.h85 static T *createEmptyDirective(const ASTContext &C, unsigned NumClauses, in createEmptyDirective() argument
89 C.Allocate(sizeof(T) + OMPChildren::size(NumClauses, HasAssociatedStmt, in createEmptyDirective()
93 OMPChildren::CreateEmpty(reinterpret_cast<T *>(Mem) + 1, NumClauses, in createEmptyDirective()
101 static T *createEmptyDirective(const ASTContext &C, unsigned NumClauses,
105 C.Allocate(sizeof(T) + OMPChildren::size(NumClauses, HasAssociatedStmt,
109 OMPChildren::CreateEmpty(reinterpret_cast<T *>(Mem) + 1, NumClauses,
425 unsigned NumClauses, EmptyShell);
1222 static OMPSimdDirective *CreateEmpty(const ASTContext &C, unsigned NumClauses,
1300 static OMPForDirective *CreateEmpty(const ASTContext &C, unsigned NumClauses,
1375 unsigned NumClauses,
[all …]
DDeclOpenMP.h63 unsigned NumClauses, unsigned NumChildren, in createEmptyDirective() argument
65 auto *Inst = new (C, ID, size(NumClauses, NumChildren)) in createEmptyDirective()
68 Inst + 1, NumClauses, /*HasAssociatedStmt=*/false, NumChildren); in createEmptyDirective()
72 static size_t size(unsigned NumClauses, unsigned NumChildren) { in size() argument
73 return OMPChildren::size(NumClauses, /*HasAssociatedStmt=*/false, in size()
DOpenMPClause.h7920 unsigned NumClauses = 0; variable
7929 return NumClauses; in numTrailingObjects()
7934 OMPChildren(unsigned NumClauses, unsigned NumChildren, bool HasAssociatedStmt) in OMPChildren() argument
7935 : NumClauses(NumClauses), NumChildren(NumChildren), in OMPChildren()
7938 static size_t size(unsigned NumClauses, bool HasAssociatedStmt,
7944 static OMPChildren *CreateEmpty(void *Mem, unsigned NumClauses,
7949 unsigned getNumClauses() const { return NumClauses; } in getNumClauses()
7979 NumClauses); in getClauses()
/external/llvm-project/clang/lib/Serialization/
DASTReaderStmt.cpp3142 unsigned NumClauses = Record[ASTStmtReader::NumStmtFields + 1]; in ReadStmtFromStream() local
3143 S = OMPSimdDirective::CreateEmpty(Context, NumClauses, in ReadStmtFromStream()
3150 unsigned NumClauses = Record[ASTStmtReader::NumStmtFields + 1]; in ReadStmtFromStream() local
3151 S = OMPForDirective::CreateEmpty(Context, NumClauses, CollapsedNum, in ReadStmtFromStream()
3158 unsigned NumClauses = Record[ASTStmtReader::NumStmtFields + 1]; in ReadStmtFromStream() local
3159 S = OMPForSimdDirective::CreateEmpty(Context, NumClauses, CollapsedNum, in ReadStmtFromStream()
3189 unsigned NumClauses = Record[ASTStmtReader::NumStmtFields + 1]; in ReadStmtFromStream() local
3190 S = OMPParallelForDirective::CreateEmpty(Context, NumClauses, in ReadStmtFromStream()
3197 unsigned NumClauses = Record[ASTStmtReader::NumStmtFields + 1]; in ReadStmtFromStream() local
3198 S = OMPParallelForSimdDirective::CreateEmpty(Context, NumClauses, in ReadStmtFromStream()
[all …]
DASTReaderDecl.cpp4031 unsigned NumClauses = Record.readInt(); in ReadDeclRecord() local
4034 D = OMPAllocateDecl::CreateDeserialized(Context, ID, NumVars, NumClauses); in ReadDeclRecord()
4038 unsigned NumClauses = Record.readInt(); in ReadDeclRecord() local
4040 D = OMPRequiresDecl::CreateDeserialized(Context, ID, NumClauses); in ReadDeclRecord()
4047 unsigned NumClauses = Record.readInt(); in ReadDeclRecord() local
4049 D = OMPDeclareMapperDecl::CreateDeserialized(Context, ID, NumClauses); in ReadDeclRecord()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerEmscriptenEHSjLj.cpp259 Function *getFindMatchingCatch(Module &M, unsigned NumClauses);
354 unsigned NumClauses) { in getFindMatchingCatch() argument
355 if (FindMatchingCatches.count(NumClauses)) in getFindMatchingCatch()
356 return FindMatchingCatches[NumClauses]; in getFindMatchingCatch()
358 SmallVector<Type *, 16> Args(NumClauses, Int8PtrTy); in getFindMatchingCatch()
362 "__cxa_find_matching_catch_" + Twine(NumClauses + 2), &M); in getFindMatchingCatch()
363 FindMatchingCatches[NumClauses] = F; in getFindMatchingCatch()
/external/llvm-project/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerEmscriptenEHSjLj.cpp255 Function *getFindMatchingCatch(Module &M, unsigned NumClauses);
378 unsigned NumClauses) { in getFindMatchingCatch() argument
379 if (FindMatchingCatches.count(NumClauses)) in getFindMatchingCatch()
380 return FindMatchingCatches[NumClauses]; in getFindMatchingCatch()
382 SmallVector<Type *, 16> Args(NumClauses, Int8PtrTy); in getFindMatchingCatch()
385 FTy, "__cxa_find_matching_catch_" + Twine(NumClauses + 2), &M); in getFindMatchingCatch()
386 FindMatchingCatches[NumClauses] = F; in getFindMatchingCatch()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp3264 unsigned NumClauses = Record[ASTStmtReader::NumStmtFields]; in ReadStmtFromStream() local
3266 S = OMPSimdDirective::CreateEmpty(Context, NumClauses, in ReadStmtFromStream()
3272 unsigned NumClauses = Record[ASTStmtReader::NumStmtFields]; in ReadStmtFromStream() local
3274 S = OMPForDirective::CreateEmpty(Context, NumClauses, CollapsedNum, in ReadStmtFromStream()
3280 unsigned NumClauses = Record[ASTStmtReader::NumStmtFields]; in ReadStmtFromStream() local
3282 S = OMPForSimdDirective::CreateEmpty(Context, NumClauses, CollapsedNum, in ReadStmtFromStream()
3311 unsigned NumClauses = Record[ASTStmtReader::NumStmtFields]; in ReadStmtFromStream() local
3313 S = OMPParallelForDirective::CreateEmpty(Context, NumClauses, in ReadStmtFromStream()
3319 unsigned NumClauses = Record[ASTStmtReader::NumStmtFields]; in ReadStmtFromStream() local
3321 S = OMPParallelForSimdDirective::CreateEmpty(Context, NumClauses, in ReadStmtFromStream()
[all …]
/external/llvm/lib/CodeGen/
DGlobalMerge.cpp511 for (unsigned Idx = 0, NumClauses = LPInst->getNumClauses(); in setMustKeepGlobalVariables() local
512 Idx != NumClauses; ++Idx) in setMustKeepGlobalVariables()
/external/llvm/tools/llvm-c-test/
Decho.cpp627 unsigned NumClauses = LLVMGetNumClauses(Src); in CloneInstruction() local
628 for (unsigned i = 0; i < NumClauses; ++i) in CloneInstruction()
/external/llvm-project/llvm/tools/llvm-c-test/
Decho.cpp719 unsigned NumClauses = LLVMGetNumClauses(Src); in CloneInstruction() local
720 for (unsigned i = 0; i < NumClauses; ++i) in CloneInstruction()
/external/llvm/include/llvm/IR/
DIRBuilder.h1654 LandingPadInst *CreateLandingPad(Type *Ty, unsigned NumClauses,
1656 return Insert(LandingPadInst::Create(Ty, NumClauses), Name);
/external/llvm-project/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c1923 value NumClauses, value Name, in llvm_build_landingpad() argument
1925 return LLVMBuildLandingPad(Builder_val(B), Ty, PersFn, Int_val(NumClauses), in llvm_build_landingpad()
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c1813 value NumClauses, value Name, in llvm_build_landingpad() argument
1815 return LLVMBuildLandingPad(Builder_val(B), Ty, PersFn, Int_val(NumClauses), in llvm_build_landingpad()
/external/llvm/include/llvm-c/
DCore.h2905 LLVMValueRef PersFn, unsigned NumClauses,
/external/llvm-project/llvm/include/llvm/IR/
DIRBuilder.h2480 LandingPadInst *CreateLandingPad(Type *Ty, unsigned NumClauses,
2482 return Insert(LandingPadInst::Create(Ty, NumClauses), Name);
/external/llvm/lib/IR/
DCore.cpp2483 LLVMValueRef PersFn, unsigned NumClauses, in LLVMBuildLandingPad() argument
2491 return wrap(unwrap(B)->CreateLandingPad(unwrap(Ty), NumClauses, Name)); in LLVMBuildLandingPad()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DIRBuilder.h2579 LandingPadInst *CreateLandingPad(Type *Ty, unsigned NumClauses,
2581 return Insert(LandingPadInst::Create(Ty, NumClauses), Name);
/external/llvm-project/llvm/include/llvm-c/
DCore.h3642 LLVMValueRef PersFn, unsigned NumClauses,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DCore.h3605 LLVMValueRef PersFn, unsigned NumClauses,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp4707 unsigned NumClauses = Record[Idx++]; in parseFunctionBody() local
4708 LandingPadInst *LP = LandingPadInst::Create(Ty, NumClauses); in parseFunctionBody()
4710 for (unsigned J = 0; J != NumClauses; ++J) { in parseFunctionBody()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp5213 unsigned NumClauses = Record[Idx++]; in parseFunctionBody() local
5214 LandingPadInst *LP = LandingPadInst::Create(Ty, NumClauses); in parseFunctionBody()
5216 for (unsigned J = 0; J != NumClauses; ++J) { in parseFunctionBody()

12