/llvm-project/clang/lib/CodeGen/ |
H A D | CGOpenMPRuntimeGPU.cpp | 706 llvm::Function *&OutlinedFn, in emitNonSPMDKernel() argument 798 llvm::Function *&OutlinedFn, in emitSPMDKernel() argument 848 llvm::Function *&OutlinedFn, llvm::Constant *&OutlinedFnID, in emitTargetOutlinedFunction() argument 1183 emitTeamsCall(CodeGenFunction & CGF,const OMPExecutableDirective & D,SourceLocation Loc,llvm::Function * OutlinedFn,ArrayRef<llvm::Value * > CapturedVars) emitTeamsCall() argument 1207 emitParallelCall(CodeGenFunction & CGF,SourceLocation Loc,llvm::Function * OutlinedFn,ArrayRef<llvm::Value * > CapturedVars,const Expr * IfCond,llvm::Value * NumThreads) emitParallelCall() argument 1824 emitOutlinedFunctionCall(CodeGenFunction & CGF,SourceLocation Loc,llvm::FunctionCallee OutlinedFn,ArrayRef<llvm::Value * > Args) const emitOutlinedFunctionCall() argument [all...] |
H A D | CGOpenMPRuntime.cpp | 1868 emitParallelCall(CodeGenFunction & CGF,SourceLocation Loc,llvm::Function * OutlinedFn,ArrayRef<llvm::Value * > CapturedVars,const Expr * IfCond,llvm::Value * NumThreads) emitParallelCall() argument 5825 emitTargetOutlinedFunction(const OMPExecutableDirective & D,StringRef ParentName,llvm::Function * & OutlinedFn,llvm::Constant * & OutlinedFnID,bool IsOffloadEntry,const RegionCodeGenTy & CodeGen) emitTargetOutlinedFunction() argument 5932 emitTargetOutlinedFunctionHelper(const OMPExecutableDirective & D,StringRef ParentName,llvm::Function * & OutlinedFn,llvm::Constant * & OutlinedFnID,bool IsOffloadEntry,const RegionCodeGenTy & CodeGen) emitTargetOutlinedFunctionHelper() argument 9428 emitTargetCallFallback(CGOpenMPRuntime * OMPRuntime,llvm::Function * OutlinedFn,const OMPExecutableDirective & D,llvm::SmallVectorImpl<llvm::Value * > & CapturedVars,bool RequiresOuterTask,const CapturedStmt & CS,bool OffloadingMandatory,CodeGenFunction & CGF) emitTargetCallFallback() argument 9478 emitTargetCallKernelLaunch(CGOpenMPRuntime * OMPRuntime,llvm::Function * OutlinedFn,const OMPExecutableDirective & D,llvm::SmallVectorImpl<llvm::Value * > & CapturedVars,bool RequiresOuterTask,const CapturedStmt & CS,bool OffloadingMandatory,llvm::PointerIntPair<const Expr *,2,OpenMPDeviceClauseModifier> Device,llvm::Value * OutlinedFnID,CodeGenFunction::OMPTargetDataInfo & InputInfo,llvm::Value * & MapTypesArray,llvm::Value * & MapNamesArray,llvm::function_ref<llvm::Value * (CodeGenFunction & CGF,const OMPLoopDirective & D)> SizeEmitter,CodeGenFunction & CGF,CodeGenModule & CGM) emitTargetCallKernelLaunch() argument 9656 emitTargetCallElse(CGOpenMPRuntime * OMPRuntime,llvm::Function * OutlinedFn,const OMPExecutableDirective & D,llvm::SmallVectorImpl<llvm::Value * > & CapturedVars,bool RequiresOuterTask,const CapturedStmt & CS,bool OffloadingMandatory,CodeGenFunction & CGF) emitTargetCallElse() argument 9680 emitTargetCall(CodeGenFunction & CGF,const OMPExecutableDirective & D,llvm::Function * OutlinedFn,llvm::Value * OutlinedFnID,const Expr * IfCond,llvm::PointerIntPair<const Expr *,2,OpenMPDeviceClauseModifier> Device,llvm::function_ref<llvm::Value * (CodeGenFunction & CGF,const OMPLoopDirective & D)> SizeEmitter) emitTargetCall() argument 10158 emitTeamsCall(CodeGenFunction & CGF,const OMPExecutableDirective & D,SourceLocation Loc,llvm::Function * OutlinedFn,ArrayRef<llvm::Value * > CapturedVars) emitTeamsCall() argument 11263 emitOutlinedFunctionCall(CodeGenFunction & CGF,SourceLocation Loc,llvm::FunctionCallee OutlinedFn,ArrayRef<llvm::Value * > Args) const emitOutlinedFunctionCall() argument 11959 emitParallelCall(CodeGenFunction & CGF,SourceLocation Loc,llvm::Function * OutlinedFn,ArrayRef<llvm::Value * > CapturedVars,const Expr * IfCond,llvm::Value * NumThreads) emitParallelCall() argument 12173 emitTargetOutlinedFunction(const OMPExecutableDirective & D,StringRef ParentName,llvm::Function * & OutlinedFn,llvm::Constant * & OutlinedFnID,bool IsOffloadEntry,const RegionCodeGenTy & CodeGen) emitTargetOutlinedFunction() argument 12180 emitTargetCall(CodeGenFunction & CGF,const OMPExecutableDirective & D,llvm::Function * OutlinedFn,llvm::Value * OutlinedFnID,const Expr * IfCond,llvm::PointerIntPair<const Expr *,2,OpenMPDeviceClauseModifier> Device,llvm::function_ref<llvm::Value * (CodeGenFunction & CGF,const OMPLoopDirective & D)> SizeEmitter) emitTargetCall() argument 12203 emitTeamsCall(CodeGenFunction & CGF,const OMPExecutableDirective & D,SourceLocation Loc,llvm::Function * OutlinedFn,ArrayRef<llvm::Value * > CapturedVars) emitTeamsCall() argument [all...] |
H A D | CGStmtOpenMP.cpp | 1565 llvm::Function *OutlinedFn = emitCommonOMPParallelDirective() local 5013 llvm::Function *OutlinedFn = CGM.getOpenMPRuntime().emitTaskOutlinedFunction( EmitOMPTaskBasedDirective() local 5188 llvm::Function *OutlinedFn = CGM.getOpenMPRuntime().emitTaskOutlinedFunction( EmitOMPTargetTaskBasedDirective() local 5308 __anonfdc450d26002(CodeGenFunction &CGF, llvm::Function *OutlinedFn, const OMPTaskDataTy &Data) EmitOMPTaskDirective() argument 5943 llvm::Function *OutlinedFn = EmitOMPOrderedDirective() local 5984 llvm::Function *OutlinedFn = EmitOMPOrderedDirective() local 6768 llvm::Function *OutlinedFn = emitCommonOMPTeamsDirective() local 7782 __anonfdc450d2b102(CodeGenFunction &CGF, llvm::Function *OutlinedFn, const OMPTaskDataTy &Data) EmitOMPTaskLoopBasedDirective() argument [all...] |
/llvm-project/llvm/lib/Frontend/OpenMP/ |
H A D | OMPIRBuilder.cpp | 706 Function *OutlinedFn = Extractor.extractCodeRegion(CEAC); finalize() local 1070 emitKernelLaunch(const LocationDescription & Loc,Function * OutlinedFn,Value * OutlinedFnID,EmitFallbackCallbackTy emitTargetCallFallbackCB,TargetKernelArgs & Args,Value * DeviceID,Value * RTLoc,InsertPointTy AllocaIP) emitKernelLaunch() argument 1174 targetParallelCallback(OpenMPIRBuilder * OMPIRBuilder,Function & OutlinedFn,Function * OuterFn,BasicBlock * OuterAllocaBB,Value * Ident,Value * IfCondition,Value * NumThreads,Instruction * PrivTID,AllocaInst * PrivTIDAddr,Value * ThreadID,const SmallVector<Instruction *,4> & ToBeDeleted) targetParallelCallback() argument 1262 hostParallelCallback(OpenMPIRBuilder * OMPIRBuilder,Function & OutlinedFn,Function * OuterFn,Value * Ident,Value * IfCondition,Instruction * PrivTID,AllocaInst * PrivTIDAddr,const SmallVector<Instruction *,4> & ToBeDeleted) hostParallelCallback() argument 1494 __anonacd7f01e0602(Function &OutlinedFn) createParallel() argument 1502 __anonacd7f01e0702(Function &OutlinedFn) createParallel() argument 1759 __anonacd7f01e0902(Function &OutlinedFn) createTask() argument 4230 workshareLoopTargetCallback(OpenMPIRBuilder * OMPIRBuilder,CanonicalLoopInfo * CLI,Value * Ident,Function & OutlinedFn,Type * ParallelTaskPtr,const SmallVector<Instruction *,4> & ToBeDeleted,WorksharingLoopType LoopType) workshareLoopTargetCallback() argument 4372 __anonacd7f01e1902(Function &OutlinedFn) applyWorkshareLoopTarget() argument 6198 setOutlinedTargetRegionFunctionAttributes(Function * OutlinedFn) setOutlinedTargetRegionFunctionAttributes() argument 6209 createOutlinedFunctionID(Function * OutlinedFn,StringRef EntryFnIDName) createOutlinedFunctionID() argument 6221 createTargetRegionEntryAddr(Function * OutlinedFn,StringRef EntryFnName) createTargetRegionEntryAddr() argument 6236 emitTargetRegionFunction(TargetRegionEntryInfo & EntryInfo,FunctionGenCallback & GenerateFunctionCallback,bool IsOffloadEntry,Function * & OutlinedFn,Constant * & OutlinedFnID) emitTargetRegionFunction() argument 6261 registerTargetRegionFunction(TargetRegionEntryInfo & EntryInfo,Function * OutlinedFn,StringRef EntryFnName,StringRef EntryFnIDName) registerTargetRegionFunction() argument 6622 emitTargetOutlinedFunction(OpenMPIRBuilder & OMPBuilder,IRBuilderBase & Builder,TargetRegionEntryInfo & EntryInfo,Function * & OutlinedFn,Constant * & OutlinedFnID,SmallVectorImpl<Value * > & Inputs,OpenMPIRBuilder::TargetBodyGenCallbackTy & CBFunc,OpenMPIRBuilder::TargetGenArgAccessorsCallbackTy & ArgAccessorFuncCB) emitTargetOutlinedFunction() argument 6640 emitTargetCall(OpenMPIRBuilder & OMPBuilder,IRBuilderBase & Builder,OpenMPIRBuilder::InsertPointTy AllocaIP,Function * OutlinedFn,Constant * OutlinedFnID,int32_t NumTeams,int32_t NumThreads,SmallVectorImpl<Value * > & Args,OpenMPIRBuilder::GenMapInfoCallbackTy GenMapInfoCB) emitTargetCall() argument 6702 Function *OutlinedFn; createTarget() local 7838 __anonacd7f01e3602(Function &OutlinedFn) createTeams() argument [all...] |
/llvm-project/llvm/unittests/Frontend/ |
H A D | OpenMPIRBuilderTest.cpp | 674 Function *OutlinedFn = PrivAI->getFunction(); TEST_F() local 783 Function *OutlinedFn = PrivAI->getFunction(); TEST_F() local 1095 Function *OutlinedFn = PrivAI->getFunction(); TEST_F() local 1292 Function *OutlinedFn = Internal->getFunction(); TEST_F() local 4394 Function *OutlinedFn = TEST_F() local 5398 Function *OutlinedFn = PrivAI->getFunction(); TEST_F() local 6100 Function *OutlinedFn = TargetStore->getFunction(); TEST_F() local 6248 Function *OutlinedFn = TargetStore->getFunction(); TEST_F() local 6406 Function *OutlinedFn = TEST_F() local 6476 Function *OutlinedFn = dyn_cast<Function>(TaskAllocCall->getArgOperand(5)); TEST_F() local [all...] |
/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | OpenMPOpt.cpp | 1250 Function *OutlinedFn = MergableCIs.front()->getCaller(); mergeParallelRegions() local
|