| /src/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | Integral.h | 50 template <unsigned Bits, bool Signed> class Integral final { 52 template <unsigned OtherBits, bool OtherSigned> friend class Integral; 63 template <typename T> explicit Integral(T V) : V(V) {} 66 using AsUnsigned = Integral<Bits, false>; 69 Integral() : V(0) {} 73 explicit Integral(Integral<SrcBits, SrcSign> V) : V(V.V) {} 76 explicit Integral(const APSInt &V) 79 bool operator<(Integral RHS) const { return V < RHS.V; } 80 bool operator>(Integral RHS) const { return V > RHS.V; } 81 bool operator<=(Integral RHS) const { return V <= RHS.V; } [all …]
|
| H A D | PrimType.h | 30 template <unsigned Bits, bool Signed> class Integral; variable 76 template <> struct PrimConv<PT_Sint8> { using T = Integral<8, true>; }; 77 template <> struct PrimConv<PT_Uint8> { using T = Integral<8, false>; }; 78 template <> struct PrimConv<PT_Sint16> { using T = Integral<16, true>; }; 79 template <> struct PrimConv<PT_Uint16> { using T = Integral<16, false>; }; 80 template <> struct PrimConv<PT_Sint32> { using T = Integral<32, true>; }; 81 template <> struct PrimConv<PT_Uint32> { using T = Integral<32, false>; }; 82 template <> struct PrimConv<PT_Sint64> { using T = Integral<64, true>; }; 83 template <> struct PrimConv<PT_Uint64> { using T = Integral<64, false>; };
|
| 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 | 101 from(Integral<SrcBits, SrcSign> Value) { in from()
|
| H A D | Opcodes.td | 503 // [Pointer, Integral] -> [Pointer] 505 // [Pointer, Integral] -> [Pointer] 508 // [Pointer, Pointer] -> [Integral]
|
| H A D | Pointer.h | 30 template <unsigned A, bool B> class Integral; variable
|
| /src/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()
|
| /src/contrib/llvm-project/clang/lib/AST/ |
| H A D | TemplateBase.cpp | 183 Integer.Kind = Integral; in initFromIntegral() 295 case Integral: in getDependence() 326 case Integral: in isPackExpansion() 367 case TemplateArgument::Integral: in getNonTypeTemplateArgumentType() 413 case Integral: in Profile() 453 case Integral: in structurallyEquals() 493 case Integral: in getPackExpansionPattern() 556 case Integral: in print() 613 case TemplateArgument::Integral: in getSourceRange() 644 case TemplateArgument::Integral: in DiagTemplateArg()
|
| H A D | TypeLoc.cpp | 593 case TemplateArgument::Integral: in initializeArgLocs()
|
| /src/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.
|
| /src/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
| H A D | common.h | 119 inline void computePercentage(uptr Numerator, uptr Denominator, uptr *Integral, in computePercentage() argument 123 *Integral = 100; in computePercentage() 128 *Integral = Numerator * Digits / Denominator; in computePercentage()
|
| H A D | timing.h | 187 const u64 Integral = Occurrence == 0 ? 0 : AccumulatedTime / Occurrence; in REQUIRES() local 195 Str.append("%14" PRId64 ".%" PRId64 "(ns) %-8s", Integral, Fraction, " "); in REQUIRES()
|
| H A D | secondary.h | 178 uptr Integral; in getStats() local 180 computePercentage(SuccessfulRetrieves, CallsToRetrieve, &Integral, in getStats() 190 SuccessfulRetrieves, CallsToRetrieve, Integral, Fractional); in getStats()
|
| H A D | primary32.h | 941 uptr Integral; in getSizeClassFragmentationInfo() local 943 computePercentage(BlockSize * InUseBlocks, InUsePages * PageSize, &Integral, in getSizeClassFragmentationInfo() 948 AllocatedPagesCount, InUseBytes >> 10, Integral, Fractional); in getSizeClassFragmentationInfo()
|
| H A D | primary64.h | 1186 uptr Integral; in getRegionFragmentationInfo() local 1188 computePercentage(BlockSize * InUseBlocks, InUsePages * PageSize, &Integral, in getRegionFragmentationInfo() 1193 AllocatedPagesCount, InUseBytes >> 10, Integral, Fractional); in getRegionFragmentationInfo()
|
| /src/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/ |
| H A D | _nvlist.py | 173 return isinstance(x, numbers.Integral) and not isinstance(x, bool) 218 elif isinstance(specimen, numbers.Integral): 282 elif isinstance(v, numbers.Integral):
|
| /src/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()
|
| /src/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
|
| /src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | StdVariantChecker.cpp | 255 case TemplateArgument::ArgKind::Integral: in handleStdGetCall()
|
| /src/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); 894 // Integral Types
|
| /src/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaTemplateDeduction.cpp | 260 case TemplateArgument::Integral: in checkDeducedTemplateArguments() 266 (Y.getKind() == TemplateArgument::Integral && in checkDeducedTemplateArguments() 326 if (Y.getKind() == TemplateArgument::Integral) { in checkDeducedTemplateArguments() 352 if (Y.getKind() == TemplateArgument::Integral) in checkDeducedTemplateArguments() 2467 case TemplateArgument::Integral: in DeduceTemplateArguments() 2468 if (A.getKind() == TemplateArgument::Integral) { in DeduceTemplateArguments() 2489 case TemplateArgument::Integral: in DeduceTemplateArguments() 2705 case TemplateArgument::Integral: in isSameTemplateArg() 2780 case TemplateArgument::Integral: in getTrivialTemplateArgumentLoc() 6664 case TemplateArgument::Integral: in MarkUsedTemplateParameters()
|
| H A D | SemaTemplateVariadic.cpp | 1177 case TemplateArgument::Integral: in getTemplateArgumentPackExpansionPattern() 1228 case TemplateArgument::Integral: in getFullyPackExpandedSize()
|