/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
FormatCommon.h | 23 size_t Amount; 26 FmtAlign(detail::format_adapter &Adapter, AlignStyle Where, size_t Amount, 28 : Adapter(Adapter), Where(Where), Amount(Amount), Fill(Fill) {} 36 if (Amount == 0) { 44 if (Amount <= Item.size()) { 49 size_t PadAmount = Amount - Item.size();
|
FormatAdapters.h | 31 size_t Amount; 35 AlignAdapter(T &&Item, AlignStyle Where, size_t Amount, char Fill) 36 : FormatAdapter<T>(std::forward<T>(Item)), Where(Where), Amount(Amount), 41 FmtAlign(Adapter, Where, Amount, Fill).format(Stream, Style); 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-subzero/include/llvm/Support/ |
FormatCommon.h | 23 size_t Amount; 25 FmtAlign(detail::format_adapter &Adapter, AlignStyle Where, size_t Amount) 26 : Adapter(Adapter), Where(Where), Amount(Amount) {} 34 if (Amount == 0) { 42 if (Amount <= Item.size()) { 47 size_t PadAmount = Amount - Item.size();
|
/external/llvm/lib/Target/X86/ |
X86WinAllocaExpander.cpp | 52 /// Get the appropriate lowering based on current offset and amount. 78 /// Return the allocation amount for a WinAlloca instruction, or -1 if unknown. 102 // For a non-constant amount or a large amount, we have to probe. 162 int64_t Amount = getWinAllocaAmount(&MI, MRI); 163 Lowering L = getLowering(Offset, Amount); 167 Offset += Amount; 170 Offset = Amount; 195 static unsigned getSubOpcode(bool Is64Bit, int64_t Amount) { 197 return isInt<8>(Amount) ? X86::SUB64ri8 : X86::SUB64ri32 [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
X86WinAllocaExpander.cpp | 52 /// Get the appropriate lowering based on current offset and amount. 79 /// Return the allocation amount for a WinAlloca instruction, or -1 if unknown. 103 // For a non-constant amount or a large amount, we have to probe. 163 int64_t Amount = getWinAllocaAmount(&MI, MRI); 164 Lowering L = getLowering(Offset, Amount); 168 Offset += Amount; 171 Offset = Amount; 196 static unsigned getSubOpcode(bool Is64Bit, int64_t Amount) { 198 return isInt<8>(Amount) ? X86::SUB64ri8 : X86::SUB64ri32 [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/ |
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; 127 L->Unindent(Amount); 131 uint32_t Amount = 0;
|
PrettyClassLayoutGraphicalDumper.h | 46 void printPaddingRow(uint32_t Amount);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/ |
MipsFrameLowering.cpp | 144 int64_t Amount = I->getOperand(0).getImm(); 146 Amount = -Amount; 148 STI.getInstrInfo()->adjustStackPtr(SP, Amount, MBB, I);
|
Mips16InstrInfo.h | 85 /// Adjust SP by Amount bytes. 86 void adjustStackPtr(unsigned SP, int64_t Amount, MachineBasicBlock &MBB, 96 static bool validImmediate(unsigned Opcode, unsigned Reg, int64_t Amount); 114 // Adjust SP by Amount bytes where bytes can be up to 32bit number. 115 void adjustStackPtrBig(unsigned SP, int64_t Amount, MachineBasicBlock &MBB, 119 // Adjust SP by Amount bytes where bytes can be up to 32bit number. 120 void adjustStackPtrBigUnrestricted(unsigned SP, int64_t Amount,
|
Mips16InstrInfo.cpp | 276 // Adjust SP by Amount bytes where bytes can be up to 32bit number. 280 void Mips16InstrInfo::adjustStackPtrBig(unsigned SP, int64_t Amount, 293 MIB1.addImm(Amount).addImm(-1); 305 unsigned SP, int64_t Amount, MachineBasicBlock &MBB, 307 llvm_unreachable("adjust stack pointer amount exceeded"); 310 /// Adjust SP by Amount bytes. 311 void Mips16InstrInfo::adjustStackPtr(unsigned SP, int64_t Amount, 314 if (Amount == 0) 317 if (isInt<16>(Amount)) // need to change to addiu sp, ....and isInt<16> 318 BuildAddiuSpImm(MBB, I, Amount); [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/ |
MBlazeRegisterInfo.cpp | 97 int Amount = Old->getOperand(0).getImm() + 4; 98 if (Amount != 0) { 100 // amount of space needed for the outgoing arguments up to the next 103 Amount = (Amount+Align-1)/Align*Align; 108 .addReg(MBlaze::R1).addImm(-Amount); 112 .addReg(MBlaze::R1).addImm(Amount);
|
/external/llvm/lib/Target/Mips/ |
Mips16InstrInfo.h | 77 /// Adjust SP by Amount bytes. 78 void adjustStackPtr(unsigned SP, int64_t Amount, MachineBasicBlock &MBB, 89 static bool validImmediate(unsigned Opcode, unsigned Reg, int64_t Amount); 112 // Adjust SP by Amount bytes where bytes can be up to 32bit number. 113 void adjustStackPtrBig(unsigned SP, int64_t Amount, MachineBasicBlock &MBB, 117 // Adjust SP by Amount bytes where bytes can be up to 32bit number. 118 void adjustStackPtrBigUnrestricted(unsigned SP, int64_t Amount,
|
MipsFrameLowering.cpp | 151 int64_t Amount = I->getOperand(0).getImm(); 153 Amount = -Amount; 155 STI.getInstrInfo()->adjustStackPtr(SP, Amount, MBB, I);
|
Mips16InstrInfo.cpp | 255 // Adjust SP by Amount bytes where bytes can be up to 32bit number. 260 void Mips16InstrInfo::adjustStackPtrBig(unsigned SP, int64_t Amount, 273 MIB1.addImm(Amount).addImm(-1); 285 unsigned SP, int64_t Amount, MachineBasicBlock &MBB, 287 llvm_unreachable("adjust stack pointer amount exceeded"); 290 /// Adjust SP by Amount bytes. 291 void Mips16InstrInfo::adjustStackPtr(unsigned SP, int64_t Amount, 294 if (Amount == 0) 297 if (isInt<16>(Amount)) // need to change to addiu sp, ....and isInt<16> 298 BuildAddiuSpImm(MBB, I, Amount); [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/XCore/ |
XCoreRegisterInfo.cpp | 124 uint64_t Amount = Old->getOperand(0).getImm(); 125 if (Amount != 0) { 127 // amount of space needed for the outgoing arguments up to the next 130 Amount = (Amount+Align-1)/Align*Align; 132 assert(Amount%4 == 0); 133 Amount /= 4; 135 bool isU6 = isImmU6(Amount); 136 if (!isU6 && !isImmU16(Amount)) { 140 << Amount << "\n" [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/MSP430/ |
MSP430RegisterInfo.cpp | 114 uint64_t Amount = Old->getOperand(0).getImm(); 115 if (Amount != 0) { 117 // amount of space needed for the outgoing arguments up to the next 119 Amount = (Amount+StackAlign-1)/StackAlign*StackAlign; 125 .addReg(MSP430::SPW).addImm(Amount); 128 // factor out the amount the callee already popped. 130 Amount -= CalleeAmt; 131 if (Amount) 134 .addReg(MSP430::SPW).addImm(Amount); [all...] |
/device/linaro/bootloader/edk2/FatPkg/FatPei/ |
FatLiteLib.c | 223 @param Size the amount of data to read.
246 UINTN Amount;
261 Amount = Size < (BlockSize - Offset) ? Size : (BlockSize - Offset);
262 CopyMem (BufferPtr, CachePtr + Offset, Amount);
264 if (Size == Amount) {
268 Size -= Amount;
269 BufferPtr += Amount;
270 StartingAddress += Amount;
|
FatLiteAccess.c | 319 // Calculate the amount of consecutive cluster occupied by the file.
351 @param Size The amount of data to read.
371 UINTN Amount;
405 Amount = File->StraightReadAmount;
406 Amount = Size > Amount ? Amount : Size;
411 Amount,
420 FatSetFilePos (PrivateData, File, (UINT32) Amount);
422 BufferPtr += Amount;
[all...] |
/external/llvm/lib/Target/MSP430/ |
MSP430FrameLowering.cpp | 239 uint64_t Amount = Old.getOperand(0).getImm(); 240 if (Amount != 0) { 242 // amount of space needed for the outgoing arguments up to the next 244 Amount = (Amount+StackAlign-1)/StackAlign*StackAlign; 251 .addImm(Amount); 254 // factor out the amount the callee already popped. 256 Amount -= CalleeAmt; 257 if (Amount) 261 .addImm(Amount); [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/MSP430/ |
MSP430FrameLowering.cpp | 239 uint64_t Amount = TII.getFrameSize(Old); 240 if (Amount != 0) { 242 // amount of space needed for the outgoing arguments up to the next 244 Amount = (Amount+StackAlign-1)/StackAlign*StackAlign; 251 .addImm(Amount); 254 // factor out the amount the callee already popped. 255 Amount -= TII.getFramePoppedByCallee(Old); 256 if (Amount) 260 .addImm(Amount); [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/Alpha/ |
AlphaRegisterInfo.cpp | 94 uint64_t Amount = Old->getOperand(0).getImm(); 95 if (Amount != 0) { 97 // amount of space needed for the outgoing arguments up to the next 100 Amount = (Amount+Align-1)/Align*Align; 105 .addImm(-Amount).addReg(Alpha::R30); 109 .addImm(Amount).addReg(Alpha::R30);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/ |
RISCVFrameLowering.cpp | 285 int64_t Amount = MI->getOperand(0).getImm(); 287 if (Amount != 0) { 289 Amount = alignSPAdjust(Amount); 292 Amount = -Amount; 294 adjustReg(MBB, MI, DL, SPReg, SPReg, Amount, MachineInstr::NoFlags);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
BlockFrequencyInfoImpl.cpp | 124 void Distribution::add(const BlockNode &Node, uint64_t Amount, 126 assert(Amount && "invalid weight of 0"); 127 uint64_t NewTotal = Total + Amount; 138 Weights.push_back(Weight(Type, Node, Amount)); 143 if (!W.Amount) { 149 assert(OtherW.Amount && "Expected non-zero weight"); 150 if (W.Amount > W.Amount + OtherW.Amount) 152 W.Amount = UINT64_MAX [all...] |
/external/llvm/lib/Analysis/ |
BlockFrequencyInfoImpl.cpp | 103 void Distribution::add(const BlockNode &Node, uint64_t Amount, 105 assert(Amount && "invalid weight of 0"); 106 uint64_t NewTotal = Total + Amount; 117 Weights.push_back(Weight(Type, Node, Amount)); 122 if (!W.Amount) { 128 assert(OtherW.Amount && "Expected non-zero weight"); 129 if (W.Amount > W.Amount + OtherW.Amount) 131 W.Amount = UINT64_MAX [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
BinaryStreamReader.cpp | 118 Error BinaryStreamReader::skip(uint32_t Amount) { 119 if (Amount > bytesRemaining()) 121 Offset += Amount;
|