Searched refs:BaseType (Results 1 - 25 of 48) sorted by relevance

12

/external/llvm/lib/Analysis/
H A DLoads.cpp65 Type *BaseType = 0;
69 BaseType = AI->getAllocatedType();
75 BaseType = GV->getType()->getElementType();
80 if (BaseType && BaseType->isSized()) {
82 BaseAlign = TD->getPrefTypeAlignment(BaseType);
91 if (ByteOffset + LoadSize <= TD->getTypeAllocSize(BaseType) &&
/external/llvm/lib/Target/X86/
H A DX86InstrBuilder.h41 } BaseType; member in struct:llvm::X86AddressMode
55 : BaseType(RegBase), Scale(1), IndexReg(0), Disp(0), GV(0), GVOpFlags(0) {
63 if (BaseType == X86AddressMode::RegBase)
67 assert(BaseType == X86AddressMode::FrameIndexBase);
126 if (AM.BaseType == X86AddressMode::RegBase)
129 assert(AM.BaseType == X86AddressMode::FrameIndexBase);
H A DX86ISelDAGToDAG.cpp53 } BaseType; member in struct:__anon9832::X86ISelAddressMode
55 // This is really a union, discriminated by BaseType!
72 : BaseType(RegBase), Base_FrameIndex(0), Scale(1), IndexReg(), Disp(0),
88 if (BaseType != RegBase) return false;
96 BaseType = RegBase;
231 Base = (AM.BaseType == X86ISelAddressMode::FrameIndexBase) ?
591 if (AM.BaseType == X86ISelAddressMode::FrameIndexBase &&
730 AM.BaseType == X86ISelAddressMode::RegBase &&
742 AM.BaseType == X86ISelAddressMode::RegBase &&
1006 if (AM.BaseType
[all...]
/external/clang/lib/Sema/
H A DSemaExprMember.cpp429 Sema::ActOnDependentMemberExpr(Expr *BaseExpr, QualType BaseType, argument
446 const PointerType *PT = BaseType->getAs<PointerType>();
451 << BaseType << BaseExpr->getSourceRange() << NameInfo.getSourceRange();
456 assert(BaseType->isDependentType() ||
460 // Get the type being accessed in BaseType. If this is an arrow, the BaseExpr
462 return Owned(CXXDependentScopeMemberExpr::Create(Context, BaseExpr, BaseType,
475 QualType BaseType,
485 << SS.getRange() << rep << BaseType; local
501 QualType BaseType,
505 cast_or_null<CXXRecordDecl>(computeDeclContext(BaseType));
473 DiagnoseQualifiedMemberReference(Sema &SemaRef, Expr *BaseExpr, QualType BaseType, const CXXScopeSpec &SS, NamedDecl *rep, const DeclarationNameInfo &nameInfo) argument
500 CheckQualifiedMemberReference(Expr *BaseExpr, QualType BaseType, const CXXScopeSpec &SS, const LookupResult &R) argument
628 BuildMemberReferenceExpr(Expr *Base, QualType BaseType, SourceLocation OpLoc, bool IsArrow, CXXScopeSpec &SS, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
830 QualType BaseType = BaseExprType; local
1618 QualType BaseType = BaseExpr->getType(); local
[all...]
H A DSemaDeclCXX.cpp1086 QualType BaseType = TInfo->getType(); local
1105 if (BaseType->isDependentType()) {
1109 if (CXXRecordDecl *BaseDecl = BaseType->getAsCXXRecordDecl()) {
1114 << BaseType << Context.getTypeDeclType(Class);
1118 << BaseType;
1130 if (!BaseType->isRecordType()) {
1137 if (BaseType->isUnionType()) {
1145 if (RequireCompleteType(BaseLoc, BaseType,
1152 RecordDecl *BaseDecl = BaseType->getAs<RecordType>()->getDecl();
2030 QualType BaseType,
2028 FindBaseInitializer(Sema &SemaRef, CXXRecordDecl *ClassDecl, QualType BaseType, const CXXBaseSpecifier *&DirectBaseSpec, const CXXBaseSpecifier *&VirtualBaseSpec) argument
2187 QualType BaseType; local
2511 BuildBaseInitializer(QualType BaseType, TypeSourceInfo *BaseTInfo, Expr *Init, CXXRecordDecl *ClassDecl, SourceLocation EllipsisLoc) argument
2841 QualType BaseType = Field->getType(); local
3322 GetKeyForBase(ASTContext &Context, QualType BaseType) argument
4176 const RecordType *BaseType = B->getType()->getAs<RecordType>(); local
7004 CanQualType BaseType = BaseIt->getType()->getCanonicalTypeUnqualified(); local
8548 QualType BaseType = Base->getType().getUnqualifiedType(); local
8609 QualType BaseType = Context.getBaseElementType(Field->getType()); local
9003 QualType BaseType = Base->getType().getUnqualifiedType(); local
9063 QualType BaseType = Context.getBaseElementType(Field->getType()); local
10241 QualType BaseType = ExDeclType; local
[all...]
H A DSemaExprCXX.cpp754 bool Sema::isThisOutsideMemberFunctionBody(QualType BaseType) { argument
762 CXXRecordDecl *Class = BaseType->getAsCXXRecordDecl();
4905 QualType BaseType = Base->getType(); local
4907 if (BaseType->isDependentType()) {
4912 if (const PointerType *Ptr = BaseType->getAs<PointerType>())
4913 BaseType = Ptr->getPointeeType();
4915 ObjectType = ParsedType::make(BaseType);
4927 CTypes.insert(Context.getCanonicalType(BaseType));
4929 while (BaseType->isRecordType()) {
4936 BaseType
[all...]
H A DTreeTransform.h753 QualType RebuildUnaryTransformType(QualType BaseType,
1553 QualType BaseType = Base->getType(); local
1561 return getSema().BuildMemberReferenceExpr(Base, BaseType, OpLoc, isArrow,
2171 QualType BaseType,
2182 return SemaRef.BuildMemberReferenceExpr(BaseE, BaseType,
2194 ExprResult RebuildUnresolvedMemberExpr(Expr *BaseE, QualType BaseType, argument
2205 return SemaRef.BuildMemberReferenceExpr(BaseE, BaseType,
8112 QualType BaseType; local
8132 BaseType = ((Expr*) Base.get())->getType();
8135 BaseType
2170 RebuildCXXDependentScopeMemberExpr(Expr *BaseE, QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, const DeclarationNameInfo &MemberNameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
8211 QualType BaseType; local
9124 RebuildUnaryTransformType(QualType BaseType, UnaryTransformType::UTTKind UKind, SourceLocation Loc) argument
9305 QualType BaseType = Base->getType(); local
[all...]
H A DSemaAccess.cpp1563 QualType BaseType = E->getBaseType();
1565 BaseType = BaseType->getAs<PointerType>()->getPointeeType();
1568 Found, BaseType);
H A DSemaCodeComplete.cpp3543 QualType BaseType = Base->getType(); local
3546 if (const PointerType *Ptr = BaseType->getAs<PointerType>())
3547 BaseType = Ptr->getPointeeType();
3548 else if (BaseType->isObjCObjectPointerType())
3560 if (BaseType->isObjCObjectPointerType() ||
3561 BaseType->isObjCObjectOrInterfaceType()) {
3572 BaseType),
3575 if (const RecordType *Record = BaseType->getAs<RecordType>()) {
3578 Results.setObjectTypeQualifiers(BaseType.getQualifiers());
3591 bool IsDependent = BaseType
[all...]
/external/llvm/lib/Target/MSP430/
H A DMSP430ISelDAGToDAG.cpp39 } BaseType; member in struct:__anon9724::MSP430ISelAddressMode
41 struct { // This is really a union, discriminated by BaseType!
55 : BaseType(RegBase), Disp(0), GV(0), CP(0), BlockAddr(0),
65 if (BaseType == RegBase && Base.Reg.getNode() != 0) {
68 } else if (BaseType == FrameIndexBase) {
173 if (AM.BaseType != MSP430ISelAddressMode::RegBase || AM.Base.Reg.getNode()) {
179 AM.BaseType = MSP430ISelAddressMode::RegBase;
201 if (AM.BaseType == MSP430ISelAddressMode::RegBase
203 AM.BaseType = MSP430ISelAddressMode::FrameIndexBase;
256 if (AM.BaseType
[all...]
/external/clang/test/SemaCXX/
H A Dtypo-correction.cpp36 // is a closer match to "basetype" than is "BaseType" but "base_type" does not
38 struct BaseType { }; struct
39 struct Derived : public BaseType { // expected-note {{base class 'BaseType' specified here}}
41 Derived() : basetype() {} // expected-error{{initializer 'basetype' does not name a non-static data member or base class; did you mean the base class 'BaseType'?}}
/external/opencv/cxcore/include/
H A Dcvwimage.h178 typedef T BaseType; typedef in class:cv::WImage
263 typedef typename WImage<T>::BaseType BaseType; typedef in class:cv::WImageC
305 typedef typename WImage<T>::BaseType BaseType; typedef in class:cv::WImageBuffer
361 typedef typename WImage<T>::BaseType BaseType; typedef in class:cv::WImageBufferC
422 typedef typename WImage<T>::BaseType BaseType; typedef in class:cv::WImageView
457 typedef typename WImage<T>::BaseType BaseTyp typedef in class:cv::WImageViewC
[all...]
/external/clang/lib/AST/
H A DDeclPrinter.cpp105 QualType BaseType = T; local
106 while (!BaseType->isSpecifierType()) {
107 if (isa<TypedefType>(BaseType))
109 else if (const PointerType* PTy = BaseType->getAs<PointerType>())
110 BaseType = PTy->getPointeeType();
111 else if (const BlockPointerType *BPy = BaseType->getAs<BlockPointerType>())
112 BaseType = BPy->getPointeeType();
113 else if (const ArrayType* ATy = dyn_cast<ArrayType>(BaseType))
114 BaseType = ATy->getElementType();
115 else if (const FunctionType* FTy = BaseType
261 QualType BaseType = GetBaseType(CurDeclType); local
[all...]
H A DCXXInheritance.cpp52 /// different base class subobjects of the same type. BaseType must be
54 bool CXXBasePaths::isAmbiguous(CanQualType BaseType) { argument
55 BaseType = BaseType.getUnqualifiedType();
56 std::pair<bool, unsigned>& Subobjects = ClassSubobjects[BaseType];
194 QualType BaseType = Context.getCanonicalType(BaseSpec->getType()) local
203 if (BaseType->isDependentType())
208 std::pair<bool, unsigned>& Subobjects = ClassSubobjects[BaseType];
217 DetectedVirtual = BaseType->getAs<RecordType>();
H A DExprCXX.cpp1079 Expr *Base, QualType BaseType,
1094 Base(Base), BaseType(BaseType), IsArrow(IsArrow),
1115 Expr *Base, QualType BaseType,
1128 Base(Base), BaseType(BaseType), IsArrow(IsArrow),
1136 Expr *Base, QualType BaseType, bool IsArrow,
1144 return new (C) CXXDependentScopeMemberExpr(C, Base, BaseType,
1155 return new (Mem) CXXDependentScopeMemberExpr(C, Base, BaseType,
1217 Expr *Base, QualType BaseType,
1078 CXXDependentScopeMemberExpr(ASTContext &C, Expr *Base, QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierFoundInScope, DeclarationNameInfo MemberNameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
1114 CXXDependentScopeMemberExpr(ASTContext &C, Expr *Base, QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, NamedDecl *FirstQualifierFoundInScope, DeclarationNameInfo MemberNameInfo) argument
1135 Create(ASTContext &C, Expr *Base, QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierFoundInScope, DeclarationNameInfo MemberNameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
1215 UnresolvedMemberExpr(ASTContext &C, bool HasUnresolvedUsing, Expr *Base, QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, const DeclarationNameInfo &MemberNameInfo, const TemplateArgumentListInfo *TemplateArgs, UnresolvedSetIterator Begin, UnresolvedSetIterator End) argument
1253 Create(ASTContext &C, bool HasUnresolvedUsing, Expr *Base, QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, const DeclarationNameInfo &MemberNameInfo, const TemplateArgumentListInfo *TemplateArgs, UnresolvedSetIterator Begin, UnresolvedSetIterator End) argument
1304 QualType BaseType = getBaseType().getNonReferenceType(); local
[all...]
H A DDeclCXX.cpp150 QualType BaseType = Base->getType(); local
152 if (BaseType->isDependentType())
155 = cast<CXXRecordDecl>(BaseType->getAs<RecordType>()->getDecl());
189 if (!hasNonLiteralTypeFieldsOrBases() && !BaseType->isLiteralType())
213 if (SeenVBaseTypes.insert(C.getCanonicalType(BaseType)))
H A DType.cpp483 BaseType(Base)
1829 UnaryTransformType::UnaryTransformType(QualType BaseType, argument
1836 BaseType->containsUnexpandedParameterPack())
1837 , BaseType(BaseType), UnderlyingType(UnderlyingType), UKind(UKind)
2008 QualType BaseType,
2011 ID.AddPointer(BaseType.getAsOpaquePtr());
2007 Profile(llvm::FoldingSetNodeID &ID, QualType BaseType, ObjCProtocolDecl * const *Protocols, unsigned NumProtocols) argument
/external/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp273 SVal StoreManager::evalDerivedToBase(SVal Derived, QualType BaseType, argument
280 const CXXRecordDecl *BaseDecl = BaseType->getPointeeCXXRecordDecl();
282 BaseDecl = BaseType->getAsCXXRecordDecl();
312 QualType BaseType = TSR->getLocationType()->getPointeeType(); local
313 assert(!BaseType.isNull());
314 const CXXRecordDecl *SRDecl = BaseType->getAsCXXRecordDecl();
/external/llvm/lib/IR/
H A DDebugInfo.cpp587 DIType BaseType = getTypeDerivedFrom();
590 if (!BaseType.isValid())
596 if (BaseType.getTag() == dwarf::DW_TAG_reference_type ||
597 BaseType.getTag() == dwarf::DW_TAG_rvalue_reference_type)
600 if (BaseType.isDerivedType())
601 return DIDerivedType(BaseType).getOriginalTypeSize();
603 return BaseType.getSizeInBits();
/external/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h271 QualType BaseType; member in class:clang::CodeCompletionContext
293 BaseType = T;
308 QualType getBaseType() const { return BaseType; }
/external/clang/include/clang/AST/
H A DCXXInheritance.h199 bool isAmbiguous(CanQualType BaseType);
H A DExprCXX.h2917 QualType BaseType;
2959 Expr *Base, QualType BaseType, bool IsArrow,
2969 Expr *Base, QualType BaseType,
2978 Expr *Base, QualType BaseType, bool IsArrow,
3002 QualType getBaseType() const { return BaseType; }
3180 QualType BaseType;
3186 Expr *Base, QualType BaseType, bool IsArrow,
3203 Expr *Base, QualType BaseType, bool IsArrow,
3231 QualType getBaseType() const { return BaseType; }
H A DType.h1034 : BaseType(baseType), CanonicalType(canon) {}
1041 const Type *const BaseType; member in class:clang::ExtQualsTypeCommonBase
1106 const Type *getBaseType() const { return BaseType; }
1113 const Type *BaseType,
1116 ID.AddPointer(BaseType);
3194 QualType BaseType; member in class:clang::FunctionType::ExtInfo::FunctionProtoType::UnaryTransformType
3195 /// The transformed type if not dependent, otherwise the same as BaseType.
3208 QualType getBaseType() const { return BaseType; }
4192 QualType BaseType; member in class:clang::FunctionType::ExtInfo::FunctionProtoType::ObjCObjectType
4207 BaseType(QualTyp
1112 Profile(llvm::FoldingSetNodeID &ID, const Type *BaseType, Qualifiers Quals) argument
[all...]
/external/javassist/src/main/javassist/bytecode/
H A DSignatureAttribute.java426 public static class BaseType extends Type { class in class:SignatureAttribute
428 BaseType(char c) { descriptor = c; } method in class:SignatureAttribute.BaseType
820 t = new BaseType(sig.charAt(c.position++));
/external/llvm/lib/Target/R600/
H A DAMDILISelLowering.cpp333 VTSDNode *BaseType = cast<VTSDNode>(Op.getOperand(1)); local
336 EVT BVT = BaseType->getVT();

Completed in 347 milliseconds

12