llvm.org GIT mirror llvm / 978e0df
Make use of MachinePointerInfo::getFixedStack. This removes all mention of PseudoSourceValue from lib/Target/. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144632 91177308-0d34-0410-b5e6-96231b3b80d8 Jay Foad 8 years ago
5 changed file(s) with 10 addition(s) and 24 deletion(s). Raw diff Collapse all Expand all
2727 #include "llvm/CodeGen/MachineJumpTableInfo.h"
2828 #include "llvm/CodeGen/MachineMemOperand.h"
2929 #include "llvm/CodeGen/MachineRegisterInfo.h"
30 #include "llvm/CodeGen/PseudoSourceValue.h"
3130 #include "llvm/CodeGen/SelectionDAGNodes.h"
3231 #include "llvm/MC/MCAsmInfo.h"
3332 #include "llvm/Support/BranchProbability.h"
709708 unsigned Align = MFI.getObjectAlignment(FI);
710709
711710 MachineMemOperand *MMO =
712 MF.getMachineMemOperand(MachinePointerInfo(
713 PseudoSourceValue::getFixedStack(FI)),
711 MF.getMachineMemOperand(MachinePointerInfo::getFixedStack(FI),
714712 MachineMemOperand::MOStore,
715713 MFI.getObjectSize(FI),
716714 Align);
861859 unsigned Align = MFI.getObjectAlignment(FI);
862860 MachineMemOperand *MMO =
863861 MF.getMachineMemOperand(
864 MachinePointerInfo(PseudoSourceValue::getFixedStack(FI)),
862 MachinePointerInfo::getFixedStack(FI),
865863 MachineMemOperand::MOLoad,
866864 MFI.getObjectSize(FI),
867865 Align);
1717 #include "llvm/CodeGen/MachineInstrBuilder.h"
1818 #include "llvm/CodeGen/MachineRegisterInfo.h"
1919 #include "llvm/CodeGen/MachineMemOperand.h"
20 #include "llvm/CodeGen/PseudoSourceValue.h"
2120 #include "llvm/ADT/SmallVector.h"
2221 #include "Thumb1InstrInfo.h"
2322
5958 MachineFunction &MF = *MBB.getParent();
6059 MachineFrameInfo &MFI = *MF.getFrameInfo();
6160 MachineMemOperand *MMO =
62 MF.getMachineMemOperand(
63 MachinePointerInfo(PseudoSourceValue::getFixedStack(FI)),
61 MF.getMachineMemOperand(MachinePointerInfo::getFixedStack(FI),
6462 MachineMemOperand::MOStore,
6563 MFI.getObjectSize(FI),
6664 MFI.getObjectAlignment(FI));
8886 MachineFunction &MF = *MBB.getParent();
8987 MachineFrameInfo &MFI = *MF.getFrameInfo();
9088 MachineMemOperand *MMO =
91 MF.getMachineMemOperand(
92 MachinePointerInfo(PseudoSourceValue::getFixedStack(FI)),
89 MF.getMachineMemOperand(MachinePointerInfo::getFixedStack(FI),
9390 MachineMemOperand::MOLoad,
9491 MFI.getObjectSize(FI),
9592 MFI.getObjectAlignment(FI));
1919 #include "llvm/CodeGen/MachineFrameInfo.h"
2020 #include "llvm/CodeGen/MachineInstrBuilder.h"
2121 #include "llvm/CodeGen/MachineMemOperand.h"
22 #include "llvm/CodeGen/PseudoSourceValue.h"
2322 #include "llvm/ADT/SmallVector.h"
2423 #include "llvm/Support/CommandLine.h"
2524
129128 MachineFunction &MF = *MBB.getParent();
130129 MachineFrameInfo &MFI = *MF.getFrameInfo();
131130 MachineMemOperand *MMO =
132 MF.getMachineMemOperand(
133 MachinePointerInfo(PseudoSourceValue::getFixedStack(FI)),
131 MF.getMachineMemOperand(MachinePointerInfo::getFixedStack(FI),
134132 MachineMemOperand::MOStore,
135133 MFI.getObjectSize(FI),
136134 MFI.getObjectAlignment(FI));
157155 MachineFunction &MF = *MBB.getParent();
158156 MachineFrameInfo &MFI = *MF.getFrameInfo();
159157 MachineMemOperand *MMO =
160 MF.getMachineMemOperand(
161 MachinePointerInfo(PseudoSourceValue::getFixedStack(FI)),
158 MF.getMachineMemOperand(MachinePointerInfo::getFixedStack(FI),
162159 MachineMemOperand::MOLoad,
163160 MFI.getObjectSize(FI),
164161 MFI.getObjectAlignment(FI));
1818 #include "llvm/CodeGen/MachineFrameInfo.h"
1919 #include "llvm/CodeGen/MachineInstrBuilder.h"
2020 #include "llvm/CodeGen/MachineRegisterInfo.h"
21 #include "llvm/CodeGen/PseudoSourceValue.h"
2221 #include "llvm/Support/ErrorHandling.h"
2322 #include "llvm/Support/TargetRegistry.h"
2423
4241 MachineFrameInfo &MFI = *MF.getFrameInfo();
4342
4443 MachineMemOperand *MMO =
45 MF.getMachineMemOperand(
46 MachinePointerInfo(PseudoSourceValue::getFixedStack(FrameIdx)),
44 MF.getMachineMemOperand(MachinePointerInfo::getFixedStack(FrameIdx),
4745 MachineMemOperand::MOStore,
4846 MFI.getObjectSize(FrameIdx),
4947 MFI.getObjectAlignment(FrameIdx));
7169 MachineFrameInfo &MFI = *MF.getFrameInfo();
7270
7371 MachineMemOperand *MMO =
74 MF.getMachineMemOperand(
75 MachinePointerInfo(PseudoSourceValue::getFixedStack(FrameIdx)),
72 MF.getMachineMemOperand(MachinePointerInfo::getFixedStack(FrameIdx),
7673 MachineMemOperand::MOLoad,
7774 MFI.getObjectSize(FrameIdx),
7875 MFI.getObjectAlignment(FrameIdx));
2121 #include "llvm/CodeGen/MachineInstrBuilder.h"
2222 #include "llvm/CodeGen/MachineMemOperand.h"
2323 #include "llvm/CodeGen/MachineRegisterInfo.h"
24 #include "llvm/CodeGen/PseudoSourceValue.h"
2524 #include "llvm/MC/MCAsmInfo.h"
2625 #include "llvm/Support/CommandLine.h"
2726 #include "llvm/Support/ErrorHandling.h"
500499
501500 const MachineFrameInfo &MFI = *MF.getFrameInfo();
502501 MachineMemOperand *MMO =
503 MF.getMachineMemOperand(
504 MachinePointerInfo(PseudoSourceValue::getFixedStack(FrameIdx)),
502 MF.getMachineMemOperand(MachinePointerInfo::getFixedStack(FrameIdx),
505503 MachineMemOperand::MOStore,
506504 MFI.getObjectSize(FrameIdx),
507505 MFI.getObjectAlignment(FrameIdx));
622620
623621 const MachineFrameInfo &MFI = *MF.getFrameInfo();
624622 MachineMemOperand *MMO =
625 MF.getMachineMemOperand(
626 MachinePointerInfo(PseudoSourceValue::getFixedStack(FrameIdx)),
623 MF.getMachineMemOperand(MachinePointerInfo::getFixedStack(FrameIdx),
627624 MachineMemOperand::MOLoad,
628625 MFI.getObjectSize(FrameIdx),
629626 MFI.getObjectAlignment(FrameIdx));