Home
last modified time | relevance | path

Searched refs:CSI (Results 1 – 25 of 74) sorted by relevance

123

/third_party/libuv/test/
Dtest-tty-escape-sequence-processing.c34 #define CSI ESC "[" macro
394 snprintf(buffer, sizeof(buffer), "%sA", CSI); in TEST_IMPL()
402 snprintf(buffer, sizeof(buffer), "%s%dA", CSI, si.height / 4); in TEST_IMPL()
412 snprintf(buffer, sizeof(buffer), "%sA", CSI); in TEST_IMPL()
445 snprintf(buffer, sizeof(buffer), "%sB", CSI); in TEST_IMPL()
453 snprintf(buffer, sizeof(buffer), "%s%dB", CSI, si.height / 4); in TEST_IMPL()
463 snprintf(buffer, sizeof(buffer), "%sB", CSI); in TEST_IMPL()
496 snprintf(buffer, sizeof(buffer), "%sC", CSI); in TEST_IMPL()
504 snprintf(buffer, sizeof(buffer), "%s%dC", CSI, si.width / 4); in TEST_IMPL()
514 snprintf(buffer, sizeof(buffer), "%sC", CSI); in TEST_IMPL()
[all …]
/third_party/node/test/parallel/
Dtest-readline-csi.js8 const { CSI } = require('internal/readline/utils');
11 assert(CSI);
12 assert.strictEqual(CSI.kClearToLineBeginning, '\x1b[1K');
13 assert.strictEqual(CSI.kClearToLineEnd, '\x1b[0K');
14 assert.strictEqual(CSI.kClearLine, '\x1b[2K');
15 assert.strictEqual(CSI.kClearScreenDown, '\x1b[0J');
16 assert.strictEqual(CSI`1${2}3`, '\x1b[123');
33 assert.deepStrictEqual(writable.data, CSI.kClearScreenDown);
50 assert.deepStrictEqual(writable.data, CSI.kClearToLineBeginning);
54 assert.deepStrictEqual(writable.data, CSI.kClearToLineEnd);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMips16FrameLowering.cpp70 const std::vector<CalleeSavedInfo> &CSI = MFI.getCalleeSavedInfo(); in emitPrologue() local
72 if (!CSI.empty()) { in emitPrologue()
73 const std::vector<CalleeSavedInfo> &CSI = MFI.getCalleeSavedInfo(); in emitPrologue() local
75 for (std::vector<CalleeSavedInfo>::const_iterator I = CSI.begin(), in emitPrologue()
76 E = CSI.end(); I != E; ++I) { in emitPrologue()
115 const std::vector<CalleeSavedInfo> &CSI, in spillCalleeSavedRegisters() argument
124 for (unsigned i = 0, e = CSI.size(); i != e; ++i) { in spillCalleeSavedRegisters()
130 unsigned Reg = CSI[i].getReg(); in spillCalleeSavedRegisters()
142 std::vector<CalleeSavedInfo> &CSI, in restoreCalleeSavedRegisters() argument
DMips16RegisterInfo.cpp83 const std::vector<CalleeSavedInfo> &CSI = MFI.getCalleeSavedInfo(); in eliminateFI() local
87 if (CSI.size()) { in eliminateFI()
88 MinCSFI = CSI[0].getFrameIdx(); in eliminateFI()
89 MaxCSFI = CSI[CSI.size() - 1].getFrameIdx(); in eliminateFI()
DMipsSERegisterInfo.cpp159 const std::vector<CalleeSavedInfo> &CSI = MFI.getCalleeSavedInfo(); in eliminateFI() local
163 if (CSI.size()) { in eliminateFI()
164 MinCSFI = CSI[0].getFrameIdx(); in eliminateFI()
165 MaxCSFI = CSI[CSI.size() - 1].getFrameIdx(); in eliminateFI()
DMips16FrameLowering.h30 const std::vector<CalleeSavedInfo> &CSI,
35 std::vector<CalleeSavedInfo> &CSI,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZFrameLowering.cpp80 std::vector<CalleeSavedInfo> &CSI) const { in assignCalleeSavedSpillSlots()
84 if (CSI.empty()) in assignCalleeSavedSpillSlots()
92 for (auto &CS : CSI) { in assignCalleeSavedSpillSlots()
129 for (auto &CS : CSI) { in assignCalleeSavedSpillSlots()
155 for (auto &CS : CSI) { in assignCalleeSavedSpillSlots()
240 const std::vector<CalleeSavedInfo> &CSI, in spillCalleeSavedRegisters() argument
242 if (CSI.empty()) in spillCalleeSavedRegisters()
269 for (unsigned I = 0, E = CSI.size(); I != E; ++I) { in spillCalleeSavedRegisters()
270 unsigned Reg = CSI[I].getReg(); in spillCalleeSavedRegisters()
282 for (unsigned I = 0, E = CSI.size(); I != E; ++I) { in spillCalleeSavedRegisters()
[all …]
DSystemZFrameLowering.h30 std::vector<CalleeSavedInfo> &CSI) const override;
35 const std::vector<CalleeSavedInfo> &CSI,
39 std::vector<CalleeSavedInfo> &CSI,
/third_party/node/lib/internal/readline/
Dutils.js20 function CSI(strings, ...args) { class
30 CSI.kEscape = kEscape;
31 CSI.kClearToLineBeginning = CSI`1K`;
32 CSI.kClearToLineEnd = CSI`0K`;
33 CSI.kClearLine = CSI`2K`;
34 CSI.kClearScreenDown = CSI`0J`;
389 CSI field
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSILowerSGPRSpills.cpp89 ArrayRef<CalleeSavedInfo> CSI, in insertCSRSaves() argument
97 if (!TFI->spillCalleeSavedRegisters(SaveBlock, I, CSI, TRI)) { in insertCSRSaves()
98 for (const CalleeSavedInfo &CS : CSI) { in insertCSRSaves()
121 std::vector<CalleeSavedInfo> &CSI, in insertCSRRestores() argument
133 if (!TFI->restoreCalleeSavedRegisters(RestoreBlock, I, CSI, TRI)) { in insertCSRRestores()
134 for (const CalleeSavedInfo &CI : reverse(CSI)) { in insertCSRRestores()
203 std::vector<CalleeSavedInfo> CSI; in spillCalleeSavedRegs() local
214 CSI.push_back(CalleeSavedInfo(Reg, JunkFI)); in spillCalleeSavedRegs()
218 if (!CSI.empty()) { in spillCalleeSavedRegs()
220 insertCSRSaves(*SaveBlock, CSI, LIS); in spillCalleeSavedRegs()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonFrameLowering.h46 MachineBasicBlock::iterator MI, const std::vector<CalleeSavedInfo> &CSI, in spillCalleeSavedRegisters() argument
52 MachineBasicBlock::iterator MI, std::vector<CalleeSavedInfo> &CSI, in restoreCalleeSavedRegisters() argument
99 const TargetRegisterInfo *TRI, std::vector<CalleeSavedInfo> &CSI)
116 bool insertCSRSpillsInBlock(MachineBasicBlock &MBB, const CSIVect &CSI,
118 bool insertCSRRestoresInBlock(MachineBasicBlock &MBB, const CSIVect &CSI,
168 void addCalleeSaveRegistersAsImpOperand(MachineInstr *MI, const CSIVect &CSI,
170 bool shouldInlineCSR(const MachineFunction &MF, const CSIVect &CSI) const;
171 bool useSpillFunction(const MachineFunction &MF, const CSIVect &CSI) const;
172 bool useRestoreFunction(const MachineFunction &MF, const CSIVect &CSI) const;
DHexagonFrameLowering.cpp264 static unsigned getMaxCalleeSavedReg(const std::vector<CalleeSavedInfo> &CSI, in getMaxCalleeSavedReg() argument
268 if (CSI.empty()) in getMaxCalleeSavedReg()
271 unsigned Max = getMax32BitSubRegister(CSI[0].getReg(), TRI); in getMaxCalleeSavedReg()
272 for (unsigned I = 1, E = CSI.size(); I < E; ++I) { in getMaxCalleeSavedReg()
273 unsigned Reg = getMax32BitSubRegister(CSI[I].getReg(), TRI); in getMaxCalleeSavedReg()
508 const std::vector<CalleeSavedInfo> &CSI = MFI.getCalleeSavedInfo(); in emitPrologue() local
515 insertCSRSpillsInBlock(*PrologB, CSI, HRI, PrologueStubs); in emitPrologue()
520 insertCSRRestoresInBlock(*EpilogB, CSI, HRI); in emitPrologue()
525 insertCSRRestoresInBlock(B, CSI, HRI); in emitPrologue()
537 for (auto &R : CSI) in emitPrologue()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/
DARCFrameLowering.cpp78 determineLastCalleeSave(const std::vector<CalleeSavedInfo> &CSI) { in determineLastCalleeSave() argument
80 for (auto Reg : CSI) { in determineLastCalleeSave()
129 const std::vector<CalleeSavedInfo> &CSI = MFI.getCalleeSavedInfo(); in emitPrologue() local
130 unsigned Last = determineLastCalleeSave(CSI); in emitPrologue()
223 for (const auto &Entry : CSI) { in emitPrologue()
265 const std::vector<CalleeSavedInfo> &CSI = MFI.getCalleeSavedInfo(); in emitEpilogue() local
266 unsigned Last = determineLastCalleeSave(CSI); in emitEpilogue()
348 std::vector<CalleeSavedInfo> &CSI) const { in assignCalleeSavedSpillSlots()
353 unsigned Last = determineLastCalleeSave(CSI); in assignCalleeSavedSpillSlots()
374 auto RegI = getSavedReg(CSI, Which); in assignCalleeSavedSpillSlots()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/
DMSP430FrameLowering.cpp182 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 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()
DMSP430FrameLowering.h39 const std::vector<CalleeSavedInfo> &CSI,
43 std::vector<CalleeSavedInfo> &CSI,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMFrameLowering.h36 const std::vector<CalleeSavedInfo> &CSI,
41 std::vector<CalleeSavedInfo> &CSI,
76 const std::vector<CalleeSavedInfo> &CSI, unsigned StmOpc,
81 std::vector<CalleeSavedInfo> &CSI, unsigned LdmOpc,
DThumb1FrameLowering.cpp161 const std::vector<CalleeSavedInfo> &CSI = MFI.getCalleeSavedInfo(); in emitPrologue() local
206 for (unsigned i = 0, e = CSI.size(); i != e; ++i) { in emitPrologue()
207 unsigned Reg = CSI[i].getReg(); in emitPrologue()
208 int FI = CSI[i].getFrameIdx(); in emitPrologue()
267 for (std::vector<CalleeSavedInfo>::const_iterator I = CSI.begin(), in emitPrologue()
268 E = CSI.end(); I != E; ++I) { in emitPrologue()
349 for (auto &I : CSI) { in emitPrologue()
377 for (auto &I : CSI) { in emitPrologue()
573 for (const CalleeSavedInfo &CSI : MF.getFrameInfo().getCalleeSavedInfo()) in needPopSpecialFixUp() local
574 if (CSI.getReg() == ARM::LR) in needPopSpecialFixUp()
[all …]
DARMFrameLowering.cpp373 const std::vector<CalleeSavedInfo> &CSI = MFI.getCalleeSavedInfo(); in emitPrologue() local
415 for (unsigned i = 0, e = CSI.size(); i != e; ++i) { in emitPrologue()
416 unsigned Reg = CSI[i].getReg(); in emitPrologue()
417 int FI = CSI[i].getFrameIdx(); in emitPrologue()
624 for (const auto &Entry : CSI) { in emitPrologue()
657 for (const auto &Entry : CSI) { in emitPrologue()
684 for (const auto &Entry : CSI) { in emitPrologue()
972 const std::vector<CalleeSavedInfo> &CSI, in emitPushInst() argument
987 unsigned i = CSI.size(); in emitPushInst()
991 unsigned Reg = CSI[i-1].getReg(); in emitPushInst()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCFrameLowering.cpp933 for (CalleeSavedInfo CSI : Info) { in emitPrologue() local
934 int FrIdx = CSI.getFrameIdx(); in emitPrologue()
955 for (CalleeSavedInfo CSI : Info) { in emitPrologue() local
956 int FrIdx = CSI.getFrameIdx(); in emitPrologue()
1313 const std::vector<CalleeSavedInfo> &CSI = MFI.getCalleeSavedInfo(); in emitPrologue() local
1314 for (unsigned I = 0, E = CSI.size(); I != E; ++I) { in emitPrologue()
1315 unsigned Reg = CSI[I].getReg(); in emitPrologue()
1346 if (CSI[I].isSpilledToReg()) { in emitPrologue()
1347 unsigned SpilledReg = CSI[I].getDstReg(); in emitPrologue()
1354 int Offset = MFI.getObjectOffset(CSI[I].getFrameIdx()); in emitPrologue()
[all …]
DPPCFrameLowering.h116 const std::vector<CalleeSavedInfo> &CSI,
124 std::vector<CalleeSavedInfo> &CSI) const override;
132 std::vector<CalleeSavedInfo> &CSI,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DPrologEpilogInserter.cpp391 std::vector<CalleeSavedInfo> CSI; in assignCalleeSavedSpillSlots() local
395 CSI.push_back(CalleeSavedInfo(Reg)); in assignCalleeSavedSpillSlots()
400 if (!TFI->assignCalleeSavedSpillSlots(F, RegInfo, CSI)) { in assignCalleeSavedSpillSlots()
403 if (CSI.empty()) in assignCalleeSavedSpillSlots()
412 for (auto &CS : CSI) { in assignCalleeSavedSpillSlots()
456 MFI.setCalleeSavedInfo(CSI); in assignCalleeSavedSpillSlots()
504 const std::vector<CalleeSavedInfo> &CSI = MFI.getCalleeSavedInfo(); in updateLiveness() local
507 for (unsigned i = 0, e = CSI.size(); i != e; ++i) { in updateLiveness()
509 MCPhysReg Reg = CSI[i].getReg(); in updateLiveness()
520 if (CSI[i].isSpilledToReg()) { in updateLiveness()
[all …]
DStackMaps.cpp178 for (const auto &CSI : CSInfos) { in print() local
179 const LocationVec &CSLocs = CSI.Locations; in print()
180 const LiveOutVec &LiveOuts = CSI.LiveOuts; in print()
182 OS << WSMP << "callsite " << CSI.ID << "\n"; in print()
495 for (const auto &CSI : CSInfos) { in emitCallsiteEntries() local
496 const LocationVec &CSLocs = CSI.Locations; in emitCallsiteEntries()
497 const LiveOutVec &LiveOuts = CSI.LiveOuts; in emitCallsiteEntries()
505 OS.EmitValue(CSI.CSOffsetExpr, 4); in emitCallsiteEntries()
514 OS.EmitIntValue(CSI.ID, 8); in emitCallsiteEntries()
515 OS.EmitValue(CSI.CSOffsetExpr, 4); in emitCallsiteEntries()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVFrameLowering.cpp161 const std::vector<CalleeSavedInfo> &CSI = MFI.getCalleeSavedInfo(); in emitPrologue() local
162 std::advance(MBBI, CSI.size()); in emitPrologue()
166 for (const auto &Entry : CSI) { in emitPrologue()
313 const std::vector<CalleeSavedInfo> &CSI = MFI.getCalleeSavedInfo(); in getFrameIndexReference() local
322 if (CSI.size()) { in getFrameIndexReference()
323 MinCSFI = CSI[0].getFrameIdx(); in getFrameIndexReference()
324 MaxCSFI = CSI[CSI.size() - 1].getFrameIdx(); in getFrameIndexReference()
465 const std::vector<CalleeSavedInfo> &CSI = MFI.getCalleeSavedInfo(); in getFirstSPAdjustAmount() local
476 if (!isInt<12>(StackSize) && (CSI.size() > 0)) { in getFirstSPAdjustAmount()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreFrameLowering.cpp318 const CalleeSavedInfo &CSI = SpillLabel.second; in emitPrologue() local
319 int Offset = MFI.getObjectOffset(CSI.getFrameIdx()); in emitPrologue()
320 unsigned DRegNum = MRI->getDwarfRegNum(CSI.getReg(), true); in emitPrologue()
418 const std::vector<CalleeSavedInfo> &CSI, in spillCalleeSavedRegisters() argument
420 if (CSI.empty()) in spillCalleeSavedRegisters()
432 for (std::vector<CalleeSavedInfo>::const_iterator it = CSI.begin(); in spillCalleeSavedRegisters()
433 it != CSI.end(); ++it) { in spillCalleeSavedRegisters()
454 std::vector<CalleeSavedInfo> &CSI, in restoreCalleeSavedRegisters() argument
462 for (std::vector<CalleeSavedInfo>::const_iterator it = CSI.begin(); in restoreCalleeSavedRegisters()
463 it != CSI.end(); ++it) { in restoreCalleeSavedRegisters()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/
DAVRFrameLowering.h27 const std::vector<CalleeSavedInfo> &CSI,
32 std::vector<CalleeSavedInfo> &CSI,

123