Searched defs:Ty (Results 1 - 25 of 257) sorted by path

1234567891011

/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
H A DAMDILPeepholeOptimizer.cpp181 containsPointerType(Type *Ty) argument
183 if (!Ty) {
186 switch(Ty->getTypeID()) {
190 const StructType *ST = dyn_cast<StructType>(Ty);
202 return containsPointerType(dyn_cast<SequentialType>(Ty)->getElementType());
948 Type* Ty = inst->getType(); local
951 Ty = inst->getType();
954 Ty = sinst->getValueOperand()->getType();
958 unsigned size = getTypeSize(Ty);
962 if (!Ty
[all...]
/external/clang/include/clang/AST/
H A DASTContext.h969 bool BlockRequiresCopying(QualType Ty, const VarDecl *D);
975 bool getByrefLifetime(QualType Ty,
1024 QualType getVariableArrayDecayedType(QualType Ty) const;
1505 return getQualifiedType(split.Ty, split.Quals);
1593 Qualifiers::GC getObjCGCAttrKind(QualType Ty) const;
1604 static bool isObjCNSObjectType(QualType Ty) { argument
1605 return Ty->isObjCNSObjectType();
H A DDecl.h59 QualType Ty; member in class:clang::TypeSourceInfo
63 TypeSourceInfo(QualType ty) : Ty(ty) { }
66 QualType getType() const { return Ty; }
H A DDeclCXX.h2982 UnresolvedUsingValueDecl(DeclContext *DC, QualType Ty, argument
2987 NameInfo.getLoc(), NameInfo.getName(), Ty),
H A DExpr.h1419 ImaginaryLiteral(Expr *val, QualType Ty) argument
1420 : Expr(ImaginaryLiteralClass, Ty, VK_RValue, OK_Ordinary, false, false,
1484 StringLiteral(QualType Ty) : argument
1485 Expr(StringLiteralClass, Ty, VK_LValue, OK_Ordinary, false, false, false,
1494 StringKind Kind, bool Pascal, QualType Ty,
1499 StringKind Kind, bool Pascal, QualType Ty,
1501 return Create(C, Str, Kind, Pascal, Ty, &Loc, 1);
1965 TypeSourceInfo *Ty;
1983 Argument.Ty = TInfo;
2016 return Argument.Ty;
1498 Create(const ASTContext &C, StringRef Str, StringKind Kind, bool Pascal, QualType Ty, SourceLocation Loc) argument
3640 GNUNullExpr(QualType Ty, SourceLocation Loc) argument
[all...]
H A DExprCXX.h431 CXXBoolLiteralExpr(bool val, QualType Ty, SourceLocation l) : argument
432 Expr(CXXBoolLiteralExprClass, Ty, VK_RValue, OK_Ordinary, false, false,
462 CXXNullPtrLiteralExpr(QualType Ty, SourceLocation l) : argument
463 Expr(CXXNullPtrLiteralExprClass, Ty, VK_RValue, OK_Ordinary, false, false,
492 CXXStdInitializerListExpr(QualType Ty, Expr *SubExpr) argument
493 : Expr(CXXStdInitializerListExprClass, Ty, VK_RValue, OK_Ordinary,
494 Ty->isDependentType(), SubExpr->isValueDependent(),
533 CXXTypeidExpr(QualType Ty, TypeSourceInfo *Operand, SourceRange R) argument
534 : Expr(CXXTypeidExprClass, Ty, VK_LValue, OK_Ordinary,
543 CXXTypeidExpr(QualType Ty, Exp argument
678 CXXUuidofExpr(QualType Ty, TypeSourceInfo *Operand, SourceRange R) argument
685 CXXUuidofExpr(QualType Ty, Expr *Operand, SourceRange R) argument
813 CXXThrowExpr(Expr *expr, QualType Ty, SourceLocation l, bool IsThrownVariableInScope) argument
[all...]
H A DExprObjC.h64 ObjCBoolLiteralExpr(bool val, QualType Ty, SourceLocation l) : argument
65 Expr(ObjCBoolLiteralExprClass, Ty, VK_RValue, OK_Ordinary, false, false,
H A DType.h497 const Type *Ty; member in struct:clang::SplitQualType
502 SplitQualType() : Ty(nullptr), Quals() {}
503 SplitQualType(const Type *ty, Qualifiers qs) : Ty(ty), Quals(qs) {}
509 return std::pair<const Type *, Qualifiers>(Ty, Quals);
513 return a.Ty == b.Ty && a.Quals == b.Quals;
516 return a.Ty != b.Ty || a.Quals != b.Quals;
867 return getAsString(split.Ty, split.Quals);
879 return print(split.Ty, spli
[all...]
H A DTypeLoc.h42 // The correctness of this relies on the property that, for Type *Ty,
43 // QualType(Ty, 0).getAsOpaquePtr() == (void*) Ty
44 const void *Ty; member in class:clang::TypeLoc
84 TypeLoc() : Ty(nullptr), Data(nullptr) { }
86 : Ty(ty.getAsOpaquePtr()), Data(opaqueData) { }
88 : Ty(ty), Data(opaqueData) { }
95 bool isNull() const { return !Ty; }
96 LLVM_EXPLICIT operator bool() const { return Ty; }
99 static unsigned getFullDataSizeForType(QualType Ty);
210 UnqualTypeLoc(const Type *Ty, void *Data) argument
325 classofType(const Type *Ty) argument
427 classofType(const Type *Ty) argument
[all...]
/external/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h444 void setArgStruct(llvm::StructType *Ty) { ArgStruct = Ty; } argument
/external/clang/include/clang/Sema/
H A DDeclSpec.h957 /// \param Ty the type to which this conversion function is converting.
961 ParsedType Ty,
966 ConversionFunctionId = Ty;
1135 ParsedType Ty; member in struct:clang::DeclaratorChunk::TypeAndRange
960 setConversionFunctionId(SourceLocation OperatorLoc, ParsedType Ty, SourceLocation EndLoc) argument
/external/clang/lib/ARCMigrate/
H A DObjCMT.cpp1234 static bool IsVoidStarType(QualType Ty) { argument
1235 if (!Ty->isPointerType())
1238 while (const TypedefType *TD = dyn_cast<TypedefType>(Ty.getTypePtr()))
1239 Ty = TD->getDecl()->getUnderlyingType();
1242 const PointerType* PT = Ty->getAs<PointerType>();
H A DTransAutoreleasePool.cpp393 bool isNSAutoreleasePool(QualType Ty) { argument
394 QualType pointee = Ty->getPointeeType();
/external/clang/lib/AST/
H A DASTContext.cpp505 QualType Ty = I.getType(); local
506 if (Ty.isNull())
508 if (const CXXRecordDecl *NonVirtualBase = Ty->getAsCXXRecordDecl()) {
520 QualType Ty = I.getType(); local
521 if (Ty.isNull())
523 if (const CXXRecordDecl *VirtualBase = Ty->getAsCXXRecordDecl()) {
919 BuiltinType *Ty = new (*this, TypeAlignment) BuiltinType(K); local
920 R = CanQualType::CreateUnsafe(QualType(Ty, 0));
921 Types.push_back(Ty);
2020 canon = getExtQualType(canonSplit.Ty, canonSpli
3736 UnaryTransformType *Ty = local
3884 const Type *Ty = T.getTypePtr(); local
4691 BlockRequiresCopying(QualType Ty, const VarDecl *D) argument
4729 getByrefLifetime(QualType Ty, Qualifiers::ObjCLifetime &LifeTime, bool &HasByrefExtendedLayout) const argument
5434 QualType Ty = getObjCObjectPointerType(CT); local
7722 QualType Ty = DecodeTypeFromStr(TypeStr, *this, Error, RequiresICE, true); local
8022 TargetInfo::IntType Ty = getTargetInfo().getIntTypeByWidth(DestWidth, Signed); local
8033 TargetInfo::RealType Ty = getTargetInfo().getRealTypeByWidth(DestWidth); local
[all...]
H A DASTDiagnostic.cpp33 const Type *Ty = QC.strip(QT); local
36 if (const ElaboratedType *ET = dyn_cast<ElaboratedType>(Ty)) {
41 if (const ParenType *PT = dyn_cast<ParenType>(Ty)) {
47 dyn_cast<SubstTemplateTypeParmType>(Ty)) {
52 if (const AttributedType *AT = dyn_cast<AttributedType>(Ty)) {
57 if (const AdjustedType *AT = dyn_cast<AdjustedType>(Ty)) {
62 if (const AutoType *AT = dyn_cast<AutoType>(Ty)) {
71 = dyn_cast<TemplateSpecializationType>(Ty))
76 if (QualType(Ty,0) == Context.getObjCIdType() ||
77 QualType(Ty,
164 ConvertTypeToDiagnosticString(ASTContext &Context, QualType Ty, ArrayRef<DiagnosticsEngine::ArgumentValue> PrevArgs, ArrayRef<intptr_t> QualTypeVals) argument
834 GetTemplateSpecializationType( ASTContext &Context, QualType Ty) argument
[all...]
H A DCXXInheritance.cpp141 const RecordType *Ty = I.getType()->getAs<RecordType>(); local
142 if (!Ty) {
149 cast_or_null<CXXRecordDecl>(Ty->getDecl()->getDefinition());
H A DDeclBase.cpp710 QualType Ty; local
712 Ty = D->getType();
714 Ty = D->getUnderlyingType();
718 if (Ty->isFunctionPointerType())
719 Ty = Ty->getAs<PointerType>()->getPointeeType();
720 else if (BlocksToo && Ty->isBlockPointerType())
721 Ty = Ty->getAs<BlockPointerType>()->getPointeeType();
723 return Ty
[all...]
H A DDeclPrinter.cpp412 QualType Ty = D->getType(); local
413 while (const ParenType *PT = dyn_cast<ParenType>(Ty)) {
415 Ty = PT->getInnerType();
418 if (const FunctionType *AFT = Ty->getAs<FunctionType>()) {
563 Ty.print(Out, Policy, Proto);
H A DDeclarationName.cpp364 DeclarationName DeclarationNameTable::getCXXConstructorName(CanQualType Ty) { argument
366 Ty.getUnqualifiedType());
369 DeclarationName DeclarationNameTable::getCXXDestructorName(CanQualType Ty) { argument
371 Ty.getUnqualifiedType());
375 DeclarationNameTable::getCXXConversionFunctionName(CanQualType Ty) { argument
376 return getCXXSpecialName(DeclarationName::CXXConversionFunctionName, Ty);
381 CanQualType Ty) {
392 assert(!Ty.hasQualifiers() &&"Constructor type must be unqualified");
396 assert(!Ty.hasQualifiers() && "Destructor type must be unqualified");
408 ID.AddPointer(Ty
380 getCXXSpecialName(DeclarationName::NameKind Kind, CanQualType Ty) argument
[all...]
H A DExpr.cpp49 const RecordType *Ty = DerivedType->castAs<RecordType>(); local
50 Decl *D = Ty->getDecl();
795 StringKind Kind, bool Pascal, QualType Ty,
798 assert(C.getAsConstantArrayType(Ty) &&
806 StringLiteral *SL = new (Mem) StringLiteral(Ty);
3615 if (const ObjCObjectType *Ty = T->getAs<ObjCObjectType>())
3616 return Ty->getInterface();
3729 DesignatedInitExpr::DesignatedInitExpr(const ASTContext &C, QualType Ty, argument
3736 : Expr(DesignatedInitExprClass, Ty,
794 Create(const ASTContext &C, StringRef Str, StringKind Kind, bool Pascal, QualType Ty, const SourceLocation *Loc, unsigned NumStrs) argument
H A DExprCXX.cpp61 const Type *Ty = QT.getTypePtr(); local
63 Ty = QT->getPointeeType().getTypePtr();
65 Ty = Ty->getBaseElementTypeUnsafe();
68 CXXRecordDecl *RD = Ty->getAsCXXRecordDecl();
H A DMangleNumberingContext.cpp36 const Type *Ty = nullptr; local
37 return ++ManglingNumbers[Ty];
43 const Type *Ty = nullptr; local
44 return ++ManglingNumbers[Ty];
H A DMicrosoftMangle.cpp422 QualType Ty = VD->getType(); local
423 if (Ty->isPointerType() || Ty->isReferenceType() ||
424 Ty->isMemberPointerType()) {
425 mangleType(Ty, SR, QMM_Drop);
427 Ty.getDesugaredType(getASTContext()).getLocalQualifiers(), nullptr);
428 if (const MemberPointerType *MPT = Ty->getAs<MemberPointerType>()) {
434 mangleQualifiers(Ty->getPointeeType().getQualifiers(), false);
435 } else if (const ArrayType *AT = getASTContext().getAsArrayType(Ty)) {
441 mangleQualifiers(Ty
[all...]
H A DTypeLoc.cpp56 unsigned TypeLoc::getLocalAlignmentForType(QualType Ty) { argument
57 if (Ty.isNull()) return 1;
58 return TypeAligner().Visit(TypeLoc(Ty, nullptr));
74 unsigned TypeLoc::getFullDataSizeForType(QualType Ty) { argument
76 TypeLoc TyLoc(Ty, nullptr);
/external/clang/lib/Analysis/
H A DBodyFarm.cpp28 static bool isDispatchBlock(QualType Ty) { argument
30 const BlockPointerType *BPT = Ty->getAs<BlockPointerType>();
50 BinaryOperator *makeAssignment(const Expr *LHS, const Expr *RHS, QualType Ty);
63 UnaryOperator *makeDereference(const Expr *Arg, QualType Ty);
66 Expr *makeIntegralCast(const Expr *Arg, QualType Ty);
72 ImplicitCastExpr *makeLvalueToRvalue(const Expr *Arg, QualType Ty);
89 QualType Ty) {
91 BO_Assign, Ty, VK_RValue,
124 UnaryOperator *ASTMaker::makeDereference(const Expr *Arg, QualType Ty) { argument
125 return new (C) UnaryOperator(const_cast<Expr*>(Arg), UO_Deref, Ty,
88 makeAssignment(const Expr *LHS, const Expr *RHS, QualType Ty) argument
129 makeLvalueToRvalue(const Expr *Arg, QualType Ty) argument
134 makeIntegralCast(const Expr *Arg, QualType Ty) argument
148 QualType Ty = C.getBOOLDecl() ? C.getBOOLType() : C.ObjCBuiltinBoolTy; local
190 QualType Ty = Block->getType(); local
258 QualType Ty = PV->getType(); local
[all...]

Completed in 462 milliseconds

1234567891011