Home
last modified time | relevance | path

Searched refs:InsertPointTy (Results 1 – 10 of 10) sorted by relevance

/external/llvm-project/llvm/include/llvm/Frontend/OpenMP/
DOMPIRBuilder.h47 using InsertPointTy = IRBuilder<>::InsertPoint; variable
57 using FinalizeCallbackTy = std::function<void(InsertPointTy CodeGenIP)>;
98 function_ref<void(InsertPointTy AllocaIP, InsertPointTy CodeGenIP,
110 function_ref<void(InsertPointTy CodeGenIP, Value *IndVar)>;
130 using PrivatizeCallbackTy = function_ref<InsertPointTy(
131 InsertPointTy AllocaIP, InsertPointTy CodeGenIP, Value &Original,
140 LocationDescription(const InsertPointTy &IP) : IP(IP) {} in LocationDescription()
141 LocationDescription(const InsertPointTy &IP, const DebugLoc &DL) in LocationDescription()
143 InsertPointTy IP;
160 InsertPointTy createBarrier(const LocationDescription &Loc, omp::Directive DK,
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Frontend/OpenMP/
DOMPIRBuilder.h41 using InsertPointTy = IRBuilder<>::InsertPoint; variable
51 using FinalizeCallbackTy = std::function<void(InsertPointTy CodeGenIP)>;
92 function_ref<void(InsertPointTy AllocaIP, InsertPointTy CodeGenIP,
108 using PrivatizeCallbackTy = function_ref<InsertPointTy(
109 InsertPointTy AllocaIP, InsertPointTy CodeGenIP, Value &Val,
118 LocationDescription(const InsertPointTy &IP) : IP(IP) {} in LocationDescription()
119 LocationDescription(const InsertPointTy &IP, const DebugLoc &DL) in LocationDescription()
121 InsertPointTy IP;
138 InsertPointTy CreateBarrier(const LocationDescription &Loc, omp::Directive DK,
149 InsertPointTy CreateCancel(const LocationDescription &Loc,
[all …]
/external/llvm-project/llvm/unittests/Frontend/
DOpenMPIRBuilderTest.cpp122 using InsertPointTy = OpenMPIRBuilder::InsertPointTy; in TEST_F() typedef
128 auto FiniCB = [&](InsertPointTy IP) { in TEST_F()
177 using InsertPointTy = OpenMPIRBuilder::InsertPointTy; in TEST_F() typedef
183 auto FiniCB = [&](InsertPointTy IP) { in TEST_F()
238 using InsertPointTy = OpenMPIRBuilder::InsertPointTy; in TEST_F() typedef
244 auto FiniCB = [&](InsertPointTy IP) { in TEST_F()
328 using InsertPointTy = OpenMPIRBuilder::InsertPointTy; in TEST_F() typedef
342 auto BodyGenCB = [&](InsertPointTy AllocaIP, InsertPointTy CodeGenIP, in TEST_F()
362 auto PrivCB = [&](InsertPointTy AllocaIP, InsertPointTy CodeGenIP, in TEST_F()
364 Value *&ReplacementValue) -> InsertPointTy { in TEST_F()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Frontend/OpenMP/
DOMPIRBuilder.cpp172 OpenMPIRBuilder::InsertPointTy
180 OpenMPIRBuilder::InsertPointTy
226 OpenMPIRBuilder::InsertPointTy
373 auto FiniCBWrapper = [&](InsertPointTy IP) { in CreateParallel()
380 IP = InsertPointTy(I->getParent(), I->getIterator()); in CreateParallel()
392 InsertPointTy AllocaIP(PRegEntryBB, in CreateParallel()
422 InsertPointTy CodeGenIP(PRegBodyBB, PRegBodyBB->begin()); in CreateParallel()
572 InsertPointTy AfterIP(UI->getParent(), UI->getParent()->end()); in CreateParallel()
573 InsertPointTy ExitIP(PRegExitBB, PRegExitBB->end()); in CreateParallel()
625 InsertPointTy PreFiniIP(PRegPreFiniBB, PreFiniTI->getIterator()); in CreateParallel()
/external/llvm-project/llvm/lib/Frontend/OpenMP/
DOMPIRBuilder.cpp292 OpenMPIRBuilder::InsertPointTy
300 OpenMPIRBuilder::InsertPointTy
347 OpenMPIRBuilder::InsertPointTy
426 const LocationDescription &Loc, InsertPointTy OuterAllocaIP, in createParallel()
501 auto FiniCBWrapper = [&](InsertPointTy IP) { in createParallel()
508 IP = InsertPointTy(I->getParent(), I->getIterator()); in createParallel()
521 InsertPointTy InnerAllocaIP = Builder.saveIP(); in createParallel()
551 InsertPointTy CodeGenIP(PRegBodyBB, PRegBodyBB->begin()); in createParallel()
605 InsertPointTy ExitIP(PRegExitBB, PRegExitBB->end()); in createParallel()
656 InsertPointTy PreFiniIP(PRegPreFiniBB, PRegPreFiniTI->getIterator()); in createParallel()
[all …]
/external/llvm-project/mlir/lib/Target/LLVMIR/
DModuleTranslation.cpp387 using InsertPointTy = llvm::OpenMPIRBuilder::InsertPointTy; in convertOmpParallel() typedef
392 auto bodyGenCB = [&](InsertPointTy allocaIP, InsertPointTy codeGenIP, in convertOmpParallel()
417 auto privCB = [&](InsertPointTy allocaIP, InsertPointTy codeGenIP, in convertOmpParallel()
419 llvm::Value *&replacementValue) -> InsertPointTy { in convertOmpParallel()
427 auto finiCB = [&](InsertPointTy codeGenIP) {}; in convertOmpParallel()
443 llvm::OpenMPIRBuilder::InsertPointTy allocaIP(builder.saveIP()); in convertOmpParallel()
484 using InsertPointTy = llvm::OpenMPIRBuilder::InsertPointTy; in convertOmpMaster() typedef
489 auto bodyGenCB = [&](InsertPointTy allocaIP, InsertPointTy codeGenIP, in convertOmpMaster()
511 auto finiCB = [&](InsertPointTy codeGenIP) {}; in convertOmpMaster()
/external/llvm-project/llvm/lib/Transforms/IPO/
DOpenMPOpt.cpp597 using InsertPointTy = OpenMPIRBuilder::InsertPointTy; in mergeParallelRegions() typedef
623 auto BodyGenCB = [&](InsertPointTy AllocaIP, InsertPointTy CodeGenIP, in mergeParallelRegions()
634 auto PrivCB = [&](InsertPointTy AllocaIP, InsertPointTy CodeGenIP, Value &, in mergeParallelRegions()
635 Value &Inner, Value *&ReplacementValue) -> InsertPointTy { in mergeParallelRegions()
640 auto FiniCB = [&](InsertPointTy CodeGenIP) {}; in mergeParallelRegions()
687 OpenMPIRBuilder::LocationDescription Loc(InsertPointTy(BB, BB->end()), in mergeParallelRegions()
694 InsertPointTy AfterIP = OMPInfoCache.OMPBuilder.createParallel( in mergeParallelRegions()
735 InsertPointTy(NewCI->getParent(), in mergeParallelRegions()
1182 OMPInfoCache.OMPBuilder.updateToLocation(OpenMPIRBuilder::InsertPointTy( in getCombinedIdentFromCallUsesIn()
/external/llvm-project/clang/lib/CodeGen/
DCGStmtOpenMP.cpp1683 using InsertPointTy = llvm::OpenMPIRBuilder::InsertPointTy; in EmitOMPParallelDirective() typedef
1687 auto FiniCB = [this](InsertPointTy IP) { in EmitOMPParallelDirective()
1695 auto PrivCB = [](InsertPointTy AllocaIP, InsertPointTy CodeGenIP, in EmitOMPParallelDirective()
1708 this](InsertPointTy AllocaIP, InsertPointTy CodeGenIP, in EmitOMPParallelDirective()
1718 llvm::OpenMPIRBuilder::InsertPointTy AllocaIP( in EmitOMPParallelDirective()
3626 using InsertPointTy = llvm::OpenMPIRBuilder::InsertPointTy; in EmitOMPMasterDirective() typedef
3630 auto FiniCB = [this](InsertPointTy IP) { in EmitOMPMasterDirective()
3634 auto BodyGenCB = [MasterRegionBodyStmt, this](InsertPointTy AllocaIP, in EmitOMPMasterDirective()
3635 InsertPointTy CodeGenIP, in EmitOMPMasterDirective()
3656 using InsertPointTy = llvm::OpenMPIRBuilder::InsertPointTy; in EmitOMPCriticalDirective() typedef
[all …]
DCodeGenFunction.h1652 using InsertPointTy = llvm::OpenMPIRBuilder::InsertPointTy;
1697 static void FinalizeOMPRegion(CodeGenFunction &CGF, InsertPointTy IP) {
1721 InsertPointTy CodeGenIP,
1744 OutlinedRegionBodyRAII(CodeGenFunction &cgf, InsertPointTy &AllocaIP,
1771 InlinedRegionBodyRAII(CodeGenFunction &cgf, InsertPointTy &AllocaIP,
DCGOpenMPRuntime.cpp1213 auto FiniCB = [&CGF](llvm::OpenMPIRBuilder::InsertPointTy IP) { in PushAndPopStackRAII()