Searched defs:BaseType (Results 1 - 25 of 35) sorted by relevance

12

/external/llvm/lib/Analysis/
H A DLoads.cpp94 Type *BaseType = 0; local
98 BaseType = AI->getAllocatedType();
104 BaseType = GV->getType()->getElementType();
109 if (BaseType && BaseType->isSized()) {
111 BaseAlign = TD->getPrefTypeAlignment(BaseType);
120 if (ByteOffset + LoadSize <= TD->getTypeAllocSize(BaseType) &&
/external/llvm/lib/Target/MSP430/
H A DMSP430ISelDAGToDAG.cpp39 } BaseType; member in struct:__anon8928::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/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.cpp56 } BaseType; member in struct:__anon9020::X86ISelAddressMode
58 // This is really a union, discriminated by BaseType!
75 : BaseType(RegBase), Base_FrameIndex(0), Scale(1), IndexReg(), Disp(0),
91 if (BaseType != RegBase) return false;
99 BaseType = RegBase;
235 Base = (AM.BaseType == X86ISelAddressMode::FrameIndexBase) ?
578 if (AM.BaseType == X86ISelAddressMode::FrameIndexBase &&
709 AM.BaseType == X86ISelAddressMode::RegBase &&
721 AM.BaseType == X86ISelAddressMode::RegBase &&
985 if (AM.BaseType
[all...]
/external/clang/lib/AST/
H A DCXXInheritance.cpp53 /// different base class subobjects of the same type. BaseType must be
55 bool CXXBasePaths::isAmbiguous(CanQualType BaseType) { argument
56 BaseType = BaseType.getUnqualifiedType();
57 std::pair<bool, unsigned>& Subobjects = ClassSubobjects[BaseType];
181 QualType BaseType = Context.getCanonicalType(BaseSpec->getType()) local
190 if (BaseType->isDependentType())
195 std::pair<bool, unsigned>& Subobjects = ClassSubobjects[BaseType];
204 DetectedVirtual = BaseType->getAs<RecordType>();
H A DDeclPrinter.cpp102 QualType BaseType = T; local
103 while (!BaseType->isSpecifierType()) {
104 if (isa<TypedefType>(BaseType))
106 else if (const PointerType* PTy = BaseType->getAs<PointerType>())
107 BaseType = PTy->getPointeeType();
108 else if (const ArrayType* ATy = dyn_cast<ArrayType>(BaseType))
109 BaseType = ATy->getElementType();
110 else if (const FunctionType* FTy = BaseType->getAs<FunctionType>())
111 BaseType = FTy->getResultType();
112 else if (const VectorType *VTy = BaseType
263 QualType BaseType = GetBaseType(CurDeclType); local
[all...]
H A DDeclCXX.cpp139 QualType BaseType = Base->getType(); local
141 if (BaseType->isDependentType())
144 = cast<CXXRecordDecl>(BaseType->getAs<RecordType>()->getDecl());
178 if (!hasNonLiteralTypeFieldsOrBases() && !BaseType->isLiteralType())
192 if (SeenVBaseTypes.insert(C.getCanonicalType(BaseType)))
H A DExprCXX.cpp1049 Expr *Base, QualType BaseType,
1064 Base(Base), BaseType(BaseType), IsArrow(IsArrow),
1085 Expr *Base, QualType BaseType,
1098 Base(Base), BaseType(BaseType), IsArrow(IsArrow),
1106 Expr *Base, QualType BaseType, bool IsArrow,
1114 return new (C) CXXDependentScopeMemberExpr(C, Base, BaseType,
1125 return new (Mem) CXXDependentScopeMemberExpr(C, Base, BaseType,
1187 Expr *Base, QualType BaseType,
1048 CXXDependentScopeMemberExpr(ASTContext &C, Expr *Base, QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierFoundInScope, DeclarationNameInfo MemberNameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
1084 CXXDependentScopeMemberExpr(ASTContext &C, Expr *Base, QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, NamedDecl *FirstQualifierFoundInScope, DeclarationNameInfo MemberNameInfo) argument
1105 Create(ASTContext &C, Expr *Base, QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierFoundInScope, DeclarationNameInfo MemberNameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
1185 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
1223 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
1274 QualType BaseType = getBaseType().getNonReferenceType(); local
[all...]
H A DType.cpp456 BaseType(Base)
1779 UnaryTransformType::UnaryTransformType(QualType BaseType, argument
1786 BaseType->containsUnexpandedParameterPack())
1787 , BaseType(BaseType), UnderlyingType(UnderlyingType), UKind(UKind)
1958 QualType BaseType,
1961 ID.AddPointer(BaseType.getAsOpaquePtr());
1957 Profile(llvm::FoldingSetNodeID &ID, QualType BaseType, ObjCProtocolDecl * const *Protocols, unsigned NumProtocols) argument
H A DVTableBuilder.cpp241 const RecordType *BaseType = Element.Base->getType()->getAs<RecordType>(); local
242 const CXXRecordDecl *Base = cast<CXXRecordDecl>(BaseType->getDecl());
/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/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/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/include/clang/Sema/
H A DCodeCompleteConsumer.h270 QualType BaseType; member in class:clang::CodeCompletionContext
292 BaseType = T;
307 QualType getBaseType() const { return BaseType; }
/external/clang/lib/StaticAnalyzer/Core/
H A DRegionStore.cpp954 QualType BaseType = TSR->getLocationType()->getPointeeType(); local
955 assert(!BaseType.isNull());
956 const CXXRecordDecl *SRDecl = BaseType->getAsCXXRecordDecl();
/external/llvm/lib/Target/ARM/
H A DARMFastISel.cpp59 } BaseType; member in struct:__anon8837::Address
70 : BaseType(RegBase), Offset(0) {
878 Addr.BaseType = Address::FrameIndexBase;
924 if (needsLowering && Addr.BaseType == Address::FrameIndexBase) {
935 Addr.BaseType = Address::RegBase;
957 if (Addr.BaseType == Address::FrameIndexBase) {
1999 Addr.BaseType = Address::RegBase;
/external/clang/lib/CodeGen/
H A DCGExprAgg.cpp1352 QualType BaseType = getContext().getBaseElementType(Ty); local
1353 if (const RecordType *RecordTy = BaseType->getAs<RecordType>()) {
H A DCodeGenFunction.cpp988 llvm::Type *BaseType = ConvertType(eltType)->getPointerTo(AddressSpace); local
989 addr = Builder.CreateBitCast(addr, BaseType, "array.begin");
H A DCGClass.cpp384 const Type *BaseType = BaseInit->getBaseClass(); local
386 cast<CXXRecordDecl>(BaseType->getAs<RecordType>()->getDecl());
406 CharUnits Alignment = CGF.getContext().getTypeAlignInChars(BaseType);
/external/clang/lib/Parse/
H A DParseDeclCXX.cpp1563 TypeResult BaseType = ParseBaseTypeSpecifier(BaseLoc, EndLocation); local
1564 if (BaseType.isInvalid())
1580 BaseType.get(), BaseLoc, EllipsisLoc);
H A DParseDecl.cpp3161 TypeResult BaseType; local
3223 BaseType = ParseTypeName(&Range);
3319 IsScopedUsingClassTag, BaseType);
/external/clang/lib/Sema/
H A DSemaExprMember.cpp437 Sema::ActOnDependentMemberExpr(Expr *BaseExpr, QualType BaseType, argument
454 const PointerType *PT = BaseType->getAs<PointerType>();
459 << BaseType << BaseExpr->getSourceRange() << NameInfo.getSourceRange();
464 assert(BaseType->isDependentType() ||
468 // Get the type being accessed in BaseType. If this is an arrow, the BaseExpr
470 return Owned(CXXDependentScopeMemberExpr::Create(Context, BaseExpr, BaseType,
483 QualType BaseType,
493 << SS.getRange() << rep << BaseType; local
509 QualType BaseType,
512 const RecordType *BaseRT = BaseType
481 DiagnoseQualifiedMemberReference(Sema &SemaRef, Expr *BaseExpr, QualType BaseType, const CXXScopeSpec &SS, NamedDecl *rep, const DeclarationNameInfo &nameInfo) argument
508 CheckQualifiedMemberReference(Expr *BaseExpr, QualType BaseType, const CXXScopeSpec &SS, const LookupResult &R) argument
636 BuildMemberReferenceExpr(Expr *Base, QualType BaseType, SourceLocation OpLoc, bool IsArrow, CXXScopeSpec &SS, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
838 QualType BaseType = BaseExprType; local
1611 QualType BaseType = BaseExpr->getType(); local
[all...]
H A DSemaType.cpp4653 QualType Sema::BuildUnaryTransformType(QualType BaseType, argument
4658 if (!BaseType->isDependentType() && !BaseType->isEnumeralType()) {
4662 QualType Underlying = BaseType;
4663 if (!BaseType->isDependentType()) {
4664 EnumDecl *ED = BaseType->getAs<EnumType>()->getDecl();
4670 return Context.getUnaryTransformType(BaseType, Underlying,
H A DSemaCodeComplete.cpp3477 QualType BaseType = Base->getType(); local
3480 if (const PointerType *Ptr = BaseType->getAs<PointerType>())
3481 BaseType = Ptr->getPointeeType();
3482 else if (BaseType->isObjCObjectPointerType())
3494 if (BaseType->isObjCObjectPointerType() ||
3495 BaseType->isObjCObjectOrInterfaceType()) {
3506 BaseType),
3509 if (const RecordType *Record = BaseType->getAs<RecordType>()) {
3512 Results.setObjectTypeQualifiers(BaseType.getQualifiers());
3525 bool IsDependent = BaseType
[all...]
H A DSemaExprCXX.cpp773 bool Sema::isThisOutsideMemberFunctionBody(QualType BaseType) { argument
781 CXXRecordDecl *Class = BaseType->getAsCXXRecordDecl();
4908 QualType BaseType = Base->getType(); local
4910 if (BaseType->isDependentType()) {
4915 if (const PointerType *Ptr = BaseType->getAs<PointerType>())
4916 BaseType = Ptr->getPointeeType();
4918 ObjectType = ParsedType::make(BaseType);
4930 CTypes.insert(Context.getCanonicalType(BaseType));
4932 while (BaseType->isRecordType()) {
4939 BaseType
[all...]

Completed in 582 milliseconds

12