Lines Matching defs:MF

46       if (const MachineFunction *MF = MBB->getParent())
47 return MF;
71 if (MachineFunction *MF = getMFIfAvailable(*this)) {
72 MachineRegisterInfo &MRI = MF->getRegInfo();
114 if (MachineFunction *MF = getMFIfAvailable(*this)) {
115 MachineRegisterInfo &MRI = MF->getRegInfo();
155 if (MachineFunction *MF = getMFIfAvailable(*this))
156 MF->getRegInfo().removeRegOperandFromUseList(this);
277 if (MachineFunction *MF = getMFIfAvailable(*this))
278 RegInfo = &MF->getRegInfo();
359 if (const MachineFunction *MF = getMFIfAvailable(*this)) {
360 const TargetRegisterInfo *TRI = MF->getSubtarget().getRegisterInfo();
422 if (const MachineFunction *MF = getMFIfAvailable(MO)) {
423 const TargetRegisterInfo *TRI = MF->getSubtarget().getRegisterInfo();
458 if (const MachineFunction *MF = getMFIfAvailable(MO)) {
459 TRI = MF->getSubtarget().getRegisterInfo();
460 IntrinsicInfo = MF->getTarget().getIntrinsicInfo();
464 static const char *getTargetIndexName(const MachineFunction &MF, int Index) {
465 const auto *TII = MF.getSubtarget().getInstrInfo();
477 const MachineFunction *MF = getMFIfAvailable(*this);
478 return MF ? ::getTargetIndexName(*MF, this->getIndex()) : nullptr;
582 const MachineFunction *MF = getMFIfAvailable(Op);
583 if (!MF)
586 const auto *TII = MF->getSubtarget().getInstrInfo();
833 if (const MachineFunction *MF = getMFIfAvailable(*this)) {
834 MRI = &MF->getRegInfo();
848 if (const MachineFunction *MF = getMFIfAvailable(*this)) {
849 const MachineRegisterInfo &MRI = MF->getRegInfo();
866 if (const MachineFunction *MF = getMFIfAvailable(*this)) {
867 const auto *TII = MF->getSubtarget().getInstrInfo();
890 if (const MachineFunction *MF = getMFIfAvailable(*this))
891 MFI = &MF->getFrameInfo();
902 if (const MachineFunction *MF = getMFIfAvailable(*this))
903 if (const auto *TargetIndexName = ::getTargetIndexName(*MF, getIndex()))
997 if (const MachineFunction *MF = getMFIfAvailable(*this))
998 printCFI(OS, MF->getFrameInstructions()[getCFIIndex()], TRI);
1066 MachinePointerInfo MachinePointerInfo::getConstantPool(MachineFunction &MF) {
1067 return MachinePointerInfo(MF.getPSVManager().getConstantPool());
1072 MachinePointerInfo MachinePointerInfo::getFixedStack(MachineFunction &MF,
1074 return MachinePointerInfo(MF.getPSVManager().getFixedStack(FI), Offset);
1077 MachinePointerInfo MachinePointerInfo::getJumpTable(MachineFunction &MF) {
1078 return MachinePointerInfo(MF.getPSVManager().getJumpTable());
1081 MachinePointerInfo MachinePointerInfo::getGOT(MachineFunction &MF) {
1082 return MachinePointerInfo(MF.getPSVManager().getGOT());
1085 MachinePointerInfo MachinePointerInfo::getStack(MachineFunction &MF,
1087 return MachinePointerInfo(MF.getPSVManager().getStack(), Offset, ID);
1090 MachinePointerInfo MachinePointerInfo::getUnknownStack(MachineFunction &MF) {
1091 return MachinePointerInfo(MF.getDataLayout().getAllocaAddrSpace());