Home
last modified time | relevance | path

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

123

/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/
H A DIntegral.h56 template <unsigned Bits, bool Signed> class Integral {
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 …]
H A DPrimType.h42 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 DBoolean.h94 from(Integral<SrcBits, SrcSign> Value) { in from()
99 static Boolean from(Integral<0, SrcSign> Value) { in from()
H A DOpcodes.td372 // [Pointer, Integral] -> [Pointer]
374 // [Pointer, Integral] -> [Pointer]
/netbsd-src/external/apache2/llvm/dist/llvm/bindings/python/llvm/tests/
H A 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)
/netbsd-src/external/apache2/llvm/dist/libcxx/include/
H A Datomic361 template <class Integral>
362 Integral atomic_fetch_add(volatile atomic<Integral>* obj, Integral op) noexcept;
364 template <class Integral>
365 Integral atomic_fetch_add(atomic<Integral>* obj, Integral op) noexcept;
367 template <class Integral>
368 Integral atomic_fetch_add_explicit(volatile atomic<Integral>* obj, Integral op,
370 template <class Integral>
371 Integral atomic_fetch_add_explicit(atomic<Integral>* obj, Integral op,
373 template <class Integral>
374 Integral atomic_fetch_sub(volatile atomic<Integral>* obj, Integral op) noexcept;
[all …]
H A 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);
196 template<Integral T> complex<double> conj(T);
202 template<Integral T> complex<double> proj(T);
796 // Integral Types
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DTemplateBase.cpp162 Integer.Kind = Integral; in TemplateArgument()
218 case Integral: in getDependence()
248 case Integral: in isPackExpansion()
288 case TemplateArgument::Integral: in getNonTypeTemplateArgumentType()
342 case Integral: in Profile()
376 case Integral: in structurallyEquals()
405 case Integral: in getPackExpansionPattern()
462 case Integral: in print()
528 case TemplateArgument::Integral: in getSourceRange()
556 case TemplateArgument::Integral: in DiagTemplateArg()
H A DTypeLoc.cpp564 case TemplateArgument::Integral: in initializeArgLocs()
H A DASTDiagnostic.cpp1184 case TemplateArgument::Integral: in InitializeNonTypeDiffVariables()
1214 case TemplateArgument::Integral: in InitializeNonTypeDiffVariables()
H A DODRHash.cpp171 case TemplateArgument::Integral: in AddTemplateArgument()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DTemplateBase.h83 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);
H A DTemplateArgumentVisitor.h39 DISPATCH(Integral); in Visit()
61 VISIT_METHOD(Integral);
H A 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.
H A DPropertiesBase.td750 let Class = PropertyTypeCase<TemplateArgument, "Integral"> in {
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Dconv.d1622 private void testIntegralToFloating(Integral, Floating)() in testIntegralToFloating() argument
1624 Integral a = 42; in testIntegralToFloating()
1627 assert(a == to!Integral(b)); in testIntegralToFloating()
1630 private void testFloatingToIntegral(Floating, Integral)() in testFloatingToIntegral() argument
1643 auto b = to!Integral(a); in testFloatingToIntegral()
1644 assert(is(typeof(b) == Integral) && b == 42); in testFloatingToIntegral()
1647 static if (Integral.min < 0) in testFloatingToIntegral()
1649 b = to!Integral(a); in testFloatingToIntegral()
1650 assert(is(typeof(b) == Integral) && b == -42); in testFloatingToIntegral()
1655 assert(convFails!(Floating, Integral, ConvOverflowException)(a)); in testFloatingToIntegral()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/
H A Dconv.d1788 static void testIntegralToFloating(Integral, Floating)()
1790 Integral a = 42;
1793 assert(a == to!Integral(b));
1795 static void testFloatingToIntegral(Floating, Integral)()
1810 auto b = to!Integral(a);
1811 assert(is(typeof(b) == Integral) && b == 42);
1814 static if (Integral.min < 0)
1816 b = to!Integral(a);
1817 assert(is(typeof(b) == Integral) && b == -42);
1822 assert(convFails!(Floating, Integral, ConvOverflowException)(a));
[all …]
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/builtins/
H A DREADME.txt31 // Integral bit manipulation
62 // Integral arithmetic
87 // Integral arithmetic with trapping overflow
110 // Integral arithmetic which returns if overflow
118 // Integral comparison: a < b -> 0
127 // Integral / floating point conversion
/netbsd-src/external/apache2/llvm/dist/clang/docs/
H A DConstantInterpreter.rst45 the ```Integral``` type.
52 ``Integral`` specialisation for these types is required by opcodes to
58 ``Integral``.
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp266 case TemplateArgument::Integral: in checkDeducedTemplateArguments()
272 (Y.getKind() == TemplateArgument::Integral && in checkDeducedTemplateArguments()
322 if (Y.getKind() == TemplateArgument::Integral) { in checkDeducedTemplateArguments()
346 if (Y.getKind() == TemplateArgument::Integral) in checkDeducedTemplateArguments()
2365 case TemplateArgument::Integral: in DeduceTemplateArguments()
2366 if (Arg.getKind() == TemplateArgument::Integral) { in DeduceTemplateArguments()
2388 if (Arg.getKind() == TemplateArgument::Integral) in DeduceTemplateArguments()
2594 case TemplateArgument::Integral: in isSameTemplateArg()
2662 case TemplateArgument::Integral: { in getTrivialTemplateArgumentLoc()
6114 case TemplateArgument::Integral: in MarkUsedTemplateParameters()
H A DSemaTemplateVariadic.cpp1105 case TemplateArgument::Integral: in getTemplateArgumentPackExpansionPattern()
1155 case TemplateArgument::Integral: in getFullyPackExpandedSize()
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXCursor.cpp1391 case TemplateArgument::Integral: in clang_Cursor_getTemplateArgumentKind()
1428 if (TA.getKind() != TemplateArgument::Integral) { in clang_Cursor_getTemplateArgumentValue()
1445 if (TA.getKind() != TemplateArgument::Integral) { in clang_Cursor_getTemplateArgumentUnsignedValue()
/netbsd-src/external/historical/nawk/dist/testdir/
H A Dfunstack.ok12 Integral . . . . . . . . . . . . . . . . 605
52 M. C. Pike ACM Algorithm 299: Chi-Squared Integral 243--244
300 K. A. Paciorek ACM Algorithm 385: Exponential Integral
943 Integral . . . . . . . . . . . . . . . . 358--360
1137 Richard J. Hanson Integral Equations of Immunology . . . . 883--890
1477 Formulas for Bromwich's Integral . . . . 486--487
1882 Integral
1988 Variates with Non-Integral Shape
3613 Integral [S15]'' . . . . . . . . . . . . 393--395
3646 Elliptic Integral [S21]'' . . . . . . . 95--95
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1178 return Node.getKind() == TemplateArgument::Integral; in AST_MATCHER()
1193 if (Node.getKind() != TemplateArgument::Integral) in AST_MATCHER_P()
1214 if (Node.getKind() != TemplateArgument::Integral) in AST_MATCHER_P()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Index/
H A DUSRGeneration.cpp983 case TemplateArgument::Integral: in VisitTemplateArgument()

123