HomeSort by: relevance | last modified time | path
    Searched refs:Integral (Results 1 - 25 of 31) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/clang/lib/AST/Interp/
Integral.h 1 //===--- Integral.h - Wrapper for numeric types for the VM ------*- C++ -*-===//
56 template <unsigned Bits, bool Signed> class Integral {
58 template <unsigned OtherBits, bool OtherSigned> friend class Integral;
60 // The primitive representing the integral.
68 /// Construct an integral from anything that is convertible to storage.
69 template <typename T> explicit Integral(T V) : V(V) {}
72 /// Zero-initializes an integral.
73 Integral() : V(0) {}
75 /// Constructs an integral from another integral
    [all...]
PrimType.h 20 #include "Integral.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>; };
Boolean.h 14 #include "Integral.h"
94 from(Integral<SrcBits, SrcSign> Value) {
99 static Boolean from(Integral<0, SrcSign> Value) {
  /src/external/apache2/llvm/dist/llvm/bindings/python/llvm/tests/
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)
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
TemplateArgumentVisitor.h 39 DISPATCH(Integral);
61 VISIT_METHOD(Integral);
TemplateBase.h 81 /// The template argument is an integral value stored in an llvm::APSInt
82 /// that was provided for an integral non-type template parameter.
83 Integral,
170 /// Construct an integral constant template argument. The memory to
174 /// Construct an integral constant template argument with the same
311 /// Retrieve the template argument as an integral value.
312 // FIXME: Provide a way to read the integral data without copying the value.
314 assert(getKind() == Integral && "Unexpected kind");
326 /// Retrieve the type of the integral value.
328 assert(getKind() == Integral && "Unexpected kind")
    [all...]
RecursiveASTVisitor.h 780 case TemplateArgument::Integral:
813 case TemplateArgument::Integral:
  /src/external/apache2/llvm/dist/clang/lib/AST/
TemplateBase.cpp 46 /// Print a template integral argument value.
162 Integer.Kind = Integral;
218 case Integral:
248 case Integral:
288 case TemplateArgument::Integral:
342 case Integral:
376 case Integral:
405 case Integral:
462 case Integral:
528 case TemplateArgument::Integral
    [all...]
TypeLoc.cpp 564 case TemplateArgument::Integral:
ASTDiagnostic.cpp 1184 case TemplateArgument::Integral:
1214 case TemplateArgument::Integral:
1746 /// PrintAPSInt - Handles printing of integral arguments, highlighting
1753 "Only one integral argument may be missing.");
ODRHash.cpp 171 case TemplateArgument::Integral:
ASTStructuralEquivalence.cpp 541 case TemplateArgument::Integral:
StmtProfile.cpp 2266 case TemplateArgument::Integral:
Decl.cpp 326 case TemplateArgument::Integral:
2330 // OpenCL permits const integral variables to be used in constant
2354 // In C++, const, non-volatile variables of integral or enumeration types
2373 // const-qualified integral or enumeration type, ...
2380 // An integral constant-expression can involve only [...] const variables
2381 // or static data members of integral or enumeration types initialized with
MicrosoftMangle.cpp 1582 case TemplateArgument::Integral: {
ItaniumMangle.cpp 5285 case TemplateArgument::Integral:
  /src/external/gpl3/gcc.old/dist/libphobos/src/std/
conv.d 256 * Conversions from floating-point types _to integral types allow loss of
260 * integral, use `roundTo`.)
294 * Conversions from integral types _to floating-point types always
406 * $(DD Convert integral value _to string in $(D_PARAM radix) radix.
1025 // other integral-to-string conversions with default radix
1486 // The (value+0) is so integral promotions happen to the type
1489 // The unsigned(unsigned(value)+0) is so unsigned integral promotions happen to the type
1597 // Narrowing conversions from enum -> integral should be allowed, but they
1788 static void testIntegralToFloating(Integral, Floating)()
1790 Integral a = 42
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaTemplateVariadic.cpp 1105 case TemplateArgument::Integral:
1155 case TemplateArgument::Integral:
SemaTemplateDeduction.cpp 266 case TemplateArgument::Integral:
268 // declaration in another case, keep the integral constant.
269 // If both are integral constants with the same value, keep that value.
272 (Y.getKind() == TemplateArgument::Integral &&
319 // If we deduced a declaration and an integral constant, keep the
320 // integral constant and whichever type did not come from an array
322 if (Y.getKind() == TemplateArgument::Integral) {
344 // If we deduced a null pointer and an integral constant, keep the
345 // integral constant.
346 if (Y.getKind() == TemplateArgument::Integral)
    [all...]
SemaTemplate.cpp 1416 // -- integral or enumeration type,
4116 case TemplateArgument::Integral:
5450 case TemplateArgument::Integral:
5598 case TemplateArgument::Integral:
5599 llvm_unreachable("Integral argument with template template parameter");
7065 // -- for a non-type template-parameter of integral or
7070 // -- for a non-type template-parameter of integral or
7071 // enumeration type, integral promotions (4.5) and integral
7079 // -- for a non-type template-parameter of integral or enumeratio
    [all...]
SemaLookup.cpp 2699 case TemplateArgument::Integral:
TreeTransform.h 3646 case TemplateArgument::Integral:
4314 case TemplateArgument::Integral:
4336 else if (Arg.getKind() == TemplateArgument::Integral)
  /src/external/apache2/llvm/dist/clang/tools/libclang/
CXCursor.cpp 1391 case TemplateArgument::Integral:
1428 if (TA.getKind() != TemplateArgument::Integral) {
1429 assert(0 && "Passed template argument is not Integral");
1445 if (TA.getKind() != TemplateArgument::Integral) {
1446 assert(0 && "Passed template argument is not Integral");
  /src/external/apache2/llvm/dist/clang/lib/Index/
USRGeneration.cpp 983 case TemplateArgument::Integral:
  /src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
ASTMatchers.h 1166 /// Matches a TemplateArgument that is an integral value.
1178 return Node.getKind() == TemplateArgument::Integral;
1181 /// Matches a TemplateArgument that refers to an integral type.
1193 if (Node.getKind() != TemplateArgument::Integral)
1198 /// Matches a TemplateArgument of integral type with a given value.
1202 /// representation of that integral value in base 10.
1214 if (Node.getKind() != TemplateArgument::Integral)

Completed in 149 milliseconds

1 2