Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86DynAllocaExpander.cpp160 int64_t Amount = getDynAllocaAmount(&MI, MRI); in computeLowerings() local
161 Lowering L = getLowering(Offset, Amount); in computeLowerings()
165 Offset += Amount; in computeLowerings()
168 Offset = Amount; in computeLowerings()
204 int64_t Amount = getDynAllocaAmount(MI, MRI); in lower() local
205 if (Amount == 0) { in lower()
224 assert(Amount >= SlotSize); in lower()
230 Amount -= SlotSize; in lower()
231 if (!Amount) in lower()
238 assert(Amount > 0); in lower()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DLinePrinter.h58 LLVM_ABI void Indent(uint32_t Amount = 0);
59 LLVM_ABI void Unindent(uint32_t Amount = 0);
135 explicit AutoIndent(LinePrinter &L, uint32_t Amount = 0)
136 : L(&L), Amount(Amount) {
137 L.Indent(Amount);
141 Amount = Scope.IndentLevel; in AutoIndent()
145 L->Unindent(Amount); in ~AutoIndent()
149 uint32_t Amount = 0; member
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DFormatAdapters.h31 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()
90 size_t Amount, char Fill = ' ') {
91 return support::detail::AlignAdapter<T>(std::forward<T>(Item), Where, Amount,
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DBlockFrequencyInfoImpl.cpp145 void Distribution::add(const BlockNode &Node, uint64_t Amount, in add() argument
147 assert(Amount && "invalid weight of 0"); in add()
148 uint64_t NewTotal = Total + Amount; in add()
159 Weights.push_back(Weight(Type, Node, Amount)); in add()
164 if (!W.Amount) { in combineWeight()
170 assert(OtherW.Amount && "Expected non-zero weight"); 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()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsFrameLowering.cpp137 int64_t Amount = I->getOperand(0).getImm(); in eliminateCallFramePseudoInstr() local
139 Amount = -Amount; in eliminateCallFramePseudoInstr()
141 STI.getInstrInfo()->adjustStackPtr(SP, Amount, MBB, I); in eliminateCallFramePseudoInstr()
H A DMips16InstrInfo.cpp272 void Mips16InstrInfo::adjustStackPtrBig(unsigned SP, int64_t Amount, in adjustStackPtrBig() argument
285 MIB1.addImm(Amount).addImm(-1); in adjustStackPtrBig()
297 unsigned SP, int64_t Amount, MachineBasicBlock &MBB, in adjustStackPtrBigUnrestricted() argument
303 void Mips16InstrInfo::adjustStackPtr(unsigned SP, int64_t Amount, in adjustStackPtr() argument
306 if (Amount == 0) in adjustStackPtr()
309 if (isInt<16>(Amount)) // need to change to addiu sp, ....and isInt<16> in adjustStackPtr()
310 BuildAddiuSpImm(MBB, I, Amount); in adjustStackPtr()
312 adjustStackPtrBigUnrestricted(SP, Amount, MBB, I); in adjustStackPtr()
468 int64_t Amount) { in validImmediate() argument
480 return isInt<16>(Amount); in validImmediate()
[all …]
H A DMips16InstrInfo.h81 void adjustStackPtr(unsigned SP, int64_t Amount, MachineBasicBlock &MBB,
91 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,
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/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DLinePrinter.cpp74 void LinePrinter::Indent(uint32_t Amount) { in Indent() argument
75 if (Amount == 0) in Indent()
76 Amount = IndentSpaces; in Indent()
77 CurrentIndent += Amount; in Indent()
80 void LinePrinter::Unindent(uint32_t Amount) { in Unindent() argument
81 if (Amount == 0) in Unindent()
82 Amount = IndentSpaces; in Unindent()
83 CurrentIndent = std::max<int>(0, CurrentIndent - Amount); in Unindent()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DIteratorModeling.cpp113 SVal Iterator, SVal Amount) const;
118 SVal Iter, SVal Amount) const;
120 SVal Iter, SVal Amount) const;
122 SVal Iter, SVal Amount) const;
395 SVal Amount = IsIterFirst ? SecondArg : FirstArg; in handleOverloadedOperator() local
398 Amount); in handleOverloadedOperator()
594 SVal Amount) const { in handleRandomIncrOrDecr()
603 const auto *Value = &Amount; in handleRandomIncrOrDecr()
605 if (auto LocAmount = Amount.getAs<Loc>()) { in handleRandomIncrOrDecr()
676 SVal Amount) const { in handleAdvance()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430FrameLowering.cpp368 uint64_t Amount = TII.getFrameSize(Old); in eliminateCallFramePseudoInstr() local
369 if (Amount != 0) { in eliminateCallFramePseudoInstr()
373 Amount = alignTo(Amount, getStackAlign()); in eliminateCallFramePseudoInstr()
380 .addImm(Amount); in eliminateCallFramePseudoInstr()
384 Amount -= TII.getFramePoppedByCallee(Old); in eliminateCallFramePseudoInstr()
385 if (Amount) in eliminateCallFramePseudoInstr()
389 .addImm(Amount); in eliminateCallFramePseudoInstr()
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreFrameLowering.cpp487 uint64_t Amount = Old.getOperand(0).getImm(); in eliminateCallFramePseudoInstr() local
488 if (Amount != 0) { in eliminateCallFramePseudoInstr()
492 Amount = alignTo(Amount, getStackAlign()); in eliminateCallFramePseudoInstr()
494 assert(Amount%4 == 0); in eliminateCallFramePseudoInstr()
495 Amount /= 4; in eliminateCallFramePseudoInstr()
497 bool isU6 = isImmU6(Amount); in eliminateCallFramePseudoInstr()
498 if (!isU6 && !isImmU16(Amount)) { in eliminateCallFramePseudoInstr()
502 << Amount << "\n"; in eliminateCallFramePseudoInstr()
510 New = BuildMI(MF, Old.getDebugLoc(), TII.get(Opcode)).addImm(Amount); in eliminateCallFramePseudoInstr()
515 .addImm(Amount); in eliminateCallFramePseudoInstr()
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRFrameLowering.cpp358 int Amount = TII.getFrameSize(*MI); in eliminateCallFramePseudoInstr() local
360 if (Amount == 0) { in eliminateCallFramePseudoInstr()
377 .addImm(Amount); in eliminateCallFramePseudoInstr()
395 if (isUInt<6>(Amount) && STI.hasADDSUBIW()) { in eliminateCallFramePseudoInstr()
399 Amount = -Amount; in eliminateCallFramePseudoInstr()
407 .addImm(Amount); in eliminateCallFramePseudoInstr()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchFrameLowering.cpp419 int64_t Amount = MI->getOperand(0).getImm(); in eliminateCallFramePseudoInstr() local
421 if (Amount != 0) { in eliminateCallFramePseudoInstr()
423 Amount = alignSPAdjust(Amount); in eliminateCallFramePseudoInstr()
426 Amount = -Amount; in eliminateCallFramePseudoInstr()
428 adjustReg(MBB, MI, DL, SPReg, SPReg, Amount, MachineInstr::NoFlags); in eliminateCallFramePseudoInstr()
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DPrettyClassLayoutGraphicalDumper.cpp97 void PrettyClassLayoutGraphicalDumper::printPaddingRow(uint32_t Amount) { in printPaddingRow() argument
98 if (Amount == 0) in printPaddingRow()
102 WithColor(Printer, PDB_ColorItem::Padding).get() << "<padding> (" << Amount in printPaddingRow()
H A DPrettyClassLayoutGraphicalDumper.h43 void printPaddingRow(uint32_t Amount);
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DBinaryStreamReader.cpp147 Error BinaryStreamReader::skip(uint64_t Amount) {
148 if (Amount > bytesRemaining()) in skip() argument
150 Offset += Amount; in skip()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kFrameLowering.cpp236 uint64_t Amount = I->getOperand(0).getImm(); in eliminateCallFramePseudoInstr() local
237 uint64_t InternalAmt = (IsDestroy || Amount) ? I->getOperand(1).getImm() : 0; in eliminateCallFramePseudoInstr()
249 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/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/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/contrib/llvm-project/llvm/lib/Target/Xtensa/
H A DXtensaFrameLowering.cpp336 int64_t Amount = I->getOperand(0).getImm(); in eliminateCallFramePseudoInstr() local
339 Amount = -Amount; in eliminateCallFramePseudoInstr()
341 TII.adjustStackPtr(Xtensa::SP, Amount, MBB, I); in eliminateCallFramePseudoInstr()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfoImpl.h367 uint64_t Amount = 0; member
370 Weight(DistType Type, BlockNode TargetNode, uint64_t Amount) in Weight()
371 : Type(Type), TargetNode(TargetNode), Amount(Amount) {} in Weight()
391 void addLocal(const BlockNode &Node, uint64_t Amount) { in addLocal()
392 add(Node, Amount, Weight::Local); in addLocal()
395 void addExit(const BlockNode &Node, uint64_t Amount) { in addExit()
396 add(Node, Amount, Weight::Exit); in addExit()
399 void addBackedge(const BlockNode &Node, uint64_t Amount) { in addBackedge()
400 add(Node, Amount, Weight::Backedge); in addBackedge()
415 void add(const BlockNode &Node, uint64_t Amount, Weight::DistType Type);
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVFrameLowering.cpp608 MachineBasicBlock::iterator MBBI, const DebugLoc &DL, int64_t Amount, in allocateAndProbeStackForRVV() argument
610 assert(Amount != 0 && "Did not need to adjust stack pointer for RVV."); in allocateAndProbeStackForRVV()
617 uint32_t NumOfVReg = Amount / RISCV::RVVBytesPerBlock; in allocateAndProbeStackForRVV()
625 CFIBuilder.buildDefCFA(TargetReg, -Amount); in allocateAndProbeStackForRVV()
1799 int64_t Amount = MI->getOperand(0).getImm(); in eliminateCallFramePseudoInstr() local
1801 if (Amount != 0) { in eliminateCallFramePseudoInstr()
1803 Amount = alignSPAdjust(Amount); in eliminateCallFramePseudoInstr()
1806 Amount = -Amount; in eliminateCallFramePseudoInstr()
1811 if (TLI->hasInlineStackProbe(MF) && -Amount >= ProbeSize) { in eliminateCallFramePseudoInstr()
1817 allocateStack(MBB, MI, MF, -Amount, -Amount, !hasFP(MF), in eliminateCallFramePseudoInstr()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/nvmem/
H A Dbrcm,ocotp.txt9 - brcm,ocotp-size: Amount of memory available, in 32 bit words

123