Searched refs:Amount (Results 1 - 25 of 64) sorted by relevance

123

/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DFormatCommon.h22 size_t Amount; member in struct:llvm::FmtAlign
25 FmtAlign(detail::format_adapter &Adapter, AlignStyle Where, size_t Amount, argument
27 : Adapter(Adapter), Where(Where), Amount(Amount), Fill(Fill) {}
35 if (Amount == 0) {
43 if (Amount <= Item.size()) {
48 size_t PadAmount = Amount - Item.size();
H A DFormatAdapters.h29 size_t Amount; member in class:llvm::detail::final
33 AlignAdapter(T &&Item, AlignStyle Where, size_t Amount, char Fill) argument
34 : FormatAdapter<T>(std::forward<T>(Item)), Where(Where), Amount(Amount),
39 FmtAlign(Adapter, Where, Amount, Fill).format(Stream, Style);
86 detail::AlignAdapter<T> fmt_align(T &&Item, AlignStyle Where, size_t Amount, argument
88 return detail::AlignAdapter<T>(std::forward<T>(Item), Where, Amount, Fill);
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86WinAllocaExpander.cpp159 int64_t Amount = getWinAllocaAmount(&MI, MRI); local
160 Lowering L = getLowering(Offset, Amount);
164 Offset += Amount;
167 Offset = Amount;
192 static unsigned getSubOpcode(bool Is64Bit, int64_t Amount) { argument
194 return isInt<8>(Amount) ? X86::SUB64ri8 : X86::SUB64ri32;
195 return isInt<8>(Amount) ? X86::SUB32ri8 : X86::SUB32ri;
203 int64_t Amount = getWinAllocaAmount(MI, MRI); local
204 if (Amount == 0) {
217 assert(Amount >
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/
H A 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;
126 L->Unindent(Amount);
130 uint32_t Amount = 0; member in struct:llvm::pdb::AutoIndent
H A DPrettyClassLayoutGraphicalDumper.h45 void printPaddingRow(uint32_t Amount);
H A DLinePrinter.cpp70 void LinePrinter::Indent(uint32_t Amount) { argument
71 if (Amount == 0)
72 Amount = IndentSpaces;
73 CurrentIndent += Amount;
76 void LinePrinter::Unindent(uint32_t Amount) { argument
77 if (Amount == 0)
78 Amount = IndentSpaces;
79 CurrentIndent = std::max<int>(0, CurrentIndent - Amount);
H A DPrettyClassLayoutGraphicalDumper.cpp97 void PrettyClassLayoutGraphicalDumper::printPaddingRow(uint32_t Amount) { argument
98 if (Amount == 0)
102 WithColor(Printer, PDB_ColorItem::Padding).get() << "<padding> (" << Amount
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/Mips/
H A DMipsFrameLowering.cpp143 int64_t Amount = I->getOperand(0).getImm(); local
145 Amount = -Amount;
147 STI.getInstrInfo()->adjustStackPtr(SP, Amount, MBB, I);
H A DMips16InstrInfo.h81 /// Adjust SP by Amount bytes.
82 void adjustStackPtr(unsigned SP, int64_t Amount, MachineBasicBlock &MBB,
92 static bool validImmediate(unsigned Opcode, unsigned Reg, int64_t Amount);
117 // Adjust SP by Amount bytes where bytes can be up to 32bit number.
118 void adjustStackPtrBig(unsigned SP, int64_t Amount, MachineBasicBlock &MBB,
122 // Adjust SP by Amount bytes where bytes can be up to 32bit number.
123 void adjustStackPtrBigUnrestricted(unsigned SP, int64_t Amount,
H A DMips16InstrInfo.cpp271 // Adjust SP by Amount bytes where bytes can be up to 32bit number.
275 void Mips16InstrInfo::adjustStackPtrBig(unsigned SP, int64_t Amount, argument
288 MIB1.addImm(Amount).addImm(-1);
300 unsigned SP, int64_t Amount, MachineBasicBlock &MBB,
305 /// Adjust SP by Amount bytes.
306 void Mips16InstrInfo::adjustStackPtr(unsigned SP, int64_t Amount, argument
309 if (Amount == 0)
312 if (isInt<16>(Amount)) // need to change to addiu sp, ....and isInt<16>
313 BuildAddiuSpImm(MBB, I, Amount);
315 adjustStackPtrBigUnrestricted(SP, Amount, MB
299 adjustStackPtrBigUnrestricted( unsigned SP, int64_t Amount, MachineBasicBlock &MBB, MachineBasicBlock::iterator I) const argument
472 validImmediate(unsigned Opcode, unsigned Reg, int64_t Amount) argument
[all...]
H A DMipsSEInstrInfo.h69 /// Adjust SP by Amount bytes.
70 void adjustStackPtr(unsigned SP, int64_t Amount, MachineBasicBlock &MBB,
H A DMipsInstrInfo.h146 virtual void adjustStackPtr(unsigned SP, int64_t Amount,
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/MSP430/
H A DMSP430FrameLowering.cpp232 uint64_t Amount = TII.getFrameSize(Old); local
233 if (Amount != 0) {
237 Amount = alignTo(Amount, getStackAlign());
244 .addImm(Amount);
248 Amount -= TII.getFramePoppedByCallee(Old);
249 if (Amount)
253 .addImm(Amount);
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DBlockFrequencyInfoImpl.cpp131 void Distribution::add(const BlockNode &Node, uint64_t Amount,
133 assert(Amount && "invalid weight of 0");
134 uint64_t NewTotal = Total + Amount;
145 Weights.push_back(Weight(Type, Node, Amount));
150 if (!W.Amount) {
156 assert(OtherW.Amount && "Expected non-zero weight");
157 if (W.Amount > W.Amount + OtherW.Amount)
159 W.Amount
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DIteratorModeling.cpp112 const SVal &Iterator, const SVal &Amount) const;
116 SVal Amount) const;
118 SVal Amount) const;
120 SVal Amount) const;
395 const SVal &Amount = IsIterFirst ? SecondArg : FirstArg; local
398 Iterator, Amount);
594 const SVal &Amount) const {
603 const auto *Value = &Amount;
605 if (auto LocAmount = Amount.getAs<Loc>()) {
675 SVal Amount) cons
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
H A DRISCVFrameLowering.cpp310 int64_t Amount) const {
311 assert(Amount != 0 && "Did not need to adjust stack pointer for RVV.");
316 if (Amount < 0) {
317 Amount = -Amount;
323 TII->getVLENFactoredAmount(MF, MBB, MBBI, DL, Amount);
919 int64_t Amount = MI->getOperand(0).getImm(); local
921 if (Amount != 0) {
923 Amount = alignSPAdjust(Amount);
[all...]
H A DRISCVFrameLowering.h81 int64_t Amount) const;
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Support/
H A DBinaryStreamReader.cpp148 Error BinaryStreamReader::skip(uint32_t Amount) { argument
149 if (Amount > bytesRemaining())
151 Offset += Amount;
/netbsd-current/external/apache2/llvm/dist/llvm/tools/llvm-rc/
H A DResourceScriptToken.cpp95 bool advance(size_t Amount = 1);
199 bool Tokenizer::advance(size_t Amount) { argument
200 Pos += Amount;
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/ARC/
H A DARCOptAddrMode.cpp123 static bool isAddConstantOp(const MachineInstr &MI, int64_t &Amount) { argument
131 Amount = Sign * MI.getOperand(2).getImm();
367 int64_t Amount; local
369 if (isAddConstantOp(*MI, Amount)) {
370 NewOffset += Amount;
H A DARCFrameLowering.cpp47 int Amount, int StackPtr) {
49 if (!Amount)
53 if (Amount < 0) {
54 AbsAmount = -Amount;
57 AbsAmount = Amount;
61 LLVM_DEBUG(dbgs() << "Internal: adjust stack by: " << Amount << ","
44 generateStackAdjustment(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, const ARCInstrInfo &TII, DebugLoc dl, int Amount, int StackPtr) argument
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/XCore/
H A DXCoreFrameLowering.cpp488 uint64_t Amount = Old.getOperand(0).getImm(); local
489 if (Amount != 0) {
493 Amount = alignTo(Amount, getStackAlign());
495 assert(Amount%4 == 0);
496 Amount /= 4;
498 bool isU6 = isImmU6(Amount);
499 if (!isU6 && !isImmU16(Amount)) {
503 << Amount << "\n";
511 New = BuildMI(MF, Old.getDebugLoc(), TII.get(Opcode)).addImm(Amount);
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/AVR/
H A DAVRFrameLowering.cpp344 int Amount = TII.getFrameSize(*MI); local
348 if (Amount != 0) {
361 .addImm(Amount);
379 if (isUInt<6>(Amount)) {
383 Amount = -Amount;
391 .addImm(Amount);
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/M68k/
H A DM68kFrameLowering.cpp234 uint64_t Amount = !ReserveCallFrame ? I->getOperand(0).getImm() : 0;
235 uint64_t InternalAmt = (IsDestroy && Amount) ? I->getOperand(1).getImm() : 0;
247 Amount = alignTo(Amount, StackAlign);
256 // Amount == 0, because the preceding function may have set a non-0
265 MCCFIInstruction::createGnuArgsSize(nullptr, Amount));
268 if (Amount == 0)
273 Amount -= InternalAmt;
282 // Add Amount to SP to destroy a frame, or subtract to setup.
283 int64_t StackAdjustment = IsDestroy ? Amount
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfoImpl.h363 uint64_t Amount = 0; member in struct:llvm::BlockFrequencyInfoImplBase::Weight
366 Weight(DistType Type, BlockNode TargetNode, uint64_t Amount) argument
367 : Type(Type), TargetNode(TargetNode), Amount(Amount) {}
387 void addLocal(const BlockNode &Node, uint64_t Amount) { argument
388 add(Node, Amount, Weight::Local);
391 void addExit(const BlockNode &Node, uint64_t Amount) { argument
392 add(Node, Amount, Weight::Exit);
395 void addBackedge(const BlockNode &Node, uint64_t Amount) { argument
396 add(Node, Amount, Weigh
[all...]

Completed in 409 milliseconds

123