/external/autotest/client/site_tests/firmware_TouchMTB/ |
D | mini_color.py | 12 CSI = '\033[' # ANSI Control Sequence Introducer variable 13 NORMAL = CSI + '0m' 14 CODE = {'black': CSI + '1;30m', # color code for foreground color 15 'red': CSI + '1;31m', 16 'green': CSI + '1;32m', 17 'yellow': CSI + '1;33m', 18 'blue': CSI + '1;34m', 19 'magenta': CSI + '1;35m', 20 'cyan': CSI + '1;36m', 21 'white': CSI + '1;37m', [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/SystemZ/ |
D | SystemZFrameLowering.cpp | 227 const std::vector<CalleeSavedInfo> &CSI, in spillCalleeSavedRegisters() argument 229 if (CSI.empty()) in spillCalleeSavedRegisters() 242 for (unsigned i = 0, e = CSI.size(); i != e; ++i) { in spillCalleeSavedRegisters() 243 unsigned Reg = CSI[i].getReg(); in spillCalleeSavedRegisters() 277 for (unsigned i = 0, e = CSI.size(); i != e; ++i) { in spillCalleeSavedRegisters() 278 unsigned Reg = CSI[i].getReg(); in spillCalleeSavedRegisters() 287 for (unsigned i = 0, e = CSI.size(); i != e; ++i) { in spillCalleeSavedRegisters() 288 unsigned Reg = CSI[i].getReg(); in spillCalleeSavedRegisters() 291 TII.storeRegToStackSlot(MBB, MI, Reg, true, CSI[i].getFrameIdx(), in spillCalleeSavedRegisters() 302 const std::vector<CalleeSavedInfo> &CSI, in restoreCalleeSavedRegisters() argument [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/ |
D | SystemZFrameLowering.cpp | 134 const std::vector<CalleeSavedInfo> &CSI, in spillCalleeSavedRegisters() argument 136 if (CSI.empty()) in spillCalleeSavedRegisters() 149 for (unsigned I = 0, E = CSI.size(); I != E; ++I) { in spillCalleeSavedRegisters() 150 unsigned Reg = CSI[I].getReg(); in spillCalleeSavedRegisters() 195 for (unsigned I = 0, E = CSI.size(); I != E; ++I) { in spillCalleeSavedRegisters() 196 unsigned Reg = CSI[I].getReg(); in spillCalleeSavedRegisters() 208 for (unsigned I = 0, E = CSI.size(); I != E; ++I) { in spillCalleeSavedRegisters() 209 unsigned Reg = CSI[I].getReg(); in spillCalleeSavedRegisters() 212 TII->storeRegToStackSlot(MBB, MBBI, Reg, true, CSI[I].getFrameIdx(), in spillCalleeSavedRegisters() 217 TII->storeRegToStackSlot(MBB, MBBI, Reg, true, CSI[I].getFrameIdx(), in spillCalleeSavedRegisters() [all …]
|
/external/llvm/lib/Target/Mips/ |
D | Mips16FrameLowering.cpp | 64 const std::vector<CalleeSavedInfo> &CSI = MFI->getCalleeSavedInfo(); in emitPrologue() local 66 if (CSI.size()) { in emitPrologue() 67 const std::vector<CalleeSavedInfo> &CSI = MFI->getCalleeSavedInfo(); in emitPrologue() local 69 for (std::vector<CalleeSavedInfo>::const_iterator I = CSI.begin(), in emitPrologue() 70 E = CSI.end(); I != E; ++I) { in emitPrologue() 110 const std::vector<CalleeSavedInfo> &CSI, in spillCalleeSavedRegisters() argument 120 for (unsigned i = 0, e = CSI.size(); i != e; ++i) { in spillCalleeSavedRegisters() 126 unsigned Reg = CSI[i].getReg(); in spillCalleeSavedRegisters() 138 const std::vector<CalleeSavedInfo> &CSI, in restoreCalleeSavedRegisters() argument
|
D | Mips16RegisterInfo.cpp | 84 const std::vector<CalleeSavedInfo> &CSI = MFI->getCalleeSavedInfo(); in eliminateFI() local 88 if (CSI.size()) { in eliminateFI() 89 MinCSFI = CSI[0].getFrameIdx(); in eliminateFI() 90 MaxCSFI = CSI[CSI.size() - 1].getFrameIdx(); in eliminateFI()
|
D | MipsSERegisterInfo.cpp | 116 const std::vector<CalleeSavedInfo> &CSI = MFI->getCalleeSavedInfo(); in eliminateFI() local 120 if (CSI.size()) { in eliminateFI() 121 MinCSFI = CSI[0].getFrameIdx(); in eliminateFI() 122 MaxCSFI = CSI[CSI.size() - 1].getFrameIdx(); in eliminateFI()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/ |
D | Mips16FrameLowering.cpp | 71 const std::vector<CalleeSavedInfo> &CSI = MFI.getCalleeSavedInfo(); in emitPrologue() local 73 if (!CSI.empty()) { in emitPrologue() 74 const std::vector<CalleeSavedInfo> &CSI = MFI.getCalleeSavedInfo(); in emitPrologue() local 76 for (std::vector<CalleeSavedInfo>::const_iterator I = CSI.begin(), in emitPrologue() 77 E = CSI.end(); I != E; ++I) { in emitPrologue() 116 const std::vector<CalleeSavedInfo> &CSI, in spillCalleeSavedRegisters() argument 125 for (unsigned i = 0, e = CSI.size(); i != e; ++i) { in spillCalleeSavedRegisters() 131 unsigned Reg = CSI[i].getReg(); in spillCalleeSavedRegisters() 143 std::vector<CalleeSavedInfo> &CSI, in restoreCalleeSavedRegisters() argument
|
D | Mips16RegisterInfo.cpp | 84 const std::vector<CalleeSavedInfo> &CSI = MFI.getCalleeSavedInfo(); in eliminateFI() local 88 if (CSI.size()) { in eliminateFI() 89 MinCSFI = CSI[0].getFrameIdx(); in eliminateFI() 90 MaxCSFI = CSI[CSI.size() - 1].getFrameIdx(); in eliminateFI()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonFrameLowering.h | 35 MachineBasicBlock::iterator MI, const std::vector<CalleeSavedInfo> &CSI, in spillCalleeSavedRegisters() argument 40 MachineBasicBlock::iterator MI, const std::vector<CalleeSavedInfo> &CSI, in restoreCalleeSavedRegisters() argument 75 const TargetRegisterInfo *TRI, std::vector<CalleeSavedInfo> &CSI) 90 bool insertCSRSpillsInBlock(MachineBasicBlock &MBB, const CSIVect &CSI, 92 bool insertCSRRestoresInBlock(MachineBasicBlock &MBB, const CSIVect &CSI, 141 void addCalleeSaveRegistersAsImpOperand(MachineInstr *MI, const CSIVect &CSI, 143 bool shouldInlineCSR(llvm::MachineFunction &MF, const CSIVect &CSI) const; 144 bool useSpillFunction(MachineFunction &MF, const CSIVect &CSI) const; 145 bool useRestoreFunction(MachineFunction &MF, const CSIVect &CSI) const;
|
D | HexagonFrameLowering.cpp | 223 unsigned getMaxCalleeSavedReg(const std::vector<CalleeSavedInfo> &CSI, in getMaxCalleeSavedReg() argument 227 if (CSI.empty()) in getMaxCalleeSavedReg() 230 unsigned Max = getMax32BitSubRegister(CSI[0].getReg(), TRI); in getMaxCalleeSavedReg() 231 for (unsigned I = 1, E = CSI.size(); I < E; ++I) { in getMaxCalleeSavedReg() 232 unsigned Reg = getMax32BitSubRegister(CSI[I].getReg(), TRI); in getMaxCalleeSavedReg() 447 const std::vector<CalleeSavedInfo> &CSI = MFI->getCalleeSavedInfo(); in emitPrologue() local 454 insertCSRSpillsInBlock(*PrologB, CSI, HRI, PrologueStubs); in emitPrologue() 458 insertCSRRestoresInBlock(*EpilogB, CSI, HRI); in emitPrologue() 463 insertCSRRestoresInBlock(B, CSI, HRI); in emitPrologue() 475 for (auto &R : CSI) in emitPrologue() [all …]
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZFrameLowering.cpp | 134 const std::vector<CalleeSavedInfo> &CSI, in spillCalleeSavedRegisters() argument 136 if (CSI.empty()) in spillCalleeSavedRegisters() 149 for (unsigned I = 0, E = CSI.size(); I != E; ++I) { in spillCalleeSavedRegisters() 150 unsigned Reg = CSI[I].getReg(); in spillCalleeSavedRegisters() 195 for (unsigned I = 0, E = CSI.size(); I != E; ++I) { in spillCalleeSavedRegisters() 196 unsigned Reg = CSI[I].getReg(); in spillCalleeSavedRegisters() 208 for (unsigned I = 0, E = CSI.size(); I != E; ++I) { in spillCalleeSavedRegisters() 209 unsigned Reg = CSI[I].getReg(); in spillCalleeSavedRegisters() 212 TII->storeRegToStackSlot(MBB, MBBI, Reg, true, CSI[I].getFrameIdx(), in spillCalleeSavedRegisters() 223 const std::vector<CalleeSavedInfo> &CSI, in restoreCalleeSavedRegisters() argument [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonFrameLowering.h | 45 MachineBasicBlock::iterator MI, const std::vector<CalleeSavedInfo> &CSI, in spillCalleeSavedRegisters() argument 51 MachineBasicBlock::iterator MI, std::vector<CalleeSavedInfo> &CSI, in restoreCalleeSavedRegisters() argument 98 const TargetRegisterInfo *TRI, std::vector<CalleeSavedInfo> &CSI) 115 bool insertCSRSpillsInBlock(MachineBasicBlock &MBB, const CSIVect &CSI, 117 bool insertCSRRestoresInBlock(MachineBasicBlock &MBB, const CSIVect &CSI, 167 void addCalleeSaveRegistersAsImpOperand(MachineInstr *MI, const CSIVect &CSI, 169 bool shouldInlineCSR(const MachineFunction &MF, const CSIVect &CSI) const; 170 bool useSpillFunction(const MachineFunction &MF, const CSIVect &CSI) const; 171 bool useRestoreFunction(const MachineFunction &MF, const CSIVect &CSI) const;
|
D | HexagonFrameLowering.cpp | 265 static unsigned getMaxCalleeSavedReg(const std::vector<CalleeSavedInfo> &CSI, in getMaxCalleeSavedReg() argument 269 if (CSI.empty()) in getMaxCalleeSavedReg() 272 unsigned Max = getMax32BitSubRegister(CSI[0].getReg(), TRI); in getMaxCalleeSavedReg() 273 for (unsigned I = 1, E = CSI.size(); I < E; ++I) { in getMaxCalleeSavedReg() 274 unsigned Reg = getMax32BitSubRegister(CSI[I].getReg(), TRI); in getMaxCalleeSavedReg() 509 const std::vector<CalleeSavedInfo> &CSI = MFI.getCalleeSavedInfo(); in emitPrologue() local 516 insertCSRSpillsInBlock(*PrologB, CSI, HRI, PrologueStubs); in emitPrologue() 521 insertCSRRestoresInBlock(*EpilogB, CSI, HRI); in emitPrologue() 526 insertCSRRestoresInBlock(B, CSI, HRI); in emitPrologue() 538 for (auto &R : CSI) in emitPrologue() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/MSP430/ |
D | MSP430FrameLowering.cpp | 182 const std::vector<CalleeSavedInfo> &CSI, in spillCalleeSavedRegisters() argument 184 if (CSI.empty()) in spillCalleeSavedRegisters() 193 MFI->setCalleeSavedFrameSize(CSI.size() * 2); in spillCalleeSavedRegisters() 195 for (unsigned i = CSI.size(); i != 0; --i) { in spillCalleeSavedRegisters() 196 unsigned Reg = CSI[i-1].getReg(); in spillCalleeSavedRegisters() 208 const std::vector<CalleeSavedInfo> &CSI, in restoreCalleeSavedRegisters() argument 210 if (CSI.empty()) in restoreCalleeSavedRegisters() 219 for (unsigned i = 0, e = CSI.size(); i != e; ++i) in restoreCalleeSavedRegisters() 220 BuildMI(MBB, MI, DL, TII.get(MSP430::POP16r), CSI[i].getReg()); in restoreCalleeSavedRegisters()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARC/ |
D | ARCFrameLowering.cpp | 77 determineLastCalleeSave(const std::vector<CalleeSavedInfo> &CSI) { in determineLastCalleeSave() argument 79 for (auto Reg : CSI) { in determineLastCalleeSave() 128 const std::vector<CalleeSavedInfo> &CSI = MFI.getCalleeSavedInfo(); in emitPrologue() local 129 unsigned Last = determineLastCalleeSave(CSI); in emitPrologue() 218 for (const auto &Entry : CSI) { in emitPrologue() 257 const std::vector<CalleeSavedInfo> &CSI = MFI.getCalleeSavedInfo(); in emitEpilogue() local 258 unsigned Last = determineLastCalleeSave(CSI); in emitEpilogue() 326 std::vector<CalleeSavedInfo> &CSI) const { in assignCalleeSavedSpillSlots() 331 unsigned Last = determineLastCalleeSave(CSI); in assignCalleeSavedSpillSlots() 352 auto RegI = getSavedReg(CSI, Which); in assignCalleeSavedSpillSlots() [all …]
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | PrologEpilogInserter.cpp | 224 std::vector<CalleeSavedInfo> CSI; in calculateCalleeSavedRegisters() local 229 CSI.push_back(CalleeSavedInfo(Reg)); in calculateCalleeSavedRegisters() 234 CSI.push_back(CalleeSavedInfo(Reg)); in calculateCalleeSavedRegisters() 241 if (CSI.empty()) in calculateCalleeSavedRegisters() 251 I = CSI.begin(), E = CSI.end(); I != E; ++I) { in calculateCalleeSavedRegisters() 288 MFI->setCalleeSavedInfo(CSI); in calculateCalleeSavedRegisters() 297 const std::vector<CalleeSavedInfo> &CSI = MFI->getCalleeSavedInfo(); in insertCSRSpillsAndRestores() local 302 if (CSI.empty()) in insertCSRSpillsAndRestores() 313 if (!TFI->spillCalleeSavedRegisters(*EntryBlock, I, CSI, TRI)) { in insertCSRSpillsAndRestores() 314 for (unsigned i = 0, e = CSI.size(); i != e; ++i) { in insertCSRSpillsAndRestores() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | Thumb1FrameLowering.cpp | 59 const std::vector<CalleeSavedInfo> &CSI = MFI->getCalleeSavedInfo(); in emitPrologue() local 84 for (unsigned i = 0, e = CSI.size(); i != e; ++i) { in emitPrologue() 85 unsigned Reg = CSI[i].getReg(); in emitPrologue() 86 int FI = CSI[i].getFrameIdx(); in emitPrologue() 291 const std::vector<CalleeSavedInfo> &CSI, in spillCalleeSavedRegisters() argument 293 if (CSI.empty()) in spillCalleeSavedRegisters() 304 for (unsigned i = CSI.size(); i != 0; --i) { in spillCalleeSavedRegisters() 305 unsigned Reg = CSI[i-1].getReg(); in spillCalleeSavedRegisters() 330 const std::vector<CalleeSavedInfo> &CSI, in restoreCalleeSavedRegisters() argument 332 if (CSI.empty()) in restoreCalleeSavedRegisters() [all …]
|
D | ARMFrameLowering.h | 41 const std::vector<CalleeSavedInfo> &CSI, 46 const std::vector<CalleeSavedInfo> &CSI, 64 const std::vector<CalleeSavedInfo> &CSI, unsigned StmOpc, 69 const std::vector<CalleeSavedInfo> &CSI, unsigned LdmOpc,
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430FrameLowering.cpp | 183 const std::vector<CalleeSavedInfo> &CSI, in spillCalleeSavedRegisters() argument 185 if (CSI.empty()) in spillCalleeSavedRegisters() 194 MFI->setCalleeSavedFrameSize(CSI.size() * 2); in spillCalleeSavedRegisters() 196 for (unsigned i = CSI.size(); i != 0; --i) { in spillCalleeSavedRegisters() 197 unsigned Reg = CSI[i-1].getReg(); in spillCalleeSavedRegisters() 209 const std::vector<CalleeSavedInfo> &CSI, in restoreCalleeSavedRegisters() argument 211 if (CSI.empty()) in restoreCalleeSavedRegisters() 220 for (unsigned i = 0, e = CSI.size(); i != e; ++i) in restoreCalleeSavedRegisters() 221 BuildMI(MBB, MI, DL, TII.get(MSP430::POP16r), CSI[i].getReg()); in restoreCalleeSavedRegisters()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/MSP430/ |
D | MSP430FrameLowering.cpp | 183 const std::vector<CalleeSavedInfo> &CSI, in spillCalleeSavedRegisters() argument 185 if (CSI.empty()) in spillCalleeSavedRegisters() 194 MFI->setCalleeSavedFrameSize(CSI.size() * 2); in spillCalleeSavedRegisters() 196 for (unsigned i = CSI.size(); i != 0; --i) { in spillCalleeSavedRegisters() 197 unsigned Reg = CSI[i-1].getReg(); in spillCalleeSavedRegisters() 209 std::vector<CalleeSavedInfo> &CSI, in restoreCalleeSavedRegisters() argument 211 if (CSI.empty()) in restoreCalleeSavedRegisters() 220 for (unsigned i = 0, e = CSI.size(); i != e; ++i) in restoreCalleeSavedRegisters() 221 BuildMI(MBB, MI, DL, TII.get(MSP430::POP16r), CSI[i].getReg()); in restoreCalleeSavedRegisters()
|
/external/llvm/lib/Target/ARM/ |
D | Thumb1FrameLowering.cpp | 101 const std::vector<CalleeSavedInfo> &CSI = MFI->getCalleeSavedInfo(); in emitPrologue() local 145 for (unsigned i = 0, e = CSI.size(); i != e; ++i) { in emitPrologue() 146 unsigned Reg = CSI[i].getReg(); in emitPrologue() 147 int FI = CSI[i].getFrameIdx(); in emitPrologue() 205 for (std::vector<CalleeSavedInfo>::const_iterator I = CSI.begin(), in emitPrologue() 206 E = CSI.end(); I != E; ++I) { in emitPrologue() 408 for (const CalleeSavedInfo &CSI : MF.getFrameInfo()->getCalleeSavedInfo()) in needPopSpecialFixUp() local 409 if (CSI.getReg() == ARM::LR) in needPopSpecialFixUp() 574 const std::vector<CalleeSavedInfo> &CSI, in spillCalleeSavedRegisters() argument 576 if (CSI.empty()) in spillCalleeSavedRegisters() [all …]
|
D | ARMFrameLowering.h | 36 const std::vector<CalleeSavedInfo> &CSI, 41 const std::vector<CalleeSavedInfo> &CSI, 67 const std::vector<CalleeSavedInfo> &CSI, unsigned StmOpc, 72 const std::vector<CalleeSavedInfo> &CSI, unsigned LdmOpc,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMFrameLowering.h | 37 const std::vector<CalleeSavedInfo> &CSI, 42 std::vector<CalleeSavedInfo> &CSI, 70 const std::vector<CalleeSavedInfo> &CSI, unsigned StmOpc, 75 std::vector<CalleeSavedInfo> &CSI, unsigned LdmOpc,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | PrologEpilogInserter.cpp | 338 std::vector<CalleeSavedInfo> CSI; in assignCalleeSavedSpillSlots() local 342 CSI.push_back(CalleeSavedInfo(Reg)); in assignCalleeSavedSpillSlots() 347 if (!TFI->assignCalleeSavedSpillSlots(F, RegInfo, CSI)) { in assignCalleeSavedSpillSlots() 350 if (CSI.empty()) in assignCalleeSavedSpillSlots() 359 for (auto &CS : CSI) { in assignCalleeSavedSpillSlots() 398 MFI.setCalleeSavedInfo(CSI); in assignCalleeSavedSpillSlots() 446 const std::vector<CalleeSavedInfo> &CSI = MFI.getCalleeSavedInfo(); in updateLiveness() local 449 for (unsigned i = 0, e = CSI.size(); i != e; ++i) { in updateLiveness() 451 MCPhysReg Reg = CSI[i].getReg(); in updateLiveness() 462 ArrayRef<CalleeSavedInfo> CSI) { in insertCSRSaves() argument [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/XCore/ |
D | XCoreFrameLowering.cpp | 204 CalleeSavedInfo &CSI = SpillLabels[I].second; in emitPrologue() local 205 int Offset = MFI->getObjectOffset(CSI.getFrameIdx()); in emitPrologue() 206 unsigned Reg = CSI.getReg(); in emitPrologue() 276 const std::vector<CalleeSavedInfo> &CSI, in spillCalleeSavedRegisters() argument 278 if (CSI.empty()) in spillCalleeSavedRegisters() 290 for (std::vector<CalleeSavedInfo>::const_iterator it = CSI.begin(); in spillCalleeSavedRegisters() 291 it != CSI.end(); ++it) { in spillCalleeSavedRegisters() 310 const std::vector<CalleeSavedInfo> &CSI, in restoreCalleeSavedRegisters() argument 319 for (std::vector<CalleeSavedInfo>::const_iterator it = CSI.begin(); in restoreCalleeSavedRegisters() 320 it != CSI.end(); ++it) { in restoreCalleeSavedRegisters()
|