| /freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
| D | LocalStackSlotAllocation.cpp | 54 int FrameIdx; // The frame index member in __anon7fcaf9750111::FrameRef 63 MI(I), LocalOffset(Offset), FrameIdx(Idx), Order(Ord) {} in FrameRef() 66 return std::tie(LocalOffset, FrameIdx, Order) < in operator <() 67 std::tie(RHS.LocalOffset, RHS.FrameIdx, RHS.Order); in operator <() 72 int getFrameIndex() const { return FrameIdx; } in getFrameIndex() 81 void AdjustStackOffset(MachineFrameInfo &MFI, int FrameIdx, int64_t &Offset, 143 void LocalStackSlotPass::AdjustStackOffset(MachineFrameInfo &MFI, int FrameIdx, in AdjustStackOffset() argument 148 Offset += MFI.getObjectSize(FrameIdx); in AdjustStackOffset() 150 Align Alignment = MFI.getObjectAlign(FrameIdx); in AdjustStackOffset() 160 LLVM_DEBUG(dbgs() << "Allocate FI(" << FrameIdx << ") to local offset " in AdjustStackOffset() [all …]
|
| D | PrologEpilogInserter.cpp | 430 int FrameIdx; in assignCalleeSavedSpillSlots() local 431 if (RegInfo->hasReservedSpillSlot(F, Reg, FrameIdx)) { in assignCalleeSavedSpillSlots() 432 CS.setFrameIdx(FrameIdx); in assignCalleeSavedSpillSlots() 451 FrameIdx = MFI.CreateStackObject(Size, Alignment, true); in assignCalleeSavedSpillSlots() 452 if ((unsigned)FrameIdx < MinCSFrameIndex) MinCSFrameIndex = FrameIdx; in assignCalleeSavedSpillSlots() 453 if ((unsigned)FrameIdx > MaxCSFrameIndex) MaxCSFrameIndex = FrameIdx; in assignCalleeSavedSpillSlots() 456 FrameIdx = MFI.CreateFixedSpillStackObject(Size, FixedSlot->Offset); in assignCalleeSavedSpillSlots() 459 CS.setFrameIdx(FrameIdx); in assignCalleeSavedSpillSlots() 641 static inline void AdjustStackOffset(MachineFrameInfo &MFI, int FrameIdx, in AdjustStackOffset() argument 646 Offset += MFI.getObjectSize(FrameIdx); in AdjustStackOffset() [all …]
|
| D | MIRPrinter.cpp | 450 const int FrameIdx = CSInfo.getFrameIdx(); in convertStackObjects() local 451 if (!CSInfo.isSpilledToReg() && MFI.isDeadObjectIndex(FrameIdx)) in convertStackObjects() 457 assert(FrameIdx >= MFI.getObjectIndexBegin() && in convertStackObjects() 458 FrameIdx < MFI.getObjectIndexEnd() && in convertStackObjects() 460 if (FrameIdx < 0) { // Negative index means fixed objects. in convertStackObjects() 463 [FixedStackObjectsIdx[FrameIdx + MFI.getNumFixedObjects()]]; in convertStackObjects() 467 auto &Object = YMF.StackObjects[StackObjectsIdx[FrameIdx]]; in convertStackObjects()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/MSP430/ |
| D | MSP430InstrInfo.cpp | 38 Register SrcReg, bool isKill, int FrameIdx, in storeRegToStackSlot() argument 47 MachinePointerInfo::getFixedStack(MF, FrameIdx), in storeRegToStackSlot() 48 MachineMemOperand::MOStore, MFI.getObjectSize(FrameIdx), in storeRegToStackSlot() 49 MFI.getObjectAlign(FrameIdx)); in storeRegToStackSlot() 53 .addFrameIndex(FrameIdx).addImm(0) in storeRegToStackSlot() 57 .addFrameIndex(FrameIdx).addImm(0) in storeRegToStackSlot() 65 Register DestReg, int FrameIdx, in loadRegFromStackSlot() argument 74 MachinePointerInfo::getFixedStack(MF, FrameIdx), in loadRegFromStackSlot() 75 MachineMemOperand::MOLoad, MFI.getObjectSize(FrameIdx), in loadRegFromStackSlot() 76 MFI.getObjectAlign(FrameIdx)); in loadRegFromStackSlot() [all …]
|
| D | MSP430FrameLowering.cpp | 288 int FrameIdx = MF.getFrameInfo().CreateFixedObject(2, -4, true); in processFunctionBeforeFrameFinalized() local 289 (void)FrameIdx; in processFunctionBeforeFrameFinalized() 290 assert(FrameIdx == MF.getFrameInfo().getObjectIndexBegin() && in processFunctionBeforeFrameFinalized()
|
| D | MSP430InstrInfo.h | 50 Register DestReg, int FrameIdx,
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| D | NVPTXPrologEpilogPass.cpp | 110 static inline void AdjustStackOffset(MachineFrameInfo &MFI, int FrameIdx, in AdjustStackOffset() argument 115 Offset += MFI.getObjectSize(FrameIdx); in AdjustStackOffset() 117 Align Alignment = MFI.getObjectAlign(FrameIdx); in AdjustStackOffset() 127 LLVM_DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") at SP[" << -Offset in AdjustStackOffset() 129 MFI.setObjectOffset(FrameIdx, -Offset); // Set the computed offset in AdjustStackOffset() 131 LLVM_DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") at SP[" << Offset in AdjustStackOffset() 133 MFI.setObjectOffset(FrameIdx, Offset); in AdjustStackOffset() 134 Offset += MFI.getObjectSize(FrameIdx); in AdjustStackOffset()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| D | AArch64MachineFunctionInfo.h | 252 int FrameIdx = Info.getFrameIdx(); in getCalleeSavedStackSize() local 253 if (MFI.getStackID(FrameIdx) != TargetStackID::Default) in getCalleeSavedStackSize() 255 int64_t Offset = MFI.getObjectOffset(FrameIdx); in getCalleeSavedStackSize() 256 int64_t ObjSize = MFI.getObjectSize(FrameIdx); in getCalleeSavedStackSize()
|
| D | AArch64FrameLowering.cpp | 2221 int FrameIdx; member 2367 RPI.FrameIdx = CSI[i].getFrameIdx(); in computeCalleeSaveRegisterPairs() 2370 RPI.FrameIdx = CSI[i + RegInc].getFrameIdx(); in computeCalleeSaveRegisterPairs() 2397 assert(MFI.getObjectAlign(RPI.FrameIdx) <= Align(16)); in computeCalleeSaveRegisterPairs() 2401 MFI.setObjectAlignment(RPI.FrameIdx, Align(16)); in computeCalleeSaveRegisterPairs() 2560 dbgs() << ") -> fi#(" << RPI.FrameIdx; in spillCalleeSavedRegisters() 2561 if (RPI.isPaired()) dbgs() << ", " << RPI.FrameIdx + 1; in spillCalleeSavedRegisters() 2569 unsigned FrameIdxReg1 = RPI.FrameIdx; in spillCalleeSavedRegisters() 2570 unsigned FrameIdxReg2 = RPI.FrameIdx + 1; in spillCalleeSavedRegisters() 2600 MFI.setStackID(RPI.FrameIdx, TargetStackID::ScalableVector); in spillCalleeSavedRegisters() [all …]
|
| D | AArch64RegisterInfo.h | 110 Register materializeFrameBaseRegister(MachineBasicBlock *MBB, int FrameIdx,
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| D | MachineFrameInfo.h | 37 int FrameIdx; member 59 : Reg(R), FrameIdx(FI), Restored(true), SpilledToReg(false) {} in Reg() 63 int getFrameIdx() const { return FrameIdx; } in getFrameIdx() 66 FrameIdx = FI; in setFrameIdx()
|
| D | TargetRegisterInfo.h | 921 int &FrameIdx) const { in hasReservedSpillSlot() argument 960 int FrameIdx, in materializeFrameBaseRegister() argument
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| D | SDNodeDbgValue.h | 73 static SDDbgOperand fromFrameIdx(unsigned FrameIdx) { in fromFrameIdx() argument 74 return SDDbgOperand(FrameIdx, FRAMEIX); in fromFrameIdx()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| D | PPCRegisterInfo.h | 145 int &FrameIdx) const override; 154 Register materializeFrameBaseRegister(MachineBasicBlock *MBB, int FrameIdx,
|
| D | PPCInstrInfo.cpp | 1926 MachineFunction &MF, unsigned SrcReg, bool isKill, int FrameIdx, in StoreRegToStackSlot() argument 1937 FrameIdx)); in StoreRegToStackSlot() 1949 bool isKill, int FrameIdx, const TargetRegisterClass *RC, in storeRegToStackSlotNoUpd() argument 1954 StoreRegToStackSlot(MF, SrcReg, isKill, FrameIdx, RC, NewMIs); in storeRegToStackSlotNoUpd() 1961 MachinePointerInfo::getFixedStack(MF, FrameIdx), in storeRegToStackSlotNoUpd() 1962 MachineMemOperand::MOStore, MFI.getObjectSize(FrameIdx), in storeRegToStackSlotNoUpd() 1963 MFI.getObjectAlign(FrameIdx)); in storeRegToStackSlotNoUpd() 1970 int FrameIdx, in storeRegToStackSlot() argument 1981 storeRegToStackSlotNoUpd(MBB, MI, SrcReg, isKill, FrameIdx, RC, TRI); in storeRegToStackSlot() 1985 unsigned DestReg, int FrameIdx, in LoadRegFromStackSlot() argument [all …]
|
| D | PPCInstrInfo.h | 200 int FrameIdx, const TargetRegisterClass *RC, 203 unsigned DestReg, int FrameIdx,
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| D | RISCVRegisterInfo.h | 41 int &FrameIdx) const override;
|
| D | RISCVFrameLowering.cpp | 437 int FrameIdx = Entry.getFrameIdx(); in emitPrologue() local 441 if (FrameIdx < 0) in emitPrologue() 442 Offset = FrameIdx * (int64_t) STI.getXLen() / 8; in emitPrologue() 913 int FrameIdx = Info.getFrameIdx(); in processFunctionBeforeFrameFinalized() local 914 if (MFI.getStackID(FrameIdx) != TargetStackID::Default) in processFunctionBeforeFrameFinalized() 917 Size += MFI.getObjectSize(FrameIdx); in processFunctionBeforeFrameFinalized()
|
| D | RISCVRegisterInfo.cpp | 146 int &FrameIdx) const { in hasReservedSpillSlot() 155 FrameIdx = FII->second; in hasReservedSpillSlot()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/ |
| D | MIRParser.cpp | 132 bool IsRestored, int FrameIdx); 137 int FrameIdx); 814 const yaml::StringValue &RegisterSource, bool IsRestored, int FrameIdx) { in parseCalleeSavedRegister() argument 821 CalleeSavedInfo CSI(Reg, FrameIdx); in parseCalleeSavedRegister() 844 const T &Object, int FrameIdx) { in parseStackObjectsDebugInfo() argument 861 PFS.MF.setVariableDbgInfo(DIVar, DIExpr, FrameIdx, DILoc); in parseStackObjectsDebugInfo()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| D | GISelKnownBits.cpp | 41 int FrameIdx = MI->getOperand(1).getIndex(); in computeKnownAlignment() local 42 return MF.getFrameInfo().getObjectAlign(FrameIdx); in computeKnownAlignment() 255 int FrameIdx = MI.getOperand(1).getIndex(); in computeKnownBitsImpl() local 256 TL.computeKnownBitsForFrameIndex(FrameIdx, Known, MF); in computeKnownBitsImpl()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| D | SystemZFrameLowering.cpp | 88 int FrameIdx = MFFrame.CreateFixedSpillStackObject(8, Offset); in assignCalleeSavedSpillSlots() local 89 CS.setFrameIdx(FrameIdx); in assignCalleeSavedSpillSlots() 126 int FrameIdx = MFFrame.CreateFixedSpillStackObject(Size, CurrOffset); in assignCalleeSavedSpillSlots() local 127 CS.setFrameIdx(FrameIdx); in assignCalleeSavedSpillSlots()
|
| D | SystemZInstrInfo.h | 270 Register DestReg, int FrameIdx,
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/ |
| D | ARMBaseRegisterInfo.h | 171 Register materializeFrameBaseRegister(MachineBasicBlock *MBB, int FrameIdx,
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| D | SIRegisterInfo.h | 99 Register materializeFrameBaseRegister(MachineBasicBlock *MBB, int FrameIdx,
|