| /openbsd/src/gnu/llvm/clang/lib/AST/Interp/ |
| D | Integral.h | 56 template <unsigned Bits, bool Signed> class Integral final { 58 template <unsigned OtherBits, bool OtherSigned> friend class Integral; 69 template <typename T> explicit Integral(T V) : V(V) {} 73 Integral() : V(0) {} 77 explicit Integral(Integral<SrcBits, SrcSign> V) : V(V.V) {} 80 explicit Integral(const APSInt &V) 83 bool operator<(Integral RHS) const { return V < RHS.V; } 84 bool operator>(Integral RHS) const { return V > RHS.V; } 85 bool operator<=(Integral RHS) const { return V <= RHS.V; } 86 bool operator>=(Integral RHS) const { return V >= RHS.V; } [all …]
|
| D | PrimType.h | 43 template <> struct PrimConv<PT_Sint8> { using T = Integral<8, true>; }; 44 template <> struct PrimConv<PT_Uint8> { using T = Integral<8, false>; }; 45 template <> struct PrimConv<PT_Sint16> { using T = Integral<16, true>; }; 46 template <> struct PrimConv<PT_Uint16> { using T = Integral<16, false>; }; 47 template <> struct PrimConv<PT_Sint32> { using T = Integral<32, true>; }; 48 template <> struct PrimConv<PT_Uint32> { using T = Integral<32, false>; }; 49 template <> struct PrimConv<PT_Sint64> { using T = Integral<64, true>; }; 50 template <> struct PrimConv<PT_Uint64> { using T = Integral<64, false>; };
|
| D | InterpStack.h | 140 std::is_same_v<T, Integral<8, true>>) in toPrimType() 143 std::is_same_v<T, Integral<8, false>>) in toPrimType() 146 std::is_same_v<T, Integral<16, true>>) in toPrimType() 149 std::is_same_v<T, Integral<16, false>>) in toPrimType() 152 std::is_same_v<T, Integral<32, true>>) in toPrimType() 155 std::is_same_v<T, Integral<32, false>>) in toPrimType() 158 std::is_same_v<T, Integral<64, true>>) in toPrimType() 161 std::is_same_v<T, Integral<64, false>>) in toPrimType()
|
| D | Boolean.h | 101 from(Integral<SrcBits, SrcSign> Value) { in from() 106 static Boolean from(Integral<0, SrcSign> Value) { in from()
|
| D | Opcodes.td | 391 // [Pointer, Integral] -> [Pointer] 393 // [Pointer, Integral] -> [Pointer] 396 // Pointer, Pointer] - [Integral]
|
| /openbsd/src/gnu/llvm/llvm/bindings/python/llvm/tests/ |
| D | test_object.py | 1 from numbers import Integral 25 assert isinstance(section.size, Integral) 27 assert isinstance(section.address, Integral) 43 assert isinstance(symbol.address, Integral) 44 assert isinstance(symbol.size, Integral) 65 assert isinstance(relocation.address, Integral) 66 assert isinstance(relocation.offset, Integral) 67 assert isinstance(relocation.type_number, Integral)
|
| /openbsd/src/gnu/llvm/llvm/include/llvm/ADT/ |
| 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()
|
| /openbsd/src/gnu/llvm/clang/lib/AST/ |
| D | TemplateBase.cpp | 165 Integer.Kind = Integral; in TemplateArgument() 221 case Integral: in getDependence() 251 case Integral: in isPackExpansion() 291 case TemplateArgument::Integral: in getNonTypeTemplateArgumentType() 334 case Integral: in Profile() 369 case Integral: in structurallyEquals() 398 case Integral: in getPackExpansionPattern() 455 case Integral: in print() 521 case TemplateArgument::Integral: in getSourceRange() 549 case TemplateArgument::Integral: in DiagTemplateArg()
|
| D | TypeLoc.cpp | 583 case TemplateArgument::Integral: in initializeArgLocs()
|
| D | ASTDiagnostic.cpp | 1219 case TemplateArgument::Integral: in InitializeNonTypeDiffVariables() 1249 case TemplateArgument::Integral: in InitializeNonTypeDiffVariables()
|
| D | ODRHash.cpp | 177 case TemplateArgument::Integral: { in AddTemplateArgument()
|
| /openbsd/src/gnu/llvm/clang/include/clang/AST/ |
| D | TemplateBase.h | 81 Integral, 314 assert(getKind() == Integral && "Unexpected kind"); 328 assert(getKind() == Integral && "Unexpected kind"); 333 assert(getKind() == Integral && "Unexpected kind"); 480 Argument.getKind() == TemplateArgument::Integral || 537 assert(Argument.getKind() == TemplateArgument::Integral);
|
| D | TemplateArgumentVisitor.h | 39 DISPATCH(Integral); in Visit() 61 VISIT_METHOD(Integral);
|
| D | OperationKinds.def | 163 /// CK_IntegralToPointer - Integral to pointer. A special kind of 200 /// CK_IntegralToBoolean - Integral to boolean. A check against zero. 204 /// CK_IntegralToFloating - Integral to floating point. 224 /// CK_IntegralToFixedPoint - Integral to a fixed point.
|
| /openbsd/src/gnu/llvm/libcxx/benchmarks/ |
| D | formatter_int.bench.cpp | 176 struct Integral { struct 205 makeCartesianProductBenchmark<Integral, AllLocalizations, AllBases, AllTypes, AllAlignments>(); in main() argument
|
| /openbsd/src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/ |
| D | CxxModuleHandler.cpp | 165 case TemplateArgument::Integral: in templateArgsAreSupported() 245 case TemplateArgument::Integral: { in tryInstantiateStdTemplate()
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/builtins/ |
| 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
|
| /openbsd/src/gnu/llvm/clang/docs/ |
| D | ConstantInterpreter.rst | 45 the ```Integral``` type. 52 ``Integral`` specialisation for these types is required by opcodes to 58 ``Integral``.
|
| /openbsd/src/gnu/llvm/libcxx/include/ |
| 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); 870 // Integral Types
|
| /openbsd/src/gnu/llvm/clang/lib/Sema/ |
| D | SemaTemplateDeduction.cpp | 256 case TemplateArgument::Integral: in checkDeducedTemplateArguments() 262 (Y.getKind() == TemplateArgument::Integral && in checkDeducedTemplateArguments() 312 if (Y.getKind() == TemplateArgument::Integral) { in checkDeducedTemplateArguments() 338 if (Y.getKind() == TemplateArgument::Integral) in checkDeducedTemplateArguments() 2274 case TemplateArgument::Integral: in DeduceTemplateArguments() 2275 if (A.getKind() == TemplateArgument::Integral) { in DeduceTemplateArguments() 2286 if (A.getKind() == TemplateArgument::Integral) in DeduceTemplateArguments() 2485 case TemplateArgument::Integral: in isSameTemplateArg() 2568 case TemplateArgument::Integral: { in getTrivialTemplateArgumentLoc() 6213 case TemplateArgument::Integral: in MarkUsedTemplateParameters()
|
| D | SemaTemplateVariadic.cpp | 1107 case TemplateArgument::Integral: in getTemplateArgumentPackExpansionPattern() 1157 case TemplateArgument::Integral: in getFullyPackExpandedSize()
|
| /openbsd/src/gnu/llvm/clang/tools/libclang/ |
| D | CXCursor.cpp | 1464 case TemplateArgument::Integral: in clang_Cursor_getTemplateArgumentKind() 1501 if (TA.getKind() != TemplateArgument::Integral) { in clang_Cursor_getTemplateArgumentValue() 1518 if (TA.getKind() != TemplateArgument::Integral) { in clang_Cursor_getTemplateArgumentUnsignedValue()
|
| /openbsd/src/gnu/llvm/libcxx/docs/ |
| D | ReleaseNotes.rst | 70 ``from_chars`` for Integral Types in ``<charconv>`` Header
|
| /openbsd/src/gnu/llvm/clang/include/clang/ASTMatchers/ |
| D | ASTMatchers.h | 1183 return Node.getKind() == TemplateArgument::Integral; in AST_MATCHER() 1198 if (Node.getKind() != TemplateArgument::Integral) in AST_MATCHER_P() 1219 if (Node.getKind() != TemplateArgument::Integral) in AST_MATCHER_P()
|
| /openbsd/src/gnu/llvm/clang/lib/Index/ |
| D | USRGeneration.cpp | 1025 case TemplateArgument::Integral: in VisitTemplateArgument()
|