| /freebsd-14.2/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() 95 isSafeForNoCSROpt(MF.getFunction()) && in determineCalleeSaves() 96 isProfitableForNoCSROpt(MF.getFunction())) in determineCalleeSaves() 107 if (MF.getFunction().hasFnAttribute(Attribute::Naked)) in determineCalleeSaves() 117 if (MF.getFunction().hasFnAttribute(Attribute::NoReturn) && in determineCalleeSaves() 118 MF.getFunction().hasFnAttribute(Attribute::NoUnwind) && in determineCalleeSaves() 119 !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() 238 const Function &F = MBFI->getFunction()->getFunction(); in getBlockProfileCount() 247 const Function &F = MBFI->getFunction()->getFunction(); in getProfileCountFromFreq() 268 const MachineFunction *MachineBlockFrequencyInfo::getFunction() const { in getFunction() function in MachineBlockFrequencyInfo 269 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() 375 MF.getFunction().getName().equals(ViewBlockFreqFuncName))) { in runOnMachineFunction() 385 MF.getFunction().getName().equals(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()
|
| /freebsd-14.2/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::AnyReg) in getCalleeSavedRegs() 94 MF->getFunction().getAttributes().hasAttrSomewhere( in getCalleeSavedRegs() 105 if (MF->getFunction().getCallingConv() == in getCalleeSavedRegs() 111 if (MF->getFunction().getCallingConv() == in getCalleeSavedRegs() 119 MF->getFunction().getAttributes().hasAttrSomewhere( in getCalleeSavedRegs() 151 if (MF->getFunction().getCallingConv() == in getDarwinCalleeSavedRegs() 157 if (MF->getFunction().getCallingConv() == in getDarwinCalleeSavedRegs() 169 MF->getFunction().getAttributes().hasAttrSomewhere( in getDarwinCalleeSavedRegs() 496 const Function &F = MF.getFunction(); in emitReservedArgRegCallError() [all …]
|
| /freebsd-14.2/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 | 37 MBB->getParent()->getFunction(), Loc), in DiagnosticInfoMIROptimization() 77 const Function &Fn = getFunction(); in isEnabled() 103 const Function &Fn = getFunction(); in isEnabled() 135 const Function &Fn = getFunction(); in isEnabled() 170 MF.getFunction().getContext().getLLVMRemarkStreamer() || in allowExtraAnalysis() 171 MF.getFunction().getContext().getDiagHandlerPtr()->isAnyRemarkEnabled( in allowExtraAnalysis() 183 if (MF.getFunction().getContext().getLLVMRemarkStreamer() || 184 MF.getFunction()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUAsmPrinter.cpp | 157 const Function &F = MF->getFunction(); in emitFunctionBodyStart() 228 getNameWithPrefix(KernelName, &MF->getFunction()); in emitFunctionBodyEnd() 266 getNameWithPrefix(SymbolName, &MF->getFunction()), in emitFunctionEntryLabel() 424 const Function &F = MF.getFunction(); in getAmdhsaKernelDescriptor() 460 initTargetStreamer(*MF.getFunction().getParent()); in runOnMachineFunction() 736 const Function &F = MF.getFunction(); in getSIProgramInfo() 1033 auto CC = MF.getFunction().getCallingConv(); in EmitPALMetadata() 1036 MD->setEntryPoint(CC, MF.getFunction().getName()); in EmitPALMetadata() 1123 StringRef FnName = MF.getFunction().getName(); in emitPALFunctionMetadata() 1155 const Function &F = MF.getFunction(); in getAmdKernelCode() [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-14.2/contrib/llvm-project/llvm/lib/Transforms/HipStdPar/ |
| H A D | HipStdPar.cpp | 210 if (!N.second->getFunction()) in run() 212 if (Reachable.contains(N.second->getFunction())) in run() 215 if (!checkIfSupported(N.second->getFunction(), in run() 219 Reachable.insert(N.second->getFunction()); in run() 220 Tmp.push_back(N.second->getFunction()); in run() 287 if (auto R = M.getFunction(AllocReplacements[F.getName()])) { in run() 303 if (auto F = M.getFunction("__hipstdpar_hidden_free")) { in run()
|
| /freebsd-14.2/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() 329 OS << ((*I)->getFunction() ? (*I)->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 | CallPrinter.cpp | 75 Callers.insert(cast<Instruction>(U)->getFunction()); in CallGraphDOTInfo() 104 if (!(Visited.insert(CI->second->getFunction())).second) { in removeParallelEdges() 153 if (CallMultiGraph || Node->getFunction()) in isNodeHidden() 165 if (Function *Func = Node->getFunction()) in getNodeLabel() 183 Function *Caller = Node->getFunction(); in getEdgeAttributes() 187 Function *Callee = (*I)->getFunction(); in getEdgeAttributes() 201 Function *F = Node->getFunction(); in getNodeAttributes()
|
| 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() 211 return BFI->getBlockProfileCount(*getFunction(), BB, AllowSynthetic); in getBlockProfileCount() 218 return BFI->getProfileCountFromFreq(*getFunction(), Freq); in getProfileCountFromFreq() 260 const Function *BlockFrequencyInfo::getFunction() const { in getFunction() function in BlockFrequencyInfo 261 return BFI ? BFI->getFunction() : nullptr; in getFunction()
|
| H A D | MLInlineAdvisor.cpp | 146 Function *F = CGNode->getFunction(); in MLInlineAdvisor() 163 Function *F = CGNode->getFunction(); in MLInlineAdvisor() 170 EdgeCount += getLocalCalls(KVP.first->getFunction()); in MLInlineAdvisor() 204 assert(!N->getFunction().isDeclaration()); in onPassEntry() 208 EdgeCount += getLocalCalls(N->getFunction()); in onPassEntry() 212 assert(!AdjNode->isDead() && !AdjNode->getFunction().isDeclaration()); in onPassEntry() 247 EdgesOfLastSeenNodes += getLocalCalls((*I++)->getFunction()); in onPassExit() 255 EdgesOfLastSeenNodes += getLocalCalls(N.getFunction()); in onPassExit() 471 OS << (I.first->isDead() ? "<deleted>" : 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-14.2/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroElide.cpp | 97 Function &F = *Frame->getFunction(); in removeTailCallAttribute() 145 getFirstNonAllocaInTheEntryBlock(CoroIds.front()->getFunction()); in elideHeapAllocations() 323 if (CII->getCoroutine() != CII->getFunction()) in collectPostSplitCoroIds() 384 bool ShouldElide = shouldElide(CoroId->getFunction(), DT); in processCoroId() 392 << ore::NV("caller", CoroId->getFunction()->getName()) in processCoroId() 400 << ore::NV("caller", CoroId->getFunction()->getName()) in processCoroId() 413 elideHeapAllocations(CoroId->getFunction(), FrameSizeAndAlign->first, in processCoroId() 421 << CoroId->getFunction()->getName() << "\n"; in processCoroId() 427 << ore::NV("caller", CoroId->getFunction()->getName()) in processCoroId() 437 << ore::NV("caller", CoroId->getFunction()->getName()) in processCoroId()
|
| /freebsd-14.2/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-14.2/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(); 200 return "CFG for '" + CFGInfo->getFunction()->getName().str() + "' function";
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LowerWidenableCondition.cpp | 29 auto *WCDecl = F.getParent()->getFunction( in lowerWidenableCondition() 41 if (CI->getFunction() == &F) in lowerWidenableCondition()
|
| H A D | LowerGuardIntrinsic.cpp | 30 auto *GuardDecl = F.getParent()->getFunction( in lowerGuardIntrinsic() 41 if (CI->getFunction() == &F) in lowerGuardIntrinsic()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/ |
| H A D | ProfiledCallGraph.h | 117 auto It = CallTargets->find(CalleeSamples->getFunction()); 171 addProfiledFunction(Samples.getFunction()); in addProfiledCalls() 176 addProfiledCall(Samples.getFunction(), Target, Frequency); in addProfiledCalls() 183 addProfiledCall(Samples.getFunction(), InlinedSamples.first, in addProfiledCalls()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | DiagnosticInfo.cpp | 79 << ") in function '" << getFunction() << '\''; in print() 275 const Function &Fn = getFunction(); in isEnabled() 303 const Function &Fn = getFunction(); in isEnabled() 338 const Function &Fn = getFunction(); in isEnabled() 368 OS << getLocationStr() << ": in function " << getFunction().getName() << ' ' in print() 369 << *getFunction().getFunctionType() << ": " << Msg << '\n'; in print() 375 DP << "Instruction selection used fallback path for " << getFunction(); in print()
|