Home
last modified time | relevance | path

Searched refs:Integral (Results 1 – 25 of 54) sorted by relevance

123

/openbsd/src/gnu/llvm/clang/lib/AST/Interp/
DIntegral.h56 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 …]
DPrimType.h43 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>; };
DInterpStack.h140 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()
DBoolean.h101 from(Integral<SrcBits, SrcSign> Value) { in from()
106 static Boolean from(Integral<0, SrcSign> Value) { in from()
DOpcodes.td391 // [Pointer, Integral] -> [Pointer]
393 // [Pointer, Integral] -> [Pointer]
396 // Pointer, Pointer] - [Integral]
/openbsd/src/gnu/llvm/llvm/bindings/python/llvm/tests/
Dtest_object.py1 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/
DSequence.h128 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/
DTemplateBase.cpp165 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()
DTypeLoc.cpp583 case TemplateArgument::Integral: in initializeArgLocs()
DASTDiagnostic.cpp1219 case TemplateArgument::Integral: in InitializeNonTypeDiffVariables()
1249 case TemplateArgument::Integral: in InitializeNonTypeDiffVariables()
DODRHash.cpp177 case TemplateArgument::Integral: { in AddTemplateArgument()
/openbsd/src/gnu/llvm/clang/include/clang/AST/
DTemplateBase.h81 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);
DTemplateArgumentVisitor.h39 DISPATCH(Integral); in Visit()
61 VISIT_METHOD(Integral);
DOperationKinds.def163 /// 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/
Dformatter_int.bench.cpp176 struct Integral { struct
205 makeCartesianProductBenchmark<Integral, AllLocalizations, AllBases, AllTypes, AllAlignments>(); in main() argument
/openbsd/src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
DCxxModuleHandler.cpp165 case TemplateArgument::Integral: in templateArgsAreSupported()
245 case TemplateArgument::Integral: { in tryInstantiateStdTemplate()
/openbsd/src/gnu/llvm/compiler-rt/lib/builtins/
DREADME.txt36 // 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/
DConstantInterpreter.rst45 the ```Integral``` type.
52 ``Integral`` specialisation for these types is required by opcodes to
58 ``Integral``.
/openbsd/src/gnu/llvm/libcxx/include/
Dcomplex170 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/
DSemaTemplateDeduction.cpp256 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()
DSemaTemplateVariadic.cpp1107 case TemplateArgument::Integral: in getTemplateArgumentPackExpansionPattern()
1157 case TemplateArgument::Integral: in getFullyPackExpandedSize()
/openbsd/src/gnu/llvm/clang/tools/libclang/
DCXCursor.cpp1464 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/
DReleaseNotes.rst70 ``from_chars`` for Integral Types in ``<charconv>`` Header
/openbsd/src/gnu/llvm/clang/include/clang/ASTMatchers/
DASTMatchers.h1183 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/
DUSRGeneration.cpp1025 case TemplateArgument::Integral: in VisitTemplateArgument()

123