Home
last modified time | relevance | path

Searched refs:OpenMPIRBuilder (Results 1 – 20 of 20) sorted by relevance

/external/llvm-project/llvm/lib/Frontend/OpenMP/
DOMPIRBuilder.cpp42 void OpenMPIRBuilder::addAttributes(omp::RuntimeFunction FnID, Function &Fn) { in addAttributes()
63 OpenMPIRBuilder::getOrCreateRuntimeFunction(Module &M, RuntimeFunction FnID) { in getOrCreateRuntimeFunction()
121 Function *OpenMPIRBuilder::getOrCreateRuntimeFunctionPtr(RuntimeFunction FnID) { in getOrCreateRuntimeFunctionPtr()
128 void OpenMPIRBuilder::initialize() { initializeTypes(M); } in initialize()
130 void OpenMPIRBuilder::finalize() { in finalize()
188 Value *OpenMPIRBuilder::getOrCreateIdent(Constant *SrcLocStr, in getOrCreateIdent()
221 Type *OpenMPIRBuilder::getLanemaskType() { in getLanemaskType()
229 Constant *OpenMPIRBuilder::getOrCreateSrcLocStr(StringRef LocStr) { in getOrCreateSrcLocStr()
248 Constant *OpenMPIRBuilder::getOrCreateSrcLocStr(StringRef FunctionName, in getOrCreateSrcLocStr()
266 Constant *OpenMPIRBuilder::getOrCreateDefaultSrcLocStr() { in getOrCreateDefaultSrcLocStr()
[all …]
/external/llvm-project/llvm/unittests/Frontend/
DOpenMPIRBuilderTest.cpp83 OpenMPIRBuilder OMPBuilder(*M); in TEST_F()
94 OpenMPIRBuilder::LocationDescription Loc({Builder.saveIP()}); in TEST_F()
122 using InsertPointTy = OpenMPIRBuilder::InsertPointTy; in TEST_F()
123 OpenMPIRBuilder OMPBuilder(*M); in TEST_F()
137 OpenMPIRBuilder::LocationDescription Loc({Builder.saveIP()}); in TEST_F()
177 using InsertPointTy = OpenMPIRBuilder::InsertPointTy; in TEST_F()
178 OpenMPIRBuilder OMPBuilder(*M); in TEST_F()
192 OpenMPIRBuilder::LocationDescription Loc({Builder.saveIP()}); in TEST_F()
238 using InsertPointTy = OpenMPIRBuilder::InsertPointTy; in TEST_F()
239 OpenMPIRBuilder OMPBuilder(*M); in TEST_F()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Frontend/OpenMP/
DOMPIRBuilder.cpp42 void OpenMPIRBuilder::addAttributes(omp::RuntimeFunction FnID, Function &Fn) { in addAttributes()
62 Function *OpenMPIRBuilder::getOrCreateRuntimeFunction(RuntimeFunction FnID) { in getOrCreateRuntimeFunction()
94 void OpenMPIRBuilder::initialize() { initializeTypes(M); } in initialize()
96 Value *OpenMPIRBuilder::getOrCreateIdent(Constant *SrcLocStr, in getOrCreateIdent()
126 Constant *OpenMPIRBuilder::getOrCreateSrcLocStr(StringRef LocStr) { in getOrCreateSrcLocStr()
144 Constant *OpenMPIRBuilder::getOrCreateDefaultSrcLocStr() { in getOrCreateDefaultSrcLocStr()
149 OpenMPIRBuilder::getOrCreateSrcLocStr(const LocationDescription &Loc) { in getOrCreateSrcLocStr()
166 Value *OpenMPIRBuilder::getOrCreateThreadID(Value *Ident) { in getOrCreateThreadID()
172 OpenMPIRBuilder::InsertPointTy
173 OpenMPIRBuilder::CreateBarrier(const LocationDescription &Loc, Directive DK, in CreateBarrier()
[all …]
/external/llvm-project/llvm/include/llvm/Frontend/OpenMP/
DOMPIRBuilder.h29 class OpenMPIRBuilder {
33 OpenMPIRBuilder(Module &M) : M(M), Builder(M.getContext()) {} in OpenMPIRBuilder() function
682 friend class OpenMPIRBuilder; variable
752 OpenMPIRBuilder::InsertPointTy getAfterIP() const { in getAfterIP()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Frontend/OpenMP/
DOMPIRBuilder.h26 class OpenMPIRBuilder {
30 OpenMPIRBuilder(Module &M) : M(M), Builder(M.getContext()) {} in OpenMPIRBuilder() function
/external/llvm-project/mlir/include/mlir/Target/LLVMIR/
DModuleTranslation.h133 std::unique_ptr<llvm::OpenMPIRBuilder> ompBuilder;
/external/llvm-project/mlir/lib/Target/LLVMIR/
DModuleTranslation.cpp387 using InsertPointTy = llvm::OpenMPIRBuilder::InsertPointTy; in convertOmpParallel()
443 llvm::OpenMPIRBuilder::InsertPointTy allocaIP(builder.saveIP()); in convertOmpParallel()
484 using InsertPointTy = llvm::OpenMPIRBuilder::InsertPointTy; in convertOmpMaster()
523 ompBuilder = std::make_unique<llvm::OpenMPIRBuilder>(*llvmModule); in convertOmpOperation()
/external/llvm-project/llvm/lib/Transforms/IPO/
DOpenMPOpt.cpp218 OpenMPIRBuilder OMPBuilder;
597 using InsertPointTy = OpenMPIRBuilder::InsertPointTy; in mergeParallelRegions()
687 OpenMPIRBuilder::LocationDescription Loc(InsertPointTy(BB, BB->end()), in mergeParallelRegions()
1182 OMPInfoCache.OMPBuilder.updateToLocation(OpenMPIRBuilder::InsertPointTy( in getCombinedIdentFromCallUsesIn()
/external/llvm-project/clang/lib/CodeGen/
DCGOpenMPRuntime.h41 class OpenMPIRBuilder; variable
303 llvm::OpenMPIRBuilder &getOMPBuilder() { return OMPBuilder; } in getOMPBuilder()
310 llvm::OpenMPIRBuilder OMPBuilder;
DCGStmtOpenMP.cpp1639 llvm::OpenMPIRBuilder &OMPBuilder = CGM.getOpenMPRuntime().getOMPBuilder(); in getAddrOfThreadPrivate()
1666 if (CGM.getLangOpts().OpenMPIRBuilder) { in EmitOMPParallelDirective()
1667 llvm::OpenMPIRBuilder &OMPBuilder = CGM.getOpenMPRuntime().getOMPBuilder(); in EmitOMPParallelDirective()
1683 using InsertPointTy = llvm::OpenMPIRBuilder::InsertPointTy; in EmitOMPParallelDirective()
1718 llvm::OpenMPIRBuilder::InsertPointTy AllocaIP( in EmitOMPParallelDirective()
3624 if (CGM.getLangOpts().OpenMPIRBuilder) { in EmitOMPMasterDirective()
3625 llvm::OpenMPIRBuilder &OMPBuilder = CGM.getOpenMPRuntime().getOMPBuilder(); in EmitOMPMasterDirective()
3626 using InsertPointTy = llvm::OpenMPIRBuilder::InsertPointTy; in EmitOMPMasterDirective()
3654 if (CGM.getLangOpts().OpenMPIRBuilder) { in EmitOMPCriticalDirective()
3655 llvm::OpenMPIRBuilder &OMPBuilder = CGM.getOpenMPRuntime().getOMPBuilder(); in EmitOMPCriticalDirective()
[all …]
DCodeGenModule.h48 class OpenMPIRBuilder; variable
DCGOpenMPRuntime.cpp1195 PushAndPopStackRAII(llvm::OpenMPIRBuilder *OMPBuilder, CodeGenFunction &CGF, in PushAndPopStackRAII()
1213 auto FiniCB = [&CGF](llvm::OpenMPIRBuilder::InsertPointTy IP) { in PushAndPopStackRAII()
1225 llvm::OpenMPIRBuilder::FinalizationInfo FI( in PushAndPopStackRAII()
1233 llvm::OpenMPIRBuilder *OMPBuilder;
1266 llvm::OpenMPIRBuilder &OMPBuilder = CGM.getOpenMPRuntime().getOMPBuilder(); in emitParallelOrTeamsOutlinedFunction()
1448 if (CGM.getLangOpts().OpenMPIRBuilder) { in getThreadID()
2262 if (CGF.CGM.getLangOpts().OpenMPIRBuilder) { in emitTaskyieldCall()
2517 if (CGF.CGM.getLangOpts().OpenMPIRBuilder) { in emitBarrierCall()
2879 if (CGF.CGM.getLangOpts().OpenMPIRBuilder) { in emitFlush()
6190 if (CGF.CGM.getLangOpts().OpenMPIRBuilder) { in emitTaskwaitCall()
[all …]
DCGDecl.cpp1429 if (CGM.getLangOpts().OpenMPIRBuilder) in EmitAutoVarAlloca()
DCodeGenFunction.cpp94 if (CGM.getLangOpts().OpenMPIRBuilder) in ~CodeGenFunction()
DCodeGenFunction.h1652 using InsertPointTy = llvm::OpenMPIRBuilder::InsertPointTy;
DCGOpenMPRuntimeGPU.cpp2472 llvm::OpenMPIRBuilder &OMPBuilder = RT.getOMPBuilder(); in createRuntimeShuffleFunction()
DCGExpr.cpp2446 if (CGF.CGM.getLangOpts().OpenMPIRBuilder) in EmitThreadPrivateVarDeclLValue()
/external/llvm-project/clang/include/clang/Basic/
DLangOptions.def230 LANGOPT(OpenMPIRBuilder , 1, 0, "Use the experimental OpenMP-IR-Builder codegen path.")
/external/llvm-project/llvm/test/Transforms/OpenMP/
Dadd_attributes.ll6 ; TODO: Not all omp_XXXX methods are known to the OpenMPIRBuilder/OpenMPOpt.
/external/llvm-project/clang/lib/Frontend/
DCompilerInvocation.cpp3250 Opts.OpenMPIRBuilder = in ParseLangArgs()