/external/llvm-project/llvm/lib/Frontend/OpenMP/ |
D | OMPIRBuilder.cpp | 42 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/ |
D | OpenMPIRBuilderTest.cpp | 83 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/ |
D | OMPIRBuilder.cpp | 42 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/ |
D | OMPIRBuilder.h | 29 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/ |
D | OMPIRBuilder.h | 26 class OpenMPIRBuilder { 30 OpenMPIRBuilder(Module &M) : M(M), Builder(M.getContext()) {} in OpenMPIRBuilder() function
|
/external/llvm-project/mlir/include/mlir/Target/LLVMIR/ |
D | ModuleTranslation.h | 133 std::unique_ptr<llvm::OpenMPIRBuilder> ompBuilder;
|
/external/llvm-project/mlir/lib/Target/LLVMIR/ |
D | ModuleTranslation.cpp | 387 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/ |
D | OpenMPOpt.cpp | 218 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/ |
D | CGOpenMPRuntime.h | 41 class OpenMPIRBuilder; variable 303 llvm::OpenMPIRBuilder &getOMPBuilder() { return OMPBuilder; } in getOMPBuilder() 310 llvm::OpenMPIRBuilder OMPBuilder;
|
D | CGStmtOpenMP.cpp | 1639 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 …]
|
D | CodeGenModule.h | 48 class OpenMPIRBuilder; variable
|
D | CGOpenMPRuntime.cpp | 1195 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 …]
|
D | CGDecl.cpp | 1429 if (CGM.getLangOpts().OpenMPIRBuilder) in EmitAutoVarAlloca()
|
D | CodeGenFunction.cpp | 94 if (CGM.getLangOpts().OpenMPIRBuilder) in ~CodeGenFunction()
|
D | CodeGenFunction.h | 1652 using InsertPointTy = llvm::OpenMPIRBuilder::InsertPointTy;
|
D | CGOpenMPRuntimeGPU.cpp | 2472 llvm::OpenMPIRBuilder &OMPBuilder = RT.getOMPBuilder(); in createRuntimeShuffleFunction()
|
D | CGExpr.cpp | 2446 if (CGF.CGM.getLangOpts().OpenMPIRBuilder) in EmitThreadPrivateVarDeclLValue()
|
/external/llvm-project/clang/include/clang/Basic/ |
D | LangOptions.def | 230 LANGOPT(OpenMPIRBuilder , 1, 0, "Use the experimental OpenMP-IR-Builder codegen path.")
|
/external/llvm-project/llvm/test/Transforms/OpenMP/ |
D | add_attributes.ll | 6 ; TODO: Not all omp_XXXX methods are known to the OpenMPIRBuilder/OpenMPOpt.
|
/external/llvm-project/clang/lib/Frontend/ |
D | CompilerInvocation.cpp | 3250 Opts.OpenMPIRBuilder = in ParseLangArgs()
|