/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86WinAllocaExpander.cpp | 163 int64_t Amount = getWinAllocaAmount(&MI, MRI); in computeLowerings() local 164 Lowering L = getLowering(Offset, Amount); in computeLowerings() 168 Offset += Amount; in computeLowerings() 171 Offset = Amount; in computeLowerings() 196 static unsigned getSubOpcode(bool Is64Bit, int64_t Amount) { in getSubOpcode() argument 198 return isInt<8>(Amount) ? X86::SUB64ri8 : X86::SUB64ri32; in getSubOpcode() 199 return isInt<8>(Amount) ? X86::SUB32ri8 : X86::SUB32ri; in getSubOpcode() 207 int64_t Amount = getWinAllocaAmount(MI, MRI); in lower() local 208 if (Amount == 0) { in lower() 219 assert(Amount >= SlotSize); in lower() [all …]
|
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | FormatCommon.h | 23 size_t Amount; member 26 FmtAlign(detail::format_adapter &Adapter, AlignStyle Where, size_t Amount, 28 : Adapter(Adapter), Where(Where), Amount(Amount), Fill(Fill) {} in Adapter() 36 if (Amount == 0) { in format() 44 if (Amount <= Item.size()) { in format() 49 size_t PadAmount = Amount - Item.size(); in format()
|
D | FormatAdapters.h | 31 size_t Amount; variable 35 AlignAdapter(T &&Item, AlignStyle Where, size_t Amount, char Fill) in AlignAdapter() argument 36 : FormatAdapter<T>(std::forward<T>(Item)), Where(Where), Amount(Amount), in AlignAdapter() 41 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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/ |
D | LinePrinter.h | 39 void Indent(uint32_t Amount = 0); 40 void Unindent(uint32_t Amount = 0); 115 explicit AutoIndent(LinePrinter &L, uint32_t Amount = 0) 116 : L(&L), Amount(Amount) { 117 L.Indent(Amount); 122 Amount = Scope->IndentLevel; in AutoIndent() 127 L->Unindent(Amount); in ~AutoIndent() 131 uint32_t Amount = 0; member
|
D | LinePrinter.cpp | 71 void LinePrinter::Indent(uint32_t Amount) { in Indent() argument 72 if (Amount == 0) in Indent() 73 Amount = IndentSpaces; in Indent() 74 CurrentIndent += Amount; in Indent() 77 void LinePrinter::Unindent(uint32_t Amount) { in Unindent() argument 78 if (Amount == 0) in Unindent() 79 Amount = IndentSpaces; in Unindent() 80 CurrentIndent = std::max<int>(0, CurrentIndent - Amount); in Unindent()
|
/external/swiftshader/third_party/LLVM/lib/Target/XCore/ |
D | XCoreRegisterInfo.cpp | 124 uint64_t Amount = Old->getOperand(0).getImm(); in eliminateCallFramePseudoInstr() local 125 if (Amount != 0) { in eliminateCallFramePseudoInstr() 130 Amount = (Amount+Align-1)/Align*Align; in eliminateCallFramePseudoInstr() 132 assert(Amount%4 == 0); in eliminateCallFramePseudoInstr() 133 Amount /= 4; in eliminateCallFramePseudoInstr() 135 bool isU6 = isImmU6(Amount); in eliminateCallFramePseudoInstr() 136 if (!isU6 && !isImmU16(Amount)) { in eliminateCallFramePseudoInstr() 140 << Amount << "\n"; in eliminateCallFramePseudoInstr() 149 .addImm(Amount); in eliminateCallFramePseudoInstr() 154 .addImm(Amount); in eliminateCallFramePseudoInstr()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | BlockFrequencyInfoImpl.cpp | 124 void Distribution::add(const BlockNode &Node, uint64_t Amount, in add() argument 126 assert(Amount && "invalid weight of 0"); in add() 127 uint64_t NewTotal = Total + Amount; in add() 138 Weights.push_back(Weight(Type, Node, Amount)); in add() 143 if (!W.Amount) { in combineWeight() 149 assert(OtherW.Amount && "Expected non-zero weight"); in combineWeight() 150 if (W.Amount > W.Amount + OtherW.Amount) in combineWeight() 152 W.Amount = UINT64_MAX; in combineWeight() 154 W.Amount += OtherW.Amount; in combineWeight() 227 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/swiftshader/third_party/LLVM/lib/Target/MSP430/ |
D | MSP430RegisterInfo.cpp | 114 uint64_t Amount = Old->getOperand(0).getImm(); in eliminateCallFramePseudoInstr() local 115 if (Amount != 0) { in eliminateCallFramePseudoInstr() 119 Amount = (Amount+StackAlign-1)/StackAlign*StackAlign; in eliminateCallFramePseudoInstr() 125 .addReg(MSP430::SPW).addImm(Amount); in eliminateCallFramePseudoInstr() 130 Amount -= CalleeAmt; in eliminateCallFramePseudoInstr() 131 if (Amount) in eliminateCallFramePseudoInstr() 134 .addReg(MSP430::SPW).addImm(Amount); in eliminateCallFramePseudoInstr()
|
/external/swiftshader/third_party/LLVM/lib/Target/Alpha/ |
D | AlphaRegisterInfo.cpp | 94 uint64_t Amount = Old->getOperand(0).getImm(); in eliminateCallFramePseudoInstr() local 95 if (Amount != 0) { in eliminateCallFramePseudoInstr() 100 Amount = (Amount+Align-1)/Align*Align; in eliminateCallFramePseudoInstr() 105 .addImm(-Amount).addReg(Alpha::R30); in eliminateCallFramePseudoInstr() 109 .addImm(Amount).addReg(Alpha::R30); in eliminateCallFramePseudoInstr()
|
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/ |
D | MBlazeRegisterInfo.cpp | 97 int Amount = Old->getOperand(0).getImm() + 4; in eliminateCallFramePseudoInstr() local 98 if (Amount != 0) { in eliminateCallFramePseudoInstr() 103 Amount = (Amount+Align-1)/Align*Align; in eliminateCallFramePseudoInstr() 108 .addReg(MBlaze::R1).addImm(-Amount); in eliminateCallFramePseudoInstr() 112 .addReg(MBlaze::R1).addImm(Amount); in eliminateCallFramePseudoInstr()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/MSP430/ |
D | MSP430FrameLowering.cpp | 239 uint64_t Amount = TII.getFrameSize(Old); in eliminateCallFramePseudoInstr() local 240 if (Amount != 0) { in eliminateCallFramePseudoInstr() 244 Amount = (Amount+StackAlign-1)/StackAlign*StackAlign; in eliminateCallFramePseudoInstr() 251 .addImm(Amount); in eliminateCallFramePseudoInstr() 255 Amount -= TII.getFramePoppedByCallee(Old); in eliminateCallFramePseudoInstr() 256 if (Amount) in eliminateCallFramePseudoInstr() 260 .addImm(Amount); in eliminateCallFramePseudoInstr()
|
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/ |
D | Mips16InstrInfo.cpp | 280 void Mips16InstrInfo::adjustStackPtrBig(unsigned SP, int64_t Amount, in adjustStackPtrBig() argument 293 MIB1.addImm(Amount).addImm(-1); in adjustStackPtrBig() 305 unsigned SP, int64_t Amount, MachineBasicBlock &MBB, in adjustStackPtrBigUnrestricted() argument 311 void Mips16InstrInfo::adjustStackPtr(unsigned SP, int64_t Amount, in adjustStackPtr() argument 314 if (Amount == 0) in adjustStackPtr() 317 if (isInt<16>(Amount)) // need to change to addiu sp, ....and isInt<16> in adjustStackPtr() 318 BuildAddiuSpImm(MBB, I, Amount); in adjustStackPtr() 320 adjustStackPtrBigUnrestricted(SP, Amount, MBB, I); in adjustStackPtr() 477 int64_t Amount) { in validImmediate() argument 489 return isInt<16>(Amount); in validImmediate() [all …]
|
D | MipsFrameLowering.cpp | 144 int64_t Amount = I->getOperand(0).getImm(); in eliminateCallFramePseudoInstr() local 146 Amount = -Amount; in eliminateCallFramePseudoInstr() 148 STI.getInstrInfo()->adjustStackPtr(SP, Amount, MBB, I); in eliminateCallFramePseudoInstr()
|
D | Mips16InstrInfo.h | 86 void adjustStackPtr(unsigned SP, int64_t Amount, MachineBasicBlock &MBB, 96 static bool validImmediate(unsigned Opcode, unsigned Reg, int64_t Amount); 115 void adjustStackPtrBig(unsigned SP, int64_t Amount, MachineBasicBlock &MBB, 120 void adjustStackPtrBigUnrestricted(unsigned SP, int64_t Amount,
|
/external/llvm/lib/Target/Mips/ |
D | Mips16InstrInfo.cpp | 260 void Mips16InstrInfo::adjustStackPtrBig(unsigned SP, int64_t Amount, in adjustStackPtrBig() argument 273 MIB1.addImm(Amount).addImm(-1); in adjustStackPtrBig() 285 unsigned SP, int64_t Amount, MachineBasicBlock &MBB, in adjustStackPtrBigUnrestricted() argument 291 void Mips16InstrInfo::adjustStackPtr(unsigned SP, int64_t Amount, in adjustStackPtr() argument 294 if (Amount == 0) in adjustStackPtr() 297 if (isInt<16>(Amount)) // need to change to addiu sp, ....and isInt<16> in adjustStackPtr() 298 BuildAddiuSpImm(MBB, I, Amount); in adjustStackPtr() 300 adjustStackPtrBigUnrestricted(SP, Amount, MBB, I); in adjustStackPtr() 457 int64_t Amount) { in validImmediate() argument 469 return isInt<16>(Amount); in validImmediate() [all …]
|
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,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/ |
D | RISCVFrameLowering.cpp | 285 int64_t Amount = MI->getOperand(0).getImm(); in eliminateCallFramePseudoInstr() local 287 if (Amount != 0) { in eliminateCallFramePseudoInstr() 289 Amount = alignSPAdjust(Amount); in eliminateCallFramePseudoInstr() 292 Amount = -Amount; in eliminateCallFramePseudoInstr() 294 adjustReg(MBB, MI, DL, SPReg, SPReg, Amount, MachineInstr::NoFlags); in eliminateCallFramePseudoInstr()
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
D | radeon_emulate_loops.c | 54 float Amount; member 168 count_inst->Amount += amount; in get_incr_amount() 175 count_inst->Amount -= amount; in get_incr_amount() 233 count_inst.Amount = 0.0f; in try_unroll_loop() 273 if(count_inst.Amount == 0.0f){ in try_unroll_loop() 276 DBG("Counter is increased by %f each iteration.\n", count_inst.Amount); in try_unroll_loop() 290 count_inst.Amount); in try_unroll_loop() 296 count_inst.Amount) + 1; in try_unroll_loop()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/ |
D | XCoreFrameLowering.cpp | 495 uint64_t Amount = Old.getOperand(0).getImm(); in eliminateCallFramePseudoInstr() local 496 if (Amount != 0) { in eliminateCallFramePseudoInstr() 501 Amount = (Amount+Align-1)/Align*Align; in eliminateCallFramePseudoInstr() 503 assert(Amount%4 == 0); in eliminateCallFramePseudoInstr() 504 Amount /= 4; in eliminateCallFramePseudoInstr() 506 bool isU6 = isImmU6(Amount); in eliminateCallFramePseudoInstr() 507 if (!isU6 && !isImmU16(Amount)) { in eliminateCallFramePseudoInstr() 511 << Amount << "\n"; in eliminateCallFramePseudoInstr() 519 New = BuildMI(MF, Old.getDebugLoc(), TII.get(Opcode)).addImm(Amount); in eliminateCallFramePseudoInstr() 524 .addImm(Amount); in eliminateCallFramePseudoInstr()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreFrameLowering.cpp | 493 uint64_t Amount = Old->getOperand(0).getImm(); in eliminateCallFramePseudoInstr() local 494 if (Amount != 0) { in eliminateCallFramePseudoInstr() 499 Amount = (Amount+Align-1)/Align*Align; in eliminateCallFramePseudoInstr() 501 assert(Amount%4 == 0); in eliminateCallFramePseudoInstr() 502 Amount /= 4; in eliminateCallFramePseudoInstr() 504 bool isU6 = isImmU6(Amount); in eliminateCallFramePseudoInstr() 505 if (!isU6 && !isImmU16(Amount)) { in eliminateCallFramePseudoInstr() 509 << Amount << "\n"; in eliminateCallFramePseudoInstr() 518 .addImm(Amount); in eliminateCallFramePseudoInstr() 523 .addImm(Amount); in eliminateCallFramePseudoInstr()
|