Home
last modified time | relevance | path

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

12

/NextBSD/contrib/llvm/lib/CodeGen/
HDLocalStackSlotAllocation.cpp53 int FrameIdx; // The frame index member in __anonf8be13ac0111::FrameRef
56 MI(I), LocalOffset(Offset), FrameIdx(Idx) {} in FrameRef()
62 int getFrameIndex() const { return FrameIdx; } in getFrameIndex()
70 void AdjustStackOffset(MachineFrameInfo *MFI, int FrameIdx, int64_t &Offset,
135 int FrameIdx, int64_t &Offset, in AdjustStackOffset() argument
140 Offset += MFI->getObjectSize(FrameIdx); in AdjustStackOffset()
142 unsigned Align = MFI->getObjectAlignment(FrameIdx); in AdjustStackOffset()
152 DEBUG(dbgs() << "Allocate FI(" << FrameIdx << ") to local offset " in AdjustStackOffset()
155 LocalOffsets[FrameIdx] = LocalOffset; in AdjustStackOffset()
157 MFI->mapLocalFrameObject(FrameIdx, LocalOffset); in AdjustStackOffset()
[all …]
HDPrologEpilogInserter.cpp336 int FrameIdx; in assignCalleeSavedSpillSlots() local
337 if (RegInfo->hasReservedSpillSlot(F, Reg, FrameIdx)) { in assignCalleeSavedSpillSlots()
338 I->setFrameIdx(FrameIdx); in assignCalleeSavedSpillSlots()
358 FrameIdx = MFI->CreateStackObject(RC->getSize(), Align, true); in assignCalleeSavedSpillSlots()
359 if ((unsigned)FrameIdx < MinCSFrameIndex) MinCSFrameIndex = FrameIdx; in assignCalleeSavedSpillSlots()
360 if ((unsigned)FrameIdx > MaxCSFrameIndex) MaxCSFrameIndex = FrameIdx; in assignCalleeSavedSpillSlots()
363 FrameIdx = in assignCalleeSavedSpillSlots()
367 I->setFrameIdx(FrameIdx); in assignCalleeSavedSpillSlots()
501 AdjustStackOffset(MachineFrameInfo *MFI, int FrameIdx, in AdjustStackOffset() argument
506 Offset += MFI->getObjectSize(FrameIdx); in AdjustStackOffset()
[all …]
HDTargetInstrInfo.cpp591 int FrameIdx = 0; in isReallyTriviallyReMaterializableGeneric() local
592 if (isLoadFromStackSlot(MI, FrameIdx) && in isReallyTriviallyReMaterializableGeneric()
593 MF.getFrameInfo()->isImmutableObjectIndex(FrameIdx)) in isReallyTriviallyReMaterializableGeneric()
HDRegAllocFast.cpp208 int FrameIdx = MF->getFrameInfo()->CreateSpillStackObject(RC->getSize(), in getStackSpaceFor() local
212 StackSlotForVirtReg[VirtReg] = FrameIdx; in getStackSpaceFor()
213 return FrameIdx; in getStackSpaceFor()
/NextBSD/contrib/llvm/lib/Target/MSP430/
HDMSP430InstrInfo.cpp39 unsigned SrcReg, bool isKill, int FrameIdx, in storeRegToStackSlot() argument
48 MF.getMachineMemOperand(MachinePointerInfo::getFixedStack(FrameIdx), in storeRegToStackSlot()
50 MFI.getObjectSize(FrameIdx), in storeRegToStackSlot()
51 MFI.getObjectAlignment(FrameIdx)); in storeRegToStackSlot()
55 .addFrameIndex(FrameIdx).addImm(0) in storeRegToStackSlot()
59 .addFrameIndex(FrameIdx).addImm(0) in storeRegToStackSlot()
67 unsigned DestReg, int FrameIdx, in loadRegFromStackSlot() argument
76 MF.getMachineMemOperand(MachinePointerInfo::getFixedStack(FrameIdx), in loadRegFromStackSlot()
78 MFI.getObjectSize(FrameIdx), in loadRegFromStackSlot()
79 MFI.getObjectAlignment(FrameIdx)); in loadRegFromStackSlot()
[all …]
HDMSP430FrameLowering.cpp294 int FrameIdx = MF.getFrameInfo()->CreateFixedObject(2, -4, true); in processFunctionBeforeFrameFinalized() local
295 (void)FrameIdx; in processFunctionBeforeFrameFinalized()
296 assert(FrameIdx == MF.getFrameInfo()->getObjectIndexBegin() && in processFunctionBeforeFrameFinalized()
HDMSP430InstrInfo.h68 unsigned DestReg, int FrameIdx,
/NextBSD/contrib/llvm/lib/Target/NVPTX/
HDNVPTXPrologEpilogPass.cpp84 AdjustStackOffset(MachineFrameInfo *MFI, int FrameIdx, in AdjustStackOffset() argument
89 Offset += MFI->getObjectSize(FrameIdx); in AdjustStackOffset()
91 unsigned Align = MFI->getObjectAlignment(FrameIdx); in AdjustStackOffset()
101 DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") at SP[" << -Offset << "]\n"); in AdjustStackOffset()
102 MFI->setObjectOffset(FrameIdx, -Offset); // Set the computed offset in AdjustStackOffset()
104 DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") at SP[" << Offset << "]\n"); in AdjustStackOffset()
105 MFI->setObjectOffset(FrameIdx, Offset); in AdjustStackOffset()
106 Offset += MFI->getObjectSize(FrameIdx); in AdjustStackOffset()
/NextBSD/contrib/llvm/lib/Target/PowerPC/
HDPPCInstrInfo.cpp873 int FrameIdx, in StoreRegToStackSlot() argument
886 FrameIdx)); in StoreRegToStackSlot()
892 FrameIdx)); in StoreRegToStackSlot()
897 FrameIdx)); in StoreRegToStackSlot()
902 FrameIdx)); in StoreRegToStackSlot()
907 FrameIdx)); in StoreRegToStackSlot()
913 FrameIdx)); in StoreRegToStackSlot()
919 FrameIdx)); in StoreRegToStackSlot()
925 FrameIdx)); in StoreRegToStackSlot()
931 FrameIdx)); in StoreRegToStackSlot()
[all …]
HDPPCRegisterInfo.h118 int &FrameIdx) const override;
126 unsigned BaseReg, int FrameIdx,
HDPPCInstrInfo.h72 unsigned SrcReg, bool isKill, int FrameIdx,
77 unsigned DestReg, int FrameIdx,
HDPPCRegisterInfo.cpp676 unsigned Reg, int &FrameIdx) const { in hasReservedSpillSlot()
685 FrameIdx = 0; in hasReservedSpillSlot()
688 FrameIdx = FI->getCRSpillFrameIndex(); in hasReservedSpillSlot()
970 unsigned BaseReg, int FrameIdx, in materializeFrameBaseRegister() argument
987 .addFrameIndex(FrameIdx).addImm(Offset); in materializeFrameBaseRegister()
HDPPCISelLowering.cpp1685 static void fixupFuncForFI(SelectionDAG &DAG, int FrameIdx, EVT VT) { in fixupFuncForFI() argument
1703 if (FrameIdx < 0) in fixupFuncForFI()
1709 unsigned Align = MFI->getObjectAlignment(FrameIdx); in fixupFuncForFI()
3879 int FrameIdx; member
3881 TailCallArgumentInfo() : FrameIdx(0) {} in TailCallArgumentInfo()
3896 int FI = TailCallArgs[i].FrameIdx; in StoreTailCallArgumentsToStackSlot()
3958 Info.FrameIdx = FI; in CalculateTailCallArgDest()
6421 int FrameIdx = FrameInfo->CreateStackObject(4, 4, false); in LowerINT_TO_FP() local
6422 SDValue FIdx = DAG.getFrameIndex(FrameIdx, PtrVT); in LowerINT_TO_FP()
6426 MachinePointerInfo::getFixedStack(FrameIdx), in LowerINT_TO_FP()
[all …]
HDPPCFrameLowering.cpp1221 int FrameIdx = MFI->CreateFixedObject((uint64_t)4, (int64_t)-4, true); in determineCalleeSaves() local
1222 FI->setCRSpillFrameIndex(FrameIdx); in determineCalleeSaves()
/NextBSD/contrib/llvm/include/llvm/CodeGen/
HDMachineFrameInfo.h39 int FrameIdx; variable
43 : Reg(R), FrameIdx(FI) {} in Reg()
47 int getFrameIdx() const { return FrameIdx; } in getFrameIdx()
48 void setFrameIdx(int FI) { FrameIdx = FI; } in setFrameIdx()
/NextBSD/contrib/llvm/lib/Target/AArch64/
HDAArch64RegisterInfo.h78 int FrameIdx,
HDAArch64RegisterInfo.cpp329 int FrameIdx, in materializeFrameBaseRegister() argument
344 .addFrameIndex(FrameIdx) in materializeFrameBaseRegister()
/NextBSD/contrib/llvm/lib/Target/X86/
HDX86RegisterInfo.h116 int &FrameIdx) const override;
/NextBSD/contrib/llvm/include/llvm/Target/
HDTargetRegisterInfo.h774 int &FrameIdx) const { in hasReservedSpillSlot() argument
809 unsigned BaseReg, int FrameIdx, in materializeFrameBaseRegister() argument
/NextBSD/contrib/llvm/lib/Target/ARM/
HDARMBaseRegisterInfo.h142 unsigned BaseReg, int FrameIdx,
HDARMBaseRegisterInfo.cpp569 unsigned BaseReg, int FrameIdx, in materializeFrameBaseRegister() argument
587 .addFrameIndex(FrameIdx).addImm(Offset); in materializeFrameBaseRegister()
/NextBSD/contrib/llvm/lib/Target/SystemZ/
HDSystemZInstrInfo.h180 unsigned DestReg, int FrameIdx,
HDSystemZInstrInfo.cpp597 int FrameIdx, in storeRegToStackSlot() argument
607 .addReg(SrcReg, getKillRegState(isKill)), FrameIdx); in storeRegToStackSlot()
613 unsigned DestReg, int FrameIdx, in loadRegFromStackSlot() argument
623 FrameIdx); in loadRegFromStackSlot()
/NextBSD/contrib/llvm/lib/Target/Sparc/
HDSparcISelLowering.cpp367 int FrameIdx = MF.getFrameInfo()->CreateFixedObject(4, 64, true); in LowerFormalArguments_32() local
368 SDValue FIPtr = DAG.getFrameIndex(FrameIdx, MVT::i32); in LowerFormalArguments_32()
388 int FrameIdx = MF.getFrameInfo()-> in LowerFormalArguments_32() local
390 SDValue FIPtr = DAG.getFrameIndex(FrameIdx, MVT::i32); in LowerFormalArguments_32()
522 int FrameIdx = MF.getFrameInfo()->CreateFixedObject(4, ArgOffset, in LowerFormalArguments_32() local
524 SDValue FIPtr = DAG.getFrameIndex(FrameIdx, MVT::i32); in LowerFormalArguments_32()
/NextBSD/contrib/llvm/lib/CodeGen/SelectionDAG/
HDSelectionDAG.cpp1868 int FrameIdx = FrameInfo->CreateStackObject(ByteSize, StackAlign, false); in CreateStackTemporary() local
1869 return getFrameIndex(FrameIdx, TLI->getPointerTy(getDataLayout())); in CreateStackTemporary()
1884 int FrameIdx = FrameInfo->CreateStackObject(Bytes, Align, false); in CreateStackTemporary() local
1885 return getFrameIndex(FrameIdx, TLI->getPointerTy(getDataLayout())); in CreateStackTemporary()
6919 int FrameIdx = 1 << 31; in InferPtrAlignment() local
6922 FrameIdx = FI->getIndex(); in InferPtrAlignment()
6926 FrameIdx = cast<FrameIndexSDNode>(Ptr.getOperand(0))->getIndex(); in InferPtrAlignment()
6930 if (FrameIdx != (1 << 31)) { in InferPtrAlignment()
6932 unsigned FIInfoAlign = MinAlign(MFI.getObjectAlignment(FrameIdx), in InferPtrAlignment()

12