| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | Integral.h | 91 Integral operator-(const Integral &Other) const { 200 static bool add(Integral A, Integral B, unsigned OpBits, Integral *R) { 204 static bool sub(Integral A, Integral B, unsigned OpBits, Integral *R) { 208 static bool mul(Integral A, Integral B, unsigned OpBits, Integral *R) { 212 static bool rem(Integral A, Integral B, unsigned OpBits, Integral *R) { 217 static bool div(Integral A, Integral B, unsigned OpBits, Integral *R) { 222 static bool bitAnd(Integral A, Integral B, unsigned OpBits, Integral *R) { 227 static bool bitOr(Integral A, Integral B, unsigned OpBits, Integral *R) { 232 static bool bitXor(Integral A, Integral B, unsigned OpBits, Integral *R) { 237 static bool neg(Integral A, Integral *R) { [all …]
|
| H A D | PrimType.h | 29 template <unsigned Bits, bool Signed> class Integral; variable 66 template <> struct PrimConv<PT_Sint8> { using T = Integral<8, true>; }; 67 template <> struct PrimConv<PT_Uint8> { using T = Integral<8, false>; }; 68 template <> struct PrimConv<PT_Sint16> { using T = Integral<16, true>; }; 69 template <> struct PrimConv<PT_Uint16> { using T = Integral<16, false>; }; 70 template <> struct PrimConv<PT_Sint32> { using T = Integral<32, true>; }; 71 template <> struct PrimConv<PT_Uint32> { using T = Integral<32, false>; }; 72 template <> struct PrimConv<PT_Sint64> { using T = Integral<64, true>; }; 73 template <> struct PrimConv<PT_Uint64> { using T = Integral<64, false>; };
|
| H A D | InterpBuiltin.cpp | 69 S.Stk.push<Integral<32, true>>(Integral<32, true>::from(Val)); in pushInt() 71 S.Stk.push<Integral<16, true>>(Integral<16, true>::from(Val)); in pushInt() 94 S.Stk.push<Integral<8, true>>( in pushAPSInt() 106 S.Stk.push<Integral<64, false>>( in pushAPSInt() 118 S.Stk.push<Integral<8, false>>( in pushAPSInt() 130 S.Stk.push<Integral<64, true>>(Integral<64, true>::from(Val)); in pushLong() 132 S.Stk.push<Integral<32, true>>(Integral<32, true>::from(Val)); in pushLong() 134 S.Stk.push<Integral<16, true>>(Integral<16, true>::from(Val)); in pushLong() 145 S.Stk.push<Integral<64, false>>(Integral<64, false>::from(Val)); in pushSizeT() 148 S.Stk.push<Integral<32, false>>(Integral<32, false>::from(Val)); in pushSizeT() [all …]
|
| H A D | InterpStack.h | 160 std::is_same_v<T, Integral<8, true>>) in toPrimType() 163 std::is_same_v<T, Integral<8, false>>) in toPrimType() 166 std::is_same_v<T, Integral<16, true>>) in toPrimType() 169 std::is_same_v<T, Integral<16, false>>) in toPrimType() 172 std::is_same_v<T, Integral<32, true>>) in toPrimType() 175 std::is_same_v<T, Integral<32, false>>) in toPrimType() 178 std::is_same_v<T, Integral<64, true>>) in toPrimType() 181 std::is_same_v<T, Integral<64, false>>) in toPrimType()
|
| H A D | IntegralAP.h | 31 template <unsigned Bits, bool Signed> class Integral; variable 114 static IntegralAP from(Integral<Bits, InputSigned> I, unsigned BitWidth) { in from()
|
| H A D | Boolean.h | 106 from(Integral<SrcBits, SrcSign> Value) { in from()
|
| H A D | Opcodes.td | 483 // [Pointer, Integral] -> [Pointer] 485 // [Pointer, Integral] -> [Pointer] 488 // [Pointer, Pointer] -> [Integral]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | Sequence.h | 128 template <typename Integral, 129 std::enable_if_t<std::is_integral<Integral>::value, bool> = 0> 130 static CheckedInt from(Integral FromValue) { in from() 165 template <typename Integral, 166 std::enable_if_t<std::is_integral<Integral>::value, bool> = 0> 167 Integral to() const { in to() 168 if (!canTypeFitValue<Integral>(Value)) in to() 170 return static_cast<Integral>(Value); in to()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | TemplateBase.cpp | 183 Integer.Kind = Integral; in initFromIntegral() 290 case Integral: in getDependence() 321 case Integral: in isPackExpansion() 362 case TemplateArgument::Integral: in getNonTypeTemplateArgumentType() 408 case Integral: in Profile() 448 case Integral: in structurallyEquals() 488 case Integral: in getPackExpansionPattern() 550 case Integral: in print() 616 case TemplateArgument::Integral: in getSourceRange() 647 case TemplateArgument::Integral: in DiagTemplateArg()
|
| H A D | TypeLoc.cpp | 586 case TemplateArgument::Integral: in initializeArgLocs()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | TemplateBase.h | 82 Integral, 364 assert(getKind() == Integral && "Unexpected kind"); 378 assert(getKind() == Integral && "Unexpected kind"); 383 assert(getKind() == Integral && "Unexpected kind"); 546 Argument.getKind() == TemplateArgument::Integral || 600 assert(Argument.getKind() == TemplateArgument::Integral);
|
| H A D | TemplateArgumentVisitor.h | 39 DISPATCH(Integral); in Visit() 62 VISIT_METHOD(Integral);
|
| H A D | OperationKinds.def | 164 /// CK_IntegralToPointer - Integral to pointer. A special kind of 201 /// CK_IntegralToBoolean - Integral to boolean. A check against zero. 205 /// CK_IntegralToFloating - Integral to floating point. 225 /// CK_IntegralToFixedPoint - Integral to a fixed point.
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
| H A D | common.h | 115 inline void computePercentage(uptr Numerator, uptr Denominator, uptr *Integral, in computePercentage() argument 119 *Integral = 100; in computePercentage() 124 *Integral = Numerator * Digits / Denominator; in computePercentage()
|
| H A D | timing.h | 175 const u64 Integral = Occurrence == 0 ? 0 : AccumulatedTime / Occurrence; in REQUIRES() local 182 Str.append("%14" PRId64 ".%" PRId64 "(ns) %-11s", Integral, Fraction, " "); in REQUIRES()
|
| H A D | secondary.h | 158 uptr Integral; in getStats() local 160 computePercentage(SuccessfulRetrieves, CallsToRetrieve, &Integral, in getStats() 168 SuccessfulRetrieves, CallsToRetrieve, Integral, Fractional); in getStats()
|
| H A D | primary32.h | 934 uptr Integral; in getSizeClassFragmentationInfo() local 936 computePercentage(BlockSize * InUseBlocks, InUsePages * PageSize, &Integral, in getSizeClassFragmentationInfo() 941 AllocatedPagesCount, InUseBytes >> 10, Integral, Fractional); in getSizeClassFragmentationInfo()
|
| H A D | primary64.h | 1133 uptr Integral; in getRegionFragmentationInfo() local 1135 computePercentage(BlockSize * InUseBlocks, InUsePages * PageSize, &Integral, in getRegionFragmentationInfo() 1140 AllocatedPagesCount, InUseBytes >> 10, Integral, Fractional); in getRegionFragmentationInfo()
|
| /freebsd-14.2/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/ |
| H A D | _nvlist.py | 172 return isinstance(x, numbers.Integral) and not isinstance(x, bool) 217 elif isinstance(specimen, numbers.Integral): 281 elif isinstance(v, numbers.Integral):
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | CxxModuleHandler.cpp | 165 case TemplateArgument::Integral: in templateArgsAreSupported() 246 case TemplateArgument::Integral: { in tryInstantiateStdTemplate()
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/builtins/ |
| H A D | README.txt | 36 // Integral bit manipulation 68 // Integral arithmetic 95 // Integral arithmetic with trapping overflow 118 // Integral arithmetic which returns if overflow 126 // Integral comparison: a < b -> 0 135 // Integral / floating point conversion
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | StdVariantChecker.cpp | 253 case TemplateArgument::ArgKind::Integral: in handleStdGetCall()
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/ |
| H A D | complex | 170 template<Integral T> double real(T); // constexpr in C++14 176 template<Integral T> double imag(T); // constexpr in C++14 184 template<Integral T> double arg(T); 190 template<Integral T> double norm(T); // constexpr in C++20 196 template<Integral T> complex<double> conj(T); // constexpr in C++20 202 template<Integral T> complex<double> proj(T); 863 // Integral Types
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaTemplateDeduction.cpp | 258 case TemplateArgument::Integral: in checkDeducedTemplateArguments() 264 (Y.getKind() == TemplateArgument::Integral && in checkDeducedTemplateArguments() 324 if (Y.getKind() == TemplateArgument::Integral) { in checkDeducedTemplateArguments() 350 if (Y.getKind() == TemplateArgument::Integral) in checkDeducedTemplateArguments() 2304 case TemplateArgument::Integral: in DeduceTemplateArguments() 2305 if (A.getKind() == TemplateArgument::Integral) { in DeduceTemplateArguments() 2326 case TemplateArgument::Integral: in DeduceTemplateArguments() 2533 case TemplateArgument::Integral: in isSameTemplateArg() 2619 case TemplateArgument::Integral: in getTrivialTemplateArgumentLoc() 6481 case TemplateArgument::Integral: in MarkUsedTemplateParameters()
|
| H A D | SemaTemplateVariadic.cpp | 1114 case TemplateArgument::Integral: in getTemplateArgumentPackExpansionPattern() 1165 case TemplateArgument::Integral: in getFullyPackExpandedSize()
|