reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
68 if (MF.getProperties().hasProperty( 72 LLVM_DEBUG(dbgs() << "Selecting function: " << MF.getName() << '\n'); 73 GISelKnownBits &KB = getAnalysis<GISelKnownBitsAnalysis>().get(MF); 76 InstructionSelector *ISel = MF.getSubtarget().getInstructionSelector(); 79 ISel->setupMF(MF, KB, CoverageInfo); 82 MachineOptimizationRemarkEmitter MORE(MF, /*MBFI=*/nullptr); 86 MachineRegisterInfo &MRI = MF.getRegInfo(); 93 if (const MachineInstr *MI = machineFunctionIsIllegal(MF)) { 94 reportGISelFailure(MF, TPC, MORE, "gisel-select", 100 const size_t NumBlocks = MF.size(); 103 for (MachineBasicBlock *MBB : post_order(&MF)) { 138 reportGISelFailure(MF, TPC, MORE, "gisel-select", "cannot select", MI); 153 for (MachineBasicBlock &MBB : MF) { 185 const TargetRegisterInfo &TRI = *MF.getSubtarget().getRegisterInfo(); 202 reportGISelFailure(MF, TPC, MORE, "gisel-select", 210 MF, TPC, MORE, "gisel-select", 216 if (MF.size() != NumBlocks) { 218 MF.getFunction().getSubprogram(), 221 reportGISelFailure(MF, TPC, MORE, R); 225 auto &TLI = *MF.getSubtarget().getTargetLowering(); 226 TLI.finalizeLowering(MF); 230 MachineFrameInfo &MFI = MF.getFrameInfo(); 231 for (const auto &MBB : MF) { 232 if (MFI.hasCalls() && MF.hasInlineAsm()) 239 MF.setHasInlineAsm(true); 245 dbgs() << "Rules covered by selecting function: " << MF.getName() << ":"; 251 MF.getSubtarget()