Searched refs:OMPBuilder (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGOpenMPRuntime.cpp | 1037 : CGM(CGM), OMPBuilder(CGM.getModule()) { in CGOpenMPRuntime() 1044 OMPBuilder.initialize(); in CGOpenMPRuntime() 1045 OMPBuilder.loadOffloadInfoMetadata(CGM.getLangOpts().OpenMPIsTargetDevice in CGOpenMPRuntime() 1048 OMPBuilder.setConfig(Config); in CGOpenMPRuntime() 1054 OMPBuilder.Config.setHasRequiresUnifiedSharedMemory(true); in CGOpenMPRuntime() 1074 return OMPBuilder.createPlatformSpecificName(Parts); in getName() 1171 PushAndPopStackRAII(llvm::OpenMPIRBuilder *OMPBuilder, CodeGenFunction &CGF, in PushAndPopStackRAII() 1173 : OMPBuilder(OMPBuilder) { in PushAndPopStackRAII() 1174 if (!OMPBuilder) in PushAndPopStackRAII() 1202 OMPBuilder->pushFinalizationCB(std::move(FI)); in PushAndPopStackRAII() [all …]
|
H A D | CGOpenMPRuntimeGPU.cpp | 754 Bld.restoreIP(OMPBuilder.createTargetInit( 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 | 1638 auto &OMPBuilder = CGM.getOpenMPRuntime().getOMPBuilder(); in getAddressOfLocalVariable() local 1671 llvm::Value *Addr = OMPBuilder.createOMPAlloc( in getAddressOfLocalVariable() 1675 OMPBuilder.createOMPFree(CGF.Builder, Addr, Allocator); in getAddressOfLocalVariable() 1693 llvm::OpenMPIRBuilder &OMPBuilder = CGM.getOpenMPRuntime().getOMPBuilder(); in getAddrOfThreadPrivate() local 1703 OMPBuilder.createCachedThreadPrivate(CGF.Builder, Data, Size, CacheName); in getAddrOfThreadPrivate() 1756 llvm::OpenMPIRBuilder &OMPBuilder = CGM.getOpenMPRuntime().getOMPBuilder(); in EmitOMPParallelDirective() local 1807 OMPBuilder.createParallel(Builder, AllocaIP, BodyGenCB, PrivCB, FiniCB, in EmitOMPParallelDirective() 2081 llvm::OpenMPIRBuilder &OMPBuilder = CGM.getOpenMPRuntime().getOMPBuilder(); in EmitOMPCanonicalLoop() local 2098 OMPBuilder.createCanonicalLoop(Builder, BodyGen, DistVal); in EmitOMPCanonicalLoop() 2707 llvm::OpenMPIRBuilder &OMPBuilder = in EmitOMPSimdDirective() local [all …]
|
H A D | CGOpenMPRuntime.h | 306 llvm::OpenMPIRBuilder &getOMPBuilder() { return OMPBuilder; } in getOMPBuilder() 312 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 OMPBuilder.initialize(); in OMPInformationCache() 421 OpenMPIRBuilder OMPBuilder; member 462 Type::getInt32Ty(OMPBuilder.Int32->getContext()), 0); \ in initializeInternalControlVars() 465 ICV.InitValue = ConstantInt::getFalse(OMPBuilder.Int1->getContext()); \ in initializeInternalControlVars() 505 OMPBuilder.addAttributes(RFI.Kind, *RFI.Declaration); in collectUses() 570 Type *VarName = OMPBuilder.VarName; \ in initializeRuntimeFunctions() 574 ArrayType *VarName##Ty = OMPBuilder.VarName##Ty; \ in initializeRuntimeFunctions() 576 PointerType *VarName##PtrTy = OMPBuilder.VarName##PtrTy; \ in initializeRuntimeFunctions() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
H A D | OMPIRBuilder.cpp | 1716 OpenMPIRBuilder &OMPBuilder, in emitTaskDependencies() argument 1738 IRBuilderBase &Builder = OMPBuilder.Builder; in emitTaskDependencies() 1739 Type *DependInfo = OMPBuilder.DependInfo; in emitTaskDependencies() 1740 Module &M = OMPBuilder.M; in emitTaskDependencies() 3975 OpenMPIRBuilder &OMPBuilder) { in getKmpcForStaticInitForType() argument 3978 return OMPBuilder.getOrCreateRuntimeFunction( in getKmpcForStaticInitForType() 3981 return OMPBuilder.getOrCreateRuntimeFunction( in getKmpcForStaticInitForType() 4221 getKmpcForStaticLoopForType(Type *Ty, OpenMPIRBuilder *OMPBuilder, in getKmpcForStaticLoopForType() argument 4224 Module &M = OMPBuilder->M; in getKmpcForStaticLoopForType() 4228 return OMPBuilder->getOrCreateRuntimeFunction( in getKmpcForStaticLoopForType() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/ |
H A D | OMPIRBuilder.h | 226 OpenMPIRBuilder *OMPBuilder; variable 282 OffloadEntriesInfoManager(OpenMPIRBuilder *builder) : OMPBuilder(builder) {} in OffloadEntriesInfoManager()
|