Home
last modified time | relevance | path

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

123456

/external/autotest/client/site_tests/firmware_TouchMTB/
Dmini_color.py12 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/
DSystemZFrameLowering.cpp227 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/
DSystemZFrameLowering.cpp134 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/
DMips16FrameLowering.cpp64 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
DMips16RegisterInfo.cpp84 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()
DMipsSERegisterInfo.cpp116 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/
DMips16FrameLowering.cpp71 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
DMips16RegisterInfo.cpp84 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/
DHexagonFrameLowering.h35 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;
DHexagonFrameLowering.cpp223 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/
DSystemZFrameLowering.cpp134 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/
DHexagonFrameLowering.h45 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;
DHexagonFrameLowering.cpp265 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/
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 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/
DARCFrameLowering.cpp77 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/
DPrologEpilogInserter.cpp224 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/
DThumb1FrameLowering.cpp59 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 …]
DARMFrameLowering.h41 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/
DMSP430FrameLowering.cpp183 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/
DMSP430FrameLowering.cpp183 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/
DThumb1FrameLowering.cpp101 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 …]
DARMFrameLowering.h36 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/
DARMFrameLowering.h37 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/
DPrologEpilogInserter.cpp338 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/
DXCoreFrameLowering.cpp204 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()

123456