Home
last modified time | relevance | path

Searched refs:Amount (Results 1 – 25 of 166) sorted by relevance

1234567

/external/llvm-project/lldb/tools/lldb-test/
DFormatUtil.cpp24 void LinePrinter::Indent(uint32_t Amount) { in Indent() argument
25 if (Amount == 0) in Indent()
26 Amount = IndentSpaces; in Indent()
27 CurrentIndent += Amount; in Indent()
30 void LinePrinter::Unindent(uint32_t Amount) { in Unindent() argument
31 if (Amount == 0) in Unindent()
32 Amount = IndentSpaces; in Unindent()
33 CurrentIndent = std::max<int>(0, CurrentIndent - Amount); in Unindent()
DFormatUtil.h43 void Indent(uint32_t Amount = 0);
44 void Unindent(uint32_t Amount = 0);
62 explicit AutoIndent(LinePrinter &L, uint32_t Amount = 0)
63 : L(&L), Amount(Amount) {
64 L.Indent(Amount);
68 L->Unindent(Amount); in ~AutoIndent()
72 uint32_t Amount = 0; member
/external/llvm/lib/Target/X86/
DX86WinAllocaExpander.cpp162 int64_t Amount = getWinAllocaAmount(&MI, MRI); in computeLowerings() local
163 Lowering L = getLowering(Offset, Amount); in computeLowerings()
167 Offset += Amount; in computeLowerings()
170 Offset = Amount; in computeLowerings()
195 static unsigned getSubOpcode(bool Is64Bit, int64_t Amount) { in getSubOpcode() argument
197 return isInt<8>(Amount) ? X86::SUB64ri8 : X86::SUB64ri32; in getSubOpcode()
198 return isInt<8>(Amount) ? X86::SUB32ri8 : X86::SUB32ri; in getSubOpcode()
206 int64_t Amount = getWinAllocaAmount(MI, MRI); in lower() local
207 if (Amount == 0) { in lower()
218 assert(Amount >= SlotSize); in lower()
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DFormatCommon.h23 size_t Amount; member
25 FmtAlign(detail::format_adapter &Adapter, AlignStyle Where, size_t Amount) in FmtAlign()
26 : Adapter(Adapter), Where(Where), Amount(Amount) {} in FmtAlign()
34 if (Amount == 0) { in format()
42 if (Amount <= Item.size()) { in format()
47 size_t PadAmount = Amount - Item.size(); in format()
/external/llvm-project/llvm/lib/Target/X86/
DX86WinAllocaExpander.cpp159 int64_t Amount = getWinAllocaAmount(&MI, MRI); in computeLowerings() local
160 Lowering L = getLowering(Offset, Amount); in computeLowerings()
164 Offset += Amount; in computeLowerings()
167 Offset = Amount; in computeLowerings()
192 static unsigned getSubOpcode(bool Is64Bit, int64_t Amount) { in getSubOpcode() argument
194 return isInt<8>(Amount) ? X86::SUB64ri8 : X86::SUB64ri32; in getSubOpcode()
195 return isInt<8>(Amount) ? X86::SUB32ri8 : X86::SUB32ri; in getSubOpcode()
203 int64_t Amount = getWinAllocaAmount(MI, MRI); in lower() local
204 if (Amount == 0) { in lower()
217 assert(Amount >= SlotSize); in lower()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86WinAllocaExpander.cpp158 int64_t Amount = getWinAllocaAmount(&MI, MRI); in computeLowerings() local
159 Lowering L = getLowering(Offset, Amount); in computeLowerings()
163 Offset += Amount; in computeLowerings()
166 Offset = Amount; in computeLowerings()
191 static unsigned getSubOpcode(bool Is64Bit, int64_t Amount) { in getSubOpcode() argument
193 return isInt<8>(Amount) ? X86::SUB64ri8 : X86::SUB64ri32; in getSubOpcode()
194 return isInt<8>(Amount) ? X86::SUB32ri8 : X86::SUB32ri; in getSubOpcode()
202 int64_t Amount = getWinAllocaAmount(MI, MRI); in lower() local
203 if (Amount == 0) { in lower()
216 assert(Amount >= SlotSize); in lower()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DFormatCommon.h22 size_t Amount; member
25 FmtAlign(detail::format_adapter &Adapter, AlignStyle Where, size_t Amount,
27 : Adapter(Adapter), Where(Where), Amount(Amount), Fill(Fill) {} in Adapter()
35 if (Amount == 0) { in format()
43 if (Amount <= Item.size()) { in format()
48 size_t PadAmount = Amount - Item.size(); in format()
DFormatAdapters.h30 size_t Amount; variable
34 AlignAdapter(T &&Item, AlignStyle Where, size_t Amount, char Fill) in AlignAdapter() argument
35 : FormatAdapter<T>(std::forward<T>(Item)), Where(Where), Amount(Amount), in AlignAdapter()
40 FmtAlign(Adapter, Where, Amount, Fill).format(Stream, Style); in format()
85 detail::AlignAdapter<T> fmt_align(T &&Item, AlignStyle Where, size_t Amount,
87 return detail::AlignAdapter<T>(std::forward<T>(Item), Where, Amount, Fill);
/external/llvm-project/llvm/include/llvm/Support/
DFormatCommon.h22 size_t Amount; member
25 FmtAlign(detail::format_adapter &Adapter, AlignStyle Where, size_t Amount,
27 : Adapter(Adapter), Where(Where), Amount(Amount), Fill(Fill) {} in Adapter()
35 if (Amount == 0) { in format()
43 if (Amount <= Item.size()) { in format()
48 size_t PadAmount = Amount - Item.size(); in format()
DFormatAdapters.h29 size_t Amount; variable
33 AlignAdapter(T &&Item, AlignStyle Where, size_t Amount, char Fill) in AlignAdapter() argument
34 : FormatAdapter<T>(std::forward<T>(Item)), Where(Where), Amount(Amount), in AlignAdapter()
39 FmtAlign(Adapter, Where, Amount, Fill).format(Stream, Style); in format()
86 detail::AlignAdapter<T> fmt_align(T &&Item, AlignStyle Where, size_t Amount,
88 return detail::AlignAdapter<T>(std::forward<T>(Item), Where, Amount, Fill);
/external/llvm-project/llvm/tools/llvm-pdbutil/
DLinePrinter.h38 void Indent(uint32_t Amount = 0);
39 void Unindent(uint32_t Amount = 0);
114 explicit AutoIndent(LinePrinter &L, uint32_t Amount = 0)
115 : L(&L), Amount(Amount) {
116 L.Indent(Amount);
121 Amount = Scope->IndentLevel; in AutoIndent()
126 L->Unindent(Amount); in ~AutoIndent()
130 uint32_t Amount = 0; member
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DBlockFrequencyInfoImpl.cpp123 void Distribution::add(const BlockNode &Node, uint64_t Amount, in add() argument
125 assert(Amount && "invalid weight of 0"); in add()
126 uint64_t NewTotal = Total + Amount; in add()
137 Weights.push_back(Weight(Type, Node, Amount)); in add()
142 if (!W.Amount) { in combineWeight()
148 assert(OtherW.Amount && "Expected non-zero weight"); in combineWeight()
149 if (W.Amount > W.Amount + OtherW.Amount) in combineWeight()
151 W.Amount = UINT64_MAX; in combineWeight()
153 W.Amount += OtherW.Amount; in combineWeight()
226 Weights.front().Amount = 1; in normalize()
[all …]
/external/llvm-project/llvm/lib/Analysis/
DBlockFrequencyInfoImpl.cpp129 void Distribution::add(const BlockNode &Node, uint64_t Amount, in add() argument
131 assert(Amount && "invalid weight of 0"); in add()
132 uint64_t NewTotal = Total + Amount; in add()
143 Weights.push_back(Weight(Type, Node, Amount)); in add()
148 if (!W.Amount) { in combineWeight()
154 assert(OtherW.Amount && "Expected non-zero weight"); in combineWeight()
155 if (W.Amount > W.Amount + OtherW.Amount) in combineWeight()
157 W.Amount = UINT64_MAX; in combineWeight()
159 W.Amount += OtherW.Amount; in combineWeight()
232 Weights.front().Amount = 1; in normalize()
[all …]
/external/llvm/lib/Analysis/
DBlockFrequencyInfoImpl.cpp103 void Distribution::add(const BlockNode &Node, uint64_t Amount, in add() argument
105 assert(Amount && "invalid weight of 0"); in add()
106 uint64_t NewTotal = Total + Amount; in add()
117 Weights.push_back(Weight(Type, Node, Amount)); in add()
122 if (!W.Amount) { in combineWeight()
128 assert(OtherW.Amount && "Expected non-zero weight"); in combineWeight()
129 if (W.Amount > W.Amount + OtherW.Amount) in combineWeight()
131 W.Amount = UINT64_MAX; in combineWeight()
133 W.Amount += OtherW.Amount; in combineWeight()
205 Weights.front().Amount = 1; in normalize()
[all …]
/external/llvm-project/llvm/lib/Target/Mips/
DMipsFrameLowering.cpp143 int64_t Amount = I->getOperand(0).getImm(); in eliminateCallFramePseudoInstr() local
145 Amount = -Amount; in eliminateCallFramePseudoInstr()
147 STI.getInstrInfo()->adjustStackPtr(SP, Amount, MBB, I); in eliminateCallFramePseudoInstr()
DMips16InstrInfo.cpp275 void Mips16InstrInfo::adjustStackPtrBig(unsigned SP, int64_t Amount, in adjustStackPtrBig() argument
288 MIB1.addImm(Amount).addImm(-1); in adjustStackPtrBig()
300 unsigned SP, int64_t Amount, MachineBasicBlock &MBB, in adjustStackPtrBigUnrestricted() argument
306 void Mips16InstrInfo::adjustStackPtr(unsigned SP, int64_t Amount, in adjustStackPtr() argument
309 if (Amount == 0) in adjustStackPtr()
312 if (isInt<16>(Amount)) // need to change to addiu sp, ....and isInt<16> in adjustStackPtr()
313 BuildAddiuSpImm(MBB, I, Amount); in adjustStackPtr()
315 adjustStackPtrBigUnrestricted(SP, Amount, MBB, I); in adjustStackPtr()
473 int64_t Amount) { in validImmediate() argument
485 return isInt<16>(Amount); in validImmediate()
[all …]
DMips16InstrInfo.h82 void adjustStackPtr(unsigned SP, int64_t Amount, MachineBasicBlock &MBB,
92 static bool validImmediate(unsigned Opcode, unsigned Reg, int64_t Amount);
118 void adjustStackPtrBig(unsigned SP, int64_t Amount, MachineBasicBlock &MBB,
123 void adjustStackPtrBigUnrestricted(unsigned SP, int64_t Amount,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsFrameLowering.cpp143 int64_t Amount = I->getOperand(0).getImm(); in eliminateCallFramePseudoInstr() local
145 Amount = -Amount; in eliminateCallFramePseudoInstr()
147 STI.getInstrInfo()->adjustStackPtr(SP, Amount, MBB, I); in eliminateCallFramePseudoInstr()
DMips16InstrInfo.cpp275 void Mips16InstrInfo::adjustStackPtrBig(unsigned SP, int64_t Amount, in adjustStackPtrBig() argument
288 MIB1.addImm(Amount).addImm(-1); in adjustStackPtrBig()
300 unsigned SP, int64_t Amount, MachineBasicBlock &MBB, in adjustStackPtrBigUnrestricted() argument
306 void Mips16InstrInfo::adjustStackPtr(unsigned SP, int64_t Amount, in adjustStackPtr() argument
309 if (Amount == 0) in adjustStackPtr()
312 if (isInt<16>(Amount)) // need to change to addiu sp, ....and isInt<16> in adjustStackPtr()
313 BuildAddiuSpImm(MBB, I, Amount); in adjustStackPtr()
315 adjustStackPtrBigUnrestricted(SP, Amount, MBB, I); in adjustStackPtr()
473 int64_t Amount) { in validImmediate() argument
485 return isInt<16>(Amount); in validImmediate()
[all …]
DMips16InstrInfo.h82 void adjustStackPtr(unsigned SP, int64_t Amount, MachineBasicBlock &MBB,
92 static bool validImmediate(unsigned Opcode, unsigned Reg, int64_t Amount);
118 void adjustStackPtrBig(unsigned SP, int64_t Amount, MachineBasicBlock &MBB,
123 void adjustStackPtrBigUnrestricted(unsigned SP, int64_t Amount,
/external/llvm/lib/Target/MSP430/
DMSP430FrameLowering.cpp239 uint64_t Amount = Old.getOperand(0).getImm(); in eliminateCallFramePseudoInstr() local
240 if (Amount != 0) { in eliminateCallFramePseudoInstr()
244 Amount = (Amount+StackAlign-1)/StackAlign*StackAlign; in eliminateCallFramePseudoInstr()
251 .addImm(Amount); in eliminateCallFramePseudoInstr()
256 Amount -= CalleeAmt; in eliminateCallFramePseudoInstr()
257 if (Amount) in eliminateCallFramePseudoInstr()
261 .addImm(Amount); in eliminateCallFramePseudoInstr()
/external/llvm-project/llvm/lib/Target/MSP430/
DMSP430FrameLowering.cpp232 uint64_t Amount = TII.getFrameSize(Old); in eliminateCallFramePseudoInstr() local
233 if (Amount != 0) { in eliminateCallFramePseudoInstr()
237 Amount = alignTo(Amount, getStackAlign()); in eliminateCallFramePseudoInstr()
244 .addImm(Amount); in eliminateCallFramePseudoInstr()
248 Amount -= TII.getFramePoppedByCallee(Old); in eliminateCallFramePseudoInstr()
249 if (Amount) in eliminateCallFramePseudoInstr()
253 .addImm(Amount); in eliminateCallFramePseudoInstr()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/
DMSP430FrameLowering.cpp238 uint64_t Amount = TII.getFrameSize(Old); in eliminateCallFramePseudoInstr() local
239 if (Amount != 0) { in eliminateCallFramePseudoInstr()
243 Amount = (Amount+StackAlign-1)/StackAlign*StackAlign; in eliminateCallFramePseudoInstr()
250 .addImm(Amount); in eliminateCallFramePseudoInstr()
254 Amount -= TII.getFramePoppedByCallee(Old); in eliminateCallFramePseudoInstr()
255 if (Amount) in eliminateCallFramePseudoInstr()
259 .addImm(Amount); in eliminateCallFramePseudoInstr()
/external/llvm/lib/Target/Mips/
DMipsFrameLowering.cpp151 int64_t Amount = I->getOperand(0).getImm(); in eliminateCallFramePseudoInstr() local
153 Amount = -Amount; in eliminateCallFramePseudoInstr()
155 STI.getInstrInfo()->adjustStackPtr(SP, Amount, MBB, I); in eliminateCallFramePseudoInstr()
DMips16InstrInfo.h78 void adjustStackPtr(unsigned SP, int64_t Amount, MachineBasicBlock &MBB,
89 static bool validImmediate(unsigned Opcode, unsigned Reg, int64_t Amount);
113 void adjustStackPtrBig(unsigned SP, int64_t Amount, MachineBasicBlock &MBB,
118 void adjustStackPtrBigUnrestricted(unsigned SP, int64_t Amount,

1234567