Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp371 OpenMPIRBuilder::InsertPointTy OuterAllocaIP, in createFakeIntVal()
373 OpenMPIRBuilder::InsertPointTy InnerAllocaIP, in createFakeIntVal()
501 void OpenMPIRBuilder::getKernelArgsVector(TargetKernelArgs &KernelArgs, in getKernelArgsVector()
541 void OpenMPIRBuilder::addAttributes(omp::RuntimeFunction FnID, Function &Fn) { in addAttributes()
592 OpenMPIRBuilder::getOrCreateRuntimeFunction(Module &M, RuntimeFunction FnID) { in getOrCreateRuntimeFunction()
648 Function *OpenMPIRBuilder::getOrCreateRuntimeFunctionPtr(RuntimeFunction FnID) { in getOrCreateRuntimeFunctionPtr()
655 void OpenMPIRBuilder::initialize() { initializeTypes(M); } in initialize()
680 void OpenMPIRBuilder::finalize(Function *Fn) { in finalize()
831 bool OpenMPIRBuilder::isFinalized() { return IsFinalized; } in isFinalized()
833 OpenMPIRBuilder::~OpenMPIRBuilder() { in ~OpenMPIRBuilder()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DOMPIRBuilder.h36 class OpenMPIRBuilder; variable
244 OpenMPIRBuilder *OMPBuilder;
300 OffloadEntriesInfoManager(OpenMPIRBuilder *builder) : OMPBuilder(builder) {} in OffloadEntriesInfoManager()
484 class OpenMPIRBuilder {
488 OpenMPIRBuilder(Module &M) in OpenMPIRBuilder() function
491 LLVM_ABI ~OpenMPIRBuilder();
1556 ArrayRef<OpenMPIRBuilder::ReductionInfo> ReductionInfos,
2516 OpenMPIRBuilder::InsertPointTy AllocaIP,
2517 const SmallVector<llvm::OpenMPIRBuilder::DependData> &Dependencies,
2525 IRBuilderBase &Builder, OpenMPIRBuilder::TargetDataRTArgs &RTArgs,
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp1734 llvm::OpenMPIRBuilder &OMPBuilder = CGM.getOpenMPRuntime().getOMPBuilder(); in getAddrOfThreadPrivate()
1796 if (CGM.getLangOpts().OpenMPIRBuilder) { in EmitOMPParallelDirective()
1797 llvm::OpenMPIRBuilder &OMPBuilder = CGM.getOpenMPRuntime().getOMPBuilder(); in EmitOMPParallelDirective()
1813 using InsertPointTy = llvm::OpenMPIRBuilder::InsertPointTy; in EmitOMPParallelDirective()
1847 llvm::OpenMPIRBuilder::InsertPointTy AllocaIP( in EmitOMPParallelDirective()
1849 llvm::OpenMPIRBuilder::InsertPointTy AfterIP = cantFail( in EmitOMPParallelDirective()
2080 if (!getLangOpts().OpenMPIRBuilder) { in EmitOMPCanonicalLoop()
2126 llvm::OpenMPIRBuilder &OMPBuilder = CGM.getOpenMPRuntime().getOMPBuilder(); in EmitOMPCanonicalLoop()
2127 auto BodyGen = [&, this](llvm::OpenMPIRBuilder::InsertPointTy CodeGenIP, in EmitOMPCanonicalLoop()
2828 CGM.getLangOpts().OpenMPIRBuilder && isSimdSupportedByOpenMPIRBuilder(S); in emitOMPSimdDirective()
[all …]
H A DCGOpenMPRuntimeGPU.cpp748 llvm::OpenMPIRBuilder::TargetKernelDefaultAttrs Attrs; in emitKernelInit()
880 llvm::OpenMPIRBuilder &OMPBuilder = getOMPBuilder(); in CGOpenMPRuntimeGPU()
1691 using InsertPointTy = llvm::OpenMPIRBuilder::InsertPointTy; in emitReduction()
1696 llvm::OpenMPIRBuilder::LocationDescription OmpLoc( in emitReduction()
1698 llvm::SmallVector<llvm::OpenMPIRBuilder::ReductionInfo> ReductionInfos; in emitReduction()
1706 llvm::OpenMPIRBuilder::ReductionGenAtomicCBTy AtomicReductionGen = nullptr; in emitReduction()
1714 llvm::OpenMPIRBuilder::EvalKind EvalKind; in emitReduction()
1717 EvalKind = llvm::OpenMPIRBuilder::EvalKind::Scalar; in emitReduction()
1720 EvalKind = llvm::OpenMPIRBuilder::EvalKind::Complex; in emitReduction()
1723 EvalKind = llvm::OpenMPIRBuilder::EvalKind::Aggregate; in emitReduction()
[all …]
H A DCGOpenMPRuntime.h40 class OpenMPIRBuilder; variable
307 llvm::OpenMPIRBuilder &getOMPBuilder() { return OMPBuilder; } in getOMPBuilder()
313 llvm::OpenMPIRBuilder OMPBuilder;
318 llvm::OpenMPIRBuilder::TargetKernelDefaultAttrs &Attrs);
1446 class TargetDataInfo : public llvm::OpenMPIRBuilder::TargetDataInfo {
1448 explicit TargetDataInfo() : llvm::OpenMPIRBuilder::TargetDataInfo() {} in TargetDataInfo()
1451 : llvm::OpenMPIRBuilder::TargetDataInfo(RequiresDevicePointerInfo, in TargetDataInfo()
H A DCGOpenMPRuntime.cpp1165 PushAndPopStackRAII(llvm::OpenMPIRBuilder *OMPBuilder, CodeGenFunction &CGF, in PushAndPopStackRAII()
1183 auto FiniCB = [&CGF](llvm::OpenMPIRBuilder::InsertPointTy IP) { in PushAndPopStackRAII()
1196 llvm::OpenMPIRBuilder::FinalizationInfo FI({FiniCB, Kind, HasCancel}); in PushAndPopStackRAII()
1203 llvm::OpenMPIRBuilder *OMPBuilder;
1236 llvm::OpenMPIRBuilder &OMPBuilder = CGM.getOpenMPRuntime().getOMPBuilder(); in emitParallelOrTeamsOutlinedFunction()
1401 if (CGM.getLangOpts().OpenMPIRBuilder) { in getThreadID()
1534 CodeGenModule &CGM, llvm::OpenMPIRBuilder &OMPBuilder, in getEntryInfoFromPresumedLoc()
2073 if (CGF.CGM.getLangOpts().OpenMPIRBuilder) { in emitTaskyieldCall()
2327 if (CGF.CGM.getLangOpts().OpenMPIRBuilder) { in emitBarrierCall()
2328 llvm::OpenMPIRBuilder::InsertPointTy AfterIP = in emitBarrierCall()
[all …]
H A DCGDecl.cpp1503 if (CGM.getLangOpts().OpenMPIRBuilder) in EmitAutoVarAlloca()
H A DCodeGenFunction.cpp107 if (CGM.getLangOpts().OpenMPIRBuilder && CurFn) in ~CodeGenFunction()
H A DCodeGenFunction.h1893 using InsertPointTy = llvm::OpenMPIRBuilder::InsertPointTy;
H A DCGExpr.cpp2891 if (CGF.CGM.getLangOpts().OpenMPIRBuilder) in EmitThreadPrivateVarDeclLValue()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DOpenMPOpt.cpp434 OpenMPIRBuilder OMPBuilder;
1067 using InsertPointTy = OpenMPIRBuilder::InsertPointTy; in mergeParallelRegions()
1180 OpenMPIRBuilder::LocationDescription Loc( in mergeParallelRegions()
1182 OpenMPIRBuilder::InsertPointTy SeqAfterIP = cantFail( in mergeParallelRegions()
1250 OpenMPIRBuilder::LocationDescription Loc(InsertPointTy(BB, BB->end()), in mergeParallelRegions()
1257 OpenMPIRBuilder::InsertPointTy AfterIP = in mergeParallelRegions()
1805 OMPInfoCache.OMPBuilder.updateToLocation(OpenMPIRBuilder::InsertPointTy( in getCombinedIdentFromCallUsesIn()
3790 OpenMPIRBuilder::readThreadBoundsForKernel(T, *Fn); in KERNEL_ENVIRONMENT_CONFIGURATION_SETTER()
3796 OpenMPIRBuilder::readTeamBoundsForKernel(T, *Fn); in KERNEL_ENVIRONMENT_CONFIGURATION_SETTER()
3957 using InsertPointTy = OpenMPIRBuilder::InsertPointTy; in insertInstructionGuardsHelper()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DLangOptions.def231 LANGOPT(OpenMPIRBuilder , 1, 0, NotCompatible, "Use the experimental OpenMP-IR-Builder codegen pa…
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInvocation.cpp3903 if (Opts.OpenMPIRBuilder) in GenerateLangArgs()
4370 Opts.OpenMPIRBuilder = in ParseLangArgs()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseOpenMP.cpp2410 getLangOpts().OpenMPIRBuilder) in ParseOpenMPExecutableDirective()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp2635 unsigned SimdAlign = llvm::OpenMPIRBuilder::getOpenMPDefaultSimdAlign( in getOpenMPDefaultSimdAlign()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DTreeTransform.h9517 getSema().getLangOpts().OpenMPIRBuilder) in TransformOMPExecutableDirective()