Home
last modified time | relevance | path

Searched refs:FrameIdx (Results 1 – 25 of 35) sorted by relevance

12

/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DLocalStackSlotAllocation.cpp54 int FrameIdx; // The frame index member in __anon0ee44d820111::FrameRef
66 return std::tie(LocalOffset, FrameIdx, Order) < in operator <()
72 int getFrameIndex() const { return FrameIdx; } in getFrameIndex()
149 Offset += MFI.getObjectSize(FrameIdx); in AdjustStackOffset()
151 unsigned Align = MFI.getObjectAlignment(FrameIdx); in AdjustStackOffset()
164 LocalOffsets[FrameIdx] = LocalOffset; in AdjustStackOffset()
166 MFI.mapLocalFrameObject(FrameIdx, LocalOffset); in AdjustStackOffset()
169 Offset += MFI.getObjectSize(FrameIdx); in AdjustStackOffset()
351 int FrameIdx = FR.getFrameIndex(); in insertFrameReferenceRegisters() local
352 assert(MFI.isObjectPreAllocated(FrameIdx) && in insertFrameReferenceRegisters()
[all …]
H A DPrologEpilogInserter.cpp373 int FrameIdx; in assignCalleeSavedSpillSlots() local
375 CS.setFrameIdx(FrameIdx); in assignCalleeSavedSpillSlots()
397 if ((unsigned)FrameIdx < MinCSFrameIndex) MinCSFrameIndex = FrameIdx; in assignCalleeSavedSpillSlots()
398 if ((unsigned)FrameIdx > MaxCSFrameIndex) MaxCSFrameIndex = FrameIdx; in assignCalleeSavedSpillSlots()
404 CS.setFrameIdx(FrameIdx); in assignCalleeSavedSpillSlots()
580 Offset += MFI.getObjectSize(FrameIdx); in AdjustStackOffset()
598 MFI.setObjectOffset(FrameIdx, Offset); in AdjustStackOffset()
599 Offset += MFI.getObjectSize(FrameIdx); in AdjustStackOffset()
648 if (MFI.isVariableSizedObjectIndex(FrameIdx)) in scavengeStackSlot()
692 MFI.setObjectOffset(FrameIdx, ObjStart); in scavengeStackSlot()
[all …]
H A DRegAllocFast.cpp247 int FrameIdx = MFI->CreateSpillStackObject(Size, Align); in getStackSpaceFor() local
250 StackSlotForVirtReg[VirtReg] = FrameIdx; in getStackSpaceFor()
251 return FrameIdx; in getStackSpaceFor()
H A DTargetInstrInfo.cpp895 int FrameIdx = 0; in isReallyTriviallyReMaterializableGeneric() local
896 if (isLoadFromStackSlot(MI, FrameIdx) && in isReallyTriviallyReMaterializableGeneric()
897 MF.getFrameInfo().isImmutableObjectIndex(FrameIdx)) in isReallyTriviallyReMaterializableGeneric()
/freebsd-12.1/contrib/llvm/lib/Target/MSP430/
H A DMSP430InstrInfo.cpp48 MachinePointerInfo::getFixedStack(MF, FrameIdx), in storeRegToStackSlot()
49 MachineMemOperand::MOStore, MFI.getObjectSize(FrameIdx), in storeRegToStackSlot()
50 MFI.getObjectAlignment(FrameIdx)); in storeRegToStackSlot()
54 .addFrameIndex(FrameIdx).addImm(0) in storeRegToStackSlot()
58 .addFrameIndex(FrameIdx).addImm(0) in storeRegToStackSlot()
66 unsigned DestReg, int FrameIdx, in loadRegFromStackSlot() argument
75 MachinePointerInfo::getFixedStack(MF, FrameIdx), in loadRegFromStackSlot()
76 MachineMemOperand::MOLoad, MFI.getObjectSize(FrameIdx), in loadRegFromStackSlot()
77 MFI.getObjectAlignment(FrameIdx)); in loadRegFromStackSlot()
81 .addReg(DestReg, getDefRegState(true)).addFrameIndex(FrameIdx) in loadRegFromStackSlot()
[all …]
H A DMSP430FrameLowering.cpp295 int FrameIdx = MF.getFrameInfo().CreateFixedObject(2, -4, true); in processFunctionBeforeFrameFinalized() local
296 (void)FrameIdx; in processFunctionBeforeFrameFinalized()
297 assert(FrameIdx == MF.getFrameInfo().getObjectIndexBegin() && in processFunctionBeforeFrameFinalized()
H A DMSP430InstrInfo.h51 unsigned DestReg, int FrameIdx,
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXPrologEpilogPass.cpp102 AdjustStackOffset(MachineFrameInfo &MFI, int FrameIdx, in AdjustStackOffset() argument
107 Offset += MFI.getObjectSize(FrameIdx); in AdjustStackOffset()
109 unsigned Align = MFI.getObjectAlignment(FrameIdx); in AdjustStackOffset()
119 LLVM_DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") at SP[" << -Offset in AdjustStackOffset()
121 MFI.setObjectOffset(FrameIdx, -Offset); // Set the computed offset in AdjustStackOffset()
123 LLVM_DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") at SP[" << Offset in AdjustStackOffset()
125 MFI.setObjectOffset(FrameIdx, Offset); in AdjustStackOffset()
126 Offset += MFI.getObjectSize(FrameIdx); in AdjustStackOffset()
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DMachineFrameInfo.h36 int FrameIdx; member
58 : Reg(R), FrameIdx(FI), Restored(true), SpilledToReg(false) {} in Reg()
62 int getFrameIdx() const { return FrameIdx; } in getFrameIdx()
65 FrameIdx = FI; in setFrameIdx()
H A DTargetRegisterInfo.h881 int &FrameIdx) const { in hasReservedSpillSlot() argument
917 unsigned BaseReg, int FrameIdx, in materializeFrameBaseRegister() argument
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCRegisterInfo.h121 int &FrameIdx) const override;
129 unsigned BaseReg, int FrameIdx,
H A DPPCInstrInfo.h122 int FrameIdx, const TargetRegisterClass *RC,
125 unsigned DestReg, int FrameIdx,
H A DPPCRegisterInfo.cpp809 unsigned Reg, int &FrameIdx) const { in hasReservedSpillSlot()
818 FrameIdx = 0; in hasReservedSpillSlot()
821 FrameIdx = FI->getCRSpillFrameIndex(); in hasReservedSpillSlot()
1105 unsigned BaseReg, int FrameIdx, in materializeFrameBaseRegister() argument
1122 .addFrameIndex(FrameIdx).addImm(Offset); in materializeFrameBaseRegister()
H A DPPCInstrInfo.cpp1196 FrameIdx)); in StoreRegToStackSlot()
1212 int FrameIdx, in storeRegToStackSlot() argument
1227 StoreRegToStackSlot(MF, SrcReg, isKill, FrameIdx, RC, NewMIs); in storeRegToStackSlot()
1234 MachinePointerInfo::getFixedStack(MF, FrameIdx), in storeRegToStackSlot()
1235 MachineMemOperand::MOStore, MFI.getObjectSize(FrameIdx), in storeRegToStackSlot()
1236 MFI.getObjectAlignment(FrameIdx)); in storeRegToStackSlot()
1247 FrameIdx)); in LoadRegFromStackSlot()
1285 LoadRegFromStackSlot(MF, DL, DestReg, FrameIdx, RC, NewMIs); in loadRegFromStackSlot()
1292 MachinePointerInfo::getFixedStack(MF, FrameIdx), in loadRegFromStackSlot()
1293 MachineMemOperand::MOLoad, MFI.getObjectSize(FrameIdx), in loadRegFromStackSlot()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64FrameLowering.cpp1602 int FrameIdx; member
1701 RPI.FrameIdx = CSI[i].getFrameIdx(); in computeCalleeSaveRegisterPairs()
1713 assert(MFI.getObjectAlignment(RPI.FrameIdx) <= 16); in computeCalleeSaveRegisterPairs()
1714 MFI.setObjectAlignment(RPI.FrameIdx, 16); in computeCalleeSaveRegisterPairs()
1814 dbgs() << ") -> fi#(" << RPI.FrameIdx; in spillCalleeSavedRegisters()
1815 if (RPI.isPaired()) dbgs() << ", " << RPI.FrameIdx + 1; in spillCalleeSavedRegisters()
1823 unsigned FrameIdxReg1 = RPI.FrameIdx; in spillCalleeSavedRegisters()
1824 unsigned FrameIdxReg2 = RPI.FrameIdx + 1; in spillCalleeSavedRegisters()
1905 dbgs() << ") -> fi#(" << RPI.FrameIdx; in restoreCalleeSavedRegisters()
1912 unsigned FrameIdxReg1 = RPI.FrameIdx; in restoreCalleeSavedRegisters()
[all …]
H A DAArch64RegisterInfo.h103 int FrameIdx,
H A DAArch64RegisterInfo.cpp403 int FrameIdx, in materializeFrameBaseRegister() argument
418 .addFrameIndex(FrameIdx) in materializeFrameBaseRegister()
/freebsd-12.1/contrib/llvm/lib/CodeGen/MIRParser/
H A DMIRParser.cpp123 bool IsRestored, int FrameIdx);
128 int FrameIdx);
680 const yaml::StringValue &RegisterSource, bool IsRestored, int FrameIdx) { in parseCalleeSavedRegister() argument
687 CalleeSavedInfo CSI(Reg, FrameIdx); in parseCalleeSavedRegister()
710 const T &Object, int FrameIdx) { in parseStackObjectsDebugInfo() argument
727 PFS.MF.setVariableDbgInfo(DIVar, DIExpr, FrameIdx, DILoc); in parseStackObjectsDebugInfo()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86RegisterInfo.h125 int &FrameIdx) const override;
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DARMBaseRegisterInfo.h167 unsigned BaseReg, int FrameIdx,
H A DARMBaseRegisterInfo.cpp613 unsigned BaseReg, int FrameIdx, in materializeFrameBaseRegister() argument
631 .addFrameIndex(FrameIdx).addImm(Offset); in materializeFrameBaseRegister()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DSIRegisterInfo.h93 unsigned BaseReg, int FrameIdx,
H A DSIRegisterInfo.cpp305 int FrameIdx, in materializeFrameBaseRegister() argument
319 .addFrameIndex(FrameIdx); in materializeFrameBaseRegister()
331 .addFrameIndex(FrameIdx); in materializeFrameBaseRegister()
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/
H A DSystemZInstrInfo.h242 unsigned DestReg, int FrameIdx,
H A DSystemZInstrInfo.cpp886 bool isKill, int FrameIdx, const TargetRegisterClass *RC, in storeRegToStackSlot() argument
896 FrameIdx); in storeRegToStackSlot()
901 int FrameIdx, const TargetRegisterClass *RC, in loadRegFromStackSlot() argument
910 FrameIdx); in loadRegFromStackSlot()

12