Home
last modified time | relevance | path

Searched refs:FnID (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/Frontend/OpenMP/
H A DOMPIRBuilder.h93 void addAttributes(omp::RuntimeFunction FnID, Function &Fn);
768 omp::RuntimeFunction FnID);
770 Function *getOrCreateRuntimeFunctionPtr(omp::RuntimeFunction FnID);
/llvm-project-15.0.7/llvm/tools/llvm-dwarfdump/
H A DStatistics.cpp571 std::string FnID = constructDieID(Die); in collectStatsRecursive() local
573 auto &FnStats = FnStatMap[FnID]; in collectStatsRecursive()
586 FnPrefix = FnID; in collectStatsRecursive()
/llvm-project-15.0.7/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp329 void OpenMPIRBuilder::addAttributes(omp::RuntimeFunction FnID, Function &Fn) { in addAttributes() argument
344 switch (FnID) { in addAttributes()
362 OpenMPIRBuilder::getOrCreateRuntimeFunction(Module &M, RuntimeFunction FnID) { in getOrCreateRuntimeFunction() argument
367 switch (FnID) { in getOrCreateRuntimeFunction()
379 switch (FnID) { in getOrCreateRuntimeFunction()
388 if (FnID == OMPRTL___kmpc_fork_call || FnID == OMPRTL___kmpc_fork_teams) { in getOrCreateRuntimeFunction()
406 addAttributes(FnID, *Fn); in getOrCreateRuntimeFunction()
420 Function *OpenMPIRBuilder::getOrCreateRuntimeFunctionPtr(RuntimeFunction FnID) { in getOrCreateRuntimeFunctionPtr() argument
421 FunctionCallee RTLFn = getOrCreateRuntimeFunction(M, FnID); in getOrCreateRuntimeFunctionPtr()
/llvm-project-15.0.7/llvm/unittests/Frontend/
H A DOpenMPIRBuilderTest.cpp120 static void findCalls(Function *F, omp::RuntimeFunction FnID, in findCalls() argument
123 Function *Fn = OMPBuilder.getOrCreateRuntimeFunctionPtr(FnID); in findCalls()
135 static CallInst *findSingleCall(Function *F, omp::RuntimeFunction FnID, in findSingleCall() argument
138 findCalls(F, FnID, OMPBuilder, Calls); in findSingleCall()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp6571 llvm::Constant *FnID = nullptr; in emitCommonOMPTargetDirective() local
6621 CGM.getOpenMPRuntime().emitTargetOutlinedFunction(S, ParentName, Fn, FnID, in emitCommonOMPTargetDirective()
6637 CGM.getOpenMPRuntime().emitTargetCall(CGF, S, Fn, FnID, IfCond, Device, in emitCommonOMPTargetDirective()
H A DCGOpenMPRuntime.cpp12186 llvm::omp::RuntimeFunction FnID = in getAddressOfLocalVariable() local
12189 OMPBuilder.getOrCreateRuntimeFunction(CGM.getModule(), FnID), Args, in getAddressOfLocalVariable()