Home
last modified time | relevance | path

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

123456

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARC/
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 int FrameIndex, 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 …]
DARCInstrInfo.h41 int &FrameIndex) const override;
49 int &FrameIndex) const override;
72 bool isKill, int FrameIndex,
78 int FrameIndex, const TargetRegisterClass *RC,
DARCRegisterInfo.cpp166 int FrameIndex = FrameOp.getIndex(); in eliminateFrameIndex() local
171 int Offset = MF.getFrameInfo().getObjectOffset(FrameIndex); in eliminateFrameIndex()
172 int ObjSize = MF.getFrameInfo().getObjectSize(FrameIndex); in eliminateFrameIndex()
179 LLVM_DEBUG(dbgs() << "FrameIndex : " << FrameIndex << "\n"); in eliminateFrameIndex()
209 if (FrameIndex >= 0) in eliminateFrameIndex()
212 if (FrameIndex >= 0) { in eliminateFrameIndex()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/XCore/
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()
361 int FrameIndex, in storeRegToStackSlot() argument
371 MachinePointerInfo::getFixedStack(*MF, FrameIndex), in storeRegToStackSlot()
372 MachineMemOperand::MOStore, MFI.getObjectSize(FrameIndex), in storeRegToStackSlot()
373 MFI.getObjectAlign(FrameIndex)); in storeRegToStackSlot()
376 .addFrameIndex(FrameIndex) in storeRegToStackSlot()
383 Register DestReg, int FrameIndex, in loadRegFromStackSlot() argument
[all …]
DXCoreInstrInfo.h42 int &FrameIndex) const override;
50 int &FrameIndex) const override;
71 Register SrcReg, bool isKill, int FrameIndex,
77 Register DestReg, int FrameIndex,
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
DPPCRegisterInfo.h123 unsigned FrameIndex) const;
125 unsigned FrameIndex) const;
127 unsigned FrameIndex) const;
129 unsigned FrameIndex) const;
132 unsigned FrameIndex) const;
134 unsigned FrameIndex) const;
137 unsigned FrameIndex) const;
139 unsigned FrameIndex) const;
DPPCRegisterInfo.cpp852 unsigned FrameIndex) const { in lowerCRSpilling()
890 FrameIndex); in lowerCRSpilling()
897 unsigned FrameIndex) const { in lowerCRRestore()
917 Reg), FrameIndex); in lowerCRRestore()
940 unsigned FrameIndex) const { in lowerCRBitSpilling()
1047 FrameIndex); in lowerCRBitSpilling()
1059 unsigned FrameIndex) const { in lowerCRBitRestore()
1079 Reg), FrameIndex); in lowerCRBitRestore()
1141 unsigned FrameIndex) const { in lowerACCSpilling()
1166 FrameIndex, IsLittleEndian ? 32 : 0); in lowerACCSpilling()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AVR/
DAVRInstrInfo.cpp83 int &FrameIndex) const { in isLoadFromStackSlot()
89 FrameIndex = MI.getOperand(1).getIndex(); in isLoadFromStackSlot()
102 int &FrameIndex) const { in isStoreToStackSlot()
108 FrameIndex = MI.getOperand(0).getIndex(); in isStoreToStackSlot()
123 int FrameIndex, in storeRegToStackSlot() argument
139 MachinePointerInfo::getFixedStack(MF, FrameIndex), in storeRegToStackSlot()
140 MachineMemOperand::MOStore, MFI.getObjectSize(FrameIndex), in storeRegToStackSlot()
141 MFI.getObjectAlign(FrameIndex)); in storeRegToStackSlot()
153 .addFrameIndex(FrameIndex) in storeRegToStackSlot()
161 Register DestReg, int FrameIndex, in loadRegFromStackSlot() argument
[all …]
DAVRInstrInfo.h79 bool isKill, int FrameIndex,
84 int FrameIndex, const TargetRegisterClass *RC,
87 int &FrameIndex) const override;
89 int &FrameIndex) const override;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Mips/
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()
DMipsInstrInfo.h118 Register SrcReg, bool isKill, int FrameIndex, in storeRegToStackSlot() argument
121 storeRegToStack(MBB, MBBI, SrcReg, isKill, FrameIndex, RC, TRI, 0); in storeRegToStackSlot()
126 Register DestReg, int FrameIndex, in loadRegFromStackSlot() argument
129 loadRegFromStack(MBB, MBBI, DestReg, FrameIndex, RC, TRI, 0); in loadRegFromStackSlot()
134 Register SrcReg, bool isKill, int FrameIndex,
141 Register DestReg, int FrameIndex,
DMipsSEInstrInfo.h35 int &FrameIndex) const override;
43 int &FrameIndex) const override;
51 Register SrcReg, bool isKill, int FrameIndex,
58 Register DestReg, int FrameIndex,
DMips16InstrInfo.h41 int &FrameIndex) const override;
49 int &FrameIndex) const override;
57 Register SrcReg, bool isKill, int FrameIndex,
64 Register DestReg, int FrameIndex,
DMipsRegisterInfo.cpp260 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); in eliminateFrameIndex() local
262 int64_t spOffset = MF.getFrameInfo().getObjectOffset(FrameIndex); in eliminateFrameIndex()
264 LLVM_DEBUG(errs() << "FrameIndex : " << FrameIndex << "\n" in eliminateFrameIndex()
268 << DebugStr(MF.getFrameInfo().getObjectAlign(FrameIndex)) in eliminateFrameIndex()
271 eliminateFI(MI, FIOperandNum, FrameIndex, stackSize, spOffset); in eliminateFrameIndex()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Sparc/
DSparcInstrInfo.h57 int &FrameIndex) const override;
65 int &FrameIndex) const override;
89 Register SrcReg, bool isKill, int FrameIndex,
95 Register DestReg, int FrameIndex,
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Lanai/
DLanaiInstrInfo.h42 int &FrameIndex) const override;
45 int &FrameIndex) const override;
48 int &FrameIndex) const override;
57 Register SourceRegister, bool IsKill, int FrameIndex,
64 Register DestinationRegister, int FrameIndex,
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()
718 int &FrameIndex) const { in isLoadFromStackSlot()
722 FrameIndex = MI.getOperand(1).getIndex(); in isLoadFromStackSlot()
729 int &FrameIndex) const { in isLoadFromStackSlotPostFE()
732 if ((Reg = isLoadFromStackSlot(MI, FrameIndex))) in isLoadFromStackSlotPostFE()
737 FrameIndex = in isLoadFromStackSlotPostFE()
747 int &FrameIndex) const { in isStoreToStackSlot()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
DRegisterScavenging.h47 ScavengedInfo(int FI = -1) : FrameIndex(FI) {} in FrameIndex() function
50 int FrameIndex; member
131 if (I->FrameIndex == FI) in isScavengingFrameIndex()
141 if (I->FrameIndex >= 0) in getScavengingFrameIndices()
142 A.push_back(I->FrameIndex); in getScavengingFrameIndices()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/VE/
DVEInstrInfo.h88 int &FrameIndex) const override;
90 int &FrameIndex) const override;
93 bool isKill, int FrameIndex,
99 int FrameIndex, const TargetRegisterClass *RC,
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
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-12-stable/contrib/llvm-project/llvm/lib/Target/X86/
DX86InstrInfo.h214 int &FrameIndex) const override;
216 int &FrameIndex,
222 int &FrameIndex) const override;
225 int &FrameIndex) const override;
227 int &FrameIndex,
233 int &FrameIndex) const override;
362 bool isKill, int FrameIndex,
368 int FrameIndex, const TargetRegisterClass *RC,
386 MachineBasicBlock::iterator InsertPt, int FrameIndex,
611 int &FrameIndex) const;
DX86InstrBuilder.h50 int FrameIndex; member
73 MO.push_back(MachineOperand::CreateFI(Base.FrameIndex)); in getFullAddress()
101 AM.Base.FrameIndex = Op0.getIndex(); in getAddressFromInstr()
180 MIB.addFrameIndex(AM.Base.FrameIndex); in addFullAddress()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
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()
76 MFI.setStackID(FrameIndex, TargetStackID::WasmLocal); in getLocalForStackObject()
79 MFI.setObjectOffset(FrameIndex, Local); in getLocalForStackObject()
86 MFI.setObjectSize(FrameIndex, ValueVTs.size()); in getLocalForStackObject()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp119 &H.CatchObj.FrameIndex); in set()
121 H.CatchObj.FrameIndex = INT_MAX; in set()
164 int FrameIndex = INT_MAX; in set() local
167 FrameIndex = MF->getFrameInfo().CreateFixedObject( in set()
169 MF->getFrameInfo().setObjectAlignment(FrameIndex, Alignment); in set()
171 FrameIndex = MF->getFrameInfo().CreateStackObject(TySize, Alignment, in set()
178 MF->getFrameInfo().setStackID(FrameIndex, in set()
181 StaticAllocaMap[AI] = FrameIndex; in set()
185 *CatchObjPtr = FrameIndex; in set()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/RISCV/
DRISCVInstrInfo.h35 int &FrameIndex) const override;
37 int &FrameIndex) const override;
45 bool IsKill, int FrameIndex,
51 int FrameIndex, const TargetRegisterClass *RC,

123456