Lines Matching refs:OpenMPIRBuilder

361                         OpenMPIRBuilder::InsertPointTy OuterAllocaIP,  in createFakeIntVal()
363 OpenMPIRBuilder::InsertPointTy InnerAllocaIP, in createFakeIntVal()
491 void OpenMPIRBuilder::getKernelArgsVector(TargetKernelArgs &KernelArgs, in getKernelArgsVector()
520 void OpenMPIRBuilder::addAttributes(omp::RuntimeFunction FnID, Function &Fn) { in addAttributes()
571 OpenMPIRBuilder::getOrCreateRuntimeFunction(Module &M, RuntimeFunction FnID) { in getOrCreateRuntimeFunction()
627 Function *OpenMPIRBuilder::getOrCreateRuntimeFunctionPtr(RuntimeFunction FnID) { in getOrCreateRuntimeFunctionPtr()
634 void OpenMPIRBuilder::initialize() { initializeTypes(M); } in initialize()
636 void OpenMPIRBuilder::finalize(Function *Fn) { in finalize()
743 OpenMPIRBuilder::~OpenMPIRBuilder() { in ~OpenMPIRBuilder()
747 GlobalValue *OpenMPIRBuilder::createGlobalFlag(unsigned Value, StringRef Name) { in createGlobalFlag()
758 Constant *OpenMPIRBuilder::getOrCreateIdent(Constant *SrcLocStr, in getOrCreateIdent()
774 ConstantStruct::get(OpenMPIRBuilder::Ident, IdentData); in getOrCreateIdent()
779 if (GV.getValueType() == OpenMPIRBuilder::Ident && GV.hasInitializer()) in getOrCreateIdent()
785 M, OpenMPIRBuilder::Ident, in getOrCreateIdent()
798 Constant *OpenMPIRBuilder::getOrCreateSrcLocStr(StringRef LocStr, in getOrCreateSrcLocStr()
819 Constant *OpenMPIRBuilder::getOrCreateSrcLocStr(StringRef FunctionName, in getOrCreateSrcLocStr()
838 OpenMPIRBuilder::getOrCreateDefaultSrcLocStr(uint32_t &SrcLocStrSize) { in getOrCreateDefaultSrcLocStr()
843 Constant *OpenMPIRBuilder::getOrCreateSrcLocStr(DebugLoc DL, in getOrCreateSrcLocStr()
860 Constant *OpenMPIRBuilder::getOrCreateSrcLocStr(const LocationDescription &Loc, in getOrCreateSrcLocStr()
866 Value *OpenMPIRBuilder::getOrCreateThreadID(Value *Ident) { in getOrCreateThreadID()
872 OpenMPIRBuilder::InsertPointTy
873 OpenMPIRBuilder::createBarrier(const LocationDescription &Loc, Directive DK, in createBarrier()
880 OpenMPIRBuilder::InsertPointTy
881 OpenMPIRBuilder::emitBarrierImpl(const LocationDescription &Loc, Directive Kind, in emitBarrierImpl()
929 OpenMPIRBuilder::InsertPointTy
930 OpenMPIRBuilder::createCancel(const LocationDescription &Loc, in createCancel()
981 OpenMPIRBuilder::InsertPointTy OpenMPIRBuilder::emitTargetKernel( in emitTargetKernel()
990 Builder.CreateAlloca(OpenMPIRBuilder::KernelArgs, nullptr, "kernel_args"); in emitTargetKernel()
995 Builder.CreateStructGEP(OpenMPIRBuilder::KernelArgs, KernelArgsPtr, I); in emitTargetKernel()
1011 OpenMPIRBuilder::InsertPointTy OpenMPIRBuilder::emitKernelLaunch( in emitKernelLaunch()
1072 void OpenMPIRBuilder::emitCancelationCheckImpl(Value *CancelFlag, in emitCancelationCheckImpl()
1116 OpenMPIRBuilder *OMPIRBuilder, Function &OutlinedFn, Function *OuterFn, in targetParallelCallback()
1141 OpenMPIRBuilder ::InsertPointTy CurrentIP = Builder.saveIP(); in targetParallelCallback()
1204 hostParallelCallback(OpenMPIRBuilder *OMPIRBuilder, Function &OutlinedFn, in hostParallelCallback()
1287 IRBuilder<>::InsertPoint OpenMPIRBuilder::createParallel( in createParallel()
1595 void OpenMPIRBuilder::emitFlush(const LocationDescription &Loc) { in emitFlush()
1604 void OpenMPIRBuilder::createFlush(const LocationDescription &Loc) { in createFlush()
1610 void OpenMPIRBuilder::emitTaskwaitImpl(const LocationDescription &Loc) { in emitTaskwaitImpl()
1623 void OpenMPIRBuilder::createTaskwait(const LocationDescription &Loc) { in createTaskwait()
1629 void OpenMPIRBuilder::emitTaskyieldImpl(const LocationDescription &Loc) { in emitTaskyieldImpl()
1641 void OpenMPIRBuilder::createTaskyield(const LocationDescription &Loc) { in createTaskyield()
1647 OpenMPIRBuilder::InsertPointTy
1648 OpenMPIRBuilder::createTask(const LocationDescription &Loc, in createTask()
1887 OpenMPIRBuilder::InsertPointTy
1888 OpenMPIRBuilder::createTaskgroup(const LocationDescription &Loc, in createTaskgroup()
1916 OpenMPIRBuilder::InsertPointTy OpenMPIRBuilder::createSections( in createSections()
2010 OpenMPIRBuilder::InsertPointTy
2011 OpenMPIRBuilder::createSection(const LocationDescription &Loc, in createSection()
2057 OpenMPIRBuilder::InsertPointTy OpenMPIRBuilder::createReductions( in createReductions()
2214 OpenMPIRBuilder::InsertPointTy
2215 OpenMPIRBuilder::createMaster(const LocationDescription &Loc, in createMaster()
2239 OpenMPIRBuilder::InsertPointTy
2240 OpenMPIRBuilder::createMasked(const LocationDescription &Loc, in createMasked()
2264 CanonicalLoopInfo *OpenMPIRBuilder::createLoopSkeleton( in createLoopSkeleton()
2331 OpenMPIRBuilder::createCanonicalLoop(const LocationDescription &Loc, in createCanonicalLoop()
2360 CanonicalLoopInfo *OpenMPIRBuilder::createCanonicalLoop( in createCanonicalLoop()
2436 OpenMPIRBuilder &OMPBuilder) { in getKmpcForStaticInitForType()
2447 OpenMPIRBuilder::InsertPointTy
2448 OpenMPIRBuilder::applyStaticWorkshareLoop(DebugLoc DL, CanonicalLoopInfo *CLI, in applyStaticWorkshareLoop()
2534 OpenMPIRBuilder::InsertPointTy OpenMPIRBuilder::applyStaticChunkedWorkshareLoop( in applyStaticChunkedWorkshareLoop()
2681 getKmpcForStaticLoopForType(Type *Ty, OpenMPIRBuilder *OMPBuilder, in getKmpcForStaticLoopForType()
2720 OpenMPIRBuilder *OMPBuilder, WorksharingLoopType LoopType, in createTargetLoopWorkshareCall()
2754 workshareLoopTargetCallback(OpenMPIRBuilder *OMPIRBuilder, in workshareLoopTargetCallback()
2778 OpenMPIRBuilder::OutlineInfo CleanUpInfo; in workshareLoopTargetCallback()
2812 OpenMPIRBuilder::InsertPointTy
2813 OpenMPIRBuilder::applyWorkshareLoopTarget(DebugLoc DL, CanonicalLoopInfo *CLI, in applyWorkshareLoopTarget()
2906 OpenMPIRBuilder::InsertPointTy OpenMPIRBuilder::applyWorkshareLoop( in applyWorkshareLoop()
2965 getKmpcForDynamicInitForType(Type *Ty, Module &M, OpenMPIRBuilder &OMPBuilder) { in getKmpcForDynamicInitForType()
2981 getKmpcForDynamicNextForType(Type *Ty, Module &M, OpenMPIRBuilder &OMPBuilder) { in getKmpcForDynamicNextForType()
2996 getKmpcForDynamicFiniForType(Type *Ty, Module &M, OpenMPIRBuilder &OMPBuilder) { in getKmpcForDynamicFiniForType()
3007 OpenMPIRBuilder::InsertPointTy OpenMPIRBuilder::applyDynamicWorkshareLoop( in applyDynamicWorkshareLoop()
3175 OpenMPIRBuilder::collapseLoops(DebugLoc DL, ArrayRef<CanonicalLoopInfo *> Loops, in collapseLoops()
3303 OpenMPIRBuilder::tileLoops(DebugLoc DL, ArrayRef<CanonicalLoopInfo *> Loops, in tileLoops()
3542 void OpenMPIRBuilder::unrollLoopFull(DebugLoc, CanonicalLoopInfo *Loop) { in unrollLoopFull()
3549 void OpenMPIRBuilder::unrollLoopHeuristic(DebugLoc, CanonicalLoopInfo *Loop) { in unrollLoopHeuristic()
3557 void OpenMPIRBuilder::createIfVersion(CanonicalLoopInfo *CanonicalLoop, in createIfVersion()
3619 OpenMPIRBuilder::getOpenMPDefaultSimdAlign(const Triple &TargetTriple, in getOpenMPDefaultSimdAlign()
3635 void OpenMPIRBuilder::applySimd(CanonicalLoopInfo *CanonicalLoop, in applySimd()
3904 void OpenMPIRBuilder::unrollLoopPartial(DebugLoc DL, CanonicalLoopInfo *Loop, in unrollLoopPartial()
3972 OpenMPIRBuilder::InsertPointTy
3973 OpenMPIRBuilder::createCopyPrivate(const LocationDescription &Loc, in createCopyPrivate()
3994 OpenMPIRBuilder::InsertPointTy OpenMPIRBuilder::createSingle( in createSingle()
4036 OpenMPIRBuilder::InsertPointTy OpenMPIRBuilder::createCritical( in createCritical()
4070 OpenMPIRBuilder::InsertPointTy
4071 OpenMPIRBuilder::createOrderedDepend(const LocationDescription &Loc, in createOrderedDepend()
4117 OpenMPIRBuilder::InsertPointTy OpenMPIRBuilder::createOrderedThreadsSimd( in createOrderedThreadsSimd()
4146 OpenMPIRBuilder::InsertPointTy OpenMPIRBuilder::EmitOMPInlinedRegion( in EmitOMPInlinedRegion()
4195 OpenMPIRBuilder::InsertPointTy OpenMPIRBuilder::emitCommonDirectiveEntry( in emitCommonDirectiveEntry()
4225 OpenMPIRBuilder::InsertPointTy OpenMPIRBuilder::emitCommonDirectiveExit( in emitCommonDirectiveExit()
4259 OpenMPIRBuilder::InsertPointTy OpenMPIRBuilder::createCopyinClauseBlocks( in createCopyinClauseBlocks()
4309 CallInst *OpenMPIRBuilder::createOMPAlloc(const LocationDescription &Loc, in createOMPAlloc()
4326 CallInst *OpenMPIRBuilder::createOMPFree(const LocationDescription &Loc, in createOMPFree()
4341 CallInst *OpenMPIRBuilder::createOMPInteropInit( in createOMPInteropInit()
4370 CallInst *OpenMPIRBuilder::createOMPInteropDestroy( in createOMPInteropDestroy()
4397 CallInst *OpenMPIRBuilder::createOMPInteropUse(const LocationDescription &Loc, in createOMPInteropUse()
4425 CallInst *OpenMPIRBuilder::createCachedThreadPrivate( in createCachedThreadPrivate()
4445 OpenMPIRBuilder::InsertPointTy
4446 OpenMPIRBuilder::createTargetInit(const LocationDescription &Loc, bool IsSPMD, in createTargetInit()
4575 void OpenMPIRBuilder::createTargetDeinit(const LocationDescription &Loc, in createTargetDeinit()
4650 OpenMPIRBuilder::readThreadBoundsForKernel(const Triple &T, Function &Kernel) { in readThreadBoundsForKernel()
4676 void OpenMPIRBuilder::writeThreadBoundsForKernel(const Triple &T, in writeThreadBoundsForKernel()
4691 OpenMPIRBuilder::readTeamBoundsForKernel(const Triple &, Function &Kernel) { in readTeamBoundsForKernel()
4696 void OpenMPIRBuilder::writeTeamsForKernel(const Triple &T, Function &Kernel, in writeTeamsForKernel()
4706 void OpenMPIRBuilder::setOutlinedTargetRegionFunctionAttributes( in setOutlinedTargetRegionFunctionAttributes()
4718 Constant *OpenMPIRBuilder::createOutlinedFunctionID(Function *OutlinedFn, in createOutlinedFunctionID()
4730 Constant *OpenMPIRBuilder::createTargetRegionEntryAddr(Function *OutlinedFn, in createTargetRegionEntryAddr()
4742 void OpenMPIRBuilder::emitTargetRegionFunction( in emitTargetRegionFunction()
4769 Constant *OpenMPIRBuilder::registerTargetRegionFunction( in registerTargetRegionFunction()
4782 OpenMPIRBuilder::InsertPointTy OpenMPIRBuilder::createTargetData( in createTargetData()
4921 OpenMPIRBuilder::createForStaticInitFunction(unsigned IVSize, bool IVSigned, in createForStaticInitFunction()
4941 FunctionCallee OpenMPIRBuilder::createDispatchInitFunction(unsigned IVSize, in createDispatchInitFunction()
4954 FunctionCallee OpenMPIRBuilder::createDispatchNextFunction(unsigned IVSize, in createDispatchNextFunction()
4967 FunctionCallee OpenMPIRBuilder::createDispatchFiniFunction(unsigned IVSize, in createDispatchFiniFunction()
4997 OpenMPIRBuilder &OMPBuilder, IRBuilderBase &Builder, StringRef FuncName, in createOutlinedFunction()
4999 OpenMPIRBuilder::TargetBodyGenCallbackTy &CBFunc, in createOutlinedFunction()
5000 OpenMPIRBuilder::TargetGenArgAccessorsCallbackTy &ArgAccessorFuncCB) { in createOutlinedFunction()
5094 OpenMPIRBuilder &OMPBuilder, IRBuilderBase &Builder, in emitTargetOutlinedFunction()
5097 OpenMPIRBuilder::TargetBodyGenCallbackTy &CBFunc, in emitTargetOutlinedFunction()
5098 OpenMPIRBuilder::TargetGenArgAccessorsCallbackTy &ArgAccessorFuncCB) { in emitTargetOutlinedFunction()
5100 OpenMPIRBuilder::FunctionGenCallback &&GenerateOutlinedFunction = in emitTargetOutlinedFunction()
5111 static void emitTargetCall(OpenMPIRBuilder &OMPBuilder, IRBuilderBase &Builder, in emitTargetCall()
5112 OpenMPIRBuilder::InsertPointTy AllocaIP, in emitTargetCall()
5116 OpenMPIRBuilder::GenMapInfoCallbackTy GenMapInfoCB) { in emitTargetCall()
5118 OpenMPIRBuilder::TargetDataInfo Info( in emitTargetCall()
5122 OpenMPIRBuilder::MapInfosTy &MapInfo = GenMapInfoCB(Builder.saveIP()); in emitTargetCall()
5126 OpenMPIRBuilder::TargetDataRTArgs RTArgs; in emitTargetCall()
5132 [&](OpenMPIRBuilder::InsertPointTy IP) -> OpenMPIRBuilder::InsertPointTy { in emitTargetCall()
5154 OpenMPIRBuilder::TargetKernelArgs KArgs(NumTargetItems, RTArgs, NumIterations, in emitTargetCall()
5163 OpenMPIRBuilder::InsertPointTy OpenMPIRBuilder::createTarget( in createTarget()
5168 OpenMPIRBuilder::TargetBodyGenCallbackTy CBFunc, in createTarget()
5169 OpenMPIRBuilder::TargetGenArgAccessorsCallbackTy ArgAccessorFuncCB) { in createTarget()
5186 std::string OpenMPIRBuilder::getNameWithSeparators(ArrayRef<StringRef> Parts, in getNameWithSeparators()
5200 OpenMPIRBuilder::createPlatformSpecificName(ArrayRef<StringRef> Parts) const { in createPlatformSpecificName()
5201 return OpenMPIRBuilder::getNameWithSeparators(Parts, Config.firstSeparator(), in createPlatformSpecificName()
5206 OpenMPIRBuilder::getOrCreateInternalVariable(Type *Ty, const StringRef &Name, in getOrCreateInternalVariable()
5234 Value *OpenMPIRBuilder::getOMPCriticalRegionLock(StringRef CriticalName) { in getOMPCriticalRegionLock()
5240 Value *OpenMPIRBuilder::getSizeInBytes(Value *BasePtr) { in getSizeInBytes()
5251 OpenMPIRBuilder::createOffloadMaptypes(SmallVectorImpl<uint64_t> &Mappings, in createOffloadMaptypes()
5263 void OpenMPIRBuilder::createMapperAllocas(const LocationDescription &Loc, in createMapperAllocas()
5285 void OpenMPIRBuilder::emitMapperCall(const LocationDescription &Loc, in emitMapperCall()
5312 void OpenMPIRBuilder::emitOffloadingArraysArgument(IRBuilderBase &Builder, in emitOffloadingArraysArgument()
5371 void OpenMPIRBuilder::emitNonContiguousDescriptor(InsertPointTy AllocaIP, in emitNonContiguousDescriptor()
5439 void OpenMPIRBuilder::emitOffloadingArrays( in emitOffloadingArrays()
5628 void OpenMPIRBuilder::emitBranch(BasicBlock *Target) { in emitBranch()
5642 void OpenMPIRBuilder::emitBlock(BasicBlock *BB, Function *CurFn, in emitBlock()
5663 void OpenMPIRBuilder::emitIfClause(Value *Cond, BodyGenCallbackTy ThenGen, in emitIfClause()
5699 bool OpenMPIRBuilder::checkAndEmitFlushAfterAtomic( in checkAndEmitFlushAfterAtomic()
5760 OpenMPIRBuilder::InsertPointTy
5761 OpenMPIRBuilder::createAtomicRead(const LocationDescription &Loc, in createAtomicRead()
5799 OpenMPIRBuilder::InsertPointTy
5800 OpenMPIRBuilder::createAtomicWrite(const LocationDescription &Loc, in createAtomicWrite()
5830 OpenMPIRBuilder::InsertPointTy OpenMPIRBuilder::createAtomicUpdate( in createAtomicUpdate()
5858 Value *OpenMPIRBuilder::emitRMWOpAsInstruction(Value *Src1, Value *Src2, in emitRMWOpAsInstruction()
5890 std::pair<Value *, Value *> OpenMPIRBuilder::emitAtomicUpdate( in emitAtomicUpdate()
5990 OpenMPIRBuilder::InsertPointTy OpenMPIRBuilder::createAtomicCapture( in createAtomicCapture()
6024 OpenMPIRBuilder::InsertPointTy OpenMPIRBuilder::createAtomicCompare( in createAtomicCompare()
6035 OpenMPIRBuilder::InsertPointTy OpenMPIRBuilder::createAtomicCompare( in createAtomicCompare()
6212 OpenMPIRBuilder::InsertPointTy
6213 OpenMPIRBuilder::createTeams(const LocationDescription &Loc, in createTeams()
6353 OpenMPIRBuilder::createOffloadMapnames(SmallVectorImpl<llvm::Constant *> &Names, in createOffloadMapnames()
6368 void OpenMPIRBuilder::initializeTypes(Module &M) { in initializeTypes()
6387 void OpenMPIRBuilder::OutlineInfo::collectBlocks( in collectBlocks()
6404 void OpenMPIRBuilder::createOffloadEntry(Constant *ID, Constant *Addr, in createOffloadEntry()
6440 void OpenMPIRBuilder::createOffloadEntriesAndInfoMetadata( in createOffloadEntriesAndInfoMetadata()
6611 OpenMPIRBuilder::getTargetEntryUniqueInfo(FileIdentifierInfoCallbackTy CallBack, in getTargetEntryUniqueInfo()
6626 unsigned OpenMPIRBuilder::getFlagMemberOffset() { in getFlagMemberOffset()
6637 OpenMPIRBuilder::getMemberOfFlag(unsigned Position) { in getMemberOfFlag()
6643 void OpenMPIRBuilder::setCorrectMemberOfFlag( in setCorrectMemberOfFlag()
6662 Constant *OpenMPIRBuilder::getAddrOfDeclareTargetVar( in getAddrOfDeclareTargetVar()
6718 void OpenMPIRBuilder::registerTargetGlobalVariable( in registerTargetGlobalVariable()
6799 void OpenMPIRBuilder::loadOffloadInfoMetadata(Module &M) { in loadOffloadInfoMetadata()
6845 void OpenMPIRBuilder::loadOffloadInfoMetadata(StringRef HostFilePath) { in loadOffloadInfoMetadata()
6869 Function *OpenMPIRBuilder::createRegisterRequires(StringRef Name) { in createRegisterRequires()