Home
last modified time | relevance | path

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

123456

/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-7.0/llvm/include/llvm/CodeGen/
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()
DRegisterScavenging.h162 MachineBasicBlock::iterator I, int SPAdj);
163 unsigned scavengeRegister(const TargetRegisterClass *RegClass, int SPAdj) { in scavengeRegister() argument
164 return scavengeRegister(RegClass, MBBI, SPAdj); in scavengeRegister()
175 bool RestoreAfter, int SPAdj);
220 ScavengedInfo &spill(unsigned Reg, const TargetRegisterClass &RC, int SPAdj,
/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-7.0/llvm/lib/Target/ARC/
DARCRegisterInfo.cpp42 int ObjSize, RegScavenger *RS, int SPAdj) { in ReplaceFrameIndex() argument
67 BaseReg = RS->scavengeRegister(&ARC::GPR32RegClass, II, SPAdj); in ReplaceFrameIndex()
163 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
165 assert(SPAdj == 0 && "Unexpected"); in eliminateFrameIndex()
220 ObjSize, RS, 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-7.0/llvm/lib/CodeGen/
DRegisterScavenging.cpp461 RegScavenger::spill(unsigned Reg, const TargetRegisterClass &RC, int SPAdj, in spill() argument
522 TRI->eliminateFrameIndex(II, SPAdj, FIOperandNum, this); in spill()
530 TRI->eliminateFrameIndex(II, SPAdj, FIOperandNum, this); in spill()
537 int SPAdj) { in scavengeRegister() argument
568 ScavengedInfo &Scavenged = spill(SReg, *RC, SPAdj, I, UseMI); in scavengeRegister()
579 bool RestoreAfter, int SPAdj) { in scavengeRegisterBackwards() argument
599 ScavengedInfo &Scavenged = spill(Reg, RC, SPAdj, SpillBefore, ReloadBefore); in scavengeRegisterBackwards()
658 int SPAdj = 0; in scavengeVReg() local
661 ReserveAfter, SPAdj); in scavengeVReg()
DPrologEpilogInserter.cpp126 int &SPAdj);
1012 int SPAdj = 0; in replaceFrameIndices() local
1018 SPAdj = SPState[StackPred->getNumber()]; in replaceFrameIndices()
1021 replaceFrameIndices(BB, MF, SPAdj); in replaceFrameIndices()
1022 SPState[BB->getNumber()] = SPAdj; in replaceFrameIndices()
1030 int SPAdj = 0; in replaceFrameIndices() local
1031 replaceFrameIndices(&BB, MF, SPAdj); in replaceFrameIndices()
1036 int &SPAdj) { in replaceFrameIndices() argument
1051 SPAdj += TII.getSPAdjust(*I); in replaceFrameIndices()
1111 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTXRegisterInfo.cpp114 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
116 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()
/external/swiftshader/third_party/llvm-7.0/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-7.0/llvm/lib/Target/BPF/
DBPFRegisterInfo.cpp58 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
60 assert(SPAdj == 0 && "Unexpected"); in eliminateFrameIndex()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/
DRISCVRegisterInfo.cpp69 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument
71 assert(SPAdj == 0 && "Unexpected non-zero SPAdj value"); in eliminateFrameIndex()
/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()

123456