• Home
  • Raw
  • Download

Lines Matching refs:getAs

131   const RecordType *RT = FT->getAs<RecordType>();  in isEmptyField()
149 const RecordType *RT = T->getAs<RecordType>(); in isEmptyRecord()
184 const RecordType *RT = T->getAs<RecordType>(); in isRecordWithNonTrivialDestructorOrCopyConstructor()
271 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in is32Or64BitBasicType()
277 if (!Ty->getAs<BuiltinType>() && !Ty->hasPointerRepresentation() && in is32Or64BitBasicType()
296 const RecordType *RT = Ty->getAs<RecordType>(); in canExpandIndirectArgument()
377 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
392 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
449 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
476 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
607 if (Ty->getAs<BuiltinType>() || Ty->hasPointerRepresentation() || in shouldReturnTypeInRegister()
618 const RecordType *RT = Ty->getAs<RecordType>(); in shouldReturnTypeInRegister()
653 if (const VectorType *VT = RetTy->getAs<VectorType>()) { in classifyReturnType()
679 if (const RecordType *RT = RetTy->getAs<RecordType>()) { in classifyReturnType()
719 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
727 return Ty->getAs<VectorType>() && Context.getTypeSize(Ty) == 128; in isSSEVectorType()
731 const RecordType *RT = Ty->getAs<RecordType>(); in isRecordWithSSEVectorType()
808 if (const BuiltinType *BT = T->getAs<BuiltinType>()) { in classify()
864 if (const RecordType *RT = Ty->getAs<RecordType>()) { in classifyArgumentType()
902 if (const VectorType *VT = Ty->getAs<VectorType>()) { in classifyArgumentType()
927 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
1380 if (const BuiltinType *BT = Ty->getAs<BuiltinType>()) { in classify()
1404 if (const EnumType *ET = Ty->getAs<EnumType>()) { in classify()
1423 if (const VectorType *VT = Ty->getAs<VectorType>()) { in classify()
1468 if (const ComplexType *CT = Ty->getAs<ComplexType>()) { in classify()
1540 if (const RecordType *RT = Ty->getAs<RecordType>()) { in classify()
1572 cast<CXXRecordDecl>(i->getType()->getAs<RecordType>()->getDecl()); in classify()
1661 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in getIndirectReturnResult()
1672 if (const VectorType *VecTy = Ty->getAs<VectorType>()) { in IsIllegalVectorType()
1694 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in getIndirectResult()
1806 if (const RecordType *RT = Ty->getAs<RecordType>()) { in BitsContainNoUserData()
1817 cast<CXXRecordDecl>(i->getType()->getAs<RecordType>()->getDecl()); in BitsContainNoUserData()
2068 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
2211 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
2526 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classify()
2531 if (const RecordType *RT = Ty->getAs<RecordType>()) { in classify()
2716 const BuiltinType *BT = T->getAs<BuiltinType>(); in computeInfo()
2766 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in isPromotableTypeForABI()
2775 if (const BuiltinType *BT = Ty->getAs<BuiltinType>()) in isPromotableTypeForABI()
2839 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) { in EmitVAArg()
3110 } else if (const RecordType *RT = Ty->getAs<RecordType>()) { in isHomogeneousAggregate()
3128 if (const ComplexType *CT = Ty->getAs<ComplexType>()) { in isHomogeneousAggregate()
3135 if (const BuiltinType *BT = Ty->getAs<BuiltinType>()) { in isHomogeneousAggregate()
3140 } else if (const VectorType *VT = Ty->getAs<VectorType>()) { in isHomogeneousAggregate()
3233 if (const VectorType *VT = Ty->getAs<VectorType>()) { in classifyArgumentType()
3239 if (const BuiltinType *BT = Ty->getAs<BuiltinType>()) { in classifyArgumentType()
3250 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
3344 if (Ty->getAs<BuiltinType>() || Ty->isPointerType()) in isIntegerLikeType()
3348 if (const ComplexType *CT = Ty->getAs<ComplexType>()) in isIntegerLikeType()
3355 const RecordType *RT = Ty->getAs<RecordType>(); in isIntegerLikeType()
3418 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
3490 if (const VectorType *VT = Ty->getAs<VectorType>()) { in isIllegalVectorType()
3728 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyGenericType()
4171 if (const BuiltinType *BT = Ty->getAs<BuiltinType>()) in isPromotableIntegerType()
4371 const RecordType *RT = Ty->getAs<RecordType>(); in HandleAggregates()
4392 const BuiltinType *BT = Ty->getAs<BuiltinType>(); in HandleAggregates()
4456 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
4468 const RecordType *RT = RetTy->getAs<RecordType>(); in returnAggregateInRegs()
4488 const BuiltinType *BT = b->getType()->getAs<BuiltinType>(); in returnAggregateInRegs()
4531 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
4722 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
4762 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()