/external/clang/include/clang/AST/ |
H A D | Type.h | 498 const Type *Ty; member in struct:clang::SplitQualType 503 SplitQualType() : Ty(0), Quals() {} 504 SplitQualType(const Type *ty, Qualifiers qs) : Ty(ty), Quals(qs) {} 510 return std::pair<const Type *,Qualifiers>(Ty, Quals); 514 return a.Ty == b.Ty && a.Quals == b.Quals; 517 return a.Ty != b.Ty || a.Quals != b.Quals; 868 return getAsString(split.Ty, split.Quals); 880 return print(split.Ty, spli [all...] |
/external/clang/lib/AST/ |
H A D | ASTContext.cpp | 489 QualType Ty = I->getType(); local 490 if (Ty.isNull()) 492 if (const CXXRecordDecl *NonVirtualBase = Ty->getAsCXXRecordDecl()) { 505 QualType Ty = I->getType(); local 506 if (Ty.isNull()) 508 if (const CXXRecordDecl *VirtualBase = Ty->getAsCXXRecordDecl()) { 882 BuiltinType *Ty = new (*this, TypeAlignment) BuiltinType(K); local 883 R = CanQualType::CreateUnsafe(QualType(Ty, 0)); 884 Types.push_back(Ty); 1993 canon = getExtQualType(canonSplit.Ty, canonSpli 3644 UnaryTransformType *Ty = local 3792 const Type *Ty = T.getTypePtr(); local 4605 BlockRequiresCopying(QualType Ty, const VarDecl *D) argument 4643 getByrefLifetime(QualType Ty, Qualifiers::ObjCLifetime &LifeTime, bool &HasByrefExtendedLayout) const argument 7768 QualType Ty = DecodeTypeFromStr(TypeStr, *this, Error, RequiresICE, true); local [all...] |
/external/clang/lib/Rewrite/Frontend/ |
H A D | RewriteModernObjC.cpp | 585 CStyleCastExpr* NoTypeInfoCStyleCastExpr(ASTContext *Ctx, QualType Ty, argument 587 TypeSourceInfo *TInfo = Ctx->getTrivialTypeSourceInfo(Ty, SourceLocation()); 588 return CStyleCastExpr::Create(*Ctx, Ty, VK_RValue, Kind, E, 0, TInfo, 5248 QualType Ty = ND->getType(); local 5249 bool HasCopyAndDispose = Context->BlockRequiresCopying(Ty, ND); 5255 QualType T = Ty; 5271 if (Ty.isObjCGCWeak()) { 5277 QualType Ty = ND->getType(); local 5279 if (Ty->isBlockPointerType()) 5343 if (Ty [all...] |
/external/clang/lib/Sema/ |
H A D | SemaChecking.cpp | 78 QualType Ty = ValArg->getType(); local 79 if (!Ty->isIntegerType()) { 94 TheCall->setType(Ty); 834 QualType Ty = V->getType(); 835 if (!Ty->isBlockPointerType() && !Ty->isFunctionPointerType()) 841 } else if (Ty->isBlockPointerType()) { 843 } else { // Ty->isFunctionPointerType() 1083 QualType Ty; local 1093 Ty 2817 CXXRecordMembersNamed(StringRef Name, Sema &S, QualType Ty) argument 3700 isConstantSizeArrayWithMoreThanOneElement(QualType Ty, ASTContext &Context) argument 4388 GetValueRange(ASTContext &C, APValue &result, QualType Ty, unsigned MaxWidth) argument 4418 QualType Ty = E->getType(); local [all...] |
H A D | SemaDecl.cpp | 235 ParsedType Ty = getTypeName(*NewII, NameLoc, S, NewSSPtr, local 239 if (Ty) { 254 return Ty; 389 const Type *Ty = SS->getScopeRep()->getAsType(); local 394 if (Context.hasSameUnqualifiedType(QualType(Ty, 1), Base->getType())) 1307 QualType Ty = VD->getType(); local 1310 if (const TypedefType *TT = Ty->getAs<TypedefType>()) { 1317 if (Ty->isIncompleteType() || Ty->isDependentType()) 1320 if (const TagType *TT = Ty 1925 QualType Ty; local 3763 QualType Ty = GetTypeFromParser(Name.ConversionFunctionId, &TInfo); local 3775 QualType Ty = GetTypeFromParser(Name.ConstructorName, &TInfo); local 3810 QualType Ty = GetTypeFromParser(Name.DestructorName, &TInfo); local 3831 getCoreType(QualType Ty) argument 4297 const Type *Ty = Qs.strip(T); local 8296 QualType Ty = VD->getType(); local [all...] |
H A D | SemaDeclCXX.cpp | 5362 QualType Ty = Context.getRecordType(RD); local 5364 Ty.addConst(); 5366 checkTrivialSubobjectCall(*this, RD->getLocation(), Ty, CSM, 6469 bool Sema::isStdInitializerList(QualType Ty, QualType *Element) { argument 6482 if (const RecordType *RT = Ty->getAs<RecordType>()) { 6492 Ty->getAs<TemplateSpecializationType>()) {
|
H A D | SemaOverload.cpp | 5025 QualType Ty = S.Context.getObjCIdType(); local 5027 = TryImplicitConversion(S, From, Ty, 5060 QualType Ty = Context.getObjCIdType(); 5064 return PerformImplicitConversion(From, Ty, ICS, AA_Converting); 6260 bool AddPointerWithMoreQualifiedTypeVariants(QualType Ty, 6262 bool AddMemberPointerWithMoreQualifiedTypeVariants(QualType Ty); 6275 void AddTypesConvertedFrom(QualType Ty, 6309 /// AddPointerWithMoreQualifiedTypeVariants - Add the pointer type @p Ty to 6311 /// that type. For example, if @p Ty is "int const *", this routine 6314 /// pointer types. Returns true if the add of @p Ty itsel 6319 AddPointerWithMoreQualifiedTypeVariants(QualType Ty, const Qualifiers &VisibleQuals) argument 6388 AddMemberPointerWithMoreQualifiedTypeVariants( QualType Ty) argument 6429 AddTypesConvertedFrom(QualType Ty, SourceLocation Loc, bool AllowUserConversions, bool AllowExplicitConversions, const Qualifiers &VisibleQuals) argument [all...] |
H A D | SemaExpr.cpp | 443 QualType Ty = E->getType(); local 444 assert(!Ty.isNull() && "DefaultFunctionArrayConversion - missing type"); 446 if (Ty->isFunctionType()) 447 E = ImpCastExprToType(E, Context.getPointerType(Ty), 449 else if (Ty->isArrayType()) { 462 E = ImpCastExprToType(E, Context.getArrayDecayedType(Ty), 658 QualType Ty = E->getType(); local 659 assert(!Ty.isNull() && "UsualUnaryConversions - missing type"); 662 if (Ty->isHalfType() && !getLangOpts().NativeHalfType) 667 if (Ty 701 QualType Ty = E->getType(); local 743 isValidVarArgType(const QualType &Ty) argument 789 const QualType &Ty = E->getType(); local 1550 BuildDeclRefExpr(ValueDecl *D, QualType Ty, ExprValueKind VK, SourceLocation Loc, const CXXScopeSpec *SS) argument 1560 BuildDeclRefExpr(ValueDecl *D, QualType Ty, ExprValueKind VK, const DeclarationNameInfo &NameInfo, const CXXScopeSpec *SS, NamedDecl *FoundD, const TemplateArgumentListInfo *TemplateArgs) argument 2863 BuildFloatingLiteral(Sema &S, NumericLiteralParser &Literal, QualType Ty, SourceLocation Loc) argument 3011 QualType Ty; local 3032 QualType Ty; local 4655 ActOnCompoundLiteral(SourceLocation LParenLoc, ParsedType Ty, SourceLocation RParenLoc, Expr *InitExpr) argument 4934 CheckVectorCast(SourceRange R, QualType VectorTy, QualType Ty, CastKind &Kind) argument 4996 ActOnCastExpr(Scope *S, SourceLocation LParenLoc, Declarator &D, ParsedType &Ty, SourceLocation RParenLoc, Expr *CastExpr) argument 5077 QualType Ty = TInfo->getType(); local 6509 QualType Ty = LHSType.getNonLValueExprType(Context); local 6512 CheckObjCARCConversion(SourceRange(), Ty, E, CCK_ImplicitConversion, local 10266 ActOnVAArg(SourceLocation BuiltinLoc, Expr *E, ParsedType Ty, SourceLocation RPLoc) argument 10362 QualType Ty; local [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | DAGCombiner.cpp | 8094 EVT Ty = EVT::getVectorVT(*DAG.getContext(), MemVT, i+1); local 8095 if (TLI.isTypeLegal(Ty)) 8132 EVT Ty = EVT::getVectorVT(*DAG.getContext(), MemVT, NumElem); local 8133 assert(TLI.isTypeLegal(Ty) && "Illegal vector store"); 8134 StoredVal = DAG.getConstant(0, Ty);
|
/external/llvm/lib/Target/ARM/ |
H A D | ARMISelLowering.cpp | 2309 Entry.Ty = (Type *) Type::getInt32Ty(*DAG.getContext()); 10144 Type *Ty) const { 10145 EVT VT = getValueType(Ty, true); 10462 IntegerType *Ty = dyn_cast<IntegerType>(CI->getType()); local 10463 if (Ty && Ty->getBitWidth() == 32) 10752 Type *Ty = VT.getTypeForEVT(*DAG.getContext()); local 10771 Entry.Ty = ArgTy; 10780 Type *RetTy = (Type*)StructType::get(Ty, Ty, NUL [all...] |
/external/llvm/lib/Target/PowerPC/ |
H A D | PPCISelLowering.cpp | 584 unsigned PPCTargetLowering::getByValTypeAlignment(Type *Ty) const { 591 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) 1692 Entry.Ty = IntPtrTy; 7157 Type *Ty = LD->getMemoryVT().getTypeForEVT(*DAG.getContext()); local 7158 unsigned ABIAlignment = getDataLayout()->getABITypeAlignment(Ty); 7729 Type *Ty) const {
|
/external/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 1550 static void getMaxByValAlign(Type *Ty, unsigned &MaxAlign) { argument 1553 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) { 1556 } else if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { 1561 } else if (StructType *STy = dyn_cast<StructType>(Ty)) { 1577 unsigned X86TargetLowering::getByValTypeAlignment(Type *Ty) const { 1580 unsigned TyAlign = TD->getABITypeAlignment(Ty); 1588 getMaxByValAlign(Ty, Align); 12760 Entry.Ty = ArgTy; 13268 Type *Ty) const { 18539 IntegerType *Ty local [all...] |