Home
last modified time | relevance | path

Searched refs:getFunction (Results 1 – 25 of 200) sorted by relevance

12345678

/NextBSD/contrib/llvm/lib/CodeGen/
HDMachineBlockFrequencyInfo.cpp60 return G->getFunction()->begin(); in getEntryNode()
72 return G->getFunction()->begin(); in nodes_begin()
76 return G->getFunction()->end(); in nodes_end()
87 return G->getFunction()->getName(); in getGraphName()
175 const MachineFunction *MachineBlockFrequencyInfo::getFunction() const { in getFunction() function in MachineBlockFrequencyInfo
176 return MBFI ? MBFI->getFunction() : nullptr; in getFunction()
HDTargetFrameLoweringImpl.cpp31 auto Attr = MF.getFunction()->getFnAttribute("no-frame-pointer-elim"); in noFramePointerElim()
75 if (MF.getFunction()->hasFnAttribute(Attribute::Naked)) in determineCalleeSaves()
HDGCMetadata.cpp116 OS << "GC roots for " << FD->getFunction().getName() << ":\n"; in runOnFunction()
122 OS << "GC safe points for " << FD->getFunction().getName() << ":\n"; in runOnFunction()
HDTargetOptionsImpl.cpp31 if (MF.getFunction()->hasFnAttribute("no-frame-pointer-elim-non-leaf")) in DisableFramePointerElim()
/NextBSD/contrib/llvm/lib/Analysis/
HDBlockFrequencyInfo.cpp58 return G->getFunction()->begin(); in getEntryNode()
67 return G->getFunction()->begin(); in nodes_begin()
70 return G->getFunction()->end(); in nodes_end()
80 return G->getFunction()->getName(); in getGraphName()
165 const Function *BlockFrequencyInfo::getFunction() const { in getFunction() function in BlockFrequencyInfo
166 return BFI ? BFI->getFunction() : nullptr; in getFunction()
HDTrace.cpp24 Function *Trace::getFunction() const { in getFunction() function in Trace
29 return getFunction()->getParent(); in getModule()
35 Function *F = getFunction(); in print()
HDLazyCallGraph.cpp87 CalleeIndexMap.insert(std::make_pair(&CalleeN.getFunction(), Callees.size())); in insertEdgeInternal()
129 SCCEntryNodes.push_back(&Entry.get<Node *>()->getFunction()); in LazyCallGraph()
326 CallerN.removeEdgeInternal(CalleeN.getFunction()); in removeInterSCCEdge()
367 DEBUG(dbgs() << "LCG: Update removing " << CallerN.getFunction().getName() in removeInterSCCEdge()
368 << " -> " << CalleeN.getFunction().getName() in removeInterSCCEdge()
460 CallerN.removeEdgeInternal(CalleeN.getFunction()); in removeIntraSCCEdge()
694 OS << " Call edges in function: " << N.getFunction().getName() << "\n"; in printNodes()
696 OS << " -> " << I->getFunction().getName() << "\n"; in printNodes()
706 OS << " " << N->getFunction().getName() << "\n"; in printSCC()
/NextBSD/contrib/llvm/lib/Target/Mips/
HDMipsCCState.cpp71 Function *F = G->getGlobal()->getParent()->getFunction(Sym); in getSpecialCallingConvForCallee()
97 originalTypeIsF128(MF.getFunction()->getReturnType(), nullptr)); in PreAnalyzeReturnForF128()
99 MF.getFunction()->getReturnType()->isFloatingPointTy()); in PreAnalyzeReturnForF128()
124 Function::const_arg_iterator FuncArg = MF.getFunction()->arg_begin(); in PreAnalyzeFormalArgumentsForF128()
135 assert(Ins[i].getOrigArgIndex() < MF.getFunction()->arg_size()); in PreAnalyzeFormalArgumentsForF128()
HDMipsRegisterInfo.cpp221 if (MF.getFunction()->hasFnAttribute("saveS2") || MipsFI->hasSaveS2()) in getReservedRegs()
323 if (MF.getFunction()->hasFnAttribute("no-realign-stack")) in needsStackRealignment()
326 const Function *F = MF.getFunction(); in needsStackRealignment()
/NextBSD/contrib/llvm/lib/Analysis/IPA/
HDCallGraph.cpp95 if (Function *F = Root->getFunction()) in print()
112 if (Function *LF = LHS->getFunction()) in print()
113 if (Function *RF = RHS->getFunction()) in print()
116 return RHS->getFunction() != nullptr; in print()
136 Function *F = CGN->getFunction(); // Get the function for the call graph node in removeFunctionFromModule()
176 if (Function *F = getFunction()) in print()
185 if (Function *FI = I->second->getFunction()) in print()
HDCallGraphSCCPass.cpp146 if (Function *F = CGN->getFunction()) { in RunPassOnSCC()
195 Function *F = CGN->getFunction(); in RefreshCallGraph()
228 if (!I->second->getFunction()) in RefreshCallGraph()
282 if (ExistingNode->getFunction() == CS.getCalledFunction()) in RefreshCallGraph()
291 ExistingNode->getFunction() == nullptr) in RefreshCallGraph()
304 if (!ExistingNode->getFunction()) { in RefreshCallGraph()
615 if (CGN->getFunction()) in runOnSCC()
616 CGN->getFunction()->print(Out); in runOnSCC()
HDGlobalsModRef.cpp370 if (!SCC[0]->getFunction()) { in AnalyzeCallGraph()
374 FunctionInfo.erase(SCC[i]->getFunction()); in AnalyzeCallGraph()
378 FunctionRecord &FR = FunctionInfo[SCC[0]->getFunction()]; in AnalyzeCallGraph()
386 Function *F = SCC[i]->getFunction(); in AnalyzeCallGraph()
413 if (Function *Callee = CI->second->getFunction()) { in AnalyzeCallGraph()
438 FunctionInfo.erase(SCC[i]->getFunction()); in AnalyzeCallGraph()
446 for (Instruction &I : inst_range(Node->getFunction())) { in AnalyzeCallGraph()
486 FunctionInfo[SCC[i]->getFunction()] = FR; in AnalyzeCallGraph()
/NextBSD/contrib/llvm/lib/Target/WebAssembly/
HDWebAssemblyISelDAGToDAG.cpp51 MF.getFunction()->hasFnAttribute(Attribute::OptimizeForSize) || in runOnMachineFunction()
52 MF.getFunction()->hasFnAttribute(Attribute::MinSize); in runOnMachineFunction()
HDWebAssemblyRegisterInfo.cpp71 return !MF.getFunction()->hasFnAttribute("no-realign-stack"); in canRealignStack()
79 const Function *F = MF.getFunction(); in needsStackRealignment()
/NextBSD/contrib/llvm/lib/Transforms/IPO/
HDPruneEH.cpp78 if (Function *F = (*I)->getFunction()) in runOnSCC()
91 Function *F = (*I)->getFunction(); in runOnSCC()
163 Function *F = (*I)->getFunction(); in runOnSCC()
178 if (Function *F = (*I)->getFunction()) in runOnSCC()
/NextBSD/contrib/llvm/lib/CodeGen/AsmPrinter/
HDOcamlGCPrinter.cpp141 report_fatal_error("Function '" + FI.getFunction().getName() + in finishAssembly()
150 Twine(FI.getFunction().getName())); in finishAssembly()
157 report_fatal_error("Function '" + FI.getFunction().getName() + in finishAssembly()
HDErlangGCPrinter.cpp104 unsigned StackArity = MD.getFunction().arg_size() > RegisteredArgs in finishAssembly()
105 ? MD.getFunction().arg_size() - RegisteredArgs in finishAssembly()
HDARMException.cpp72 const Function *F = MF->getFunction(); in endFunction()
82 if (!Asm->MF->getFunction()->needsUnwindTableEntry() && in endFunction()
HDWinException.cpp66 const Function *F = MF->getFunction(); in beginFunction()
132 const Function *F = MF->getFunction(); in endFunction()
307 const Function *F = MF->getFunction(); in emitCXXFrameHandler3Table()
488 const Function *F = MF->getFunction(); in extendIP2StateTable()
585 const Function *F = MF->getFunction(); in emitExceptHandlerTable()
/NextBSD/contrib/llvm/tools/llvm-diff/
HDllvm-diff.cpp49 Function *LFn = L.getFunction(Name); in diffGlobal()
50 Function *RFn = R.getFunction(Name); in diffGlobal()
/NextBSD/contrib/llvm/lib/Target/BPF/
HDBPFISelLowering.cpp239 DiagnosticInfoUnsupported Err(DL, *MF.getFunction(), in LowerFormalArguments()
245 if (IsVarArg || MF.getFunction()->hasStructRetAttr()) { in LowerFormalArguments()
247 DL, *MF.getFunction(), in LowerFormalArguments()
288 DiagnosticInfoUnsupported Err(CLI.DL, *MF.getFunction(), in LowerCall()
298 DiagnosticInfoUnsupported Err(CLI.DL, *MF.getFunction(), in LowerCall()
400 if (MF.getFunction()->getReturnType()->isAggregateType()) { in LowerReturn()
401 DiagnosticInfoUnsupported Err(DL, *MF.getFunction(), in LowerReturn()
446 DiagnosticInfoUnsupported Err(DL, *MF.getFunction(), in LowerCallResult()
/NextBSD/contrib/llvm/tools/opt/
HDPrintSCC.cpp103 errs() << ((*I)->getFunction() ? (*I)->getFunction()->getName() in runOnModule()
/NextBSD/contrib/llvm/lib/Target/AArch64/
HDAArch64RegisterInfo.cpp47 if (MF->getFunction()->getCallingConv() == CallingConv::GHC) in getCalleeSavedRegs()
51 if (MF->getFunction()->getCallingConv() == CallingConv::AnyReg) in getCalleeSavedRegs()
191 if (MF.getFunction()->hasFnAttribute("no-realign-stack")) in canRealignStack()
202 const Function *F = MF.getFunction(); in needsStackRealignment()
/NextBSD/contrib/llvm/lib/Target/X86/
HDX86PadShortFunction.cpp96 if (MF.getFunction()->hasFnAttribute(Attribute::OptimizeForSize) || in runOnMachineFunction()
97 MF.getFunction()->hasFnAttribute(Attribute::MinSize)) { in runOnMachineFunction()
/NextBSD/contrib/llvm/lib/Target/NVPTX/
HDNVVMReflect.cpp237 ReflectFunction = M.getFunction(Name); in runOnModule()
243 ReflectFunction = M.getFunction(NVVM_REFLECT_FUNCTION); in runOnModule()

12345678