Lines Matching refs:OMPBuilder
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()
4231 return OMPBuilder->getOrCreateRuntimeFunction( in getKmpcForStaticLoopForType()
4236 return OMPBuilder->getOrCreateRuntimeFunction( in getKmpcForStaticLoopForType()
4239 return OMPBuilder->getOrCreateRuntimeFunction( in getKmpcForStaticLoopForType()
4244 return OMPBuilder->getOrCreateRuntimeFunction( in getKmpcForStaticLoopForType()
4247 return OMPBuilder->getOrCreateRuntimeFunction( in getKmpcForStaticLoopForType()
4260 OpenMPIRBuilder *OMPBuilder, WorksharingLoopType LoopType, in createTargetLoopWorkshareCall() argument
4264 Module &M = OMPBuilder->M; in createTargetLoopWorkshareCall()
4265 IRBuilder<> &Builder = OMPBuilder->Builder; in createTargetLoopWorkshareCall()
4267 getKmpcForStaticLoopForType(TripCountTy, OMPBuilder, LoopType); in createTargetLoopWorkshareCall()
4278 FunctionCallee RTLNumThreads = OMPBuilder->getOrCreateRuntimeFunction( in createTargetLoopWorkshareCall()
4505 getKmpcForDynamicInitForType(Type *Ty, Module &M, OpenMPIRBuilder &OMPBuilder) { in getKmpcForDynamicInitForType() argument
4508 return OMPBuilder.getOrCreateRuntimeFunction( in getKmpcForDynamicInitForType()
4511 return OMPBuilder.getOrCreateRuntimeFunction( in getKmpcForDynamicInitForType()
4521 getKmpcForDynamicNextForType(Type *Ty, Module &M, OpenMPIRBuilder &OMPBuilder) { in getKmpcForDynamicNextForType() argument
4524 return OMPBuilder.getOrCreateRuntimeFunction( in getKmpcForDynamicNextForType()
4527 return OMPBuilder.getOrCreateRuntimeFunction( in getKmpcForDynamicNextForType()
4536 getKmpcForDynamicFiniForType(Type *Ty, Module &M, OpenMPIRBuilder &OMPBuilder) { in getKmpcForDynamicFiniForType() argument
4539 return OMPBuilder.getOrCreateRuntimeFunction( in getKmpcForDynamicFiniForType()
4542 return OMPBuilder.getOrCreateRuntimeFunction( in getKmpcForDynamicFiniForType()
6545 OpenMPIRBuilder &OMPBuilder, IRBuilderBase &Builder, StringRef FuncName, in createOutlinedFunction() argument
6550 if (OMPBuilder.Config.isTargetDevice()) { in createOutlinedFunction()
6580 if (OMPBuilder.Config.isTargetDevice()) in createOutlinedFunction()
6581 Builder.restoreIP(OMPBuilder.createTargetInit(Builder, /*IsSPMD*/ false)); in createOutlinedFunction()
6588 if (OMPBuilder.Config.isTargetDevice()) in createOutlinedFunction()
6589 OMPBuilder.ConstantAllocaRaiseCandidates.emplace_back(Func); in createOutlinedFunction()
6593 if (OMPBuilder.Config.isTargetDevice()) in createOutlinedFunction()
6594 OMPBuilder.createTargetDeinit(Builder); in createOutlinedFunction()
6607 OMPBuilder.Config.isTargetDevice() in createOutlinedFunction()
6691 static Function *emitTargetTaskProxyFunction(OpenMPIRBuilder &OMPBuilder, in emitTargetTaskProxyFunction() argument
6694 Module &M = OMPBuilder.M; in emitTargetTaskProxyFunction()
6721 Type *TaskPtrTy = OMPBuilder.TaskPtr; in emitTargetTaskProxyFunction()
6722 Type *TaskTy = OMPBuilder.Task; in emitTargetTaskProxyFunction()
6772 OpenMPIRBuilder &OMPBuilder, IRBuilderBase &Builder, in emitTargetOutlinedFunction() argument
6779 [&OMPBuilder, &Builder, &Inputs, &CBFunc, in emitTargetOutlinedFunction()
6781 return createOutlinedFunction(OMPBuilder, Builder, EntryFnName, Inputs, in emitTargetOutlinedFunction()
6785 OMPBuilder.emitTargetRegionFunction(EntryInfo, GenerateOutlinedFunction, true, in emitTargetOutlinedFunction()
7057 OpenMPIRBuilder &OMPBuilder, IRBuilderBase &Builder, in emitTargetCall() argument
7069 OMPBuilder.emitOffloadingArrays(AllocaIP, Builder.saveIP(), MapInfo, Info,
7073 OMPBuilder.emitOffloadingArraysArgument(Builder, RTArgs, Info,
7090 Constant *SrcLocStr = OMPBuilder.getOrCreateDefaultSrcLocStr(SrcLocStrSize);
7091 Value *RTLoc = OMPBuilder.getOrCreateIdent(SrcLocStr, SrcLocStrSize,
7109 Builder.restoreIP(OMPBuilder.emitTargetTask(
7113 Builder.restoreIP(OMPBuilder.emitKernelLaunch(
8891 if (OMPBuilder->Config.isTargetDevice()) { in registerTargetRegionEntryInfo()
8946 if (OMPBuilder->Config.isTargetDevice()) { in registerDeviceGlobalVarEntryInfo()