/external/llvm-project/lldb/tools/lldb-test/ |
D | FormatUtil.cpp | 24 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()
|
D | FormatUtil.h | 43 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/ |
D | X86WinAllocaExpander.cpp | 162 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/ |
D | FormatCommon.h | 23 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/ |
D | X86WinAllocaExpander.cpp | 159 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/ |
D | X86WinAllocaExpander.cpp | 158 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/ |
D | FormatCommon.h | 22 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()
|
D | FormatAdapters.h | 30 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/ |
D | FormatCommon.h | 22 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()
|
D | FormatAdapters.h | 29 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/ |
D | LinePrinter.h | 38 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/ |
D | BlockFrequencyInfoImpl.cpp | 123 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/ |
D | BlockFrequencyInfoImpl.cpp | 129 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/ |
D | BlockFrequencyInfoImpl.cpp | 103 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/ |
D | MipsFrameLowering.cpp | 143 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()
|
D | Mips16InstrInfo.cpp | 275 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 …]
|
D | Mips16InstrInfo.h | 82 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/ |
D | MipsFrameLowering.cpp | 143 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()
|
D | Mips16InstrInfo.cpp | 275 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 …]
|
D | Mips16InstrInfo.h | 82 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/ |
D | MSP430FrameLowering.cpp | 239 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/ |
D | MSP430FrameLowering.cpp | 232 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/ |
D | MSP430FrameLowering.cpp | 238 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/ |
D | MipsFrameLowering.cpp | 151 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()
|
D | Mips16InstrInfo.h | 78 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,
|