Lines Matching refs:CanonicalType
204 if (!isa<ArrayType>(CanonicalType))
395 if (const ComplexType *CT = dyn_cast<ComplexType>(CanonicalType))
432 if (const RecordType *RT = dyn_cast<RecordType>(CanonicalType)) {
451 if (const RecordType *RT = dyn_cast<RecordType>(CanonicalType)) {
600 if (const VectorType *VT = dyn_cast<VectorType>(CanonicalType))
626 if (const BuiltinType *BT = dyn_cast<BuiltinType>(CanonicalType))
631 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType))
639 if (const BuiltinType *BT = dyn_cast<BuiltinType>(CanonicalType))
647 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType))
656 if (const BuiltinType *BT = dyn_cast<BuiltinType>(CanonicalType))
665 if (const BuiltinType *BT = dyn_cast<BuiltinType>(CanonicalType))
672 if (const BuiltinType *BT = dyn_cast<BuiltinType>(CanonicalType))
678 if (const BuiltinType *BT = dyn_cast<BuiltinType>(CanonicalType))
686 const BuiltinType *BT = dyn_cast<BuiltinType>(CanonicalType);
706 if (const BuiltinType *BT = dyn_cast<BuiltinType>(CanonicalType)) {
711 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) {
722 if (const BuiltinType *BT = dyn_cast<BuiltinType>(CanonicalType)) {
727 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) {
736 if (const VectorType *VT = dyn_cast<VectorType>(CanonicalType))
746 if (const BuiltinType *BT = dyn_cast<BuiltinType>(CanonicalType)) {
751 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) {
762 if (const BuiltinType *BT = dyn_cast<BuiltinType>(CanonicalType)) {
767 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType)) {
776 if (const VectorType *VT = dyn_cast<VectorType>(CanonicalType))
783 if (const BuiltinType *BT = dyn_cast<BuiltinType>(CanonicalType))
786 if (const ComplexType *CT = dyn_cast<ComplexType>(CanonicalType))
792 if (const VectorType *VT = dyn_cast<VectorType>(CanonicalType))
799 if (const BuiltinType *BT = dyn_cast<BuiltinType>(CanonicalType))
805 if (const BuiltinType *BT = dyn_cast<BuiltinType>(CanonicalType))
808 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType))
814 if (const BuiltinType *BT = dyn_cast<BuiltinType>(CanonicalType))
817 if (const EnumType *ET = dyn_cast<EnumType>(CanonicalType))
825 return isa<ComplexType>(CanonicalType);
831 const Type *T = CanonicalType.getTypePtr();
868 if (const RecordType *Record = dyn_cast<RecordType>(CanonicalType)) {
875 return isa<ArrayType>(CanonicalType);
885 return !isa<VariableArrayType>(CanonicalType);
895 switch (CanonicalType->getTypeClass()) {
902 EnumDecl *EnumD = cast<EnumType>(CanonicalType)->getDecl();
915 RecordDecl *Rec = cast<RecordType>(CanonicalType)->getDecl();
925 return cast<ArrayType>(CanonicalType)->getElementType()
931 return cast<ObjCObjectType>(CanonicalType)->getBaseType()
936 = cast<ObjCInterfaceType>(CanonicalType)->getDecl();
980 QualType CanonicalType = getTypePtr()->CanonicalType;
981 switch (CanonicalType->getTypeClass()) {
1004 = dyn_cast<CXXRecordDecl>(cast<RecordType>(CanonicalType)->getDecl()))
1044 QualType CanonicalType = getTypePtr()->CanonicalType;
1045 if (CanonicalType->isDependentType())
1054 if (CanonicalType->isScalarType() || CanonicalType->isVectorType())
1056 if (const RecordType *RT = CanonicalType->getAs<RecordType>()) {
1101 QualType CanonicalType = getCanonicalType();
1102 if (CanonicalType->isDependentType())
1107 if (CanonicalType->isIncompleteType())
1111 if (CanonicalType->isScalarType() || CanonicalType->isVectorType())
1114 if (const RecordType *RT = CanonicalType->getAs<RecordType>()) {
1829 QualType CanonicalType)
1830 : Type(UnaryTransform, CanonicalType, UnderlyingType->isDependentType(),