/external/llvm/lib/CodeGen/ |
D | LocalStackSlotAllocation.cpp | 61 void AdjustStackOffset(MachineFrameInfo *MFI, int FrameIdx, int64_t &Offset, 115 int FrameIdx, int64_t &Offset, in AdjustStackOffset() argument 120 Offset += MFI->getObjectSize(FrameIdx); in AdjustStackOffset() 122 unsigned Align = MFI->getObjectAlignment(FrameIdx); in AdjustStackOffset() 132 DEBUG(dbgs() << "Allocate FI(" << FrameIdx << ") to local offset " in AdjustStackOffset() 135 LocalOffsets[FrameIdx] = LocalOffset; in AdjustStackOffset() 137 MFI->mapLocalFrameObject(FrameIdx, LocalOffset); in AdjustStackOffset() 140 Offset += MFI->getObjectSize(FrameIdx); in AdjustStackOffset() 283 int FrameIdx = MI->getOperand(idx).getIndex(); in insertFrameReferenceRegisters() local 285 assert(MFI->isObjectPreAllocated(FrameIdx) && in insertFrameReferenceRegisters() [all …]
|
D | PrologEpilogInserter.cpp | 238 int FrameIdx; in calculateCalleeSavedRegisters() local 239 if (RegInfo->hasReservedSpillSlot(F, Reg, FrameIdx)) { in calculateCalleeSavedRegisters() 240 I->setFrameIdx(FrameIdx); in calculateCalleeSavedRegisters() 260 FrameIdx = MFI->CreateStackObject(RC->getSize(), Align, true); in calculateCalleeSavedRegisters() 261 if ((unsigned)FrameIdx < MinCSFrameIndex) MinCSFrameIndex = FrameIdx; in calculateCalleeSavedRegisters() 262 if ((unsigned)FrameIdx > MaxCSFrameIndex) MaxCSFrameIndex = FrameIdx; in calculateCalleeSavedRegisters() 265 FrameIdx = MFI->CreateFixedObject(RC->getSize(), FixedSlot->Offset, true); in calculateCalleeSavedRegisters() 268 I->setFrameIdx(FrameIdx); in calculateCalleeSavedRegisters() 450 AdjustStackOffset(MachineFrameInfo *MFI, int FrameIdx, in AdjustStackOffset() argument 455 Offset += MFI->getObjectSize(FrameIdx); in AdjustStackOffset() [all …]
|
D | TargetInstrInfo.cpp | 457 int FrameIdx = 0; in isReallyTriviallyReMaterializableGeneric() local 458 if (TII.isLoadFromStackSlot(MI, FrameIdx) && in isReallyTriviallyReMaterializableGeneric() 459 MF.getFrameInfo()->isImmutableObjectIndex(FrameIdx)) in isReallyTriviallyReMaterializableGeneric()
|
D | RegAllocFast.cpp | 208 int FrameIdx = MF->getFrameInfo()->CreateSpillStackObject(RC->getSize(), in getStackSpaceFor() local 212 StackSlotForVirtReg[VirtReg] = FrameIdx; in getStackSpaceFor() 213 return FrameIdx; in getStackSpaceFor()
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430InstrInfo.cpp | 36 unsigned SrcReg, bool isKill, int FrameIdx, in storeRegToStackSlot() argument 45 MF.getMachineMemOperand(MachinePointerInfo::getFixedStack(FrameIdx), in storeRegToStackSlot() 47 MFI.getObjectSize(FrameIdx), in storeRegToStackSlot() 48 MFI.getObjectAlignment(FrameIdx)); in storeRegToStackSlot() 52 .addFrameIndex(FrameIdx).addImm(0) in storeRegToStackSlot() 56 .addFrameIndex(FrameIdx).addImm(0) in storeRegToStackSlot() 64 unsigned DestReg, int FrameIdx, in loadRegFromStackSlot() argument 73 MF.getMachineMemOperand(MachinePointerInfo::getFixedStack(FrameIdx), in loadRegFromStackSlot() 75 MFI.getObjectSize(FrameIdx), in loadRegFromStackSlot() 76 MFI.getObjectAlignment(FrameIdx)); in loadRegFromStackSlot() [all …]
|
D | MSP430FrameLowering.cpp | 292 int FrameIdx = MF.getFrameInfo()->CreateFixedObject(2, -4, true); in processFunctionBeforeFrameFinalized() local 293 (void)FrameIdx; in processFunctionBeforeFrameFinalized() 294 assert(FrameIdx == MF.getFrameInfo()->getObjectIndexBegin() && in processFunctionBeforeFrameFinalized()
|
D | MSP430InstrInfo.h | 67 unsigned DestReg, int FrameIdx,
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCInstrInfo.cpp | 440 int FrameIdx, in StoreRegToStackSlot() argument 450 FrameIdx)); in StoreRegToStackSlot() 459 FrameIdx)); in StoreRegToStackSlot() 466 FrameIdx)); in StoreRegToStackSlot() 475 FrameIdx)); in StoreRegToStackSlot() 481 FrameIdx)); in StoreRegToStackSlot() 486 FrameIdx)); in StoreRegToStackSlot() 491 FrameIdx)); in StoreRegToStackSlot() 524 return StoreRegToStackSlot(MF, Reg, isKill, FrameIdx, in StoreRegToStackSlot() 531 FrameIdx)); in StoreRegToStackSlot() [all …]
|
D | PPCInstrInfo.h | 72 unsigned SrcReg, bool isKill, int FrameIdx, 77 unsigned DestReg, int FrameIdx,
|
D | PPCRegisterInfo.h | 70 int &FrameIdx) const;
|
D | PPCRegisterInfo.cpp | 358 unsigned Reg, int &FrameIdx) const { in hasReservedSpillSlot() 367 FrameIdx = 0; in hasReservedSpillSlot() 370 FrameIdx = FI->getCRSpillFrameIndex(); in hasReservedSpillSlot()
|
D | PPCFrameLowering.cpp | 836 int FrameIdx = MFI->CreateFixedObject((uint64_t)4, (int64_t)-4, true); in processFunctionBeforeCalleeSavedScan() local 837 FI->setCRSpillFrameIndex(FrameIdx); in processFunctionBeforeCalleeSavedScan()
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineFrameInfo.h | 38 int FrameIdx; variable 42 : Reg(R), FrameIdx(FI) {} in Reg() 46 int getFrameIdx() const { return FrameIdx; } in getFrameIdx() 47 void setFrameIdx(int FI) { FrameIdx = FI; } in setFrameIdx()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64InstrInfo.cpp | 382 int FrameIdx, in storeRegToStackSlot() argument 388 unsigned Align = MFI.getObjectAlignment(FrameIdx); in storeRegToStackSlot() 391 = MF.getMachineMemOperand(MachinePointerInfo::getFixedStack(FrameIdx), in storeRegToStackSlot() 393 MFI.getObjectSize(FrameIdx), in storeRegToStackSlot() 419 .addFrameIndex(FrameIdx) in storeRegToStackSlot() 428 unsigned DestReg, int FrameIdx, in loadRegFromStackSlot() argument 434 unsigned Align = MFI.getObjectAlignment(FrameIdx); in loadRegFromStackSlot() 437 = MF.getMachineMemOperand(MachinePointerInfo::getFixedStack(FrameIdx), in loadRegFromStackSlot() 439 MFI.getObjectSize(FrameIdx), in loadRegFromStackSlot() 464 NewMI.addFrameIndex(FrameIdx) in loadRegFromStackSlot()
|
D | AArch64FrameLowering.cpp | 300 int FrameIdx = MBBI->getOperand(FrameOp).getIndex(); in emitEpilogue() local 301 if (FrameIdx < MinCSFI || FrameIdx > MaxCSFI) in emitEpilogue() 496 int FrameIdx = CSI[i].getFrameIdx(); in emitFrameMemOps() local 500 MF.getMachineMemOperand(MachinePointerInfo::getFixedStack(FrameIdx), in emitFrameMemOps() 503 MFI.getObjectAlignment(FrameIdx)); in emitFrameMemOps() 505 NewMI.addFrameIndex(FrameIdx) in emitFrameMemOps()
|
D | AArch64InstrInfo.h | 57 unsigned DestReg, int FrameIdx,
|
/external/llvm/lib/Target/XCore/ |
D | XCoreFrameLowering.cpp | 399 int FrameIdx; in processFunctionBeforeCalleeSavedScan() local 402 FrameIdx = MFI->CreateFixedObject(RC->getSize(), 0, true); in processFunctionBeforeCalleeSavedScan() 404 FrameIdx = MFI->CreateStackObject(RC->getSize(), RC->getAlignment(), in processFunctionBeforeCalleeSavedScan() 407 XFI->setUsesLR(FrameIdx); in processFunctionBeforeCalleeSavedScan() 408 XFI->setLRSpillSlot(FrameIdx); in processFunctionBeforeCalleeSavedScan()
|
/external/llvm/lib/Target/X86/ |
D | X86RegisterInfo.h | 118 int &FrameIdx) const;
|
D | X86RegisterInfo.cpp | 444 unsigned Reg, int &FrameIdx) const { in hasReservedSpillSlot() 448 FrameIdx = MF.getFrameInfo()->getObjectIndexBegin(); in hasReservedSpillSlot()
|
D | X86FrameLowering.cpp | 1363 int FrameIdx = MFI->CreateFixedObject(SlotSize, in processFunctionBeforeCalleeSavedScan() local 1368 assert(FrameIdx == MFI->getObjectIndexBegin() && in processFunctionBeforeCalleeSavedScan() 1370 (void)FrameIdx; in processFunctionBeforeCalleeSavedScan()
|
/external/llvm/include/llvm/Target/ |
D | TargetRegisterInfo.h | 681 int &FrameIdx) const { in hasReservedSpillSlot() argument 716 unsigned BaseReg, int FrameIdx, in materializeFrameBaseRegister() argument
|
/external/llvm/lib/Target/ARM/ |
D | ARMBaseRegisterInfo.h | 132 unsigned BaseReg, int FrameIdx,
|
D | ARMBaseRegisterInfo.cpp | 542 unsigned BaseReg, int FrameIdx, in materializeFrameBaseRegister() argument 559 .addFrameIndex(FrameIdx).addImm(Offset)); in materializeFrameBaseRegister()
|
/external/llvm/lib/Target/Sparc/ |
D | SparcISelLowering.cpp | 170 int FrameIdx = MF.getFrameInfo()->CreateFixedObject(4, 64, true); in LowerFormalArguments() local 171 SDValue FIPtr = DAG.getFrameIndex(FrameIdx, MVT::i32); in LowerFormalArguments() 191 int FrameIdx = MF.getFrameInfo()-> in LowerFormalArguments() local 193 SDValue FIPtr = DAG.getFrameIndex(FrameIdx, MVT::i32); in LowerFormalArguments() 324 int FrameIdx = MF.getFrameInfo()->CreateFixedObject(4, ArgOffset, in LowerFormalArguments() local 326 SDValue FIPtr = DAG.getFrameIndex(FrameIdx, MVT::i32); in LowerFormalArguments()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 1537 int FrameIdx = FrameInfo->CreateStackObject(ByteSize, StackAlign, false); in CreateStackTemporary() local 1538 return getFrameIndex(FrameIdx, TLI.getPointerTy()); in CreateStackTemporary() 1553 int FrameIdx = FrameInfo->CreateStackObject(Bytes, Align, false); in CreateStackTemporary() local 1554 return getFrameIndex(FrameIdx, TLI.getPointerTy()); in CreateStackTemporary() 6227 int FrameIdx = 1 << 31; in InferPtrAlignment() local 6230 FrameIdx = FI->getIndex(); in InferPtrAlignment() 6234 FrameIdx = cast<FrameIndexSDNode>(Ptr.getOperand(0))->getIndex(); in InferPtrAlignment() 6238 if (FrameIdx != (1 << 31)) { in InferPtrAlignment() 6240 unsigned FIInfoAlign = MinAlign(MFI.getObjectAlignment(FrameIdx), in InferPtrAlignment()
|