Home
last modified time | relevance | path

Searched refs:OMPBuilder (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/llvm/unittests/Frontend/
DOpenMPIRBuilderTest.cpp83 OpenMPIRBuilder OMPBuilder(*M); in TEST_F() local
84 OMPBuilder.initialize(); in TEST_F()
88 OMPBuilder.createBarrier({IRBuilder<>::InsertPoint()}, OMPD_for); in TEST_F()
95 OMPBuilder.createBarrier(Loc, OMPD_for); in TEST_F()
123 OpenMPIRBuilder OMPBuilder(*M); in TEST_F() local
124 OMPBuilder.initialize(); in TEST_F()
133 OMPBuilder.pushFinalizationCB({FiniCB, OMPD_parallel, true}); in TEST_F()
138 auto NewIP = OMPBuilder.createCancel(Loc, nullptr, OMPD_parallel); in TEST_F()
170 OMPBuilder.popFinalizationCB(); in TEST_F()
178 OpenMPIRBuilder OMPBuilder(*M); in TEST_F() local
[all …]
/external/llvm-project/llvm/lib/Transforms/IPO/
DOpenMPOpt.cpp89 : InformationCache(M, AG, Allocator, &CGSCC), OMPBuilder(M), in OMPInformationCache()
92 OMPBuilder.initialize(); in OMPInformationCache()
218 OpenMPIRBuilder OMPBuilder; member
256 Type::getInt32Ty(OMPBuilder.Int32->getContext()), 0); \ in initializeInternalControlVars()
259 ICV.InitValue = ConstantInt::getFalse(OMPBuilder.Int1->getContext()); \ in initializeInternalControlVars()
299 OMPBuilder.addAttributes(RFI.Kind, *RFI.Declaration); in collectUses()
337 Type *VarName = OMPBuilder.VarName; \ in initializeRuntimeFunctions()
341 ArrayType *VarName##Ty = OMPBuilder.VarName##Ty; \ in initializeRuntimeFunctions()
343 PointerType *VarName##PtrTy = OMPBuilder.VarName##PtrTy; \ in initializeRuntimeFunctions()
347 FunctionType *VarName = OMPBuilder.VarName; \ in initializeRuntimeFunctions()
[all …]
/external/llvm-project/clang/lib/CodeGen/
DCGOpenMPRuntimeGPU.cpp1155 CGF.EmitRuntimeCall(OMPBuilder.getOrCreateRuntimeFunction( in emitNonSPMDEntryHeader()
1160 CGF.EmitRuntimeCall(OMPBuilder.getOrCreateRuntimeFunction( in emitNonSPMDEntryHeader()
1184 CGF.EmitRuntimeCall(OMPBuilder.getOrCreateRuntimeFunction( in emitNonSPMDEntryFooter()
1259 CGF.EmitRuntimeCall(OMPBuilder.getOrCreateRuntimeFunction( in emitSPMDEntryHeader()
1265 CGF.EmitRuntimeCall(OMPBuilder.getOrCreateRuntimeFunction( in emitSPMDEntryHeader()
1292 CGF.EmitRuntimeCall(OMPBuilder.getOrCreateRuntimeFunction( in emitSPMDEntryFooter()
1364 CGF.EmitRuntimeCall(OMPBuilder.getOrCreateRuntimeFunction( in emitWorkerLoop()
1431 CGF.EmitRuntimeCall(OMPBuilder.getOrCreateRuntimeFunction( in emitWorkerLoop()
1750 OMPBuilder.getOrCreateRuntimeFunction(CGM.getModule(), in emitGenericVarsProlog()
1756 CGF.EmitNounwindRuntimeCall(OMPBuilder.getOrCreateRuntimeFunction( in emitGenericVarsProlog()
[all …]
DCGOpenMPRuntime.cpp1065 OMPBuilder(CGM.getModule()), OffloadEntriesInfoManager(CGM) { in CGOpenMPRuntime()
1069 OMPBuilder.initialize(); in CGOpenMPRuntime()
1195 PushAndPopStackRAII(llvm::OpenMPIRBuilder *OMPBuilder, CodeGenFunction &CGF, in PushAndPopStackRAII()
1197 : OMPBuilder(OMPBuilder) { in PushAndPopStackRAII()
1198 if (!OMPBuilder) in PushAndPopStackRAII()
1227 OMPBuilder->pushFinalizationCB(std::move(FI)); in PushAndPopStackRAII()
1230 if (OMPBuilder) in ~PushAndPopStackRAII()
1231 OMPBuilder->popFinalizationCB(); in ~PushAndPopStackRAII()
1233 llvm::OpenMPIRBuilder *OMPBuilder; member
1266 llvm::OpenMPIRBuilder &OMPBuilder = CGM.getOpenMPRuntime().getOMPBuilder(); in emitParallelOrTeamsOutlinedFunction() local
[all …]
DCGStmtOpenMP.cpp1584 auto &OMPBuilder = CGM.getOpenMPRuntime().getOMPBuilder(); in getAddressOfLocalVariable() local
1617 llvm::Value *Addr = OMPBuilder.createOMPAlloc( in getAddressOfLocalVariable()
1621 OMPBuilder.createOMPFree(CGF.Builder, Addr, Allocator); in getAddressOfLocalVariable()
1639 llvm::OpenMPIRBuilder &OMPBuilder = CGM.getOpenMPRuntime().getOMPBuilder(); in getAddrOfThreadPrivate() local
1649 OMPBuilder.createCachedThreadPrivate(CGF.Builder, Data, Size, CacheName); in getAddrOfThreadPrivate()
1667 llvm::OpenMPIRBuilder &OMPBuilder = CGM.getOpenMPRuntime().getOMPBuilder(); in EmitOMPParallelDirective() local
1721 OMPBuilder.createParallel(Builder, AllocaIP, BodyGenCB, PrivCB, FiniCB, in EmitOMPParallelDirective()
3625 llvm::OpenMPIRBuilder &OMPBuilder = CGM.getOpenMPRuntime().getOMPBuilder(); in EmitOMPMasterDirective() local
3644 Builder.restoreIP(OMPBuilder.createMaster(Builder, BodyGenCB, FiniCB)); in EmitOMPMasterDirective()
3655 llvm::OpenMPIRBuilder &OMPBuilder = CGM.getOpenMPRuntime().getOMPBuilder(); in EmitOMPCriticalDirective() local
[all …]
DCGOpenMPRuntime.h303 llvm::OpenMPIRBuilder &getOMPBuilder() { return OMPBuilder; } in getOMPBuilder()
310 llvm::OpenMPIRBuilder OMPBuilder; variable
/external/llvm-project/llvm/lib/Frontend/OpenMP/
DOMPIRBuilder.cpp1007 OpenMPIRBuilder &OMPBuilder) { in getKmpcForStaticInitForType() argument
1010 return OMPBuilder.getOrCreateRuntimeFunction( in getKmpcForStaticInitForType()
1013 return OMPBuilder.getOrCreateRuntimeFunction( in getKmpcForStaticInitForType()