Searched refs:OMPBuilder (Results 1 – 7 of 7) sorted by relevance
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntime.cpp | 1033 : CGM(CGM), OMPBuilder(CGM.getModule()) { in CGOpenMPRuntime() 1040 OMPBuilder.initialize(); in CGOpenMPRuntime() 1041 OMPBuilder.loadOffloadInfoMetadata(CGM.getLangOpts().OpenMPIsTargetDevice in CGOpenMPRuntime() 1044 OMPBuilder.setConfig(Config); in CGOpenMPRuntime() 1050 OMPBuilder.Config.setHasRequiresUnifiedSharedMemory(true); in CGOpenMPRuntime() 1070 return OMPBuilder.createPlatformSpecificName(Parts); in getName() 1165 PushAndPopStackRAII(llvm::OpenMPIRBuilder *OMPBuilder, CodeGenFunction &CGF, in PushAndPopStackRAII() 1167 : OMPBuilder(OMPBuilder) { in PushAndPopStackRAII() 1168 if (!OMPBuilder) in PushAndPopStackRAII() 1197 OMPBuilder->pushFinalizationCB(std::move(FI)); in PushAndPopStackRAII() [all …]
|
| H A D | CGOpenMPRuntimeGPU.cpp | 755 Bld.restoreIP(OMPBuilder.createTargetInit(Bld, Attrs)); in emitKernelInit() 791 OMPBuilder.createTargetDeinit(Bld, ReductionDataSize, in emitKernelDeinit() 872 OMPBuilder.setConfig(Config); in CGOpenMPRuntimeGPU() 880 llvm::OpenMPIRBuilder &OMPBuilder = getOMPBuilder(); in CGOpenMPRuntimeGPU() local 884 OMPBuilder.createGlobalFlag(CGM.getLangOpts().OpenMPTargetDebug, in CGOpenMPRuntimeGPU() 886 OMPBuilder.createGlobalFlag(CGM.getLangOpts().OpenMPTeamSubscription, in CGOpenMPRuntimeGPU() 888 OMPBuilder.createGlobalFlag(CGM.getLangOpts().OpenMPThreadSubscription, in CGOpenMPRuntimeGPU() 890 OMPBuilder.createGlobalFlag(CGM.getLangOpts().OpenMPNoThreadState, in CGOpenMPRuntimeGPU() 892 OMPBuilder.createGlobalFlag(CGM.getLangOpts().OpenMPNoNestedParallelism, in CGOpenMPRuntimeGPU() 1067 CGF.EmitRuntimeCall(OMPBuilder.getOrCreateRuntimeFunction( in emitGenericVarsProlog() [all …]
|
| H A D | CGStmtOpenMP.cpp | 1679 auto &OMPBuilder = CGM.getOpenMPRuntime().getOMPBuilder(); in getAddressOfLocalVariable() local 1712 llvm::Value *Addr = OMPBuilder.createOMPAlloc( in getAddressOfLocalVariable() 1716 OMPBuilder.createOMPFree(CGF.Builder, Addr, Allocator); in getAddressOfLocalVariable() 1734 llvm::OpenMPIRBuilder &OMPBuilder = CGM.getOpenMPRuntime().getOMPBuilder(); in getAddrOfThreadPrivate() local 1744 OMPBuilder.createCachedThreadPrivate(CGF.Builder, Data, Size, CacheName); in getAddrOfThreadPrivate() 1797 llvm::OpenMPIRBuilder &OMPBuilder = CGM.getOpenMPRuntime().getOMPBuilder(); in EmitOMPParallelDirective() local 1850 OMPBuilder.createParallel(Builder, AllocaIP, BodyGenCB, PrivCB, FiniCB, in EmitOMPParallelDirective() 2126 llvm::OpenMPIRBuilder &OMPBuilder = CGM.getOpenMPRuntime().getOMPBuilder(); in EmitOMPCanonicalLoop() local 2145 cantFail(OMPBuilder.createCanonicalLoop(Builder, BodyGen, DistVal)); in EmitOMPCanonicalLoop() 2841 llvm::OpenMPIRBuilder &OMPBuilder = in emitOMPSimdDirective() local [all …]
|
| H A D | CGOpenMPRuntime.h | 307 llvm::OpenMPIRBuilder &getOMPBuilder() { return OMPBuilder; } in getOMPBuilder() 313 llvm::OpenMPIRBuilder OMPBuilder; variable
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | OpenMPOpt.cpp | 286 : InformationCache(M, AG, Allocator, CGSCC), OMPBuilder(M), in OMPInformationCache() 289 OMPBuilder.Config.IsTargetDevice = isOpenMPDevice(OMPBuilder.M); in OMPInformationCache() 290 const Triple T(OMPBuilder.M.getTargetTriple()); in OMPInformationCache() 295 assert(OMPBuilder.Config.IsTargetDevice && in OMPInformationCache() 297 OMPBuilder.Config.IsGPU = true; in OMPInformationCache() 300 OMPBuilder.Config.IsGPU = false; in OMPInformationCache() 303 OMPBuilder.initialize(); in OMPInformationCache() 434 OpenMPIRBuilder OMPBuilder; member 475 Type::getInt32Ty(OMPBuilder.Int32->getContext()), 0); \ in initializeInternalControlVars() 478 ICV.InitValue = ConstantInt::getFalse(OMPBuilder.Int1->getContext()); \ in initializeInternalControlVars() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.cpp | 1842 OpenMPIRBuilder &OMPBuilder, in emitTaskDependencies() argument 1864 IRBuilderBase &Builder = OMPBuilder.Builder; in emitTaskDependencies() 1865 Type *DependInfo = OMPBuilder.DependInfo; in emitTaskDependencies() 1866 Module &M = OMPBuilder.M; in emitTaskDependencies() 4211 OpenMPIRBuilder &OMPBuilder) { in getKmpcDistForStaticInitForType() argument 4214 return OMPBuilder.getOrCreateRuntimeFunction( in getKmpcDistForStaticInitForType() 4217 return OMPBuilder.getOrCreateRuntimeFunction( in getKmpcDistForStaticInitForType() 4227 OpenMPIRBuilder &OMPBuilder) { in getKmpcForStaticInitForType() argument 4230 return OMPBuilder.getOrCreateRuntimeFunction( in getKmpcForStaticInitForType() 4233 return OMPBuilder.getOrCreateRuntimeFunction( in getKmpcForStaticInitForType() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.h | 244 OpenMPIRBuilder *OMPBuilder; variable 300 OffloadEntriesInfoManager(OpenMPIRBuilder *builder) : OMPBuilder(builder) {} in OffloadEntriesInfoManager()
|