Home
last modified time | relevance | path

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

123456

/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()
295 bool IsKill, int FrameIndex, const TargetRegisterClass *RC, in storeRegToStackSlot() argument
302 MachinePointerInfo::getFixedStack(MF, FrameIndex), in storeRegToStackSlot()
303 MachineMemOperand::MOStore, MFI.getObjectSize(FrameIndex), in storeRegToStackSlot()
304 MFI.getObjectAlign(FrameIndex)); in storeRegToStackSlot()
312 << " to FrameIndex=" << FrameIndex << "\n"); in storeRegToStackSlot()
315 .addFrameIndex(FrameIndex) in storeRegToStackSlot()
[all …]
H A DARCInstrInfo.h41 int &FrameIndex) const override;
49 int &FrameIndex) const override;
72 bool IsKill, int FrameIndex,
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/PowerPC/
H A DPPCRegisterInfo.h125 unsigned FrameIndex) const;
127 unsigned FrameIndex) const;
129 unsigned FrameIndex) const;
131 unsigned FrameIndex) const;
134 unsigned FrameIndex) const;
136 unsigned FrameIndex) const;
138 unsigned FrameIndex) const;
141 unsigned FrameIndex) const;
143 unsigned FrameIndex) const;
146 unsigned FrameIndex) cons
[all...]
H A DPPCRegisterInfo.cpp955 unsigned FrameIndex) const { in lowerCRSpilling()
993 FrameIndex); in lowerCRSpilling()
1000 unsigned FrameIndex) const { in lowerCRRestore()
1020 Reg), FrameIndex); in lowerCRRestore()
1043 unsigned FrameIndex) const { in lowerCRBitSpilling()
1150 FrameIndex); in lowerCRBitSpilling()
1162 unsigned FrameIndex) const { in lowerCRBitRestore()
1182 Reg), FrameIndex); in lowerCRBitRestore()
1241 unsigned FrameIndex, bool IsLittleEndian, in spillRegPairs() argument
1257 FrameIndex, Offset); in spillRegPairs()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreInstrInfo.cpp63 int &FrameIndex) const { in isLoadFromStackSlot()
70 FrameIndex = MI.getOperand(1).getIndex(); in isLoadFromStackSlot()
83 int &FrameIndex) const { in isStoreToStackSlot()
90 FrameIndex = MI.getOperand(1).getIndex(); in isStoreToStackSlot()
360 bool isKill, int FrameIndex, const TargetRegisterClass *RC, in storeRegToStackSlot() argument
368 MachinePointerInfo::getFixedStack(*MF, FrameIndex), in storeRegToStackSlot()
369 MachineMemOperand::MOStore, MFI.getObjectSize(FrameIndex), in storeRegToStackSlot()
370 MFI.getObjectAlign(FrameIndex)); in storeRegToStackSlot()
373 .addFrameIndex(FrameIndex) in storeRegToStackSlot()
380 Register DestReg, int FrameIndex, in loadRegFromStackSlot() argument
[all …]
H A DXCoreInstrInfo.h42 int &FrameIndex) const override;
50 int &FrameIndex) const override;
71 bool isKill, int FrameIndex,
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/AVR/
H A DAVRInstrInfo.cpp95 int &FrameIndex) const { in isLoadFromStackSlot()
101 FrameIndex = MI.getOperand(1).getIndex(); in isLoadFromStackSlot()
114 int &FrameIndex) const { in isStoreToStackSlot()
120 FrameIndex = MI.getOperand(0).getIndex(); in isStoreToStackSlot()
134 bool isKill, int FrameIndex, const TargetRegisterClass *RC, in storeRegToStackSlot() argument
144 MachinePointerInfo::getFixedStack(MF, FrameIndex), in storeRegToStackSlot()
145 MachineMemOperand::MOStore, MFI.getObjectSize(FrameIndex), in storeRegToStackSlot()
146 MFI.getObjectAlign(FrameIndex)); in storeRegToStackSlot()
158 .addFrameIndex(FrameIndex) in storeRegToStackSlot()
166 Register DestReg, int FrameIndex, in loadRegFromStackSlot() argument
[all …]
H A DAVRInstrInfo.h81 bool isKill, int FrameIndex,
87 int FrameIndex, const TargetRegisterClass *RC,
91 int &FrameIndex) const override;
93 int &FrameIndex) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsSERegisterInfo.cpp146 unsigned OpNo, int FrameIndex, in eliminateFI() argument
168 bool EhDataRegFI = MipsFI->isEhDataRegFI(FrameIndex); in eliminateFI()
169 bool IsISRRegFI = MipsFI->isISRRegFI(FrameIndex); in eliminateFI()
180 if ((FrameIndex >= MinCSFI && FrameIndex <= MaxCSFI) || EhDataRegFI || in eliminateFI()
184 if (MFI.hasVarSizedObjects() && !MFI.isFixedObjectIndex(FrameIndex)) in eliminateFI()
186 else if (MFI.isFixedObjectIndex(FrameIndex)) in eliminateFI()
H A DMipsInstrInfo.h138 bool isKill, int FrameIndex, in storeRegToStackSlot() argument
142 storeRegToStack(MBB, MBBI, SrcReg, isKill, FrameIndex, RC, TRI, 0); in storeRegToStackSlot()
147 int FrameIndex, const TargetRegisterClass *RC, in loadRegFromStackSlot() argument
150 loadRegFromStack(MBB, MBBI, DestReg, FrameIndex, RC, TRI, 0); in loadRegFromStackSlot()
155 Register SrcReg, bool isKill, int FrameIndex,
162 Register DestReg, int FrameIndex,
H A DMipsSEInstrInfo.h35 int &FrameIndex) const override;
43 int &FrameIndex) const override;
51 Register SrcReg, bool isKill, int FrameIndex,
58 Register DestReg, int FrameIndex,
H A DMips16InstrInfo.h41 int &FrameIndex) const override;
49 int &FrameIndex) const override;
57 Register SrcReg, bool isKill, int FrameIndex,
64 Register DestReg, int FrameIndex,
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcInstrInfo.h57 int &FrameIndex) const override;
65 int &FrameIndex) const override;
94 bool isKill, int FrameIndex,
101 int FrameIndex, const TargetRegisterClass *RC,
/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,
52 int FrameIndex, const TargetRegisterClass *RC,
/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;
56 Register SourceRegister, bool IsKill, int FrameIndex,
63 Register DestinationRegister, int FrameIndex,
H A DLanaiInstrInfo.cpp51 Register SourceRegister, bool IsKill, int FrameIndex, in storeRegToStackSlot() argument
64 .addFrameIndex(FrameIndex) in storeRegToStackSlot()
71 Register DestinationRegister, int FrameIndex, in loadRegFromStackSlot() argument
83 .addFrameIndex(FrameIndex) in loadRegFromStackSlot()
715 int &FrameIndex) const { in isLoadFromStackSlot()
719 FrameIndex = MI.getOperand(1).getIndex(); in isLoadFromStackSlot()
726 int &FrameIndex) const { in isLoadFromStackSlotPostFE()
729 if ((Reg = isLoadFromStackSlot(MI, FrameIndex))) in isLoadFromStackSlotPostFE()
734 FrameIndex = in isLoadFromStackSlotPostFE()
744 int &FrameIndex) const { in isStoreToStackSlot()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEInstrInfo.h88 int &FrameIndex) const override;
90 int &FrameIndex) const override;
93 bool isKill, int FrameIndex,
100 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()
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/
H A DXtensaRegisterInfo.cpp66 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex() local
68 int64_t SPOffset = MF.getFrameInfo().getObjectOffset(FrameIndex); in eliminateFrameIndex()
86 if ((FrameIndex >= MinCSFI && FrameIndex <= MaxCSFI)) in eliminateFrameIndex()
H A DXtensaInstrInfo.h45 int &FrameIndex) const override;
48 int &FrameIndex) const override;
56 bool isKill, int FrameIndex,
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrInfo.h276 int &FrameIndex) const override;
278 int &FrameIndex,
284 int &FrameIndex) const override;
287 int &FrameIndex) const override;
289 int &FrameIndex,
295 int &FrameIndex) const override;
424 bool isKill, int FrameIndex,
431 int FrameIndex, const TargetRegisterClass *RC,
453 MachineBasicBlock::iterator InsertPt, int FrameIndex,
679 int &FrameIndex) const;
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFrameLowering.cpp55 int FrameIndex) { in getLocalForStackObject() argument
59 if (MFI.getStackID(FrameIndex) == TargetStackID::WasmLocal) in getLocalForStackObject()
60 return static_cast<unsigned>(MFI.getObjectOffset(FrameIndex)); in getLocalForStackObject()
64 const AllocaInst *AI = MFI.getObjectAllocation(FrameIndex); in getLocalForStackObject()
75 MFI.setStackID(FrameIndex, TargetStackID::WasmLocal); in getLocalForStackObject()
78 MFI.setObjectOffset(FrameIndex, Local); in getLocalForStackObject()
85 MFI.setObjectSize(FrameIndex, ValueVTs.size()); in getLocalForStackObject()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfo.h71 int &FrameIndex) const override;
72 Register isLoadFromStackSlot(const MachineInstr &MI, int &FrameIndex,
75 int &FrameIndex) const override;
76 Register isStoreToStackSlot(const MachineInstr &MI, int &FrameIndex,
91 bool IsKill, int FrameIndex,
98 int FrameIndex, const TargetRegisterClass *RC,
106 int FrameIndex,

123456