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) &&
H A DDebugInfo.cpp506 DIType BaseType = getTypeDerivedFrom(); local
509 if (!BaseType.isValid())
515 if (BaseType.getTag() == dwarf::DW_TAG_reference_type)
517 else if (BaseType.isDerivedType())
518 return DIDerivedType(BaseType).getOriginalTypeSize();
520 return BaseType.getSizeInBits();
/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/llvm/lib/Target/MSP430/
H A DMSP430ISelDAGToDAG.cpp39 } BaseType; member in struct:__anon7609::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:__anon7700::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;
232 Base = (AM.BaseType == X86ISelAddressMode::FrameIndexBase) ?
575 if (AM.BaseType == X86ISelAddressMode::FrameIndexBase &&
706 AM.BaseType == X86ISelAddressMode::RegBase &&
718 AM.BaseType == X86ISelAddressMode::RegBase &&
982 if (AM.BaseType
[all...]
/external/clang/lib/AST/
H A DCXXInheritance.cpp54 /// different base class subobjects of the same type. BaseType must be
56 bool CXXBasePaths::isAmbiguous(CanQualType BaseType) { argument
57 BaseType = BaseType.getUnqualifiedType();
58 std::pair<bool, unsigned>& Subobjects = ClassSubobjects[BaseType];
178 QualType BaseType = Context.getCanonicalType(BaseSpec->getType()) local
187 if (BaseType->isDependentType())
192 std::pair<bool, unsigned>& Subobjects = ClassSubobjects[BaseType];
201 DetectedVirtual = BaseType->getAs<RecordType>();
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 ArrayType* ATy = dyn_cast<ArrayType>(BaseType))
112 BaseType = ATy->getElementType();
113 else if (const FunctionType* FTy = BaseType->getAs<FunctionType>())
114 BaseType = FTy->getResultType();
115 else if (const VectorType *VTy = BaseType
255 QualType BaseType = GetBaseType(CurDeclType); local
[all...]
H A DDeclCXX.cpp133 QualType BaseType = Base->getType(); local
135 if (BaseType->isDependentType())
138 = cast<CXXRecordDecl>(BaseType->getAs<RecordType>()->getDecl());
172 if (!hasNonLiteralTypeFieldsOrBases() && !BaseType->isLiteralType())
186 if (SeenVBaseTypes.insert(C.getCanonicalType(BaseType)))
H A DExprCXX.cpp1035 Expr *Base, QualType BaseType,
1050 Base(Base), BaseType(BaseType), IsArrow(IsArrow),
1071 Expr *Base, QualType BaseType,
1084 Base(Base), BaseType(BaseType), IsArrow(IsArrow),
1092 Expr *Base, QualType BaseType, bool IsArrow,
1100 return new (C) CXXDependentScopeMemberExpr(C, Base, BaseType,
1111 return new (Mem) CXXDependentScopeMemberExpr(C, Base, BaseType,
1173 Expr *Base, QualType BaseType,
1034 CXXDependentScopeMemberExpr(ASTContext &C, Expr *Base, QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierFoundInScope, DeclarationNameInfo MemberNameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
1070 CXXDependentScopeMemberExpr(ASTContext &C, Expr *Base, QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, NamedDecl *FirstQualifierFoundInScope, DeclarationNameInfo MemberNameInfo) argument
1091 Create(ASTContext &C, Expr *Base, QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierFoundInScope, DeclarationNameInfo MemberNameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
1171 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
1209 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
1260 QualType BaseType = getBaseType().getNonReferenceType(); local
[all...]
H A DType.cpp428 BaseType(Base)
1732 UnaryTransformType::UnaryTransformType(QualType BaseType, argument
1739 BaseType->containsUnexpandedParameterPack())
1740 , BaseType(BaseType), UnderlyingType(UnderlyingType), UKind(UKind)
1910 QualType BaseType,
1913 ID.AddPointer(BaseType.getAsOpaquePtr());
1909 Profile(llvm::FoldingSetNodeID &ID, QualType BaseType, ObjCProtocolDecl * const *Protocols, unsigned NumProtocols) argument
H A DVTableBuilder.cpp240 const RecordType *BaseType = Element.Base->getType()->getAs<RecordType>(); local
241 const CXXRecordDecl *Base = cast<CXXRecordDecl>(BaseType->getDecl());
/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.h269 QualType BaseType; member in class:clang::CodeCompletionContext
291 BaseType = T;
306 QualType getBaseType() const { return BaseType; }
/external/clang/lib/CodeGen/
H A DCGClass.cpp377 const Type *BaseType = BaseInit->getBaseClass(); local
379 cast<CXXRecordDecl>(BaseType->getAs<RecordType>()->getDecl());
399 CharUnits Alignment = CGF.getContext().getTypeAlignInChars(BaseType);
H A DCGExprAgg.cpp1270 QualType BaseType = getContext().getBaseElementType(Ty); local
1271 if (const RecordType *RecordTy = BaseType->getAs<RecordType>()) {
/external/clang/lib/Parse/
H A DParseDecl.cpp2837 TypeResult BaseType; local
2896 BaseType = ParseTypeName(&Range);
2966 IsScopedUsingClassTag, BaseType);
H A DParseDeclCXX.cpp1501 TypeResult BaseType = ParseBaseTypeSpecifier(BaseLoc, EndLocation); local
1502 if (BaseType.isInvalid())
1518 BaseType.get(), BaseLoc, EllipsisLoc);
/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();
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
837 QualType BaseType = BaseExprType; local
1562 QualType BaseType = BaseExpr->getType(); local
[all...]
H A DSemaType.cpp4456 QualType Sema::BuildUnaryTransformType(QualType BaseType, argument
4461 if (!BaseType->isDependentType() && !BaseType->isEnumeralType()) {
4465 QualType Underlying = BaseType;
4466 if (!BaseType->isDependentType()) {
4467 EnumDecl *ED = BaseType->getAs<EnumType>()->getDecl();
4473 return Context.getUnaryTransformType(BaseType, Underlying,
H A DSemaCodeComplete.cpp3429 QualType BaseType = Base->getType(); local
3432 if (const PointerType *Ptr = BaseType->getAs<PointerType>())
3433 BaseType = Ptr->getPointeeType();
3434 else if (BaseType->isObjCObjectPointerType())
3446 if (BaseType->isObjCObjectPointerType() ||
3447 BaseType->isObjCObjectOrInterfaceType()) {
3458 BaseType),
3461 if (const RecordType *Record = BaseType->getAs<RecordType>()) {
3464 Results.setObjectTypeQualifiers(BaseType.getQualifiers());
3477 bool IsDependent = BaseType
[all...]
H A DSemaExprCXX.cpp763 bool Sema::isThisOutsideMemberFunctionBody(QualType BaseType) { argument
771 CXXRecordDecl *Class = BaseType->getAsCXXRecordDecl();
4763 QualType BaseType = Base->getType(); local
4765 if (BaseType->isDependentType()) {
4770 if (const PointerType *Ptr = BaseType->getAs<PointerType>())
4771 BaseType = Ptr->getPointeeType();
4773 ObjectType = ParsedType::make(BaseType);
4785 CTypes.insert(Context.getCanonicalType(BaseType));
4787 while (BaseType->isRecordType()) {
4794 BaseType
[all...]
/external/clang/lib/StaticAnalyzer/Core/
H A DRegionStore.cpp910 QualType BaseType = TSR->getLocationType()->getPointeeType(); local
911 assert(!BaseType.isNull());
912 const CXXRecordDecl *SRDecl = BaseType->getAsCXXRecordDecl();
/external/llvm/lib/Target/ARM/
H A DARMFastISel.cpp64 } BaseType; member in struct:__anon7522::Address
75 : BaseType(RegBase), Offset(0) {
866 Addr.BaseType = Address::FrameIndexBase;
912 if (needsLowering && Addr.BaseType == Address::FrameIndexBase) {
922 Addr.BaseType = Address::RegBase;
944 if (Addr.BaseType == Address::FrameIndexBase) {
1970 Addr.BaseType = Address::RegBase;

Completed in 340 milliseconds

12