/external/llvm/lib/CodeGen/ |
D | PrologEpilogInserter.cpp | 69 const TargetFrameLowering *TFI = Fn.getTarget().getFrameLowering(); in runOnMachineFunction() local 83 TFI->processFunctionBeforeCalleeSavedScan(Fn, RS); in runOnMachineFunction() 104 TFI->processFunctionBeforeFrameFinalized(Fn, RS); in runOnMachineFunction() 142 const TargetFrameLowering *TFI = Fn.getTarget().getFrameLowering(); in calculateCallsInformation() local 186 if (TFI->canSimplifyCallFramePseudos(Fn)) in calculateCallsInformation() 187 TFI->eliminateCallFramePseudoInstr(Fn, *I->getParent(), I); in calculateCallsInformation() 196 const TargetFrameLowering *TFI = F.getTarget().getFrameLowering(); in calculateCalleeSavedRegisters() local 229 TFI->getCalleeSavedSpillSlots(NumFixedSpillSlots); in calculateCalleeSavedRegisters() 254 unsigned StackAlign = TFI->getStackAlignment(); in calculateCalleeSavedRegisters() 289 const TargetFrameLowering *TFI = Fn.getTarget().getFrameLowering(); in insertCSRSpillsAndRestores() local [all …]
|
D | MachineFunction.cpp | 462 if (!TFI.isStackRealignable() || !RealignOption) in ensureMaxAlignment() 463 assert(Align <= TFI.getStackAlignment() && in ensureMaxAlignment() 485 Alignment = clampStackAlignment(!TFI.isStackRealignable() || !RealignOption, in CreateStackObject() 486 Alignment, TFI.getStackAlignment()); in CreateStackObject() 501 Alignment = clampStackAlignment(!TFI.isStackRealignable() || !RealignOption, in CreateSpillStackObject() 502 Alignment, TFI.getStackAlignment()); in CreateSpillStackObject() 516 Alignment = clampStackAlignment(!TFI.isStackRealignable() || !RealignOption, in CreateVariableSizedObject() 517 Alignment, TFI.getStackAlignment()); in CreateVariableSizedObject() 535 unsigned StackAlign = TFI.getStackAlignment(); in CreateFixedObject() 537 Align = clampStackAlignment(!TFI.isStackRealignable() || !RealignOption, in CreateFixedObject() [all …]
|
D | LocalStackSlotAllocation.cpp | 151 const TargetFrameLowering &TFI = *Fn.getTarget().getFrameLowering(); in calculateFrameObjectOffsets() local 153 TFI.getStackGrowthDirection() == TargetFrameLowering::StackGrowsDown; in calculateFrameObjectOffsets() 226 const TargetFrameLowering &TFI = *Fn.getTarget().getFrameLowering(); in insertFrameReferenceRegisters() local 228 TFI.getStackGrowthDirection() == TargetFrameLowering::StackGrowsDown; in insertFrameReferenceRegisters()
|
D | GCStrategy.cpp | 388 const TargetFrameLowering *TFI = TM->getFrameLowering(); in FindStackOffsets() local 389 assert(TFI && "TargetRegisterInfo not available!"); in FindStackOffsets() 397 RI->StackOffset = TFI->getFrameIndexOffset(MF, RI->Num); in FindStackOffsets()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64RegisterInfo.cpp | 64 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getReservedRegs() local 72 if (TFI->hasFP(MF)) { in getReservedRegs() 90 const AArch64FrameLowering *TFI = in eliminateFrameIndex() local 112 Offset = TFI->resolveFrameIndexReference(MF, FrameIndex, FrameReg, SPAdj, in eliminateFrameIndex() 157 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getFrameRegister() local 159 if (TFI->hasFP(MF)) in getFrameRegister() 167 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in useFPForScavengingIndex() local 169 = static_cast<const AArch64FrameLowering*>(TFI); in useFPForScavengingIndex()
|
D | AArch64ISelDAGToDAG.cpp | 334 SDValue TFI = CurDAG->getTargetFrameIndex(FI, PtrTy); in Select() local 336 TFI, CurDAG->getTargetConstant(0, PtrTy)); in Select()
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430RegisterInfo.cpp | 43 const TargetFrameLowering *TFI = MF->getTarget().getFrameLowering(); in getCalleeSavedRegs() local 68 if (TFI->hasFP(*MF)) in getCalleeSavedRegs() 79 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getReservedRegs() local 92 if (TFI->hasFP(MF)) in getReservedRegs() 113 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in eliminateFrameIndex() local 117 unsigned BasePtr = (TFI->hasFP(MF) ? MSP430::FPW : MSP430::SPW); in eliminateFrameIndex() 123 if (!TFI->hasFP(MF)) in eliminateFrameIndex() 159 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getFrameRegister() local 161 return TFI->hasFP(MF) ? MSP430::FPW : MSP430::SPW; in getFrameRegister()
|
D | MSP430ISelDAGToDAG.cpp | 406 SDValue TFI = CurDAG->getTargetFrameIndex(FI, MVT::i16); in Select() local 409 TFI, CurDAG->getTargetConstant(0, MVT::i16)); in Select() 411 TFI, CurDAG->getTargetConstant(0, MVT::i16)); in Select()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreRegisterInfo.cpp | 74 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getReservedRegs() local 80 if (TFI->hasFP(MF)) { in getReservedRegs() 88 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in requiresRegisterScavenging() local 91 return TFI->hasFP(MF); in requiresRegisterScavenging() 115 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in eliminateFrameIndex() local 150 bool FP = TFI->hasFP(MF); in eliminateFrameIndex() 256 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getFrameRegister() local 258 return TFI->hasFP(MF) ? XCore::R10 : XCore::SP; in getFrameRegister()
|
/external/llvm/lib/Target/ARM/ |
D | ARMBaseRegisterInfo.cpp | 84 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getReservedRegs() local 91 if (TFI->hasFP(MF)) in getReservedRegs() 149 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getRegPressureLimit() local 155 return TFI->hasFP(MF) ? 4 : 5; in getRegPressureLimit() 157 unsigned FP = TFI->hasFP(MF) ? 1 : 0; in getRegPressureLimit() 271 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in hasBasePointer() local 276 if (needsStackRealignment(MF) && !TFI->hasReservedCallFrame(MF)) in hasBasePointer() 347 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getFrameRegister() local 349 if (TFI->hasFP(MF)) in getFrameRegister() 493 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in needsFrameBaseReg() local [all …]
|
D | ARMFrameLowering.cpp | 1046 const TargetFrameLowering *TFI) { in estimateRSStackSizeLimit() argument 1075 if (TFI->hasFP(MF) && AFI->hasStackFrame()) in estimateRSStackSizeLimit()
|
D | ARMISelDAGToDAG.cpp | 2624 SDValue TFI = CurDAG->getTargetFrameIndex(FI, TLI.getPointerTy()); in Select() local 2626 SDValue Ops[] = { TFI, CurDAG->getTargetConstant(0, MVT::i32), in Select() 2632 SDValue Ops[] = { TFI, CurDAG->getTargetConstant(0, MVT::i32), in Select()
|
/external/llvm/lib/Target/Mips/ |
D | MipsRegisterInfo.cpp | 60 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getRegPressureLimit() local 61 return 28 - TFI->hasFP(MF); in getRegPressureLimit() 200 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getFrameRegister() local 204 return TFI->hasFP(MF) ? Mips::S0 : Mips::SP; in getFrameRegister() 206 return TFI->hasFP(MF) ? (IsN64 ? Mips::FP_64 : Mips::FP) : in getFrameRegister()
|
D | Mips16RegisterInfo.cpp | 104 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in eliminateFI() local 105 if (TFI->hasFP(MF)) { in eliminateFI()
|
/external/llvm/lib/Target/X86/ |
D | X86RegisterInfo.cpp | 219 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getRegPressureLimit() local 221 unsigned FPDiff = TFI->hasFP(MF) ? 1 : 0; in getRegPressureLimit() 306 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getReservedRegs() local 319 if (TFI->hasFP(MF)) { in getReservedRegs() 445 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in hasReservedSpillSlot() local 447 if (Reg == FramePtr && TFI->hasFP(MF)) { in hasReservedSpillSlot() 462 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in eliminateFrameIndex() local 475 BasePtr = (TFI->hasFP(MF) ? FramePtr : StackPtr); in eliminateFrameIndex() 486 FIOffset = MFI->getObjectOffset(FrameIndex) - TFI->getOffsetOfLocalArea(); in eliminateFrameIndex() 488 FIOffset = TFI->getFrameIndexOffset(MF, FrameIndex); in eliminateFrameIndex() [all …]
|
D | X86FrameLowering.cpp | 1360 const TargetFrameLowering &TFI = *MF.getTarget().getFrameLowering(); in processFunctionBeforeCalleeSavedScan() local 1365 TFI.getOffsetOfLocalArea() + in processFunctionBeforeCalleeSavedScan()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCRegisterInfo.cpp | 146 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getRegPressureLimit() local 154 unsigned FP = TFI->hasFP(MF) ? 1 : 0; in getRegPressureLimit() 391 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in eliminateFrameIndex() local 428 MI.getOperand(FIOperandNum).ChangeToRegister(TFI->hasFP(MF) ? in eliminateFrameIndex() 533 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getFrameRegister() local 536 return TFI->hasFP(MF) ? PPC::R31 : PPC::R1; in getFrameRegister() 538 return TFI->hasFP(MF) ? PPC::X31 : PPC::X1; in getFrameRegister()
|
D | PPCISelDAGToDAG.cpp | 992 SDValue TFI = CurDAG->getTargetFrameIndex(FI, N->getValueType(0)); in Select() local 995 return CurDAG->SelectNodeTo(N, Opc, N->getValueType(0), TFI, in Select() 997 return CurDAG->getMachineNode(Opc, dl, N->getValueType(0), TFI, in Select()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonRegisterInfo.cpp | 136 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in eliminateFrameIndex() local 137 if (!TFI->hasFP(MF)) { in eliminateFrameIndex() 268 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getFrameRegister() local 269 if (TFI->hasFP(MF)) { in getFrameRegister()
|
/external/llvm/lib/Target/MBlaze/ |
D | MBlazeRegisterInfo.cpp | 134 const TargetFrameLowering *TFI = MF.getTarget().getFrameLowering(); in getFrameRegister() local 136 return TFI->hasFP(MF) ? MBlaze::R19 : MBlaze::R1; in getFrameRegister()
|
D | MBlazeISelDAGToDAG.cpp | 212 SDValue TFI = CurDAG->getTargetFrameIndex(FI, VT); in Select() local 215 return CurDAG->SelectNodeTo(Node, Opc, VT, TFI, imm); in Select() 216 return CurDAG->getMachineNode(Opc, dl, VT, TFI, imm); in Select()
|
D | MBlazeAsmPrinter.cpp | 126 const TargetFrameLowering *TFI = TM.getFrameLowering(); in printSavedRegsBitmask() local 143 if (TFI->hasFP(*MF)) in printSavedRegsBitmask()
|
D | MBlazeISelLowering.cpp | 708 const TargetFrameLowering &TFI = *MF.getTarget().getFrameLowering(); in LowerCall() local 778 if (needsRegArgSlots && TFI.hasReservedCallFrame(MF)) in LowerCall()
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineFrameInfo.h | 206 const TargetFrameLowering &TFI; variable 228 : TFI(tfi), RealignOption(RealignOpt) { in MachineFrameInfo()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfCompileUnit.cpp | 1535 const TargetFrameLowering *TFI = Asm->TM.getFrameLowering(); in constructVariableDIE() local 1537 TFI->getFrameIndexReference(*Asm->MF, in constructVariableDIE() 1578 const TargetFrameLowering *TFI = Asm->TM.getFrameLowering(); in constructVariableDIE() local 1580 TFI->getFrameIndexReference(*Asm->MF, FI, FrameReg); in constructVariableDIE()
|