| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
| D | X86WinAllocaExpander.cpp | 159 int64_t Amount = getWinAllocaAmount(&MI, MRI); in computeLowerings() local 160 Lowering L = getLowering(Offset, Amount); in computeLowerings() 164 Offset += Amount; in computeLowerings() 167 Offset = Amount; in computeLowerings() 192 static unsigned getSubOpcode(bool Is64Bit, int64_t Amount) { in getSubOpcode() argument 194 return isInt<8>(Amount) ? X86::SUB64ri8 : X86::SUB64ri32; in getSubOpcode() 195 return isInt<8>(Amount) ? X86::SUB32ri8 : X86::SUB32ri; in getSubOpcode() 203 int64_t Amount = getWinAllocaAmount(MI, MRI); in lower() local 204 if (Amount == 0) { in lower() 217 assert(Amount >= SlotSize); in lower() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
| D | FormatCommon.h | 22 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()
|
| D | FormatAdapters.h | 29 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-12-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
| D | LinePrinter.h | 38 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; in AutoIndent() 126 L->Unindent(Amount); in ~AutoIndent() 130 uint32_t Amount = 0; member
|
| D | LinePrinter.cpp | 70 void LinePrinter::Indent(uint32_t Amount) { in Indent() argument 71 if (Amount == 0) in Indent() 72 Amount = IndentSpaces; in Indent() 73 CurrentIndent += Amount; in Indent() 76 void LinePrinter::Unindent(uint32_t Amount) { in Unindent() argument 77 if (Amount == 0) in Unindent() 78 Amount = IndentSpaces; in Unindent() 79 CurrentIndent = std::max<int>(0, CurrentIndent - Amount); in Unindent()
|
| D | PrettyClassLayoutGraphicalDumper.cpp | 97 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()
|
| D | PrettyClassLayoutGraphicalDumper.h | 45 void printPaddingRow(uint32_t Amount);
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/ |
| D | BlockFrequencyInfoImpl.cpp | 145 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-12-stable/contrib/llvm-project/llvm/lib/Target/MSP430/ |
| D | MSP430FrameLowering.cpp | 232 uint64_t Amount = TII.getFrameSize(Old); in eliminateCallFramePseudoInstr() local 233 if (Amount != 0) { in eliminateCallFramePseudoInstr() 237 Amount = alignTo(Amount, getStackAlign()); in eliminateCallFramePseudoInstr() 244 .addImm(Amount); in eliminateCallFramePseudoInstr() 248 Amount -= TII.getFramePoppedByCallee(Old); in eliminateCallFramePseudoInstr() 249 if (Amount) in eliminateCallFramePseudoInstr() 253 .addImm(Amount); in eliminateCallFramePseudoInstr()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Mips/ |
| D | Mips16InstrInfo.cpp | 275 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() 312 if (isInt<16>(Amount)) // need to change to addiu sp, ....and isInt<16> in adjustStackPtr() 313 BuildAddiuSpImm(MBB, I, Amount); in adjustStackPtr() 315 adjustStackPtrBigUnrestricted(SP, Amount, MBB, I); in adjustStackPtr() 473 int64_t Amount) { in validImmediate() argument 485 return isInt<16>(Amount); in validImmediate() [all …]
|
| D | MipsFrameLowering.cpp | 143 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()
|
| D | Mips16InstrInfo.h | 82 void adjustStackPtr(unsigned SP, int64_t Amount, MachineBasicBlock &MBB, 92 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,
|
| D | MipsSEInstrInfo.cpp | 589 void MipsSEInstrInfo::adjustStackPtr(unsigned SP, int64_t Amount, in adjustStackPtr() argument 596 if (Amount == 0) in adjustStackPtr() 599 if (isInt<16>(Amount)) { in adjustStackPtr() 601 BuildMI(MBB, I, DL, get(ADDiu), SP).addReg(SP).addImm(Amount); in adjustStackPtr() 606 if (Amount < 0) { in adjustStackPtr() 608 Amount = -Amount; in adjustStackPtr() 610 unsigned Reg = loadImmediate(Amount, MBB, I, DL, nullptr); in adjustStackPtr()
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| D | IteratorModeling.cpp | 112 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; in handleOverloadedOperator() local 398 Iterator, Amount); in handleOverloadedOperator() 594 const SVal &Amount) const { in handleRandomIncrOrDecr() 603 const auto *Value = &Amount; in handleRandomIncrOrDecr() 605 if (auto LocAmount = Amount.getAs<Loc>()) { in handleRandomIncrOrDecr() 675 SVal Amount) const { in handleAdvance() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/XCore/ |
| D | XCoreFrameLowering.cpp | 488 uint64_t Amount = Old.getOperand(0).getImm(); in eliminateCallFramePseudoInstr() local 489 if (Amount != 0) { in eliminateCallFramePseudoInstr() 493 Amount = alignTo(Amount, getStackAlign()); in eliminateCallFramePseudoInstr() 495 assert(Amount%4 == 0); in eliminateCallFramePseudoInstr() 496 Amount /= 4; in eliminateCallFramePseudoInstr() 498 bool isU6 = isImmU6(Amount); in eliminateCallFramePseudoInstr() 499 if (!isU6 && !isImmU16(Amount)) { in eliminateCallFramePseudoInstr() 503 << Amount << "\n"; in eliminateCallFramePseudoInstr() 511 New = BuildMI(MF, Old.getDebugLoc(), TII.get(Opcode)).addImm(Amount); in eliminateCallFramePseudoInstr() 516 .addImm(Amount); in eliminateCallFramePseudoInstr()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| D | RISCVFrameLowering.cpp | 313 const DebugLoc &DL, int64_t Amount, in adjustStackForRVV() argument 315 assert(Amount != 0 && "Did not need to adjust stack pointer for RVV."); in adjustStackForRVV() 320 if (Amount < 0) { in adjustStackForRVV() 321 Amount = -Amount; in adjustStackForRVV() 326 TII->getVLENFactoredAmount(MF, MBB, MBBI, DL, Amount, Flag); in adjustStackForRVV() 960 int64_t Amount = MI->getOperand(0).getImm(); in eliminateCallFramePseudoInstr() local 962 if (Amount != 0) { in eliminateCallFramePseudoInstr() 964 Amount = alignSPAdjust(Amount); in eliminateCallFramePseudoInstr() 967 Amount = -Amount; in eliminateCallFramePseudoInstr() 969 adjustReg(MBB, MI, DL, SPReg, SPReg, Amount, MachineInstr::NoFlags); in eliminateCallFramePseudoInstr()
|
| D | RISCVFrameLowering.h | 81 int64_t Amount, MachineInstr::MIFlag Flag) const;
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AVR/ |
| D | AVRFrameLowering.cpp | 349 int Amount = TII.getFrameSize(*MI); in eliminateCallFramePseudoInstr() local 353 if (Amount != 0) { in eliminateCallFramePseudoInstr() 366 .addImm(Amount); in eliminateCallFramePseudoInstr() 384 if (isUInt<6>(Amount)) { in eliminateCallFramePseudoInstr() 388 Amount = -Amount; in eliminateCallFramePseudoInstr() 396 .addImm(Amount); in eliminateCallFramePseudoInstr()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/M68k/ |
| D | M68kFrameLowering.cpp | 234 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-12-stable/contrib/llvm-project/llvm/lib/Support/ |
| D | BinaryStreamReader.cpp | 148 Error BinaryStreamReader::skip(uint32_t Amount) { in skip() argument 149 if (Amount > bytesRemaining()) in skip() 151 Offset += Amount; in skip()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARC/ |
| D | ARCFrameLowering.cpp | 47 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()
|
| D | ARCOptAddrMode.cpp | 123 static bool isAddConstantOp(const MachineInstr &MI, int64_t &Amount) { in isAddConstantOp() argument 131 Amount = Sign * MI.getOperand(2).getImm(); in isAddConstantOp() 367 int64_t Amount; in fixPastUses() local 369 if (isAddConstantOp(*MI, Amount)) { in fixPastUses() 370 NewOffset += Amount; in fixPastUses()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| D | BlockFrequencyInfoImpl.h | 369 uint64_t Amount = 0; member 372 Weight(DistType Type, BlockNode TargetNode, uint64_t Amount) in Weight() 373 : Type(Type), TargetNode(TargetNode), Amount(Amount) {} in Weight() 393 void addLocal(const BlockNode &Node, uint64_t Amount) { in addLocal() 394 add(Node, Amount, Weight::Local); in addLocal() 397 void addExit(const BlockNode &Node, uint64_t Amount) { in addExit() 398 add(Node, Amount, Weight::Exit); in addExit() 401 void addBackedge(const BlockNode &Node, uint64_t Amount) { in addBackedge() 402 add(Node, Amount, Weight::Backedge); in addBackedge() 417 void add(const BlockNode &Node, uint64_t Amount, Weight::DistType Type);
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| D | SIFrameLowering.cpp | 1356 int64_t Amount = I->getOperand(0).getImm(); in eliminateCallFramePseudoInstr() local 1357 if (Amount == 0) in eliminateCallFramePseudoInstr() 1368 Amount = alignTo(Amount, getStackAlign()); in eliminateCallFramePseudoInstr() 1369 assert(isUInt<32>(Amount) && "exceeded stack address space size"); in eliminateCallFramePseudoInstr() 1373 Amount *= getScratchScaleFactor(ST); in eliminateCallFramePseudoInstr() 1375 Amount = -Amount; in eliminateCallFramePseudoInstr() 1378 .addImm(Amount); in eliminateCallFramePseudoInstr()
|
| /freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/ |
| D | Thumb1FrameLowering.cpp | 127 unsigned Amount = TII.getFrameSize(Old); in eliminateCallFramePseudoInstr() local 128 if (Amount != 0) { in eliminateCallFramePseudoInstr() 132 Amount = alignTo(Amount, getStackAlign()); in eliminateCallFramePseudoInstr() 137 emitCallSPUpdate(MBB, I, TII, dl, *RegInfo, -Amount); in eliminateCallFramePseudoInstr() 140 emitCallSPUpdate(MBB, I, TII, dl, *RegInfo, Amount); in eliminateCallFramePseudoInstr()
|