| /llvm-project-15.0.7/clang/lib/AST/Interp/ |
| H A D | Integral.h | 73 Integral() : V(0) {} 77 explicit Integral(Integral<SrcBits, SrcSign> V) : V(V.V) {} 94 Integral operator-() const { return Integral(-V); } 95 Integral operator~() const { return Integral(~V); } 152 return Integral(Min); 169 template <bool SrcSign> static Integral from(Integral<0, SrcSign> Value) { 186 static bool increment(Integral A, Integral *R) { 190 static bool decrement(Integral A, Integral *R) { 194 static bool add(Integral A, Integral B, unsigned OpBits, Integral *R) { 198 static bool sub(Integral A, Integral B, unsigned OpBits, Integral *R) { [all …]
|
| H A D | PrimType.h | 42 template <> struct PrimConv<PT_Sint8> { using T = Integral<8, true>; }; 43 template <> struct PrimConv<PT_Uint8> { using T = Integral<8, false>; }; 44 template <> struct PrimConv<PT_Sint16> { using T = Integral<16, true>; }; 45 template <> struct PrimConv<PT_Uint16> { using T = Integral<16, false>; }; 46 template <> struct PrimConv<PT_Sint32> { using T = Integral<32, true>; }; 47 template <> struct PrimConv<PT_Uint32> { using T = Integral<32, false>; }; 48 template <> struct PrimConv<PT_Sint64> { using T = Integral<64, true>; }; 49 template <> struct PrimConv<PT_Uint64> { using T = Integral<64, false>; };
|
| H A D | Boolean.h | 94 from(Integral<SrcBits, SrcSign> Value) { in from() 99 static Boolean from(Integral<0, SrcSign> Value) { in from()
|
| H A D | Opcodes.td | 372 // [Pointer, Integral] -> [Pointer] 374 // [Pointer, Integral] -> [Pointer]
|
| /llvm-project-15.0.7/llvm/bindings/python/llvm/tests/ |
| H A 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)
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | Sequence.h | 129 template <typename Integral, typename std::enable_if_t< 130 std::is_integral<Integral>::value, bool> = 0> 131 static CheckedInt from(Integral FromValue) { in from() 166 template <typename Integral, typename std::enable_if_t< 167 std::is_integral<Integral>::value, bool> = 0> 168 Integral to() const { in to() 169 if (!canTypeFitValue<Integral>(Value)) in to() 171 return static_cast<Integral>(Value); in to()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A 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() 345 case Integral: in Profile() 379 case Integral: in structurallyEquals() 408 case Integral: in getPackExpansionPattern() 465 case Integral: in print() 531 case TemplateArgument::Integral: in getSourceRange() 559 case TemplateArgument::Integral: in DiagTemplateArg()
|
| H A D | TypeLoc.cpp | 578 case TemplateArgument::Integral: in initializeArgLocs()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | TemplateBase.h | 82 Integral, 313 assert(getKind() == Integral && "Unexpected kind"); 327 assert(getKind() == Integral && "Unexpected kind"); 332 assert(getKind() == Integral && "Unexpected kind"); 479 Argument.getKind() == TemplateArgument::Integral || 536 assert(Argument.getKind() == TemplateArgument::Integral);
|
| H A D | TemplateArgumentVisitor.h | 39 DISPATCH(Integral); in Visit() 61 VISIT_METHOD(Integral);
|
| H A 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.
|
| /llvm-project-15.0.7/libcxx/benchmarks/ |
| H A D | formatter_int.bench.cpp | 176 struct Integral { struct 205 makeCartesianProductBenchmark<Integral, AllLocalizations, AllBases, AllTypes, AllAlignments>(); in main() argument
|
| /llvm-project-15.0.7/clang/test/SemaTemplate/ |
| H A D | constexpr-instantiate.cpp | 139 constexpr bool Integral() { in Integral() function 142 template<typename T, bool Int = Integral<T>()>
|
| /llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | CxxModuleHandler.cpp | 164 case TemplateArgument::Integral: in templateArgsAreSupported() 244 case TemplateArgument::Integral: { in tryInstantiateStdTemplate()
|
| /llvm-project-15.0.7/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
|
| /llvm-project-15.0.7/llvm/test/Assembler/ |
| H A D | ConstantExprFoldCast.ll | 13 @C = global i32 trunc (i64 42 to i32) ; Integral casts
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
| H A D | ProBoundsConstantArrayIndexCheck.cpp | 111 if (SizeArg.getKind() != TemplateArgument::Integral) in check()
|
| /llvm-project-15.0.7/libcxx/test/std/atomics/ |
| H A D | types.pass.cpp | 31 template <class A, bool Integral>
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | DumpAST.cpp | 139 TEMPLATE_ARGUMENT_KIND(Integral); in getKind() 292 if (TAL.getArgument().getKind() == TemplateArgument::Integral) in getDetail()
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | cxx2a-explicit-bool.cpp | 562 using Integral = C<int>; typedef 567 Integral n; in testBool()
|
| /llvm-project-15.0.7/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); 196 template<Integral T> complex<double> conj(T); 202 template<Integral T> complex<double> proj(T); 797 // Integral Types
|
| /llvm-project-15.0.7/clang/docs/ |
| H A D | ConstantInterpreter.rst | 45 the ```Integral``` type. 52 ``Integral`` specialisation for these types is required by opcodes to 58 ``Integral``.
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaTemplateDeduction.cpp | 252 case TemplateArgument::Integral: in checkDeducedTemplateArguments() 258 (Y.getKind() == TemplateArgument::Integral && in checkDeducedTemplateArguments() 308 if (Y.getKind() == TemplateArgument::Integral) { in checkDeducedTemplateArguments() 332 if (Y.getKind() == TemplateArgument::Integral) in checkDeducedTemplateArguments() 2245 case TemplateArgument::Integral: in DeduceTemplateArguments() 2246 if (A.getKind() == TemplateArgument::Integral) { in DeduceTemplateArguments() 2257 if (A.getKind() == TemplateArgument::Integral) in DeduceTemplateArguments() 2455 case TemplateArgument::Integral: in isSameTemplateArg() 2523 case TemplateArgument::Integral: { in getTrivialTemplateArgumentLoc() 5992 case TemplateArgument::Integral: in MarkUsedTemplateParameters()
|
| H A D | SemaTemplateVariadic.cpp | 1103 case TemplateArgument::Integral: in getTemplateArgumentPackExpansionPattern() 1153 case TemplateArgument::Integral: in getFullyPackExpandedSize()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CXCursor.cpp | 1434 case TemplateArgument::Integral: in clang_Cursor_getTemplateArgumentKind() 1471 if (TA.getKind() != TemplateArgument::Integral) { in clang_Cursor_getTemplateArgumentValue() 1488 if (TA.getKind() != TemplateArgument::Integral) { in clang_Cursor_getTemplateArgumentUnsignedValue()
|