/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64RegisterInfo.cpp | 74 if (MF->getFunction().getCallingConv() == CallingConv::GHC) in getCalleeSavedRegs() 78 if (MF->getFunction().getCallingConv() == CallingConv::PreserveNone) in getCalleeSavedRegs() 80 if (MF->getFunction().getCallingConv() == CallingConv::AnyReg) in getCalleeSavedRegs() 83 if (MF->getFunction().getCallingConv() == CallingConv::ARM64EC_Thunk_X64) in getCalleeSavedRegs() 91 if (MF->getFunction().getCallingConv() == CallingConv::CFGuard_Check) in getCalleeSavedRegs() 96 MF->getFunction().getAttributes().hasAttrSomewhere( in getCalleeSavedRegs() 99 if (MF->getFunction().getCallingConv() == CallingConv::SwiftTail) in getCalleeSavedRegs() 103 if (MF->getFunction().getCallingConv() == CallingConv::AArch64_VectorCall) in getCalleeSavedRegs() 105 if (MF->getFunction().getCallingConv() == CallingConv::AArch64_SVE_VectorCall) in getCalleeSavedRegs() 107 if (MF->getFunction().getCallingConv() == in getCalleeSavedRegs() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | TargetFrameLoweringImpl.cpp | 33 assert(MF.getFunction().hasFnAttribute(Attribute::NoReturn) && in enableCalleeSaveSkip() 34 MF.getFunction().hasFnAttribute(Attribute::NoUnwind) && in enableCalleeSaveSkip() 35 !MF.getFunction().hasFnAttribute(Attribute::UWTable)); in enableCalleeSaveSkip() 109 isSafeForNoCSROpt(MF.getFunction()) && in determineCalleeSaves() 110 isProfitableForNoCSROpt(MF.getFunction())) in determineCalleeSaves() 121 if (MF.getFunction().hasFnAttribute(Attribute::Naked)) in determineCalleeSaves() 131 if (MF.getFunction().hasFnAttribute(Attribute::NoReturn) && in determineCalleeSaves() 132 MF.getFunction().hasFnAttribute(Attribute::NoUnwind) && in determineCalleeSaves() 133 !MF.getFunction().hasFnAttribute(Attribute::UWTable) && in determineCalleeSaves()
|
H A D | MachineBlockFrequencyInfo.cpp | 96 return &G->getFunction()->front(); in getEntryNode() 106 return nodes_iterator(G->getFunction()->begin()); in nodes_begin() 110 return nodes_iterator(G->getFunction()->end()); in nodes_end() 277 const Function &F = MBFI->getFunction()->getFunction(); in getBlockProfileCount() 286 const Function &F = MBFI->getFunction()->getFunction(); in getProfileCountFromFreq() 307 const MachineFunction *MachineBlockFrequencyInfo::getFunction() const { in getFunction() function in MachineBlockFrequencyInfo 308 return MBFI ? MBFI->getFunction() : nullptr; in getFunction()
|
H A D | PatchableFunction.cpp | 43 if (MF.getFunction().hasFnAttribute("patchable-function-entry")) { in runOnMachineFunction() 49 } else if (MF.getFunction().hasFnAttribute("patchable-function")) { in runOnMachineFunction() 51 Attribute PatchAttr = MF.getFunction().getFnAttribute("patchable-function"); in runOnMachineFunction()
|
H A D | MIRSampleProfile.cpp | 131 static Function &getFunction(MachineFunction &F) { return F.getFunction(); } in getFunction() function 322 Function &Func = MF.getFunction(); in runOnFunction() 329 if (!ProbeManager->profileIsValid(MF.getFunction(), *Samples)) in runOnFunction() 365 << MF.getFunction().getName() << "\n"); in runOnMachineFunction() 376 MF.getFunction().getName() == ViewBlockFreqFuncName)) { in runOnMachineFunction() 387 MF.getFunction().getName() == ViewBlockFreqFuncName)) { in runOnMachineFunction()
|
H A D | MIRFSDiscriminator.cpp | 100 bool HasPseudoProbe = MF.getFunction().getParent()->getNamedMetadata( in runOnMachineFunction() 103 if (!HasPseudoProbe && !MF.getFunction().shouldEmitDebugInfoForProfiling()) in runOnMachineFunction() 131 << MF.getFunction().getName() << " Highbit=" << HighBit in runOnMachineFunction() 198 createFSDiscriminatorVariable(MF.getFunction().getParent()); in runOnMachineFunction()
|
H A D | MachineOptimizationRemarkEmitter.cpp | 62 LLVMContext &Ctx = MF.getFunction().getContext(); in emit() 81 if (MF.getFunction().getContext().getDiagnosticsHotnessRequested()) in runOnMachineFunction() 103 MF.getFunction().getContext().getDiagnosticsHotnessRequested() in run()
|
H A D | TargetOptionsImpl.cpp | 29 const Function &F = MF.getFunction(); in DisableFramePointerElim() 48 const Function &F = MF.getFunction(); in FramePointerIsReserved()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | MachineCFGPrinter.h | 27 const MachineFunction *getFunction() const { return this->F; } in getFunction() function 34 return &(CFGInfo->getFunction()->front()); 41 return nodes_iterator(CFGInfo->getFunction()->begin()); 45 return nodes_iterator(CFGInfo->getFunction()->end()); 49 return CFGInfo->getFunction()->size(); 88 return "Machine CFG for '" + CFGInfo->getFunction()->getName().str() +
|
H A D | MachineOptimizationRemarkEmitter.h | 38 MBB->getParent()->getFunction(), Loc), in DiagnosticInfoMIROptimization() 78 const Function &Fn = getFunction(); in isEnabled() 104 const Function &Fn = getFunction(); in isEnabled() 136 const Function &Fn = getFunction(); in isEnabled() 178 MF.getFunction().getContext().getLLVMRemarkStreamer() || in allowExtraAnalysis() 179 MF.getFunction().getContext().getDiagHandlerPtr()->isAnyRemarkEnabled( in allowExtraAnalysis() 191 if (MF.getFunction().getContext().getLLVMRemarkStreamer() || 192 MF.getFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/HipStdPar/ |
H A D | HipStdPar.cpp | 211 if (!N.second->getFunction()) in run() 213 if (Reachable.contains(N.second->getFunction())) in run() 216 if (!checkIfSupported(N.second->getFunction(), in run() 220 Reachable.insert(N.second->getFunction()); in run() 221 Tmp.push_back(N.second->getFunction()); in run() 288 if (auto R = M.getFunction(AllocReplacements[F.getName()])) { in run() 304 if (auto F = M.getFunction("__hipstdpar_hidden_free")) { in run()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | CallGraph.cpp | 90 Function *F = Node->getFunction(); in populateCallGraphNode() 126 if (Function *LF = LHS->getFunction()) in print() 127 if (Function *RF = RHS->getFunction()) in print() 130 return RHS->getFunction() != nullptr; in print() 160 Function *F = CGN->getFunction(); // Get the function for the call graph node in removeFunctionFromModule() 185 if (Function *F = getFunction()) in print() 194 if (Function *FI = I.second->getFunction()) in print() 327 OS << (CGN->getFunction() ? CGN->getFunction()->getName() in run()
|
H A D | Trace.cpp | 27 Function *Trace::getFunction() const { in getFunction() function in Trace 32 return getFunction()->getParent(); in getModule() 37 Function *F = getFunction(); in print()
|
H A D | BlockFrequencyInfo.cpp | 105 return &G->getFunction()->front(); in getEntryNode() 115 return nodes_iterator(G->getFunction()->begin()); in nodes_begin() 119 return nodes_iterator(G->getFunction()->end()); in nodes_end() 210 return BFI->getBlockProfileCount(*getFunction(), BB, AllowSynthetic); in getBlockProfileCount() 217 return BFI->getProfileCountFromFreq(*getFunction(), Freq); in getProfileCountFromFreq() 259 const Function *BlockFrequencyInfo::getFunction() const { in getFunction() function in BlockFrequencyInfo 260 return BFI ? BFI->getFunction() : nullptr; in getFunction()
|
H A D | CallPrinter.cpp | 76 Callers.insert(cast<Instruction>(U)->getFunction()); in CallGraphDOTInfo() 105 if (!(Visited.insert(CI->second->getFunction())).second) { in removeParallelEdges() 154 if (CallMultiGraph || Node->getFunction()) in isNodeHidden() 166 if (Function *Func = Node->getFunction()) in getNodeLabel() 184 Function *Caller = Node->getFunction(); in getEdgeAttributes() 188 Function *Callee = (*I)->getFunction(); in getEdgeAttributes() 202 Function *F = Node->getFunction(); in getNodeAttributes()
|
H A D | MLInlineAdvisor.cpp | 162 Function *F = CGNode->getFunction(); in MLInlineAdvisor() 179 Function *F = CGNode->getFunction(); in MLInlineAdvisor() 186 EdgeCount += getLocalCalls(KVP.first->getFunction()); in MLInlineAdvisor() 220 EdgeCount += getLocalCalls(N->getFunction()); in onPassEntry() 224 assert(!AdjNode->isDead() && !AdjNode->getFunction().isDeclaration()); in onPassEntry() 259 EdgesOfLastSeenNodes += getLocalCalls(N->getFunction()); in onPassExit() 267 EdgesOfLastSeenNodes += getLocalCalls(N.getFunction()); in onPassExit() 498 OS << (DeadFunctions.contains(&I.first->getFunction()) in print() 500 : I.first->getFunction().getName()) in print()
|
H A D | CallGraphSCCPass.cpp | 176 if (Function *F = CGN->getFunction()) { in RunPassOnSCC() 222 Function *F = CGN->getFunction(); in RefreshCallGraph() 276 if (!I->second->getFunction()) in RefreshCallGraph() 330 if (ExistingNode->getFunction() == Call->getCalledFunction()) in RefreshCallGraph() 339 ExistingNode->getFunction() == nullptr) in RefreshCallGraph() 352 if (!ExistingNode->getFunction()) { in RefreshCallGraph() 696 if (Function *F = CGN->getFunction()) { in runOnSCC() 734 Function *F = CGN->getFunction(); in getDescription()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUAsmPrinter.cpp | 160 const Function &F = MF->getFunction(); in emitFunctionBodyStart() 240 getNameWithPrefix(KernelName, &MF->getFunction()); in emitFunctionBodyEnd() 278 if (MFI->isEntryFunction() && STM.isAmdHsaOrMesa(MF->getFunction())) { in emitFunctionEntryLabel() 280 getNameWithPrefix(SymbolName, &MF->getFunction()), in emitFunctionEntryLabel() 484 const Function &F = MF.getFunction(); in getAmdhsaKernelDescriptor() 522 initTargetStreamer(*MF.getFunction().getParent()); in runOnMachineFunction() 584 ResourceUsage->getResourceInfo(&MF.getFunction()); in runOnMachineFunction() 759 ResourceUsage->getResourceInfo(&MF.getFunction()); in getSIProgramInfo() 794 DiagnosticInfoStackSize DiagStackSize(MF.getFunction(), ScratchSize, in getSIProgramInfo() 796 MF.getFunction().getContext().diagnose(DiagStackSize); in getSIProgramInfo() [all …]
|
H A D | R600AsmPrinter.cpp | 73 switch (MF.getFunction().getCallingConv()) { in EmitProgramInfoR600() 82 switch (MF.getFunction().getCallingConv()) { in EmitProgramInfoR600() 97 if (AMDGPU::isCompute(MF.getFunction().getCallingConv())) { in EmitProgramInfoR600()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/ |
H A D | AMDGPUMemoryUtils.cpp | 96 Function *F = I->getFunction(); in getUsesOfLDSByFunction() 140 if (!R.second->getFunction()) in getTransitiveUsesOfLDS() 177 Function *Ith = R.second->getFunction(); in getTransitiveUsesOfLDS() 197 Function *Ith = R.second->getFunction(); in getTransitiveUsesOfLDS() 245 SmallVector<Function *> WorkList = {CG[KernelRoot]->getFunction()}; in removeFnAttrFromReachable() 256 Function *Callee = CallRecord.second->getFunction(); in removeFnAttrFromReachable() 266 ExternalCallRecord.second->getFunction(); in removeFnAttrFromReachable()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsCCState.cpp | 77 Function *F = G->getGlobal()->getParent()->getFunction(Sym); in getSpecialCallingConvForCallee() 103 originalTypeIsF128(MF.getFunction().getReturnType(), nullptr)); in PreAnalyzeReturnForF128() 105 MF.getFunction().getReturnType()->isFloatingPointTy()); in PreAnalyzeReturnForF128() 184 Function::const_arg_iterator FuncArg = MF.getFunction().arg_begin(); in PreAnalyzeFormalArgumentsForF128() 196 assert(Ins[i].getOrigArgIndex() < MF.getFunction().arg_size()); in PreAnalyzeFormalArgumentsForF128()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ReturnThunks.cpp | 63 if (!MF.getFunction().hasFnAttribute(llvm::Attribute::FnRetThunkExtern)) in runOnMachineFunction() 67 if (MF.getFunction().getName() == ThunkName) in runOnMachineFunction() 81 MF.getFunction().getParent()->getModuleFlag("indirect_branch_cs_prefix"); in runOnMachineFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | BlockCoverageInference.cpp | 260 const Function &getFunction() { return BCI->F; } in getFunction() function in llvm::DotFuncBCIInfo 278 return &(Info->getFunction().getEntryBlock()); in getEntryNode() 285 return nodes_iterator(Info->getFunction().begin()); in nodes_begin() 289 return nodes_iterator(Info->getFunction().end()); in nodes_end() 293 return Info->getFunction().size(); in size() 303 return "BCI CFG for " + Info->getFunction().getName().str(); in getGraphName()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | CFGPrinter.h | 84 const Function *getFunction() const { return this->F; } in getFunction() function 108 return &(CFGInfo->getFunction()->getEntryBlock()); 115 return nodes_iterator(CFGInfo->getFunction()->begin()); 119 return nodes_iterator(CFGInfo->getFunction()->end()); 123 return CFGInfo->getFunction()->size(); 199 return "CFG for '" + CFGInfo->getFunction()->getName().str() + "' function";
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | DiagnosticInfo.cpp | 79 << ") in function '" << getFunction() << '\''; in print() 279 const Function &Fn = getFunction(); in isEnabled() 307 const Function &Fn = getFunction(); in isEnabled() 342 const Function &Fn = getFunction(); in isEnabled() 372 OS << getLocationStr() << ": in function " << getFunction().getName() << ' ' in print() 373 << *getFunction().getFunctionType() << ": " << Msg << '\n'; in print() 379 DP << "Instruction selection used fallback path for " << getFunction(); in print()
|