Home
last modified time | relevance | path

Searched refs:FrameIndex (Results 1 – 25 of 152) sorted by relevance

1234567

/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCRegisterInfo.h63 unsigned FrameIndex, bool IsLittleEndian, bool IsKilled,
134 unsigned FrameIndex) const;
136 unsigned FrameIndex) const;
138 unsigned FrameIndex) const;
140 unsigned FrameIndex) const;
143 unsigned FrameIndex) const;
145 unsigned FrameIndex) const;
147 unsigned FrameIndex) const;
150 unsigned FrameIndex) const;
152 unsigned FrameIndex) const;
[all …]
H A DPPCRegisterInfo.cpp958 unsigned FrameIndex) const { in lowerCRSpilling()
996 FrameIndex); in lowerCRSpilling()
1003 unsigned FrameIndex) const { in lowerCRRestore()
1023 Reg), FrameIndex); in lowerCRRestore()
1046 unsigned FrameIndex) const { in lowerCRBitSpilling()
1158 FrameIndex); in lowerCRBitSpilling()
1170 unsigned FrameIndex) const { in lowerCRBitRestore()
1190 Reg), FrameIndex); in lowerCRBitRestore()
1249 unsigned FrameIndex, bool IsLittleEndian, in spillRegPair() argument
1261 FrameIndex, Offset); in spillRegPair()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCInstrInfo.cpp69 int &FrameIndex) const { in isLoadFromStackSlot()
75 FrameIndex = MI.getOperand(1).getIndex(); in isLoadFromStackSlot()
88 int &FrameIndex) const { in isStoreToStackSlot()
94 FrameIndex = MI.getOperand(1).getIndex(); in isStoreToStackSlot()
296 bool IsKill, int FrameIndex, const TargetRegisterClass *RC, in storeRegToStackSlot() argument
304 MachinePointerInfo::getFixedStack(MF, FrameIndex), in storeRegToStackSlot()
305 MachineMemOperand::MOStore, MFI.getObjectSize(FrameIndex), in storeRegToStackSlot()
306 MFI.getObjectAlign(FrameIndex)); in storeRegToStackSlot()
314 << " to FrameIndex=" << FrameIndex << "\n"); in storeRegToStackSlot()
317 .addFrameIndex(FrameIndex) in storeRegToStackSlot()
[all …]
H A DARCInstrInfo.h41 int &FrameIndex) const override;
49 int &FrameIndex) const override;
73 bool IsKill, int FrameIndex, const TargetRegisterClass *RC,
79 int FrameIndex, const TargetRegisterClass *RC,
H A DARCRegisterInfo.cpp169 int FrameIndex = FrameOp.getIndex(); in eliminateFrameIndex() local
174 int Offset = MF.getFrameInfo().getObjectOffset(FrameIndex); in eliminateFrameIndex()
175 int ObjSize = MF.getFrameInfo().getObjectSize(FrameIndex); in eliminateFrameIndex()
182 LLVM_DEBUG(dbgs() << "FrameIndex : " << FrameIndex << "\n"); in eliminateFrameIndex()
212 if (FrameIndex >= 0) in eliminateFrameIndex()
215 if (FrameIndex >= 0) { in eliminateFrameIndex()
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreInstrInfo.cpp59 int &FrameIndex) const { in isLoadFromStackSlot()
66 FrameIndex = MI.getOperand(1).getIndex(); in isLoadFromStackSlot()
79 int &FrameIndex) const { in isStoreToStackSlot()
86 FrameIndex = MI.getOperand(1).getIndex(); in isStoreToStackSlot()
357 bool isKill, int FrameIndex, const TargetRegisterClass *RC, in storeRegToStackSlot() argument
366 MachinePointerInfo::getFixedStack(*MF, FrameIndex), in storeRegToStackSlot()
367 MachineMemOperand::MOStore, MFI.getObjectSize(FrameIndex), in storeRegToStackSlot()
368 MFI.getObjectAlign(FrameIndex)); in storeRegToStackSlot()
371 .addFrameIndex(FrameIndex) in storeRegToStackSlot()
378 Register DestReg, int FrameIndex, in loadRegFromStackSlot() argument
[all …]
H A DXCoreInstrInfo.h42 int &FrameIndex) const override;
50 int &FrameIndex) const override;
72 bool isKill, int FrameIndex, const TargetRegisterClass *RC,
78 int FrameIndex, const TargetRegisterClass *RC,
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DRegisterScavenging.h43 ScavengedInfo(int FI = -1) : FrameIndex(FI) {}
46 int FrameIndex;
73 if (Slot.FrameIndex == FI) {
119 if (SI.FrameIndex == FI) in backward()
128 if (I.FrameIndex >= 0) in skipTo()
129 A.push_back(I.FrameIndex);
47 ScavengedInfo(int FI = -1) : FrameIndex(FI) {} FrameIndex() function
50 int FrameIndex; global() member
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsSERegisterInfo.cpp142 unsigned OpNo, int FrameIndex, in eliminateFI() argument
164 bool EhDataRegFI = MipsFI->isEhDataRegFI(FrameIndex); in eliminateFI()
165 bool IsISRRegFI = MipsFI->isISRRegFI(FrameIndex); in eliminateFI()
176 if ((FrameIndex >= MinCSFI && FrameIndex <= MaxCSFI) || EhDataRegFI || in eliminateFI()
180 if (MFI.hasVarSizedObjects() && !MFI.isFixedObjectIndex(FrameIndex)) in eliminateFI()
182 else if (MFI.isFixedObjectIndex(FrameIndex)) in eliminateFI()
H A DMipsInstrInfo.h146 bool isKill, int FrameIndex, const TargetRegisterClass *RC,
149 storeRegToStack(MBB, MBBI, SrcReg, isKill, FrameIndex, RC, TRI, 0, Flags);
154 Register DestReg, int FrameIndex, const TargetRegisterClass *RC,
157 loadRegFromStack(MBB, MBBI, DestReg, FrameIndex, RC, TRI, 0, Flags);
162 Register SrcReg, bool isKill, int FrameIndex,
169 int FrameIndex, const TargetRegisterClass *RC,
H A DMipsSEInstrInfo.h35 int &FrameIndex) const override;
43 int &FrameIndex) const override;
52 bool isKill, int FrameIndex, const TargetRegisterClass *RC,
58 int FrameIndex, const TargetRegisterClass *RC,
H A DMips16InstrInfo.h41 int &FrameIndex) const override;
49 int &FrameIndex) const override;
58 bool isKill, int FrameIndex, const TargetRegisterClass *RC,
64 Register DestReg, int FrameIndex, const TargetRegisterClass *RC,
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRInstrInfo.cpp90 int &FrameIndex) const { in isLoadFromStackSlot()
96 FrameIndex = MI.getOperand(1).getIndex(); in isLoadFromStackSlot()
109 int &FrameIndex) const { in isStoreToStackSlot()
115 FrameIndex = MI.getOperand(0).getIndex(); in isStoreToStackSlot()
129 bool isKill, int FrameIndex, const TargetRegisterClass *RC, in storeRegToStackSlot() argument
140 MachinePointerInfo::getFixedStack(MF, FrameIndex), in storeRegToStackSlot()
141 MachineMemOperand::MOStore, MFI.getObjectSize(FrameIndex), in storeRegToStackSlot()
142 MFI.getObjectAlign(FrameIndex)); in storeRegToStackSlot()
154 .addFrameIndex(FrameIndex) in storeRegToStackSlot()
162 Register DestReg, int FrameIndex, in loadRegFromStackSlot() argument
[all …]
H A DAVRInstrInfo.h82 bool isKill, int FrameIndex, const TargetRegisterClass *RC,
87 int FrameIndex, const TargetRegisterClass *RC,
91 int &FrameIndex) const override;
93 int &FrameIndex) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYInstrInfo.h39 int &FrameIndex) const override;
41 int &FrameIndex) const override;
45 bool IsKill, int FrameIndex, const TargetRegisterClass *RC,
51 int FrameIndex, const TargetRegisterClass *RC,
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcInstrInfo.h57 int &FrameIndex) const override;
65 int &FrameIndex) const override;
95 bool isKill, int FrameIndex, const TargetRegisterClass *RC,
101 Register DestReg, int FrameIndex, const TargetRegisterClass *RC,
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMIRYamlMapping.cpp22 FrameIndex::FrameIndex(int FI, const llvm::MachineFrameInfo &MFI) { in FrameIndex() function in FrameIndex
30 Expected<int> FrameIndex::getFI(const llvm::MachineFrameInfo &MFI) const { in getFI()
H A DReachingDefAnalysis.cpp57 static bool isFIDef(const MachineInstr &MI, int FrameIndex, in isFIDef() argument
63 return DefFrameIndex == FrameIndex; in isFIDef()
146 int FrameIndex = MO.getIndex(); in processDefs() local
147 assert(FrameIndex >= 0 && "Can't handle negative frame indicies yet!"); in processDefs()
148 if (!isFIDef(*MI, FrameIndex, TII)) in processDefs()
150 MBBFrameObjsReachingDefs[{MBBNumber, FrameIndex}].push_back(CurInstr); in processDefs()
245 int FrameIndex = MO.getIndex(); in printAllReachingDefs() local
246 assert(FrameIndex >= 0 && in printAllReachingDefs()
248 Reg = Register::index2StackSlot(FrameIndex); in printAllReachingDefs()
346 int FrameIndex = Reg.stackSlotIndex(); in getReachingDef() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiInstrInfo.h42 int &FrameIndex) const override;
45 int &FrameIndex) const override;
48 int &FrameIndex) const override;
58 Register SourceRegister, bool IsKill, int FrameIndex,
65 Register DestinationRegister, int FrameIndex,
H A DLanaiInstrInfo.cpp49 Register SourceRegister, bool IsKill, int FrameIndex, in storeRegToStackSlot() argument
63 .addFrameIndex(FrameIndex) in storeRegToStackSlot()
70 Register DestinationRegister, int FrameIndex, in loadRegFromStackSlot() argument
83 .addFrameIndex(FrameIndex) in loadRegFromStackSlot()
716 int &FrameIndex) const { in isLoadFromStackSlot()
720 FrameIndex = MI.getOperand(1).getIndex(); in isLoadFromStackSlot()
727 int &FrameIndex) const { in isLoadFromStackSlotPostFE()
730 if ((Reg = isLoadFromStackSlot(MI, FrameIndex))) in isLoadFromStackSlotPostFE()
735 FrameIndex = in isLoadFromStackSlotPostFE()
745 int &FrameIndex) const { in isStoreToStackSlot()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEInstrInfo.h89 int &FrameIndex) const override;
91 int &FrameIndex) const override;
94 bool isKill, int FrameIndex, const TargetRegisterClass *RC,
100 Register DestReg, int FrameIndex, const TargetRegisterClass *RC,
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/
H A DXtensaRegisterInfo.cpp70 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex() local
72 int64_t SPOffset = MF.getFrameInfo().getObjectOffset(FrameIndex); in eliminateFrameIndex()
90 if ((FrameIndex >= MinCSFI && FrameIndex <= MaxCSFI)) in eliminateFrameIndex()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFrameLowering.cpp53 int FrameIndex) { in getLocalForStackObject() argument
57 if (MFI.getStackID(FrameIndex) == TargetStackID::WasmLocal) in getLocalForStackObject()
58 return static_cast<unsigned>(MFI.getObjectOffset(FrameIndex)); in getLocalForStackObject()
62 const AllocaInst *AI = MFI.getObjectAllocation(FrameIndex); in getLocalForStackObject()
73 MFI.setStackID(FrameIndex, TargetStackID::WasmLocal); in getLocalForStackObject()
76 MFI.setObjectOffset(FrameIndex, Local); in getLocalForStackObject()
83 MFI.setObjectSize(FrameIndex, ValueVTs.size()); in getLocalForStackObject()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZInstrInfo.h232 int &FrameIndex) const override;
234 int &FrameIndex) const override;
236 int &FrameIndex) const override;
238 int &FrameIndex) const override;
283 bool isKill, int FrameIndex, const TargetRegisterClass *RC,
302 MachineBasicBlock::iterator InsertPt, int FrameIndex,
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfo.h70 int &FrameIndex) const override;
71 Register isLoadFromStackSlot(const MachineInstr &MI, int &FrameIndex,
74 int &FrameIndex) const override;
75 Register isStoreToStackSlot(const MachineInstr &MI, int &FrameIndex,
96 bool IsKill, int FrameIndex, const TargetRegisterClass *RC,
102 int FrameIndex, const TargetRegisterClass *RC,
110 int FrameIndex,

1234567