/external/clang/lib/Serialization/ |
H A D | ASTCommon.cpp | 26 serialization::TypeIdxFromBuiltin(const BuiltinType *BT) { 29 case BuiltinType::Void: ID = PREDEF_TYPE_VOID_ID; break; 30 case BuiltinType::Bool: ID = PREDEF_TYPE_BOOL_ID; break; 31 case BuiltinType::Char_U: ID = PREDEF_TYPE_CHAR_U_ID; break; 32 case BuiltinType::UChar: ID = PREDEF_TYPE_UCHAR_ID; break; 33 case BuiltinType::UShort: ID = PREDEF_TYPE_USHORT_ID; break; 34 case BuiltinType::UInt: ID = PREDEF_TYPE_UINT_ID; break; 35 case BuiltinType::ULong: ID = PREDEF_TYPE_ULONG_ID; break; 36 case BuiltinType::ULongLong: ID = PREDEF_TYPE_ULONGLONG_ID; break; 37 case BuiltinType [all...] |
H A D | ASTCommon.h | 31 TypeIdx TypeIdxFromBuiltin(const BuiltinType *BT); 46 if (const BuiltinType *BT = dyn_cast<BuiltinType>(T.getTypePtr()))
|
/external/clang/lib/CodeGen/ |
H A D | CGOpenCLRuntime.cpp | 36 switch (cast<BuiltinType>(T)->getKind()) { 40 case BuiltinType::OCLImage1d: 43 case BuiltinType::OCLImage1dArray: 46 case BuiltinType::OCLImage1dBuffer: 49 case BuiltinType::OCLImage2d: 52 case BuiltinType::OCLImage2dArray: 55 case BuiltinType::OCLImage3d: 58 case BuiltinType::OCLSampler: 60 case BuiltinType::OCLEvent:
|
H A D | CodeGenTypes.cpp | 316 switch (cast<BuiltinType>(Ty)->getKind()) { 317 case BuiltinType::Void: 318 case BuiltinType::ObjCId: 319 case BuiltinType::ObjCClass: 320 case BuiltinType::ObjCSel: 326 case BuiltinType::Bool: 331 case BuiltinType::Char_S: 332 case BuiltinType::Char_U: 333 case BuiltinType::SChar: 334 case BuiltinType [all...] |
H A D | CGRTTI.cpp | 158 static bool TypeInfoIsInStandardLibrary(const BuiltinType *Ty) { 169 case BuiltinType::Void: 170 case BuiltinType::NullPtr: 171 case BuiltinType::Bool: 172 case BuiltinType::WChar_S: 173 case BuiltinType::WChar_U: 174 case BuiltinType::Char_U: 175 case BuiltinType::Char_S: 176 case BuiltinType::UChar: 177 case BuiltinType [all...] |
H A D | CodeGenTBAA.cpp | 96 if (const BuiltinType *BTy = dyn_cast<BuiltinType>(Ty)) { 103 case BuiltinType::Char_U: 104 case BuiltinType::Char_S: 105 case BuiltinType::UChar: 106 case BuiltinType::SChar: 110 case BuiltinType::UShort: 112 case BuiltinType::UInt: 114 case BuiltinType::ULong: 116 case BuiltinType [all...] |
H A D | TargetInfo.cpp | 277 if (!Ty->getAs<BuiltinType>() && !Ty->hasPointerRepresentation() && 607 if (Ty->getAs<BuiltinType>() || Ty->hasPointerRepresentation() || 808 if (const BuiltinType *BT = T->getAs<BuiltinType>()) { 809 BuiltinType::Kind K = BT->getKind(); 810 if (K == BuiltinType::Float || K == BuiltinType::Double) 1380 if (const BuiltinType *BT = Ty->getAs<BuiltinType>()) { 1381 BuiltinType [all...] |
H A D | CGDebugInfo.cpp | 355 llvm::DIType CGDebugInfo::CreateType(const BuiltinType *BT) { 361 case BuiltinType::Id: 363 case BuiltinType::Dependent: 365 case BuiltinType::NullPtr: 368 case BuiltinType::Void: 370 case BuiltinType::ObjCClass: 377 case BuiltinType::ObjCId: { 412 case BuiltinType::ObjCSel: { 422 case BuiltinType::OCLImage1d: 425 case BuiltinType [all...] |
H A D | CGExprScalar.cpp | 2562 BuiltinType::Kind ElemKind) { 2565 case BuiltinType::Char_U: 2566 case BuiltinType::UChar: 2569 case BuiltinType::Char_S: 2570 case BuiltinType::SChar: 2573 case BuiltinType::UShort: 2576 case BuiltinType::Short: 2579 case BuiltinType::UInt: 2580 case BuiltinType::ULong: 2583 case BuiltinType [all...] |
/external/clang/lib/AST/ |
H A D | TypeLoc.cpp | 223 case BuiltinType::Void: 225 case BuiltinType::Bool: 227 case BuiltinType::Char_U: 228 case BuiltinType::Char_S: 230 case BuiltinType::Char16: 232 case BuiltinType::Char32: 234 case BuiltinType::WChar_S: 235 case BuiltinType::WChar_U: 237 case BuiltinType::UChar: 238 case BuiltinType [all...] |
H A D | NSAPI.cpp | 290 const BuiltinType *BT = T->getAs<BuiltinType>(); 306 case BuiltinType::Char_S: 307 case BuiltinType::SChar: 309 case BuiltinType::Char_U: 310 case BuiltinType::UChar: 312 case BuiltinType::Short: 314 case BuiltinType::UShort: 316 case BuiltinType::Int: 318 case BuiltinType [all...] |
H A D | Type.cpp | 642 if (const BuiltinType *BT = dyn_cast<BuiltinType>(CanonicalType)) 643 return BT->getKind() >= BuiltinType::Bool && 644 BT->getKind() <= BuiltinType::Int128; 655 if (const BuiltinType *BT = dyn_cast<BuiltinType>(CanonicalType)) 656 return BT->getKind() >= BuiltinType::Bool && 657 BT->getKind() <= BuiltinType::Int128; 672 if (const BuiltinType *BT = dyn_cast<BuiltinType>(CanonicalTyp [all...] |
H A D | ASTContext.cpp | 797 void ASTContext::InitBuiltinType(CanQualType &R, BuiltinType::Kind K) { 798 BuiltinType *Ty = new (*this, TypeAlignment) BuiltinType(K); 814 InitBuiltinType(VoidTy, BuiltinType::Void); 817 InitBuiltinType(BoolTy, BuiltinType::Bool); 820 InitBuiltinType(CharTy, BuiltinType::Char_S); 822 InitBuiltinType(CharTy, BuiltinType::Char_U); 824 InitBuiltinType(SignedCharTy, BuiltinType::SChar); 825 InitBuiltinType(ShortTy, BuiltinType::Short); 826 InitBuiltinType(IntTy, BuiltinType [all...] |
H A D | MicrosoftMangle.cpp | 1047 void MicrosoftCXXNameMangler::mangleType(const BuiltinType *T, 1074 case BuiltinType::Void: Out << 'X'; break; 1075 case BuiltinType::SChar: Out << 'C'; break; 1076 case BuiltinType::Char_U: case BuiltinType::Char_S: Out << 'D'; break; 1077 case BuiltinType::UChar: Out << 'E'; break; 1078 case BuiltinType::Short: Out << 'F'; break; 1079 case BuiltinType::UShort: Out << 'G'; break; 1080 case BuiltinType::Int: Out << 'H'; break; 1081 case BuiltinType [all...] |
H A D | ItaniumMangle.cpp | 1774 bool isSubstitutable = quals || !isa<BuiltinType>(T); 1818 void CXXNameMangler::mangleType(const BuiltinType *T) { 1849 case BuiltinType::Void: Out << 'v'; break; 1850 case BuiltinType::Bool: Out << 'b'; break; 1851 case BuiltinType::Char_U: case BuiltinType::Char_S: Out << 'c'; break; 1852 case BuiltinType::UChar: Out << 'h'; break; 1853 case BuiltinType::UShort: Out << 't'; break; 1854 case BuiltinType::UInt: Out << 'j'; break; 1855 case BuiltinType [all...] |
/external/clang/lib/Analysis/ |
H A D | PrintfFormatString.cpp | 438 const BuiltinType *BT = QT->getAs<BuiltinType>(); 444 case BuiltinType::Bool: 445 case BuiltinType::WChar_U: 446 case BuiltinType::WChar_S: 447 case BuiltinType::Char16: 448 case BuiltinType::Char32: 449 case BuiltinType::UInt128: 450 case BuiltinType::Int128: 451 case BuiltinType [all...] |
H A D | FormatString.cpp | 261 if (const BuiltinType *BT = argTy->getAs<BuiltinType>()) 265 case BuiltinType::Char_S: 266 case BuiltinType::SChar: 267 case BuiltinType::UChar: 268 case BuiltinType::Char_U: 282 if (const BuiltinType *BT = argTy->getAs<BuiltinType>()) 286 case BuiltinType::Char_S: 287 case BuiltinType [all...] |
H A D | ScanfFormatString.cpp | 387 const BuiltinType *BT = PT->getAs<BuiltinType>(); 404 case BuiltinType::UInt: 405 case BuiltinType::Int: 406 case BuiltinType::Float: 411 case BuiltinType::Char_U: 412 case BuiltinType::UChar: 413 case BuiltinType::Char_S: 414 case BuiltinType::SChar: 419 case BuiltinType [all...] |
/external/clang/tools/libclang/ |
H A D | CIndexUSRs.cpp | 538 if (const BuiltinType *BT = T->getAs<BuiltinType>()) { 541 case BuiltinType::Void: 543 case BuiltinType::Bool: 545 case BuiltinType::Char_U: 546 case BuiltinType::UChar: 548 case BuiltinType::Char16: 550 case BuiltinType::Char32: 552 case BuiltinType::UShort: 554 case BuiltinType [all...] |
H A D | CXType.cpp | 28 static CXTypeKind GetBuiltinTypeKind(const BuiltinType *BT) { 29 #define BTCASE(K) case BuiltinType::K: return CXType_##K 44 case BuiltinType::WChar_S: return CXType_WChar; 45 case BuiltinType::WChar_U: return CXType_WChar; 74 return GetBuiltinTypeKind(cast<BuiltinType>(TP));
|
/external/clang/include/clang/AST/ |
H A D | Type.h | 1241 friend class BuiltinType; 1245 /// The kind (BuiltinType::Kind) of builtin type this is. 1469 const BuiltinType *getAsPlaceholderType() const; 1475 /// other than Overload; see BuiltinType::isNonOverloadPlaceholderType. 1815 /// BuiltinType - This class is used for builtin types like 'int'. Builtin 1817 class BuiltinType : public Type { class in namespace:clang 1826 BuiltinType(Kind K) function in class:clang::BuiltinType 4174 /// pointee is an ObjCObjectType with base BuiltinType::ObjCIdType 4178 /// with base BuiltinType::ObjCIdType and protocol list [P]. Eventually 4191 /// Either a BuiltinType o [all...] |
H A D | TypeLoc.h | 448 BuiltinType, 470 BuiltinType::Kind bk = getTypePtr()->getKind(); 471 return (bk >= BuiltinType::UShort && bk <= BuiltinType::UInt128) 472 || (bk >= BuiltinType::Short && bk <= BuiltinType::LongDouble) 473 || bk == BuiltinType::UChar 474 || bk == BuiltinType::SChar;
|
/external/clang/utils/ABITest/ |
H A D | ABITestGen.py | 201 if isinstance(t, BuiltinType): 270 if isinstance(t, BuiltinType): 319 if isinstance(t, BuiltinType): 507 btg = FixedTypeGenerator([BuiltinType(n,s) for n,s in builtins]) 514 bitfields.append(BuiltinType(name,None,int(width))) 517 charType = BuiltinType('char',1) 518 shortType = BuiltinType('short',2) 519 intType = BuiltinType('int',4) 520 longlongType = BuiltinType('long long',8) 521 floatType = BuiltinType('floa [all...] |
H A D | TypeGen.py | 33 class BuiltinType(Type): class in inherits:Type 441 fbtg = FixedTypeGenerator([BuiltinType('char', 4), 442 BuiltinType('char', 4, 0), 443 BuiltinType('int', 4, 5)]) 452 btg = FixedTypeGenerator([BuiltinType('char', 4), 453 BuiltinType('int', 4)])
|
/external/clang/lib/Sema/ |
H A D | SemaCast.cpp | 54 if (const BuiltinType *placeholder = 58 PlaceholderKind = (BuiltinType::Kind) 0; 68 BuiltinType::Kind PlaceholderKind; 102 bool claimPlaceholder(BuiltinType::Kind K) { 105 PlaceholderKind = (BuiltinType::Kind) 0; 112 bool isPlaceholder(BuiltinType::Kind K) const { 132 if (!isPlaceholder() || isPlaceholder(BuiltinType::Overload)) 138 PlaceholderKind = (BuiltinType::Kind) 0; 691 if (ValueKind == VK_RValue && !isPlaceholder(BuiltinType::Overload)) 739 if (claimPlaceholder(BuiltinType [all...] |