Home
last modified time | relevance | path

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

123

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A 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()
H A 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);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86DynAllocaExpander.cpp158 Lowering L = getLowering(Offset, Amount); in computeLowerings()
162 Offset += Amount; in computeLowerings()
165 Offset = Amount; in computeLowerings()
201 int64_t Amount = getDynAllocaAmount(MI, MRI); in lower() local
202 if (Amount == 0) { in lower()
221 assert(Amount >= SlotSize); in lower()
227 Amount -= SlotSize; in lower()
228 if (!Amount) in lower()
235 assert(Amount > 0); in lower()
236 if (Amount == SlotSize) { in lower()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DLinePrinter.h57 void Indent(uint32_t Amount = 0);
58 void Unindent(uint32_t Amount = 0);
133 explicit AutoIndent(LinePrinter &L, uint32_t Amount = 0)
134 : L(&L), Amount(Amount) {
135 L.Indent(Amount);
139 Amount = Scope.IndentLevel; in AutoIndent()
143 L->Unindent(Amount); in ~AutoIndent()
147 uint32_t Amount = 0; member
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DBlockFrequencyInfoImpl.cpp147 assert(Amount && "invalid weight of 0"); in add()
148 uint64_t NewTotal = Total + Amount; in add()
164 if (!W.Amount) { in combineWeight()
171 if (W.Amount > W.Amount + OtherW.Amount) in combineWeight()
173 W.Amount = UINT64_MAX; in combineWeight()
175 W.Amount += OtherW.Amount; in combineWeight()
248 Weights.front().Amount = 1; in normalize()
268 return Sum + W.Amount; in normalize()
283 W.Amount = std::max(UINT64_C(1), shiftRightAndRound(W.Amount, Shift)); in normalize()
284 assert(W.Amount <= UINT32_MAX); in normalize()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/
H A 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()
H A 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()
313 BuildAddiuSpImm(MBB, I, Amount); in adjustStackPtr()
315 adjustStackPtrBigUnrestricted(SP, Amount, MBB, I); in adjustStackPtr()
471 int64_t Amount) { in validImmediate() argument
483 return isInt<16>(Amount); in validImmediate()
486 return isInt<16>(Amount); in validImmediate()
[all …]
H A DMips16InstrInfo.h82 void adjustStackPtr(unsigned SP, int64_t Amount, MachineBasicBlock &MBB,
92 static bool validImmediate(unsigned Opcode, unsigned Reg, int64_t Amount);
119 void adjustStackPtrBig(unsigned SP, int64_t Amount, MachineBasicBlock &MBB,
124 void adjustStackPtrBigUnrestricted(unsigned SP, int64_t Amount,
H A DMipsSEInstrInfo.cpp559 void MipsSEInstrInfo::adjustStackPtr(unsigned SP, int64_t Amount, in adjustStackPtr() argument
566 if (Amount == 0) in adjustStackPtr()
569 if (isInt<16>(Amount)) { in adjustStackPtr()
571 BuildMI(MBB, I, DL, get(ADDiu), SP).addReg(SP).addImm(Amount); in adjustStackPtr()
576 if (Amount < 0) { in adjustStackPtr()
578 Amount = -Amount; in adjustStackPtr()
580 unsigned Reg = loadImmediate(Amount, MBB, I, DL, nullptr); in adjustStackPtr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DLinePrinter.cpp75 void LinePrinter::Indent(uint32_t Amount) { in Indent() argument
76 if (Amount == 0) in Indent()
77 Amount = IndentSpaces; in Indent()
78 CurrentIndent += Amount; in Indent()
81 void LinePrinter::Unindent(uint32_t Amount) { in Unindent() argument
82 if (Amount == 0) in Unindent()
83 Amount = IndentSpaces; in Unindent()
84 CurrentIndent = std::max<int>(0, CurrentIndent - Amount); in Unindent()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DIteratorModeling.cpp113 SVal Iterator, SVal Amount) const;
117 SVal Amount) const;
119 SVal Amount) const;
121 SVal Amount) const;
391 SVal Amount = IsIterFirst ? SecondArg : FirstArg; in handleOverloadedOperator() local
394 Iterator, Amount); in handleOverloadedOperator()
597 const auto *Value = &Amount; in handleRandomIncrOrDecr()
599 if (auto LocAmount = Amount.getAs<Loc>()) { in handleRandomIncrOrDecr()
669 SVal Amount) const { in handleAdvance()
675 handleRandomIncrOrDecr(C, CE, OO_Minus, RetVal, Iter, Amount); in handlePrev()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430FrameLowering.cpp371 uint64_t Amount = TII.getFrameSize(Old); in eliminateCallFramePseudoInstr() local
372 if (Amount != 0) { in eliminateCallFramePseudoInstr()
376 Amount = alignTo(Amount, getStackAlign()); in eliminateCallFramePseudoInstr()
383 .addImm(Amount); in eliminateCallFramePseudoInstr()
387 Amount -= TII.getFramePoppedByCallee(Old); in eliminateCallFramePseudoInstr()
388 if (Amount) in eliminateCallFramePseudoInstr()
392 .addImm(Amount); in eliminateCallFramePseudoInstr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreFrameLowering.cpp490 uint64_t Amount = Old.getOperand(0).getImm(); in eliminateCallFramePseudoInstr() local
491 if (Amount != 0) { in eliminateCallFramePseudoInstr()
495 Amount = alignTo(Amount, getStackAlign()); in eliminateCallFramePseudoInstr()
497 assert(Amount%4 == 0); in eliminateCallFramePseudoInstr()
498 Amount /= 4; in eliminateCallFramePseudoInstr()
500 bool isU6 = isImmU6(Amount); in eliminateCallFramePseudoInstr()
501 if (!isU6 && !isImmU16(Amount)) { in eliminateCallFramePseudoInstr()
505 << Amount << "\n"; in eliminateCallFramePseudoInstr()
513 New = BuildMI(MF, Old.getDebugLoc(), TII.get(Opcode)).addImm(Amount); in eliminateCallFramePseudoInstr()
518 .addImm(Amount); in eliminateCallFramePseudoInstr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRFrameLowering.cpp359 int Amount = TII.getFrameSize(*MI); in eliminateCallFramePseudoInstr() local
361 if (Amount == 0) { in eliminateCallFramePseudoInstr()
378 .addImm(Amount); in eliminateCallFramePseudoInstr()
396 if (isUInt<6>(Amount) && STI.hasADDSUBIW()) { in eliminateCallFramePseudoInstr()
400 Amount = -Amount; in eliminateCallFramePseudoInstr()
408 .addImm(Amount); in eliminateCallFramePseudoInstr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchFrameLowering.cpp434 int64_t Amount = MI->getOperand(0).getImm(); in eliminateCallFramePseudoInstr() local
436 if (Amount != 0) { in eliminateCallFramePseudoInstr()
438 Amount = alignSPAdjust(Amount); in eliminateCallFramePseudoInstr()
441 Amount = -Amount; in eliminateCallFramePseudoInstr()
443 adjustReg(MBB, MI, DL, SPReg, SPReg, Amount, MachineInstr::NoFlags); in eliminateCallFramePseudoInstr()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DPrettyClassLayoutGraphicalDumper.cpp98 void PrettyClassLayoutGraphicalDumper::printPaddingRow(uint32_t Amount) { in printPaddingRow() argument
99 if (Amount == 0) in printPaddingRow()
103 WithColor(Printer, PDB_ColorItem::Padding).get() << "<padding> (" << Amount in printPaddingRow()
H A DPrettyClassLayoutGraphicalDumper.h43 void printPaddingRow(uint32_t Amount);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DBinaryStreamReader.cpp147 Error BinaryStreamReader::skip(uint64_t Amount) { in skip() argument
148 if (Amount > bytesRemaining()) in skip()
150 Offset += Amount; in skip()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kFrameLowering.cpp234 uint64_t Amount = !ReserveCallFrame ? I->getOperand(0).getImm() : 0; in eliminateCallFramePseudoInstr() local
235 uint64_t InternalAmt = (IsDestroy && Amount) ? I->getOperand(1).getImm() : 0; in eliminateCallFramePseudoInstr()
247 Amount = alignTo(Amount, StackAlign); in eliminateCallFramePseudoInstr()
265 MCCFIInstruction::createGnuArgsSize(nullptr, Amount)); in eliminateCallFramePseudoInstr()
268 if (Amount == 0) in eliminateCallFramePseudoInstr()
273 Amount -= InternalAmt; in eliminateCallFramePseudoInstr()
283 int64_t StackAdjustment = IsDestroy ? Amount : -Amount; in eliminateCallFramePseudoInstr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCOptAddrMode.cpp134 static bool isAddConstantOp(const MachineInstr &MI, int64_t &Amount) { in isAddConstantOp() argument
142 Amount = Sign * MI.getOperand(2).getImm(); in isAddConstantOp()
377 int64_t Amount; in fixPastUses() local
379 if (isAddConstantOp(*MI, Amount)) { in fixPastUses()
380 NewOffset += Amount; in fixPastUses()
H A DARCFrameLowering.cpp47 int Amount, int StackPtr) { in generateStackAdjustment() argument
49 if (!Amount) in generateStackAdjustment()
53 if (Amount < 0) { in generateStackAdjustment()
54 AbsAmount = -Amount; in generateStackAdjustment()
57 AbsAmount = Amount; in generateStackAdjustment()
61 LLVM_DEBUG(dbgs() << "Internal: adjust stack by: " << Amount << "," in generateStackAdjustment()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYFrameLowering.cpp522 int64_t Amount = MI->getOperand(0).getImm(); in eliminateCallFramePseudoInstr() local
524 if (Amount != 0) { in eliminateCallFramePseudoInstr()
526 Amount = alignSPAdjust(Amount); in eliminateCallFramePseudoInstr()
529 Amount = -Amount; in eliminateCallFramePseudoInstr()
531 adjustReg(MBB, MI, DL, SPReg, SPReg, Amount, MachineInstr::NoFlags); in eliminateCallFramePseudoInstr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVFrameLowering.cpp386 const DebugLoc &DL, int64_t Amount, in adjustStackForRVV() argument
388 assert(Amount != 0 && "Did not need to adjust stack pointer for RVV."); in adjustStackForRVV()
393 StackOffset Offset = StackOffset::getScalable(Amount); in adjustStackForRVV()
397 assert(Amount % 8 == 0 && in adjustStackForRVV()
399 const int64_t NumOfVReg = Amount / 8; in adjustStackForRVV()
1277 int64_t Amount = MI->getOperand(0).getImm(); in eliminateCallFramePseudoInstr() local
1279 if (Amount != 0) { in eliminateCallFramePseudoInstr()
1281 Amount = alignSPAdjust(Amount); in eliminateCallFramePseudoInstr()
1284 Amount = -Amount; in eliminateCallFramePseudoInstr()
1287 RI.adjustReg(MBB, MI, DL, SPReg, SPReg, StackOffset::getFixed(Amount), in eliminateCallFramePseudoInstr()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfoImpl.h370 uint64_t Amount = 0; member
373 Weight(DistType Type, BlockNode TargetNode, uint64_t Amount) in Weight()
374 : Type(Type), TargetNode(TargetNode), Amount(Amount) {} in Weight()
394 void addLocal(const BlockNode &Node, uint64_t Amount) { in addLocal()
395 add(Node, Amount, Weight::Local); in addLocal()
398 void addExit(const BlockNode &Node, uint64_t Amount) { in addExit()
399 add(Node, Amount, Weight::Exit); in addExit()
402 void addBackedge(const BlockNode &Node, uint64_t Amount) { in addBackedge()
403 add(Node, Amount, Weight::Backedge); in addBackedge()
418 void add(const BlockNode &Node, uint64_t Amount, Weight::DistType Type);
/freebsd-14.2/sys/contrib/device-tree/Bindings/nvmem/
H A Dbrcm,ocotp.txt9 - brcm,ocotp-size: Amount of memory available, in 32 bit words

123