/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/syslinux/com32/lib/sys/ |
D | libansi.c | 43 fputs(CSI "?25h", stdout); in display_cursor() 45 fputs(CSI "?25l", stdout); in display_cursor() 51 fputs(CSI "0K", stdout); in clear_end_of_line() 58 sprintf(buffer,CSI "%dD",count); in move_cursor_left() 66 sprintf(buffer, CSI "%dC", count); in move_cursor_right() 79 fputs(CSI "2K", stdout); in clear_line() 84 fputs(CSI "1K", stdout); in clear_beginning_of_line() 91 sprintf(buffer, CSI "%dG", count); in move_cursor_to_column() 116 fputs(CSI "2J", stdout); in clear_entire_screen() 201 csprint(CSI "1D", 0x07); in reset_colors()
|
/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/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/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/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/syslinux/com32/include/ |
D | libansi.h | 32 #define CSI "\e[" macro 89 printf(CSI "%dS", times); in scrollup() 95 printf(CSI "S"); in scrollup_once() 100 printf(CSI "%d;%dH", row + 1, col + 1); in gotoxy()
|
/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,
|
D | ARMFrameLowering.cpp | 135 const std::vector<CalleeSavedInfo> &CSI = MFI->getCalleeSavedInfo(); in emitPrologue() local 160 for (unsigned i = 0, e = CSI.size(); i != e; ++i) { in emitPrologue() 161 unsigned Reg = CSI[i].getReg(); in emitPrologue() 162 int FI = CSI[i].getFrameIdx(); in emitPrologue() 550 const std::vector<CalleeSavedInfo> &CSI, in emitPushInst() argument 562 unsigned i = CSI.size(); in emitPushInst() 566 unsigned Reg = CSI[i-1].getReg(); in emitPushInst() 614 const std::vector<CalleeSavedInfo> &CSI, in emitPopInst() argument 629 unsigned i = CSI.size(); in emitPopInst() 634 unsigned Reg = CSI[i-1].getReg(); in emitPopInst() [all …]
|
/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/llvm/lib/Target/ARM/ |
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,
|
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.cpp | 305 const std::vector<CalleeSavedInfo> &CSI = MFI->getCalleeSavedInfo(); in emitPrologue() local 347 for (unsigned i = 0, e = CSI.size(); i != e; ++i) { in emitPrologue() 348 unsigned Reg = CSI[i].getReg(); in emitPrologue() 349 int FI = CSI[i].getFrameIdx(); in emitPrologue() 551 for (const auto &Entry : CSI) { in emitPrologue() 584 for (const auto &Entry : CSI) { in emitPrologue() 611 for (const auto &Entry : CSI) { in emitPrologue() 888 const std::vector<CalleeSavedInfo> &CSI, in emitPushInst() argument 900 unsigned i = CSI.size(); in emitPushInst() 904 unsigned Reg = CSI[i-1].getReg(); in emitPushInst() [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()
|
/external/llvm/lib/CodeGen/ |
D | PrologEpilogInserter.cpp | 335 std::vector<CalleeSavedInfo> CSI; in assignCalleeSavedSpillSlots() local 339 CSI.push_back(CalleeSavedInfo(Reg)); in assignCalleeSavedSpillSlots() 344 if (!TFI->assignCalleeSavedSpillSlots(F, RegInfo, CSI)) { in assignCalleeSavedSpillSlots() 347 if (CSI.empty()) in assignCalleeSavedSpillSlots() 356 for (auto &CS : CSI) { in assignCalleeSavedSpillSlots() 395 MFI->setCalleeSavedInfo(CSI); in assignCalleeSavedSpillSlots() 443 const std::vector<CalleeSavedInfo> &CSI = MFI->getCalleeSavedInfo(); in updateLiveness() local 445 for (unsigned i = 0, e = CSI.size(); i != e; ++i) { in updateLiveness() 447 MCPhysReg Reg = CSI[i].getReg(); in updateLiveness() 464 const std::vector<CalleeSavedInfo> &CSI = MFI->getCalleeSavedInfo(); in insertCSRSpillsAndRestores() local [all …]
|
D | StackMaps.cpp | 163 for (const auto &CSI : CSInfos) { in print() local 164 const LocationVec &CSLocs = CSI.Locations; in print() 165 const LiveOutVec &LiveOuts = CSI.LiveOuts; in print() 167 OS << WSMP << "callsite " << CSI.ID << "\n"; in print() 472 for (const auto &CSI : CSInfos) { in emitCallsiteEntries() local 473 const LocationVec &CSLocs = CSI.Locations; in emitCallsiteEntries() 474 const LiveOutVec &LiveOuts = CSI.LiveOuts; in emitCallsiteEntries() 482 OS.EmitValue(CSI.CSOffsetExpr, 4); in emitCallsiteEntries() 491 OS.EmitIntValue(CSI.ID, 8); in emitCallsiteEntries() 492 OS.EmitValue(CSI.CSOffsetExpr, 4); in emitCallsiteEntries()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCFrameLowering.cpp | 1057 const std::vector<CalleeSavedInfo> &CSI = MFI->getCalleeSavedInfo(); in emitPrologue() local 1058 for (unsigned I = 0, E = CSI.size(); I != E; ++I) { in emitPrologue() 1059 unsigned Reg = CSI[I].getReg(); in emitPrologue() 1087 int Offset = MFI->getObjectOffset(CSI[I].getFrameIdx()); in emitPrologue() 1451 const std::vector<CalleeSavedInfo> &CSI = FFI->getCalleeSavedInfo(); in processFunctionBeforeFrameFinalized() local 1466 if (CSI.empty() && !needsFP(MF)) { in processFunctionBeforeFrameFinalized() 1487 for (unsigned i = 0, e = CSI.size(); i != e; ++i) { in processFunctionBeforeFrameFinalized() 1488 unsigned Reg = CSI[i].getReg(); in processFunctionBeforeFrameFinalized() 1492 GPRegs.push_back(CSI[i]); in processFunctionBeforeFrameFinalized() 1500 G8Regs.push_back(CSI[i]); in processFunctionBeforeFrameFinalized() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/ |
D | PPCFrameLowering.cpp | 485 const std::vector<CalleeSavedInfo> &CSI = MFI->getCalleeSavedInfo(); in emitPrologue() local 486 for (unsigned I = 0, E = CSI.size(); I != E; ++I) { in emitPrologue() 487 int Offset = MFI->getObjectOffset(CSI[I].getFrameIdx()); in emitPrologue() 488 unsigned Reg = CSI[I].getReg(); in emitPrologue() 791 const std::vector<CalleeSavedInfo> &CSI = FFI->getCalleeSavedInfo(); in processFunctionBeforeFrameFinalized() local 794 if (CSI.empty() && !needsFP(MF)) { in processFunctionBeforeFrameFinalized() 815 for (unsigned i = 0, e = CSI.size(); i != e; ++i) { in processFunctionBeforeFrameFinalized() 816 unsigned Reg = CSI[i].getReg(); in processFunctionBeforeFrameFinalized() 820 GPRegs.push_back(CSI[i]); in processFunctionBeforeFrameFinalized() 828 G8Regs.push_back(CSI[i]); in processFunctionBeforeFrameFinalized() [all …]
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64FrameLowering.cpp | 213 const std::vector<CalleeSavedInfo> &CSI = MFI->getCalleeSavedInfo(); in emitCalleeSavedFrameMoves() local 214 if (CSI.empty()) in emitCalleeSavedFrameMoves() 217 for (const auto &Info : CSI) { in emitCalleeSavedFrameMoves() 884 MachineFunction &MF, const std::vector<CalleeSavedInfo> &CSI, in computeCalleeSaveRegisterPairs() argument 887 if (CSI.empty()) in computeCalleeSaveRegisterPairs() 893 unsigned Count = CSI.size(); in computeCalleeSaveRegisterPairs() 905 RPI.Reg1 = CSI[i].getReg(); in computeCalleeSaveRegisterPairs() 913 unsigned NextReg = CSI[i + 1].getReg(); in computeCalleeSaveRegisterPairs() 926 (CSI[i].getFrameIdx() + 1 == CSI[i + 1].getFrameIdx())) && in computeCalleeSaveRegisterPairs() 938 RPI.FrameIdx = CSI[i].getFrameIdx(); in computeCalleeSaveRegisterPairs() [all …]
|