/external/llvm/include/llvm/Target/ |
D | TargetFrameLowering.h | 76 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/ |
D | TargetFrameLowering.h | 76 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()
|
D | RegisterScavenging.h | 162 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/ |
D | PPCRegisterInfo.h | 54 int SPAdj, RegScavenger *RS) const; 56 int SPAdj, RegScavenger *RS) const; 58 int SPAdj, RegScavenger *RS = NULL) const;
|
D | PPCRegisterInfo.cpp | 322 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/ |
D | BlackfinRegisterInfo.cpp | 181 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/ |
D | ARCRegisterInfo.cpp | 42 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/ |
D | RegisterScavenging.h | 119 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/ |
D | RegisterScavenging.h | 144 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/ |
D | PTXRegisterInfo.cpp | 35 int SPAdj, in eliminateFrameIndex() argument 57 DEBUG(dbgs() << "- SPAdj: " << SPAdj << "\n"); in eliminateFrameIndex()
|
/external/llvm/lib/CodeGen/ |
D | PrologEpilogInserter.cpp | 126 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/ |
D | RegisterScavenging.cpp | 461 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()
|
D | PrologEpilogInserter.cpp | 126 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/ |
D | SPURegisterInfo.h | 74 void eliminateFrameIndex(MachineBasicBlock::iterator II, int SPAdj, 96 int SPAdj) const;
|
D | SPURegisterInfo.cpp | 254 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/ |
D | NVPTXRegisterInfo.cpp | 92 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/ |
D | NVPTXRegisterInfo.cpp | 114 int SPAdj, unsigned FIOperandNum, in eliminateFrameIndex() argument 116 assert(SPAdj == 0 && "Unexpected"); in eliminateFrameIndex()
|
/external/llvm/lib/Target/BPF/ |
D | BPFRegisterInfo.cpp | 45 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/ |
D | LanaiRegisterInfo.cpp | 136 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/ |
D | BPFRegisterInfo.cpp | 58 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/ |
D | RISCVRegisterInfo.cpp | 69 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/ |
D | SystemZRegisterInfo.cpp | 96 int SPAdj, RegScavenger *RS) const { in eliminateFrameIndex() argument 97 assert(SPAdj == 0 && "Unxpected"); in eliminateFrameIndex()
|
/external/llvm/lib/Target/Lanai/ |
D | LanaiRegisterInfo.cpp | 136 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/ |
D | SparcRegisterInfo.cpp | 74 int SPAdj, RegScavenger *RS) const { in eliminateFrameIndex() argument 75 assert(SPAdj == 0 && "Unexpected"); in eliminateFrameIndex()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | PrologEpilogInserter.cpp | 734 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()
|