Home
last modified time | relevance | path

Searched refs:SPAdj (Results 1 – 25 of 79) sorted by relevance

1234

/external/llvm/include/llvm/Target/
DTargetFrameLowering.h76 int alignSPAdjust(int SPAdj) const { in alignSPAdjust() argument
77 if (SPAdj < 0) { in alignSPAdjust()
78 SPAdj = -alignTo(-SPAdj, StackAlignment); in alignSPAdjust()
80 SPAdj = alignTo(SPAdj, StackAlignment); in alignSPAdjust()
82 return SPAdj; in alignSPAdjust()
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCRegisterInfo.h54 int SPAdj, RegScavenger *RS) const;
56 int SPAdj, RegScavenger *RS) const;
58 int SPAdj, RegScavenger *RS = NULL) const;
DPPCRegisterInfo.cpp322 const TargetRegisterClass *RC, int SPAdj) { in findScratchRegister() argument
328 Reg = RS->scavengeRegister(RC, II, SPAdj); in findScratchRegister()
340 int SPAdj, RegScavenger *RS) const { in lowerDynamicAlloc() argument
377 Reg = findScratchRegister(II, RS, RC, SPAdj); in lowerDynamicAlloc()
455 unsigned FrameIndex, int SPAdj, in lowerCRSpilling() argument
466 unsigned Reg = findScratchRegister(II, RS, RC, SPAdj); in lowerCRSpilling()
495 int SPAdj, RegScavenger *RS) const { in eliminateFrameIndex() argument
496 assert(SPAdj == 0 && "Unexpected"); in eliminateFrameIndex()
534 lowerDynamicAlloc(II, SPAdj, RS); in eliminateFrameIndex()
541 lowerCRSpilling(II, FrameIndex, SPAdj, RS); in eliminateFrameIndex()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/Blackfin/
DBlackfinRegisterInfo.cpp181 int SPAdj) { in findScratchRegister() argument
185 Reg = RS->scavengeRegister(RC, II, SPAdj); in findScratchRegister()
191 int SPAdj, RegScavenger *RS) const { in eliminateFrameIndex() argument
209 assert(SPAdj==0 && "Unexpected SP adjust in function with frame pointer"); in eliminateFrameIndex()
212 Offset += MF.getFrameInfo()->getStackSize() + SPAdj; in eliminateFrameIndex()
267 unsigned ScratchReg = findScratchRegister(II, RS, &BF::PRegClass, SPAdj); in eliminateFrameIndex()
282 unsigned ScratchReg = findScratchRegister(II, RS, &BF::DRegClass, SPAdj); in eliminateFrameIndex()
304 unsigned ScratchReg = findScratchRegister(II, RS, &BF::DRegClass, SPAdj); in eliminateFrameIndex()
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DRegisterScavenging.h119 MachineBasicBlock::iterator I, int SPAdj);
120 unsigned scavengeRegister(const TargetRegisterClass *RegClass, int SPAdj) { in scavengeRegister() argument
121 return scavengeRegister(RegClass, MBBI, SPAdj); in scavengeRegister()
/external/llvm/include/llvm/CodeGen/
DRegisterScavenging.h144 MachineBasicBlock::iterator I, int SPAdj);
145 unsigned scavengeRegister(const TargetRegisterClass *RegClass, int SPAdj) { in scavengeRegister() argument
146 return scavengeRegister(RegClass, MBBI, SPAdj); in scavengeRegister()
/external/swiftshader/third_party/LLVM/lib/Target/PTX/
DPTXRegisterInfo.cpp35 int SPAdj, in eliminateFrameIndex() argument
57 DEBUG(dbgs() << "- SPAdj: " << SPAdj << "\n"); in eliminateFrameIndex()
/external/llvm/lib/CodeGen/
DPrologEpilogInserter.cpp126 int &SPAdj);
1017 int SPAdj = 0; in replaceFrameIndices() local
1023 SPAdj = SPState[StackPred->getNumber()]; in replaceFrameIndices()
1026 replaceFrameIndices(BB, Fn, SPAdj); in replaceFrameIndices()
1027 SPState[BB->getNumber()] = SPAdj; in replaceFrameIndices()
1035 int SPAdj = 0; in replaceFrameIndices() local
1036 replaceFrameIndices(&BB, Fn, SPAdj); in replaceFrameIndices()
1041 int &SPAdj) { in replaceFrameIndices() argument
1059 SPAdj += TII.getSPAdjust(*I); in replaceFrameIndices()
1118 TRI.eliminateFrameIndex(MI, SPAdj, i, in replaceFrameIndices()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/CellSPU/
DSPURegisterInfo.h74 void eliminateFrameIndex(MachineBasicBlock::iterator II, int SPAdj,
96 int SPAdj) const;
DSPURegisterInfo.cpp254 SPURegisterInfo::eliminateFrameIndex(MachineBasicBlock::iterator II, int SPAdj, in eliminateFrameIndex() argument
299 unsigned tmpReg = findScratchRegister(II, RS, &SPU::R32CRegClass, SPAdj); in eliminateFrameIndex()
348 int SPAdj) const in findScratchRegister()
353 Reg = RS->scavengeRegister(RC, II, SPAdj); in findScratchRegister()
/external/llvm/lib/Target/NVPTX/
DNVPTXRegisterInfo.cpp92 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
94 assert(SPAdj == 0 && "Unexpected"); in eliminateFrameIndex()
/external/llvm/lib/Target/BPF/
DBPFRegisterInfo.cpp45 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
47 assert(SPAdj == 0 && "Unexpected"); in eliminateFrameIndex()
DBPFRegisterInfo.h32 void eliminateFrameIndex(MachineBasicBlock::iterator MI, int SPAdj,
/external/swiftshader/third_party/LLVM/lib/Target/SystemZ/
DSystemZRegisterInfo.cpp96 int SPAdj, RegScavenger *RS) const { in eliminateFrameIndex() argument
97 assert(SPAdj == 0 && "Unxpected"); in eliminateFrameIndex()
/external/llvm/lib/Target/Lanai/
DLanaiRegisterInfo.cpp136 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
138 assert(SPAdj == 0 && "Unexpected"); in eliminateFrameIndex()
174 Reg = RS->scavengeRegister(&Lanai::GPRRegClass, II, SPAdj); in eliminateFrameIndex()
/external/swiftshader/third_party/LLVM/lib/Target/Sparc/
DSparcRegisterInfo.cpp74 int SPAdj, RegScavenger *RS) const { in eliminateFrameIndex() argument
75 assert(SPAdj == 0 && "Unexpected"); in eliminateFrameIndex()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DPrologEpilogInserter.cpp734 int SPAdj = 0; // SP offset due to call frame setup / destroy. in replaceFrameIndices() local
753 SPAdj += Size; in replaceFrameIndices()
784 TRI.eliminateFrameIndex(MI, SPAdj, in replaceFrameIndices()
808 assert((SPAdjCount || SPAdj == 0) && in replaceFrameIndices()
824 int SPAdj = 0; in scavengeFrameVirtualRegs() local
850 ScratchReg = RS->scavengeRegister(RC, I, SPAdj); in scavengeFrameVirtualRegs()
DRegisterScavenging.cpp332 int SPAdj) { in scavengeRegister() argument
378 TRI->eliminateFrameIndex(II, SPAdj, this); in scavengeRegister()
383 TRI->eliminateFrameIndex(II, SPAdj, this); in scavengeRegister()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyRegisterInfo.cpp55 MachineBasicBlock::iterator II, int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
57 assert(SPAdj == 0); in eliminateFrameIndex()
/external/llvm/lib/Target/SystemZ/
DSystemZRegisterInfo.cpp67 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
69 assert(SPAdj == 0 && "Outgoing arguments should be part of the frame"); in eliminateFrameIndex()
/external/swiftshader/third_party/LLVM/lib/Target/XCore/
DXCoreRegisterInfo.cpp167 int SPAdj, RegScavenger *RS) const { in eliminateFrameIndex() argument
168 assert(SPAdj == 0 && "Unexpected"); in eliminateFrameIndex()
235 SPAdj); in eliminateFrameIndex()
/external/swiftshader/third_party/LLVM/lib/Target/Alpha/
DAlphaRegisterInfo.cpp130 int SPAdj, RegScavenger *RS) const { in eliminateFrameIndex() argument
131 assert(SPAdj == 0 && "Unexpected"); in eliminateFrameIndex()
/external/llvm/lib/Target/MSP430/
DMSP430RegisterInfo.cpp105 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
107 assert(SPAdj == 0 && "Unexpected"); in eliminateFrameIndex()
DMSP430RegisterInfo.h37 int SPAdj, unsigned FIOperandNum,
/external/llvm/lib/Target/AMDGPU/
DR600RegisterInfo.h47 void eliminateFrameIndex(MachineBasicBlock::iterator MI, int SPAdj,

1234