Home
last modified time | relevance | path

Searched refs:Quantity (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DCharUnits.h43 QuantityType Quantity = 0;
45 explicit CharUnits(QuantityType C) : Quantity(C) {} in CharUnits()
63 static CharUnits fromQuantity(QuantityType Quantity) { in fromQuantity() argument
64 return CharUnits(Quantity); in fromQuantity()
69 static CharUnits fromQuantity(llvm::Align Quantity) { in fromQuantity() argument
70 return CharUnits(Quantity.value()); in fromQuantity()
75 Quantity += Other.Quantity;
79 ++Quantity;
83 return CharUnits(Quantity++);
86 Quantity -= Other.Quantity;
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DTypeSize.h94 ScalarTy Quantity = 0;
98 constexpr FixedOrScalableQuantity(ScalarTy Quantity, bool Scalable) in FixedOrScalableQuantity() argument
99 : Quantity(Quantity), Scalable(Scalable) {} in FixedOrScalableQuantity()
102 assert((LHS.Quantity == 0 || RHS.Quantity == 0 ||
105 LHS.Quantity += RHS.Quantity;
112 assert((LHS.Quantity == 0 || RHS.Quantity == 0 ||
115 LHS.Quantity -= RHS.Quantity;
122 LHS.Quantity *= RHS;
150 return Quantity == RHS.Quantity && Scalable == RHS.Scalable;
154 return Quantity != RHS.Quantity || Scalable != RHS.Scalable;
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/MCA/HardwareUnits/
H A DRetireControlUnit.h65 unsigned normalizeQuantity(unsigned Quantity) const { in normalizeQuantity()
69 Quantity = std::min(Quantity, NumROBEntries); in normalizeQuantity()
74 return std::max(Quantity, 1U); in normalizeQuantity()
84 bool isAvailable(unsigned Quantity = 1) const {
85 return AvailableEntries >= normalizeQuantity(Quantity);
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DBitcastBuffer.h28 explicit Bits(size_t Quantity) : N(Quantity) {} in Bits()
57 explicit Bytes(size_t Quantity) : N(Quantity) {} in Bytes()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DScheduleHazardRecognizer.h120 virtual void EmitNoops(unsigned Quantity) { in EmitNoops() argument
122 for (unsigned i = 0; i < Quantity; ++i) in EmitNoops()
H A DTargetInstrInfo.h1650 unsigned Quantity) const;
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVSubtarget.h236 template <typename Quantity> Quantity expandVScale(Quantity X) const { in expandVScale()
239 X = Quantity::getFixed(X.getKnownMinValue() * VScale); in expandVScale()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp285 constexpr bool isLessThanZero() const { return Quantity < 0; } in isLessThanZero()
287 constexpr bool isGreaterThanZero() const { return Quantity > 0; } in isGreaterThanZero()
294 return Quantity == std::numeric_limits<ScalarTy>::min(); in isMin()
298 return Quantity == std::numeric_limits<ScalarTy>::max(); in isMax()
304 ScalarTy Value = (uint64_t)Quantity + RHS.getKnownMinValue(); in addUnsigned()
310 ScalarTy Value = (uint64_t)Quantity - RHS.getKnownMinValue(); in subUnsigned()
316 ScalarTy Value = (uint64_t)Quantity * RHS; in mulUnsigned()
322 const SCEV *S = SE.getConstant(Ty, Quantity); in getSCEV()
329 const SCEV *NegS = SE.getConstant(Ty, -(uint64_t)Quantity); in getNegativeSCEV()
336 const SCEV *SU = SE.getUnknown(ConstantInt::getSigned(Ty, Quantity)); in getUnknownSCEV()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNHazardRecognizer.cpp245 unsigned Quantity) { in insertNoopsInBundle() argument
246 while (Quantity > 0) { in insertNoopsInBundle()
247 unsigned Arg = std::min(Quantity, 8u); in insertNoopsInBundle()
248 Quantity -= Arg; in insertNoopsInBundle()
H A DSIInstrInfo.h1323 unsigned Quantity) const override;
H A DSIInstrInfo.cpp2016 unsigned Quantity) const { in insertNoops()
2018 while (Quantity > 0) { in insertNoops()
2019 unsigned Arg = std::min(Quantity, 8u); in insertNoops()
2020 Quantity -= Arg; in insertNoops()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetInstrInfo.cpp91 unsigned Quantity) const { in insertNoops()
92 for (unsigned i = 0; i < Quantity; ++i) in insertNoops()