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();
421 if (const MachineFunction *MF = getMFIfAvailable(MO)) {
422 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();
828 if (const MachineFunction *MF = getMFIfAvailable(*this)) {
829 MRI = &MF->getRegInfo();
843 if (const MachineFunction *MF = getMFIfAvailable(*this)) {
844 const MachineRegisterInfo &MRI = MF->getRegInfo();
861 if (const MachineFunction *MF = getMFIfAvailable(*this)) {
862 const auto *TII = MF->getSubtarget().getInstrInfo();
885 if (const MachineFunction *MF = getMFIfAvailable(*this))
886 MFI = &MF->getFrameInfo();
897 if (const MachineFunction *MF = getMFIfAvailable(*this))
898 if (const auto *TargetIndexName = ::getTargetIndexName(*MF, getIndex()))
988 if (const MachineFunction *MF = getMFIfAvailable(*this))
989 printCFI(OS, MF->getFrameInstructions()[getCFIIndex()], TRI);
1056 MachinePointerInfo MachinePointerInfo::getConstantPool(MachineFunction &MF) {
1057 return MachinePointerInfo(MF.getPSVManager().getConstantPool());
1062 MachinePointerInfo MachinePointerInfo::getFixedStack(MachineFunction &MF,
1064 return MachinePointerInfo(MF.getPSVManager().getFixedStack(FI), Offset);
1067 MachinePointerInfo MachinePointerInfo::getJumpTable(MachineFunction &MF) {
1068 return MachinePointerInfo(MF.getPSVManager().getJumpTable());
1071 MachinePointerInfo MachinePointerInfo::getGOT(MachineFunction &MF) {
1072 return MachinePointerInfo(MF.getPSVManager().getGOT());
1075 MachinePointerInfo MachinePointerInfo::getStack(MachineFunction &MF,
1077 return MachinePointerInfo(MF.getPSVManager().getStack(), Offset, ID);
1080 MachinePointerInfo MachinePointerInfo::getUnknownStack(MachineFunction &MF) {
1081 return MachinePointerInfo(MF.getDataLayout().getAllocaAddrSpace());