| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | LocalStackSlotAllocation.cpp | 53 int FrameIdx; // The frame index member in __anon0b13e6740111::FrameRef 62 MI(I), LocalOffset(Offset), FrameIdx(Idx), Order(Ord) {} in FrameRef() 65 return std::tie(LocalOffset, FrameIdx, Order) < in operator <() 66 std::tie(RHS.LocalOffset, RHS.FrameIdx, RHS.Order); in operator <() 71 int getFrameIndex() const { return FrameIdx; } in getFrameIndex() 80 void AdjustStackOffset(MachineFrameInfo &MFI, int FrameIdx, int64_t &Offset, 142 void LocalStackSlotPass::AdjustStackOffset(MachineFrameInfo &MFI, int FrameIdx, in AdjustStackOffset() argument 147 Offset += MFI.getObjectSize(FrameIdx); in AdjustStackOffset() 149 Align Alignment = MFI.getObjectAlign(FrameIdx); in AdjustStackOffset() 159 LLVM_DEBUG(dbgs() << "Allocate FI(" << FrameIdx << ") to local offset " in AdjustStackOffset() [all …]
|
| H A D | StackFrameLayoutAnalysisPass.cpp | 226 int FrameIdx = FI->getFrameIndex(); in genSlotDbgMapping() local 231 SlotDebugMap[FrameIdx].insert(MI->getDebugVariable()); in genSlotDbgMapping()
|
| H A D | MIRPrinter.cpp | 447 const int FrameIdx = CSInfo.getFrameIdx(); in convertStackObjects() local 448 if (!CSInfo.isSpilledToReg() && MFI.isDeadObjectIndex(FrameIdx)) in convertStackObjects() 454 assert(FrameIdx >= MFI.getObjectIndexBegin() && in convertStackObjects() 455 FrameIdx < MFI.getObjectIndexEnd() && in convertStackObjects() 457 if (FrameIdx < 0) { // Negative index means fixed objects. in convertStackObjects() 460 [FixedStackObjectsIdx[FrameIdx + MFI.getNumFixedObjects()]]; in convertStackObjects() 464 auto &Object = YMF.StackObjects[StackObjectsIdx[FrameIdx]]; in convertStackObjects()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/MSP430/ |
| H A D | MSP430InstrInfo.cpp | 38 bool isKill, int FrameIdx, const TargetRegisterClass *RC, in storeRegToStackSlot() argument 46 MachinePointerInfo::getFixedStack(MF, FrameIdx), in storeRegToStackSlot() 47 MachineMemOperand::MOStore, MFI.getObjectSize(FrameIdx), in storeRegToStackSlot() 48 MFI.getObjectAlign(FrameIdx)); in storeRegToStackSlot() 52 .addFrameIndex(FrameIdx).addImm(0) in storeRegToStackSlot() 56 .addFrameIndex(FrameIdx).addImm(0) in storeRegToStackSlot() 64 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 …]
|
| H A D | MSP430FrameLowering.cpp | 287 int FrameIdx = MF.getFrameInfo().CreateFixedObject(2, -4, true); in processFunctionBeforeFrameFinalized() local 288 (void)FrameIdx; in processFunctionBeforeFrameFinalized() 289 assert(FrameIdx == MF.getFrameInfo().getObjectIndexBegin() && in processFunctionBeforeFrameFinalized()
|
| H A D | MSP430InstrInfo.h | 50 int FrameIdx, const TargetRegisterClass *RC,
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXPrologEpilogPass.cpp | 111 static inline void AdjustStackOffset(MachineFrameInfo &MFI, int FrameIdx, in AdjustStackOffset() argument 116 Offset += MFI.getObjectSize(FrameIdx); in AdjustStackOffset() 118 Align Alignment = MFI.getObjectAlign(FrameIdx); in AdjustStackOffset() 128 LLVM_DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") at SP[" << -Offset in AdjustStackOffset() 130 MFI.setObjectOffset(FrameIdx, -Offset); // Set the computed offset in AdjustStackOffset() 132 LLVM_DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") at SP[" << Offset in AdjustStackOffset() 134 MFI.setObjectOffset(FrameIdx, Offset); in AdjustStackOffset() 135 Offset += MFI.getObjectSize(FrameIdx); in AdjustStackOffset()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/ |
| H A D | AArch64MachineFunctionInfo.h | 284 int FrameIdx = Info.getFrameIdx(); in getCalleeSavedStackSize() local 285 if (MFI.getStackID(FrameIdx) != TargetStackID::Default) in getCalleeSavedStackSize() 287 int64_t Offset = MFI.getObjectOffset(FrameIdx); in getCalleeSavedStackSize() 288 int64_t ObjSize = MFI.getObjectSize(FrameIdx); in getCalleeSavedStackSize()
|
| H A D | AArch64FrameLowering.cpp | 2500 int FrameIdx; member 2638 RPI.FrameIdx = CSI[i].getFrameIdx(); in computeCalleeSaveRegisterPairs() 2641 RPI.FrameIdx = CSI[i + RegInc].getFrameIdx(); in computeCalleeSaveRegisterPairs() 2668 assert(MFI.getObjectAlign(RPI.FrameIdx) <= Align(16)); in computeCalleeSaveRegisterPairs() 2672 MFI.setObjectAlignment(RPI.FrameIdx, Align(16)); in computeCalleeSaveRegisterPairs() 2793 dbgs() << ") -> fi#(" << RPI.FrameIdx; in spillCalleeSavedRegisters() 2794 if (RPI.isPaired()) dbgs() << ", " << RPI.FrameIdx + 1; in spillCalleeSavedRegisters() 2802 unsigned FrameIdxReg1 = RPI.FrameIdx; in spillCalleeSavedRegisters() 2803 unsigned FrameIdxReg2 = RPI.FrameIdx + 1; in spillCalleeSavedRegisters() 2833 MFI.setStackID(RPI.FrameIdx, TargetStackID::ScalableVector); in spillCalleeSavedRegisters() [all …]
|
| H A D | AArch64RegisterInfo.h | 115 Register materializeFrameBaseRegister(MachineBasicBlock *MBB, int FrameIdx,
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/ |
| H A D | RISCVRegisterInfo.h | 39 int &FrameIdx) const override; 61 Register materializeFrameBaseRegister(MachineBasicBlock *MBB, int FrameIdx,
|
| H A D | RISCVFrameLowering.cpp | 498 int FrameIdx = Entry.getFrameIdx(); in emitPrologue() local 502 if (FrameIdx < 0) in emitPrologue() 503 Offset = FrameIdx * (int64_t) STI.getXLen() / 8; in emitPrologue() 1131 int FrameIdx = Info.getFrameIdx(); in processFunctionBeforeFrameFinalized() local 1132 if (MFI.getStackID(FrameIdx) != TargetStackID::Default) in processFunctionBeforeFrameFinalized() 1135 Size += MFI.getObjectSize(FrameIdx); in processFunctionBeforeFrameFinalized()
|
| H A D | RISCVRegisterInfo.cpp | 150 int &FrameIdx) const { in hasReservedSpillSlot() 160 FrameIdx = FII->second; in hasReservedSpillSlot() 575 int FrameIdx, in materializeFrameBaseRegister() argument 587 .addFrameIndex(FrameIdx) in materializeFrameBaseRegister()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| H A D | MachineFrameInfo.h | 37 int FrameIdx; member 58 explicit CalleeSavedInfo(unsigned R, int FI = 0) : Reg(R), FrameIdx(FI) {} in Reg() 62 int getFrameIdx() const { return FrameIdx; } in getFrameIdx() 65 FrameIdx = FI; in setFrameIdx()
|
| H A D | TargetRegisterInfo.h | 958 int &FrameIdx) const { in hasReservedSpillSlot() argument 997 int FrameIdx, in materializeFrameBaseRegister() argument
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SDNodeDbgValue.h | 74 static SDDbgOperand fromFrameIdx(unsigned FrameIdx) { in fromFrameIdx() argument 75 return SDDbgOperand(FrameIdx, FRAMEIX); in fromFrameIdx()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/ |
| H A D | PPCRegisterInfo.h | 154 int &FrameIdx) const override; 161 Register materializeFrameBaseRegister(MachineBasicBlock *MBB, int FrameIdx,
|
| H A D | PPCInstrInfo.cpp | 1932 MachineFunction &MF, unsigned SrcReg, bool isKill, int FrameIdx, in StoreRegToStackSlot() argument 1943 FrameIdx)); in StoreRegToStackSlot() 1955 bool isKill, int FrameIdx, const TargetRegisterClass *RC, in storeRegToStackSlotNoUpd() argument 1960 StoreRegToStackSlot(MF, SrcReg, isKill, FrameIdx, RC, NewMIs); in storeRegToStackSlotNoUpd() 1967 MachinePointerInfo::getFixedStack(MF, FrameIdx), in storeRegToStackSlotNoUpd() 1968 MachineMemOperand::MOStore, MFI.getObjectSize(FrameIdx), in storeRegToStackSlotNoUpd() 1969 MFI.getObjectAlign(FrameIdx)); in storeRegToStackSlotNoUpd() 1975 bool isKill, int FrameIdx, const TargetRegisterClass *RC, in storeRegToStackSlot() argument 1985 storeRegToStackSlotNoUpd(MBB, MI, SrcReg, isKill, FrameIdx, RC, TRI); in storeRegToStackSlot() 1989 unsigned DestReg, int FrameIdx, in LoadRegFromStackSlot() argument [all …]
|
| H A D | PPCInstrInfo.h | 221 int FrameIdx, const TargetRegisterClass *RC, 224 unsigned DestReg, int FrameIdx,
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/ |
| H A D | SystemZFrameLowering.cpp | 196 int FrameIdx = MFFrame.CreateFixedSpillStackObject(8, Offset); in assignCalleeSavedSpillSlots() local 197 CS.setFrameIdx(FrameIdx); in assignCalleeSavedSpillSlots() 234 int FrameIdx = MFFrame.CreateFixedSpillStackObject(Size, CurrOffset); in assignCalleeSavedSpillSlots() local 235 CS.setFrameIdx(FrameIdx); in assignCalleeSavedSpillSlots() 1025 int FrameIdx = MFFrame.CreateFixedSpillStackObject(RegSize, Offset); in assignCalleeSavedSpillSlots() local 1026 CS.setFrameIdx(FrameIdx); in assignCalleeSavedSpillSlots() 1027 MFFrame.setStackID(FrameIdx, TargetStackID::NoAlloc); in assignCalleeSavedSpillSlots() 1035 int FrameIdx = MFFrame.CreateStackObject(Size, Alignment, true); in assignCalleeSavedSpillSlots() local 1036 CS.setFrameIdx(FrameIdx); in assignCalleeSavedSpillSlots()
|
| H A D | SystemZInstrInfo.h | 272 int FrameIdx, const TargetRegisterClass *RC,
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/ |
| H A D | GISelKnownBits.cpp | 45 int FrameIdx = MI->getOperand(1).getIndex(); in computeKnownAlignment() local 46 return MF.getFrameInfo().getObjectAlign(FrameIdx); in computeKnownAlignment() 259 int FrameIdx = MI.getOperand(1).getIndex(); in computeKnownBitsImpl() local 260 TL.computeKnownBitsForFrameIndex(FrameIdx, Known, MF); in computeKnownBitsImpl()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/MIRParser/ |
| H A D | MIRParser.cpp | 131 bool IsRestored, int FrameIdx); 136 int FrameIdx); 862 const yaml::StringValue &RegisterSource, bool IsRestored, int FrameIdx) { in parseCalleeSavedRegister() argument 869 CalleeSavedInfo CSI(Reg, FrameIdx); in parseCalleeSavedRegister() 892 const T &Object, int FrameIdx) { in parseStackObjectsDebugInfo() argument 909 PFS.MF.setVariableDbgInfo(DIVar, DIExpr, FrameIdx, DILoc); in parseStackObjectsDebugInfo()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86FastPreTileConfig.cpp | 130 int FrameIdx = MFI->CreateSpillStackObject(Size, Alignment); in getStackSpaceFor() local 133 StackSlotForVirtReg[VirtReg] = FrameIdx; in getStackSpaceFor() 134 return FrameIdx; in getStackSpaceFor()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/ARM/ |
| H A D | ARMBaseRegisterInfo.h | 198 Register materializeFrameBaseRegister(MachineBasicBlock *MBB, int FrameIdx,
|