/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | MIRPrinter.cpp | 120 void print(const MachineFunction &MF); 122 void convert(yaml::MachineFunction &MF, const MachineRegisterInfo &RegInfo, 126 void convert(yaml::MachineFunction &MF, 131 const MachineFunction &MF, ModuleSlotTracker &MST); 133 const MachineFunction &MF, 137 void initRegisterMaskIds(const MachineFunction &MF); 195 void MIRPrinter::print(const MachineFunction &MF) { argument 196 initRegisterMaskIds(MF); 199 YamlMF.Name = MF.getName(); 200 YamlMF.Alignment = MF 286 convert(yaml::MachineFunction &MF, const MachineRegisterInfo &RegInfo, const TargetRegisterInfo *TRI) argument 357 convertStackObjects(yaml::MachineFunction &YMF, const MachineFunction &MF, ModuleSlotTracker &MST) argument 467 convertCallSiteObjects(yaml::MachineFunction &YMF, const MachineFunction &MF, ModuleSlotTracker &MST) argument 501 convert(yaml::MachineFunction &MF, const MachineConstantPool &ConstantPool) argument 542 initRegisterMaskIds(const MachineFunction &MF) argument 592 const MachineFunction &MF = *MBB.getParent(); local 706 const auto *MF = MI.getMF(); local 904 printMIR(raw_ostream &OS, const MachineFunction &MF) argument [all...] |
H A D | ProcessImplicitDefs.cpp | 47 bool runOnMachineFunction(MachineFunction &MF) override; 133 bool ProcessImplicitDefs::runOnMachineFunction(MachineFunction &MF) { argument 136 << "********** Function: " << MF.getName() << '\n'); 140 TII = MF.getSubtarget().getInstrInfo(); 141 TRI = MF.getSubtarget().getRegisterInfo(); 142 MRI = &MF.getRegInfo(); 146 for (MachineFunction::iterator MFI = MF.begin(), MFE = MF.end();
|
H A D | DeadMachineInstructionElim.cpp | 31 bool runOnMachineFunction(MachineFunction &MF) override; 107 bool DeadMachineInstructionElim::runOnMachineFunction(MachineFunction &MF) { argument 108 if (skipFunction(MF.getFunction())) 112 MRI = &MF.getRegInfo(); 113 TRI = MF.getSubtarget().getRegisterInfo(); 114 TII = MF.getSubtarget().getInstrInfo(); 119 for (MachineBasicBlock &MBB : make_range(MF.rbegin(), MF.rend())) {
|
H A D | MIRPrintingPass.cpp | 42 bool runOnMachineFunction(MachineFunction &MF) override { 45 printMIR(StrOS, MF);
|
H A D | LazyMachineBlockFrequencyInfo.cpp | 78 OwnedMDT->getBase().recalculate(*MF); 89 OwnedMBFI->calculate(*MF, MBPI, *MLI); 95 MF = &F;
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | ModuloSchedule.h | 105 ModuloSchedule(MachineFunction &MF, MachineLoop *Loop, argument 163 MachineFunction &MF; member in class:llvm::ModuloScheduleExpander 255 ModuloScheduleExpander(MachineFunction &MF, ModuloSchedule &S, argument 257 : Schedule(S), MF(MF), ST(MF.getSubtarget()), MRI(MF.getRegInfo()), 275 MachineFunction &MF; member in class:llvm::PeelingModuloScheduleExpander 309 PeelingModuloScheduleExpander(MachineFunction &MF, ModuloSchedule &S, argument 311 : Schedule(S), MF(M 371 MachineFunction &MF; member in class:llvm::ModuloScheduleTestAnnotater 375 ModuloScheduleTestAnnotater(MachineFunction &MF, ModuloSchedule &S) argument [all...] |
H A D | AsmPrinterHandler.h | 43 /// Every beginFunction(MF) call should be followed by an endFunction(MF) 45 virtual void beginFunction(const MachineFunction *MF) = 0; 54 virtual void endFunction(const MachineFunction *MF) = 0;
|
H A D | MIRPrinter.h | 30 void printMIR(raw_ostream &OS, const MachineFunction &MF);
|
H A D | MachineSizeOpts.h | 25 /// Returns true if machine function \p MF is suggested to be size-optimized 27 bool shouldOptimizeForSize(const MachineFunction *MF, ProfileSummaryInfo *PSI,
|
H A D | CalcSpillWeights.h | 51 MachineFunction &MF; member in class:llvm::VirtRegAuxInfo 64 : MF(mf), LIS(lis), VRM(vrm), Loops(loops), MBFI(mbfi), normalize(norm) {} 98 void calculateSpillWeightsAndHints(LiveIntervals &LIS, MachineFunction &MF,
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DebugHandlerBase.cpp | 172 const MachineFunction *MF) { 175 auto *SP = MF->getFunction().getSubprogram(); 185 void DebugHandlerBase::beginFunction(const MachineFunction *MF) { argument 188 if (!Asm || !hasDebugInfo(MMI, MF)) { 195 LScopes.initialize(*MF); 197 beginFunctionImpl(MF); 207 calculateDbgEntityHistory(MF, Asm->MF->getSubtarget().getRegisterInfo(), 233 getDISubprogram(DIVar->getScope())->describes(&MF->getFunction())) { 276 beginFunctionImpl(MF); 171 hasDebugInfo(const MachineModuleInfo *MMI, const MachineFunction *MF) argument 337 endFunction(const MachineFunction *MF) argument [all...] |
H A D | DwarfException.h | 62 void beginFunction(const MachineFunction *MF) override; 87 void beginFunction(const MachineFunction *MF) override;
|
H A D | DwarfCFIException.cpp | 43 if (!Asm->MF->getLandingPads().empty()) { 44 MachineFunction *NonConstMF = const_cast<MachineFunction*>(Asm->MF); 88 void DwarfCFIException::beginFunction(const MachineFunction *MF) { argument 90 const Function &F = MF->getFunction(); 93 bool hasLandingPads = !MF->getLandingPads().empty(); 124 shouldEmitCFI = MF->getMMI().getContext().getAsmInfo()->usesCFIForEH() && 126 beginFragment(&*MF->begin(), getExceptionSym); 169 void DwarfCFIException::endFunction(const MachineFunction *MF) { argument
|
H A D | WinException.cpp | 59 void WinException::beginFunction(const MachineFunction *MF) { argument 63 bool hasLandingPads = !MF->getLandingPads().empty(); 64 bool hasEHFunclets = MF->hasEHFunclets(); 66 const Function &F = MF->getFunction(); 68 shouldEmitMoves = Asm->needsSEHMoves() && MF->hasWinCFI(); 99 const WinEHFuncInfo &FuncInfo = *MF->getWinEHFuncInfo(); 101 GlobalValue::dropLLVMManglingEscape(MF->getFunction().getName()); 109 beginFunclet(MF->front(), Asm->CurrentFnSym); 120 void WinException::endFunction(const MachineFunction *MF) { argument 124 const Function &F = MF 178 const MachineFunction *MF = MBB->getParent(); local 253 const MachineFunction *MF = Asm->MF; local 549 emitCSpecificHandlerTable(const MachineFunction *MF) argument 658 emitCXXFrameHandler3Table(const MachineFunction *MF) argument 884 computeIP2StateTable( const MachineFunction *MF, const WinEHFuncInfo &FuncInfo, SmallVectorImpl<std::pair<const MCExpr *, int>> &IPToStateTable) argument 966 emitExceptHandlerTable(const MachineFunction *MF) argument 1089 emitCLRExceptionTable(const MachineFunction *MF) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AVR/ |
H A D | AVRRegisterInfo.cpp | 36 AVRRegisterInfo::getCalleeSavedRegs(const MachineFunction *MF) const { 37 CallingConv::ID CC = MF->getFunction().getCallingConv(); 45 AVRRegisterInfo::getCallPreservedMask(const MachineFunction &MF, argument 52 BitVector AVRRegisterInfo::getReservedRegs(const MachineFunction &MF) const { 84 const MachineFunction &MF) const { 85 const TargetRegisterInfo *TRI = MF.getSubtarget().getRegisterInfo(); 136 const MachineFunction &MF = *MBB.getParent(); local 137 const AVRTargetMachine &TM = (const AVRTargetMachine &)MF.getTarget(); 139 const MachineFrameInfo &MFI = MF.getFrameInfo(); 248 Register AVRRegisterInfo::getFrameRegister(const MachineFunction &MF) cons 259 getPointerRegClass(const MachineFunction &MF, unsigned Kind) const argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86WinAllocaExpander.cpp | 39 bool runOnMachineFunction(MachineFunction &MF) override; 49 void computeLowerings(MachineFunction &MF, LoweringMap& Lowerings); 130 void X86WinAllocaExpander::computeLowerings(MachineFunction &MF, argument 138 for (MachineBasicBlock &MBB : MF) 146 ReversePostOrderTraversal<MachineFunction*> RPO(&MF); 273 bool X86WinAllocaExpander::runOnMachineFunction(MachineFunction &MF) { argument 274 if (!MF.getInfo<X86MachineFunctionInfo>()->hasWinAlloca()) 277 MRI = &MF.getRegInfo(); 278 STI = &MF.getSubtarget<X86Subtarget>(); 285 if (MF [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | FunctionLoweringInfo.cpp | 84 MF = &mf; 85 TLI = MF->getSubtarget().getTargetLowering(); 86 RegInfo = &MF->getRegInfo(); 87 const TargetFrameLowering *TFI = MF->getSubtarget().getFrameLowering(); 98 TLI->CanLowerReturn(CC, *MF, Fn->isVarArg(), Outs, Fn->getContext()); 106 WinEHFuncInfo &EHInfo = *MF->getWinEHFuncInfo(); 126 WasmEHFuncInfo &EHInfo = *MF->getWasmEHFuncInfo(); 138 std::max((unsigned)MF->getDataLayout().getPrefTypeAlignment(Ty), 148 MF->getDataLayout().getTypeAllocSize(Ty).getKnownMinSize(); 155 FrameIndex = MF [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyDebugValueManager.cpp | 40 MachineFunction *MF = MBB->getParent(); local 42 MachineInstr *Clone = MF->CloneMachineInstr(DBI);
|
H A D | WebAssemblyFixIrreducibleControlFlow.cpp | 228 bool runOnMachineFunction(MachineFunction &MF) override; 231 MachineFunction &MF); 234 MachineFunction &MF, const ReachabilityGraph &Graph); 242 MachineBasicBlock *Entry, BlockSet &Blocks, MachineFunction &MF) { 283 makeSingleEntryLoop(MutualLoopEntries, Blocks, MF, Graph); 307 if (processRegion(LoopEntry, InnerBlocks.getBlocks(), MF)) { 323 BlockSet &Entries, BlockSet &Blocks, MachineFunction &MF, 350 MachineBasicBlock *Dispatch = MF.CreateMachineBasicBlock(); 351 MF.insert(MF 241 processRegion( MachineBasicBlock *Entry, BlockSet &Blocks, MachineFunction &MF) argument 322 makeSingleEntryLoop( BlockSet &Entries, BlockSet &Blocks, MachineFunction &MF, const ReachabilityGraph &Graph) argument 482 runOnMachineFunction( MachineFunction &MF) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/XCore/ |
H A D | XCoreRegisterInfo.cpp | 205 bool XCoreRegisterInfo::needsFrameMoves(const MachineFunction &MF) { argument 206 return MF.needsFrameMoves(); 210 XCoreRegisterInfo::getCalleeSavedRegs(const MachineFunction *MF) const { 223 const XCoreFrameLowering *TFI = getFrameLowering(*MF); 224 if (TFI->hasFP(*MF)) 229 BitVector XCoreRegisterInfo::getReservedRegs(const MachineFunction &MF) const { 231 const XCoreFrameLowering *TFI = getFrameLowering(MF); 237 if (TFI->hasFP(MF)) { 244 XCoreRegisterInfo::requiresRegisterScavenging(const MachineFunction &MF) const { 249 XCoreRegisterInfo::trackLivenessAfterRegAlloc(const MachineFunction &MF) cons 267 MachineFunction &MF = *MI.getParent()->getParent(); local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXRegisterInfo.cpp | 107 BitVector NVPTXRegisterInfo::getReservedRegs(const MachineFunction &MF) const { 120 MachineFunction &MF = *MI.getParent()->getParent(); local 121 int Offset = MF.getFrameInfo().getObjectOffset(FrameIndex) + 129 Register NVPTXRegisterInfo::getFrameRegister(const MachineFunction &MF) const {
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | Combiner.h | 34 bool combineMachineInstrs(MachineFunction &MF, GISelCSEInfo *CSEInfo);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMOptimizeBarriersPass.cpp | 50 bool ARMOptimizeBarriersPass::runOnMachineFunction(MachineFunction &MF) { argument 51 if (skipFunction(MF.getFunction())) 62 for (auto &MBB : MF) {
|
H A D | Thumb1InstrInfo.cpp | 43 MachineFunction &MF = *MBB.getParent(); local 44 const ARMSubtarget &st = MF.getSubtarget<ARMSubtarget>(); 91 MachineFunction &MF = *MBB.getParent(); local 92 MachineFrameInfo &MFI = MF.getFrameInfo(); 93 MachineMemOperand *MMO = MF.getMachineMemOperand( 94 MachinePointerInfo::getFixedStack(MF, FI), MachineMemOperand::MOStore, 120 MachineFunction &MF = *MBB.getParent(); local 121 MachineFrameInfo &MFI = MF.getFrameInfo(); 122 MachineMemOperand *MMO = MF.getMachineMemOperand( 123 MachinePointerInfo::getFixedStack(MF, F 135 MachineFunction &MF = *MI->getParent()->getParent(); local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/MSP430/ |
H A D | MSP430BranchSelector.cpp | 42 MachineFunction *MF; member in class:__anon2294::MSP430BSel 53 bool runOnMachineFunction(MachineFunction &MF) override; 84 MF->RenumberBlocks(FromBB); 88 Begin = MF->begin(); 93 BlockOffsets.resize(MF->getNumBlockIDs()); 96 for (auto &MBB : make_range(Begin, MF->end())) { 118 for (auto MBB = MF->begin(), E = MF->end(); MBB != E; ++MBB) { 153 MF->CreateMachineBasicBlock(MBB->getBasicBlock()); 154 MF [all...] |