Home
last modified time | relevance | path

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

12345

/freebsd-12.1/contrib/llvm/lib/Target/ARC/
H A DARCInstrInfo.cpp57 int &FrameIndex) const { in isLoadFromStackSlot()
63 FrameIndex = MI.getOperand(1).getIndex(); in isLoadFromStackSlot()
76 int &FrameIndex) const { in isStoreToStackSlot()
82 FrameIndex = MI.getOperand(1).getIndex(); in isStoreToStackSlot()
284 int FrameIndex, in storeRegToStackSlot() argument
290 unsigned Align = MFI.getObjectAlignment(FrameIndex); in storeRegToStackSlot()
293 MachinePointerInfo::getFixedStack(MF, FrameIndex), in storeRegToStackSlot()
305 .addFrameIndex(FrameIndex) in storeRegToStackSlot()
318 unsigned Align = MFI.getObjectAlignment(FrameIndex); in loadRegFromStackSlot()
320 MachinePointerInfo::getFixedStack(MF, FrameIndex), in loadRegFromStackSlot()
[all …]
H A DARCInstrInfo.h42 int &FrameIndex) const override;
50 int &FrameIndex) const override;
73 bool isKill, int FrameIndex,
79 int FrameIndex, const TargetRegisterClass *RC,
H A DARCRegisterInfo.cpp168 int FrameIndex = FrameOp.getIndex(); in eliminateFrameIndex() local
173 int Offset = MF.getFrameInfo().getObjectOffset(FrameIndex); in eliminateFrameIndex()
174 int ObjSize = MF.getFrameInfo().getObjectSize(FrameIndex); in eliminateFrameIndex()
181 LLVM_DEBUG(dbgs() << "FrameIndex : " << FrameIndex << "\n"); in eliminateFrameIndex()
211 if (FrameIndex >= 0) in eliminateFrameIndex()
214 if (FrameIndex >= 0) { in eliminateFrameIndex()
/freebsd-12.1/contrib/llvm/lib/Target/XCore/
H A DXCoreInstrInfo.cpp71 FrameIndex = MI.getOperand(1).getIndex(); in isLoadFromStackSlot()
91 FrameIndex = MI.getOperand(1).getIndex(); in isStoreToStackSlot()
362 int FrameIndex, in storeRegToStackSlot() argument
372 MachinePointerInfo::getFixedStack(*MF, FrameIndex), in storeRegToStackSlot()
373 MachineMemOperand::MOStore, MFI.getObjectSize(FrameIndex), in storeRegToStackSlot()
374 MFI.getObjectAlignment(FrameIndex)); in storeRegToStackSlot()
377 .addFrameIndex(FrameIndex) in storeRegToStackSlot()
394 MachinePointerInfo::getFixedStack(*MF, FrameIndex), in loadRegFromStackSlot()
395 MachineMemOperand::MOLoad, MFI.getObjectSize(FrameIndex), in loadRegFromStackSlot()
396 MFI.getObjectAlignment(FrameIndex)); in loadRegFromStackSlot()
[all …]
H A DXCoreInstrInfo.h43 int &FrameIndex) const override;
51 int &FrameIndex) const override;
72 unsigned SrcReg, bool isKill, int FrameIndex,
78 unsigned DestReg, int FrameIndex,
/freebsd-12.1/contrib/llvm/lib/Target/AVR/
H A DAVRInstrInfo.cpp90 FrameIndex = MI.getOperand(1).getIndex(); in isLoadFromStackSlot()
109 FrameIndex = MI.getOperand(0).getIndex(); in isStoreToStackSlot()
124 int FrameIndex, in storeRegToStackSlot() argument
140 MachinePointerInfo::getFixedStack(MF, FrameIndex), in storeRegToStackSlot()
141 MachineMemOperand::MOStore, MFI.getObjectSize(FrameIndex), in storeRegToStackSlot()
142 MFI.getObjectAlignment(FrameIndex)); in storeRegToStackSlot()
154 .addFrameIndex(FrameIndex) in storeRegToStackSlot()
174 MachinePointerInfo::getFixedStack(MF, FrameIndex), in loadRegFromStackSlot()
175 MachineMemOperand::MOLoad, MFI.getObjectSize(FrameIndex), in loadRegFromStackSlot()
176 MFI.getObjectAlignment(FrameIndex)); in loadRegFromStackSlot()
[all …]
H A DAVRInstrInfo.h80 bool isKill, int FrameIndex,
85 int FrameIndex, const TargetRegisterClass *RC,
88 int &FrameIndex) const override;
90 int &FrameIndex) const override;
/freebsd-12.1/contrib/llvm/lib/Target/Mips/
H A DMipsSERegisterInfo.cpp147 unsigned OpNo, int FrameIndex, in eliminateFI() argument
169 bool EhDataRegFI = MipsFI->isEhDataRegFI(FrameIndex); in eliminateFI()
170 bool IsISRRegFI = MipsFI->isISRRegFI(FrameIndex); in eliminateFI()
181 if ((FrameIndex >= MinCSFI && FrameIndex <= MaxCSFI) || EhDataRegFI || in eliminateFI()
185 if (MFI.hasVarSizedObjects() && !MFI.isFixedObjectIndex(FrameIndex)) in eliminateFI()
187 else if (MFI.isFixedObjectIndex(FrameIndex)) in eliminateFI()
H A DMipsInstrInfo.h115 unsigned SrcReg, bool isKill, int FrameIndex, in storeRegToStackSlot() argument
118 storeRegToStack(MBB, MBBI, SrcReg, isKill, FrameIndex, RC, TRI, 0); in storeRegToStackSlot()
123 unsigned DestReg, int FrameIndex, in loadRegFromStackSlot() argument
126 loadRegFromStack(MBB, MBBI, DestReg, FrameIndex, RC, TRI, 0); in loadRegFromStackSlot()
131 unsigned SrcReg, bool isKill, int FrameIndex,
138 unsigned DestReg, int FrameIndex,
H A DMipsSEInstrInfo.h36 int &FrameIndex) const override;
44 int &FrameIndex) const override;
52 unsigned SrcReg, bool isKill, int FrameIndex,
59 unsigned DestReg, int FrameIndex,
H A DMips16InstrInfo.h42 int &FrameIndex) const override;
50 int &FrameIndex) const override;
58 unsigned SrcReg, bool isKill, int FrameIndex,
65 unsigned DestReg, int FrameIndex,
H A DMips16RegisterInfo.cpp77 unsigned OpNo, int FrameIndex, in eliminateFI() argument
102 if (FrameIndex >= MinCSFI && FrameIndex <= MaxCSFI) in eliminateFI()
H A DMipsRegisterInfo.cpp282 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex() local
284 int64_t spOffset = MF.getFrameInfo().getObjectOffset(FrameIndex); in eliminateFrameIndex()
286 LLVM_DEBUG(errs() << "FrameIndex : " << FrameIndex << "\n" in eliminateFrameIndex()
290 << MF.getFrameInfo().getObjectAlignment(FrameIndex) in eliminateFrameIndex()
293 eliminateFI(MI, FIOperandNum, FrameIndex, stackSize, spOffset); in eliminateFrameIndex()
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCRegisterInfo.h108 unsigned FrameIndex) const;
110 unsigned FrameIndex) const;
112 unsigned FrameIndex) const;
114 unsigned FrameIndex) const;
116 unsigned FrameIndex) const;
118 unsigned FrameIndex) const;
H A DPPCRegisterInfo.cpp609 FrameIndex); in lowerCRSpilling()
699 FrameIndex); in lowerCRBitSpilling()
775 FrameIndex); in lowerVRSAVESpilling()
907 if (FPSI && FrameIndex == FPSI && in eliminateFrameIndex()
915 lowerCRSpilling(II, FrameIndex); in eliminateFrameIndex()
918 lowerCRRestore(II, FrameIndex); in eliminateFrameIndex()
921 lowerCRBitSpilling(II, FrameIndex); in eliminateFrameIndex()
924 lowerCRBitRestore(II, FrameIndex); in eliminateFrameIndex()
927 lowerVRSAVESpilling(II, FrameIndex); in eliminateFrameIndex()
930 lowerVRSAVERestore(II, FrameIndex); in eliminateFrameIndex()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/Lanai/
H A DLanaiInstrInfo.h43 int &FrameIndex) const override;
46 int &FrameIndex) const override;
49 int &FrameIndex) const override;
58 unsigned SourceRegister, bool IsKill, int FrameIndex,
65 unsigned DestinationRegister, int FrameIndex,
H A DLanaiInstrInfo.cpp52 unsigned SourceRegister, bool IsKill, int FrameIndex, in storeRegToStackSlot() argument
65 .addFrameIndex(FrameIndex) in storeRegToStackSlot()
72 unsigned DestinationRegister, int FrameIndex, in loadRegFromStackSlot() argument
84 .addFrameIndex(FrameIndex) in loadRegFromStackSlot()
719 int &FrameIndex) const { in isLoadFromStackSlot()
723 FrameIndex = MI.getOperand(1).getIndex(); in isLoadFromStackSlot()
730 int &FrameIndex) const { in isLoadFromStackSlotPostFE()
733 if ((Reg = isLoadFromStackSlot(MI, FrameIndex))) in isLoadFromStackSlotPostFE()
738 FrameIndex = in isLoadFromStackSlotPostFE()
748 int &FrameIndex) const { in isStoreToStackSlot()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/Sparc/
H A DSparcInstrInfo.h58 int &FrameIndex) const override;
66 int &FrameIndex) const override;
90 unsigned SrcReg, bool isKill, int FrameIndex,
96 unsigned DestReg, int FrameIndex,
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DRegisterScavenging.h48 ScavengedInfo(int FI = -1) : FrameIndex(FI) {} in FrameIndex() function
51 int FrameIndex; member
141 if (I->FrameIndex == FI) in isScavengingFrameIndex()
151 if (I->FrameIndex >= 0) in getScavengingFrameIndices()
152 A.push_back(I->FrameIndex); in getScavengingFrameIndices()
H A DTargetInstrInfo.h226 int &FrameIndex) const { in isLoadFromStackSlot() argument
235 int &FrameIndex, in isLoadFromStackSlot() argument
238 return isLoadFromStackSlot(MI, FrameIndex); in isLoadFromStackSlot()
244 int &FrameIndex) const { in isLoadFromStackSlotPostFE() argument
264 int &FrameIndex) const { in isStoreToStackSlot() argument
273 int &FrameIndex, in isStoreToStackSlot() argument
276 return isStoreToStackSlot(MI, FrameIndex); in isStoreToStackSlot()
282 int &FrameIndex) const { in isStoreToStackSlotPostFE() argument
882 unsigned SrcReg, bool isKill, int FrameIndex, in storeRegToStackSlot() argument
894 unsigned DestReg, int FrameIndex, in loadRegFromStackSlot() argument
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/RISCV/
H A DRISCVInstrInfo.h31 int &FrameIndex) const override;
33 int &FrameIndex) const override;
41 bool IsKill, int FrameIndex,
47 int FrameIndex, const TargetRegisterClass *RC,
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86InstrInfo.h223 int &FrameIndex) const override;
225 int &FrameIndex,
231 int &FrameIndex) const override;
234 int &FrameIndex) const override;
236 int &FrameIndex,
242 int &FrameIndex) const override;
354 bool isKill, int FrameIndex,
366 int FrameIndex, const TargetRegisterClass *RC,
390 MachineBasicBlock::iterator InsertPt, int FrameIndex,
606 int &FrameIndex) const;
H A DX86InstrBuilder.h51 int FrameIndex; member
74 MO.push_back(MachineOperand::CreateFI(Base.FrameIndex)); in getFullAddress()
102 AM.Base.FrameIndex = Op0.getIndex(); in getAddressFromInstr()
181 MIB.addFrameIndex(AM.Base.FrameIndex); in addFullAddress()
/freebsd-12.1/contrib/llvm/lib/Target/BPF/
H A DBPFRegisterInfo.cpp82 int FrameIndex = MI.getOperand(i).getIndex(); in eliminateFrameIndex() local
86 int Offset = MF.getFrameInfo().getObjectOffset(FrameIndex); in eliminateFrameIndex()
97 int Offset = MF.getFrameInfo().getObjectOffset(FrameIndex) + in eliminateFrameIndex()
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.h61 int &FrameIndex) const override;
63 int &FrameIndex) const override;
135 bool isKill, int FrameIndex,
141 int FrameIndex, const TargetRegisterClass *RC,
152 MachineBasicBlock::iterator InsertPt, int FrameIndex,

12345