Searched refs:getFunction (Results 1 - 25 of 540) sorted by relevance

1234567891011>>

/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMMachineFunctionInfo.cpp19 IsCmseNSEntry(MF.getFunction().hasFnAttribute("cmse_nonsecure_entry")),
20 IsCmseNSCall(MF.getFunction().hasFnAttribute("cmse_nonsecure_call")) {}
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DTrace.cpp27 Function *Trace::getFunction() const { function in class:Trace
32 return getFunction()->getParent();
37 Function *F = getFunction();
H A DCallPrinter.cpp70 Callers.insert(cast<Instruction>(U)->getFunction());
99 if (!(Visited.insert(CI->second->getFunction())).second) {
148 if (CallMultiGraph || Node->getFunction())
160 if (Function *Func = Node->getFunction())
178 Function *Caller = Node->getFunction();
182 Function *Callee = (*I)->getFunction();
196 Function *F = Node->getFunction();
H A DBlockFrequencyInfo.cpp107 return &G->getFunction()->front();
117 return nodes_iterator(G->getFunction()->begin());
121 return nodes_iterator(G->getFunction()->end());
214 return BFI->getBlockProfileCount(*getFunction(), BB, AllowSynthetic);
221 return BFI->getProfileCountFromFreq(*getFunction(), Freq);
262 const Function *BlockFrequencyInfo::getFunction() const { function in class:BlockFrequencyInfo
263 return BFI ? BFI->getFunction() : nullptr;
H A DCallGraph.cpp92 Function *F = Node->getFunction();
131 if (Function *LF = LHS->getFunction())
132 if (Function *RF = RHS->getFunction())
135 return RHS->getFunction() != nullptr;
165 Function *F = CGN->getFunction(); // Get the function for the call graph node
190 if (Function *F = getFunction())
199 if (Function *FI = I.second->getFunction())
/netbsd-current/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DTargetFrameLoweringImpl.cpp34 assert(MF.getFunction().hasFnAttribute(Attribute::NoReturn) &&
35 MF.getFunction().hasFnAttribute(Attribute::NoUnwind) &&
36 !MF.getFunction().hasFnAttribute(Attribute::UWTable));
91 isSafeForNoCSROpt(MF.getFunction()) &&
92 isProfitableForNoCSROpt(MF.getFunction()))
103 if (MF.getFunction().hasFnAttribute(Attribute::Naked))
113 if (MF.getFunction().hasFnAttribute(Attribute::NoReturn) &&
114 MF.getFunction().hasFnAttribute(Attribute::NoUnwind) &&
115 !MF.getFunction().hasFnAttribute(Attribute::UWTable) &&
133 if (LLVM_UNLIKELY(MF.getFunction()
[all...]
H A DTargetOptionsImpl.cpp29 const Function &F = MF.getFunction();
H A DPatchableFunction.cpp58 if (MF.getFunction().hasFnAttribute("patchable-function-entry")) {
67 if (!MF.getFunction().hasFnAttribute("patchable-function"))
71 Attribute PatchAttr = MF.getFunction().getFnAttribute("patchable-function");
H A DFEntryInserter.cpp39 MF.getFunction().getFnAttribute("fentry-call").getValueAsString());
H A DMachineFunctionSplitter.cpp97 if (!MF.getFunction().hasProfileData())
104 if (MF.getFunction().hasSection() ||
105 MF.getFunction().hasFnAttribute("implicit-section-name"))
110 Optional<StringRef> SectionPrefix = MF.getFunction().getSectionPrefix();
H A DMachineBlockFrequencyInfo.cpp96 return &G->getFunction()->front();
106 return nodes_iterator(G->getFunction()->begin());
110 return nodes_iterator(G->getFunction()->end());
239 const Function &F = MBFI->getFunction()->getFunction();
248 const Function &F = MBFI->getFunction()->getFunction();
269 const MachineFunction *MachineBlockFrequencyInfo::getFunction() const { function in class:MachineBlockFrequencyInfo
270 return MBFI ? MBFI->getFunction() : nullptr;
H A DMachineOptimizationRemarkEmitter.cpp54 LLVMContext &Ctx = MF.getFunction().getContext();
75 if (MF.getFunction().getContext().getDiagnosticsHotnessRequested())
H A DRegUsageInfoCollector.cpp86 switch (MF.getFunction().getCallingConv()) {
118 if (MF.getFunction().use_empty()) {
131 const Function &F = MF.getFunction();
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DMachineOptimizationRemarkEmitter.h35 MBB->getParent()->getFunction(), Loc),
75 const Function &Fn = getFunction();
101 const Function &Fn = getFunction();
127 const Function &Fn = getFunction();
162 MF.getFunction().getContext().getLLVMRemarkStreamer() ||
163 MF.getFunction().getContext().getDiagHandlerPtr()->isAnyRemarkEnabled(
175 if (MF.getFunction().getContext().getLLVMRemarkStreamer() ||
176 MF.getFunction()
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUMachineFunction.cpp18 : MachineFunctionInfo(), Mode(MF.getFunction()),
20 AMDGPU::isEntryFunctionCC(MF.getFunction().getCallingConv())),
22 AMDGPU::isModuleEntryFunctionCC(MF.getFunction().getCallingConv())),
28 const Function &F = MF.getFunction();
H A DR600AsmPrinter.cpp73 switch (MF.getFunction().getCallingConv()) {
82 switch (MF.getFunction().getCallingConv()) {
97 if (AMDGPU::isCompute(MF.getFunction().getCallingConv())) {
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/AVR/
H A DAVRMachineFunctionInfo.h56 unsigned CallConv = MF.getFunction().getCallingConv();
58 this->IsInterruptHandler = CallConv == CallingConv::AVR_INTR || MF.getFunction().hasFnAttribute("interrupt");
59 this->IsSignalHandler = CallConv == CallingConv::AVR_SIGNAL || MF.getFunction().hasFnAttribute("signal");
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/Mips/
H A DMipsCCState.cpp77 Function *F = G->getGlobal()->getParent()->getFunction(Sym);
103 originalTypeIsF128(MF.getFunction().getReturnType(), nullptr));
105 MF.getFunction().getReturnType()->isFloatingPointTy());
151 Function::const_arg_iterator FuncArg = MF.getFunction().arg_begin();
163 assert(Ins[i].getOrigArgIndex() < MF.getFunction().arg_size());
/netbsd-current/external/apache2/llvm/dist/llvm/tools/llvm-diff/
H A Dllvm-diff.cpp46 Function *LFn = L.getFunction(Name);
47 Function *RFn = R.getFunction(Name);
/netbsd-current/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DErlangGCPrinter.cpp98 unsigned StackArity = MD.getFunction().arg_size() > RegisteredArgs
99 ? MD.getFunction().arg_size() - RegisteredArgs
H A DOcamlGCPrinter.cpp145 report_fatal_error("Function '" + FI.getFunction().getName() +
155 Twine(FI.getFunction().getName()));
162 report_fatal_error("Function '" + FI.getFunction().getName() +
/netbsd-current/external/apache2/llvm/dist/llvm/tools/opt/
H A DPrintSCC.cpp103 errs() << ((*I)->getFunction() ? (*I)->getFunction()->getName()
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64RegisterInfo.cpp67 const Function &F = MF->getFunction();
78 if (MF->getFunction().getCallingConv() == CallingConv::GHC)
82 if (MF->getFunction().getCallingConv() == CallingConv::AnyReg)
90 if (MF->getFunction().getCallingConv() == CallingConv::CFGuard_Check)
94 if (MF->getFunction().getCallingConv() == CallingConv::AArch64_VectorCall)
96 if (MF->getFunction().getCallingConv() == CallingConv::AArch64_SVE_VectorCall)
100 MF->getFunction().getAttributes().hasAttrSomewhere(
103 if (MF->getFunction().getCallingConv() == CallingConv::SwiftTail)
105 if (MF->getFunction().getCallingConv() == CallingConv::PreserveMost)
107 if (MF->getFunction()
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86IndirectBranchTracking.cpp126 MF.getFunction().hasAddressTaken() ||
127 !MF.getFunction().hasLocalLinkage()) &&
128 !MF.getFunction().doesNoCfCheck()) {
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DCFGPrinter.h79 const Function *getFunction() { return this->F; } function in class:llvm::DOTFuncInfo
103 return &(CFGInfo->getFunction()->getEntryBlock());
110 return nodes_iterator(CFGInfo->getFunction()->begin());
114 return nodes_iterator(CFGInfo->getFunction()->end());
118 return CFGInfo->getFunction()->size();
131 return "CFG for '" + CFGInfo->getFunction()->getName().str() + "' function";

Completed in 490 milliseconds

1234567891011>>