Home
last modified time | relevance | path

Searched refs:getTypeClass (Results 1 – 25 of 36) sorted by relevance

12

/external/deqp-deps/glslang/SPIRV/
DSpvBuilder.h166 Op getTypeClass(Id typeId) const { return getOpCode(typeId); } in getTypeClass() function
185 …bool isIntType(Id typeId) const { return getTypeClass(typeId) == OpTypeInt && module.getI… in isIntType()
186 …bool isUintType(Id typeId) const { return getTypeClass(typeId) == OpTypeInt && module.getI… in isUintType()
187 bool isFloatType(Id typeId) const { return getTypeClass(typeId) == OpTypeFloat; } in isFloatType()
188 bool isPointerType(Id typeId) const { return getTypeClass(typeId) == OpTypePointer; } in isPointerType()
189 …Id typeId) const { return getTypeClass(typeId) == OpTypeFloat || getTypeClass(typeId) == Op… in isScalarType()
190 bool isVectorType(Id typeId) const { return getTypeClass(typeId) == OpTypeVector; } in isVectorType()
191 bool isMatrixType(Id typeId) const { return getTypeClass(typeId) == OpTypeMatrix; } in isMatrixType()
192 bool isStructType(Id typeId) const { return getTypeClass(typeId) == OpTypeStruct; } in isStructType()
193 bool isArrayType(Id typeId) const { return getTypeClass(typeId) == OpTypeArray; } in isArrayType()
[all …]
/external/clang/include/clang/AST/
DType.h1533 TypeClass getTypeClass() const { return static_cast<TypeClass>(TypeBits.TC); }
2113 static bool classof(const Type *T) { return T->getTypeClass() == Builtin; }
2143 static bool classof(const Type *T) { return T->getTypeClass() == Complex; }
2174 static bool classof(const Type *T) { return T->getTypeClass() == Paren; }
2221 static bool classof(const Type *T) { return T->getTypeClass() == Pointer; }
2258 return T->getTypeClass() == Adjusted || T->getTypeClass() == Decayed;
2279 static bool classof(const Type *T) { return T->getTypeClass() == Decayed; }
2313 return T->getTypeClass() == BlockPointer;
2359 return T->getTypeClass() == LValueReference ||
2360 T->getTypeClass() == RValueReference;
[all …]
DLocInfoType.h43 assert(getTypeClass() == (TypeClass)LocInfo && "LocInfo didn't fit in TC?"); in LocInfoType()
55 return T->getTypeClass() == (TypeClass)LocInfo; in classof()
DTypeVisitor.h71 switch (T->getTypeClass()) { in Visit()
DCanonicalType.h248 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(Type::TypeClass, getTypeClass)
DTypeLoc.h92 return (TypeLocClass) getType()->getTypeClass(); in getTypeLocClass()
232 return (TypeLocClass) getTypePtr()->getTypeClass(); in getTypeLocClass()
DRecursiveASTVisitor.h635 switch (T->getTypeClass()) {
/external/clang/tools/libclang/
DCXType.cpp73 switch (TP->getTypeClass()) { in GetTypeKind()
358 switch (TP->getTypeClass()) { in clang_getPointeeType()
395 switch (TP->getTypeClass()) { in clang_getTypeDeclaration()
624 switch (TP->getTypeClass()) { in clang_getElementType()
656 switch (TP->getTypeClass()) { in clang_getNumElements()
676 switch (TP->getTypeClass()) { in clang_getArrayElementType()
702 switch (TP->getTypeClass()) { in clang_getArraySize()
738 if (TP && TP->getTypeClass() == Type::MemberPointer) { in clang_Type_getClassType()
998 if (TP && TP->getTypeClass() == Type::Elaborated) in clang_Type_getNamedType()
/external/clang/lib/AST/
DType.cpp56 else if (ty->getTypeClass() == Type::Typedef) in getBaseTypeIdentifier()
225 switch (getTypeClass()) { in getLocallyUnqualifiedSingleStepDesugaredType()
244 switch (CurTy->getTypeClass()) { in getSplitDesugaredType()
273 switch (split.Ty->getTypeClass()) { in getSplitUnqualifiedTypeImpl()
312 switch (Cur->getTypeClass()) { in getAsSugar()
345 switch (Cur->getTypeClass()) { in getUnqualifiedDesugaredType()
1896 switch (CanonicalType->getTypeClass()) { in isIncompleteType()
2004 switch (CanonicalType->getTypeClass()) { in isCXX98PODType()
2354 switch (getTypeClass()) { in isSpecifierType()
3285 switch (T->getTypeClass()) { in computeCachedProperties()
[all …]
DASTTypeTraits.cpp99 switch (T.getTypeClass()) { in getFromNode()
DTypePrinter.cpp170 Type::TypeClass TC = T->getTypeClass(); in canPrefixQualifiers()
172 TC = AT->desugar()->getTypeClass(); in canPrefixQualifiers()
175 TC = Subst->getReplacementType()->getTypeClass(); in canPrefixQualifiers()
281 switch (T->getTypeClass()) { in printBefore()
307 switch (T->getTypeClass()) { in printAfter()
DASTImporter.cpp481 Type::TypeClass TC = T1->getTypeClass(); in IsStructurallyEquivalent()
483 if (T1->getTypeClass() != T2->getTypeClass()) { in IsStructurallyEquivalent()
486 if (T1->getTypeClass() == Type::FunctionProto && in IsStructurallyEquivalent()
487 T2->getTypeClass() == Type::FunctionNoProto) in IsStructurallyEquivalent()
489 else if (T1->getTypeClass() == Type::FunctionNoProto && in IsStructurallyEquivalent()
490 T2->getTypeClass() == Type::FunctionProto) in IsStructurallyEquivalent()
DASTContext.cpp834 counts[(unsigned)T->getTypeClass()]++; in PrintStats()
1528 switch (T->getTypeClass()) { in getTypeInfoImpl()
2627 switch (ty->getTypeClass()) { in getVariableArrayDecayedType()
5605 switch (CT->getTypeClass()) { in getObjCEncodingForTypeImpl()
7693 Type::TypeClass LHSClass = LHSCan->getTypeClass(); in mergeTypes()
7694 Type::TypeClass RHSClass = RHSCan->getTypeClass(); in mergeTypes()
DVTableBuilder.cpp283 assert(CanDerivedReturnType->getTypeClass() == in ComputeReturnAdjustmentBaseOffset()
284 CanBaseReturnType->getTypeClass() && in ComputeReturnAdjustmentBaseOffset()
DItaniumMangle.cpp1797 switch (Ty->getTypeClass()) { in mangleUnresolvedTypeOrSimpleId()
2254 switch (ty->getTypeClass()) { in mangleType()
DASTDiagnostic.cpp143 switch (Ty->getTypeClass()) { in Desugar()
/external/clang/lib/CodeGen/
DCodeGenTypes.cpp396 switch (Ty->getTypeClass()) { in ConvertType()
DCodeGenFunction.cpp173 switch (type->getTypeClass()) { in getEvaluationKind()
1676 switch (ty->getTypeClass()) { in EmitVariablyModifiedType()
DCGExprConstant.cpp975 if (T->getTypeClass() == Type::TypeOfExpr) in VisitObjCEncodeExpr()
DItaniumCXXABI.cpp2732 switch (Ty->getTypeClass()) { in BuildVTablePointer()
2949 switch (Ty->getTypeClass()) { in BuildTypeInfo()
DCGDebugInfo.cpp2267 switch (T->getTypeClass()) { in UnwrapTypeForDebugInfo()
2400 switch (Ty->getTypeClass()) { in CreateTypeNode()
/external/v8/tools/clang/plugins/
DFindBadConstructsConsumer.cpp672 switch (type->getTypeClass()) { in CountType()
/external/clang/lib/Sema/
DSemaTemplateDeduction.cpp499 switch (T->getTypeClass()) { in IsPossiblyOpaquelyQualifiedType()
1190 switch (Param->getTypeClass()) { in DeduceTemplateArgumentsByTypeMatch()
4741 switch (T->getTypeClass()) { in MarkUsedTemplateParameters()
DSemaOverload.cpp1399 Type::TypeClass TyClass = CanTo->getTypeClass(); in IsNoReturnConversion()
1400 if (TyClass != CanFrom->getTypeClass()) return false; in IsNoReturnConversion()
1415 TyClass = CanTo->getTypeClass(); in IsNoReturnConversion()
1416 if (TyClass != CanFrom->getTypeClass()) return false; in IsNoReturnConversion()
2037 assert((FromPtr->getTypeClass() == Type::Pointer || in BuildSimilarlyQualifiedPointerType()
2038 FromPtr->getTypeClass() == Type::ObjCObjectPointer) && in BuildSimilarlyQualifiedPointerType()
DSemaLookup.cpp2578 switch (T->getTypeClass()) { in addAssociatedClassesAndNamespaces()
3967 SSIsTemplate = T->getTypeClass() == Type::TemplateSpecialization; in addNamespaces()

12