Searched refs:FrameIndex (Results 26 - 50 of 111) sorted by relevance

12345

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsRegisterInfo.cpp253 // FrameIndex represent objects inside a abstract stack.
254 // We must replace FrameIndex with an stack/frame pointer
266 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); local
268 int64_t spOffset = MF.getFrameInfo().getObjectOffset(FrameIndex);
270 LLVM_DEBUG(errs() << "FrameIndex : " << FrameIndex << "\n"
274 << MF.getFrameInfo().getObjectAlignment(FrameIndex)
277 eliminateFI(MI, FIOperandNum, FrameIndex, stackSize, spOffset);
H A DMipsRegisterInfo.h79 int FrameIndex, uint64_t StackSize,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegisterInfo.cpp62 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); local
64 int64_t FrameOffset = MFI.getStackSize() + MFI.getObjectOffset(FrameIndex);
66 assert(MFI.getObjectSize(FrameIndex) != 0 &&
68 "and don't use FrameIndex operands.");
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/VE/
H A DVERegisterInfo.cpp95 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); local
101 Offset = TFI->getFrameIndexReference(MF, FrameIndex, FrameReg);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DWinException.h86 int getFrameIndexOffset(int FrameIndex, const WinEHFuncInfo &FuncInfo);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430InstrInfo.h45 int FrameIndex,
H A DMSP430ISelDAGToDAG.cpp44 int FrameIndex = 0; member in struct:__anon2295::MSP430ISelAddressMode::__anon2297
68 errs() << " Base.FrameIndex " << Base.FrameIndex << '\n';
196 case ISD::FrameIndex:
200 AM.Base.FrameIndex = cast<FrameIndexSDNode>(N)->getIndex();
257 AM.Base.FrameIndex,
390 case ISD::FrameIndex: {
H A DMSP430RegisterInfo.cpp113 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); local
116 int Offset = MF.getFrameInfo().getObjectOffset(FrameIndex);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiRegisterInfo.cpp148 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); local
150 int Offset = MF.getFrameInfo().getObjectOffset(FrameIndex) +
155 if (!HasFP || (needsStackRealignment(MF) && FrameIndex >= 0))
159 if (FrameIndex >= 0) {
H A DLanaiInstrInfo.cpp51 unsigned SourceRegister, bool IsKill, int FrameIndex,
64 .addFrameIndex(FrameIndex)
71 unsigned DestinationRegister, int FrameIndex,
83 .addFrameIndex(FrameIndex)
718 int &FrameIndex) const {
722 FrameIndex = MI.getOperand(1).getIndex();
729 int &FrameIndex) const {
732 if ((Reg = isLoadFromStackSlot(MI, FrameIndex)))
737 FrameIndex =
747 int &FrameIndex) cons
49 storeRegToStackSlot( MachineBasicBlock &MBB, MachineBasicBlock::iterator Position, unsigned SourceRegister, bool IsKill, int FrameIndex, const TargetRegisterClass *RegisterClass, const TargetRegisterInfo * ) const argument
69 loadRegFromStackSlot( MachineBasicBlock &MBB, MachineBasicBlock::iterator Position, unsigned DestinationRegister, int FrameIndex, const TargetRegisterClass *RegisterClass, const TargetRegisterInfo * ) const argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrBuilder.h50 int FrameIndex; member in union:llvm::X86AddressMode::__anon2507
73 MO.push_back(MachineOperand::CreateFI(Base.FrameIndex));
101 AM.Base.FrameIndex = Op0.getIndex();
180 MIB.addFrameIndex(AM.Base.FrameIndex);
194 /// reference has base register as the FrameIndex offset until it is resolved.
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZInstrInfo.h207 int &FrameIndex) const override;
209 int &FrameIndex) const override;
250 unsigned SrcReg, bool isKill, int FrameIndex,
264 MachineBasicBlock::iterator InsertPt, int FrameIndex,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.h62 int &FrameIndex) const override;
64 int &FrameIndex) const override;
153 bool isKill, int FrameIndex,
159 int FrameIndex, const TargetRegisterClass *RC,
170 MachineBasicBlock::iterator InsertPt, int FrameIndex,
H A DAArch64RegisterInfo.cpp341 "Instr doesn't have FrameIndex operand!");
438 assert(i < MI.getNumOperands() && "Instr doesn't have FrameIndex operand!");
461 int FrameIndex = MI.getOperand(FIOperandNum).getIndex();
470 TFI->resolveFrameIndexReference(MF, FrameIndex, FrameReg,
481 int Offset = TFI->getNonLocalFrameIndexReference(MF, FrameIndex);
491 Offset = {MFI.getObjectOffset(FrameIndex) +
496 MFI.getObjectOffset(FrameIndex) + (int64_t)MFI.getStackSize(), MVT::i8};
503 MF, FrameIndex, FrameReg, /*PreferFP=*/false, /*ForSimm=*/true);
517 Offset = {MFI.getObjectOffset(FrameIndex) + (int64_t)MFI.getStackSize(),
521 MF, FrameIndex, FrameRe
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DFunctionLoweringInfo.cpp119 &H.CatchObj.FrameIndex);
121 H.CatchObj.FrameIndex = INT_MAX;
152 int FrameIndex = INT_MAX; local
155 FrameIndex = MF->getFrameInfo().CreateFixedObject(
157 MF->getFrameInfo().setObjectAlignment(FrameIndex, Align);
159 FrameIndex =
166 MF->getFrameInfo().setStackID(FrameIndex,
169 StaticAllocaMap[AI] = FrameIndex;
173 *CatchObjPtr = FrameIndex;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCRegisterInfo.cpp643 unsigned FrameIndex) const {
681 FrameIndex);
688 unsigned FrameIndex) const {
708 Reg), FrameIndex); local
731 unsigned FrameIndex) const {
828 FrameIndex);
840 unsigned FrameIndex) const {
860 Reg), FrameIndex); local
890 unsigned FrameIndex) const {
909 FrameIndex);
933 Reg), FrameIndex); local
1033 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); local
[all...]
H A DPPCInstrInfo.h249 int &FrameIndex) const override;
253 int &FrameIndex) const override;
288 unsigned SrcReg, bool isKill, int FrameIndex,
294 unsigned DestReg, int FrameIndex,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVRegisterInfo.cpp117 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); local
120 getFrameLowering(MF)->getFrameIndexReference(MF, FrameIndex, FrameReg) +
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DWinEHFuncInfo.h66 int FrameIndex; member in union:llvm::WinEHHandlerType::__anon1797
H A DTargetInstrInfo.h245 /// the destination along with the FrameIndex of the loaded stack slot. If
249 int &FrameIndex) const {
258 int &FrameIndex,
261 return isLoadFromStackSlot(MI, FrameIndex);
267 int &FrameIndex) const {
283 /// the source reg along with the FrameIndex of the loaded stack slot. If
287 int &FrameIndex) const {
296 int &FrameIndex,
299 return isStoreToStackSlot(MI, FrameIndex);
305 int &FrameIndex) cons
257 isLoadFromStackSlot(const MachineInstr &MI, int &FrameIndex, unsigned &MemBytes) const argument
295 isStoreToStackSlot(const MachineInstr &MI, int &FrameIndex, unsigned &MemBytes) const argument
975 storeRegToStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, unsigned SrcReg, bool isKill, int FrameIndex, const TargetRegisterClass *RC, const TargetRegisterInfo *TRI) const argument
987 loadRegFromStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, unsigned DestReg, int FrameIndex, const TargetRegisterClass *RC, const TargetRegisterInfo *TRI) const argument
1116 foldMemoryOperandImpl(MachineFunction &MF, MachineInstr &MI, ArrayRef<unsigned> Ops, MachineBasicBlock::iterator InsertPt, int FrameIndex, LiveIntervals *LIS = nullptr, VirtRegMap *VRM = nullptr) const argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.h189 int &FrameIndex) const override;
191 int &FrameIndex) const override;
193 int &FrameIndex) const override;
195 int &FrameIndex) const override;
210 unsigned SrcReg, bool isKill, int FrameIndex,
216 unsigned DestReg, int FrameIndex,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineOperand.cpp210 "Cannot change a tied operand into a FrameIndex");
221 "Cannot change a tied operand into a FrameIndex");
490 static void printFrameIndex(raw_ostream& OS, int FrameIndex, bool IsFixed, argument
494 IsFixed = MFI->isFixedObjectIndex(FrameIndex);
495 if (const AllocaInst *Alloca = MFI->getObjectAllocation(FrameIndex))
499 FrameIndex -= MFI->getObjectIndexBegin();
501 MachineOperand::printStackObjectReference(OS, FrameIndex, IsFixed, Name);
570 unsigned FrameIndex,
573 OS << "%fixed-stack." << FrameIndex; local
577 OS << "%stack." << FrameIndex; local
569 printStackObjectReference(raw_ostream &OS, unsigned FrameIndex, bool IsFixed, StringRef Name) argument
808 int FrameIndex = getIndex(); local
1122 int FrameIndex = cast<FixedStackPseudoSourceValue>(PVal)->getFrameIndex(); local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonInstrInfo.h54 /// the destination along with the FrameIndex of the loaded stack slot. If
58 int &FrameIndex) const override;
62 /// the source reg along with the FrameIndex of the loaded stack slot. If
66 int &FrameIndex) const override;
185 unsigned SrcReg, bool isKill, int FrameIndex,
194 unsigned DestReg, int FrameIndex,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCISelDAGToDAG.cpp93 if (Addr.getOpcode() == ISD::FrameIndex) {
114 if (Base.getOpcode() == ISD::FrameIndex) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRRegisterInfo.cpp141 int FrameIndex = MI.getOperand(FIOperandNum).getIndex(); local
142 int Offset = MFI.getObjectOffset(FrameIndex);

Completed in 303 milliseconds

12345