• Home
  • Raw
  • Download

Lines Matching refs:getAs

61   const RecordType *RT = T->getAs<RecordType>();  in getRecordArgABI()
172 const RecordType *RT = FT->getAs<RecordType>(); in isEmptyField()
190 const RecordType *RT = T->getAs<RecordType>(); in isEmptyRecord()
286 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in is32Or64BitBasicType()
292 if (!Ty->getAs<BuiltinType>() && !Ty->hasPointerRepresentation() && in is32Or64BitBasicType()
311 const RecordType *RT = Ty->getAs<RecordType>(); in canExpandIndirectArgument()
383 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
398 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
449 } else if (const EnumType *EnumTy = Ty->getAs<EnumType>()) { in classifyArgumentType()
470 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
630 if (Ty->getAs<BuiltinType>() || Ty->hasPointerRepresentation() || in shouldReturnTypeInRegister()
640 const RecordType *RT = Ty->getAs<RecordType>(); in shouldReturnTypeInRegister()
673 if (const VectorType *VT = RetTy->getAs<VectorType>()) { in classifyReturnType()
699 if (const RecordType *RT = RetTy->getAs<RecordType>()) { in classifyReturnType()
733 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
741 return Ty->getAs<VectorType>() && Context.getTypeSize(Ty) == 128; in isSSEVectorType()
745 const RecordType *RT = Ty->getAs<RecordType>(); in isRecordWithSSEVectorType()
817 if (const BuiltinType *BT = T->getAs<BuiltinType>()) { in classify()
871 if (const RecordType *RT = Ty->getAs<RecordType>()) { in classifyArgumentType()
917 if (const VectorType *VT = Ty->getAs<VectorType>()) { in classifyArgumentType()
935 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
1554 if (const BuiltinType *BT = Ty->getAs<BuiltinType>()) { in classify()
1577 if (const EnumType *ET = Ty->getAs<EnumType>()) { in classify()
1596 if (const VectorType *VT = Ty->getAs<VectorType>()) { in classify()
1645 if (const ComplexType *CT = Ty->getAs<ComplexType>()) { in classify()
1716 if (const RecordType *RT = Ty->getAs<RecordType>()) { in classify()
1747 cast<CXXRecordDecl>(I.getType()->getAs<RecordType>()->getDecl()); in classify()
1836 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in getIndirectReturnResult()
1847 if (const VectorType *VecTy = Ty->getAs<VectorType>()) { in IsIllegalVectorType()
1869 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in getIndirectResult()
1981 if (const RecordType *RT = Ty->getAs<RecordType>()) { in BitsContainNoUserData()
1991 cast<CXXRecordDecl>(I.getType()->getAs<RecordType>()->getDecl()); in BitsContainNoUserData()
2242 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
2386 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
2725 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classify()
2730 const RecordType *RT = Ty->getAs<RecordType>(); in classify()
2926 const BuiltinType *BT = T->getAs<BuiltinType>(); in computeInfo()
2976 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in isPromotableTypeForABI()
2985 if (const BuiltinType *BT = Ty->getAs<BuiltinType>()) in isPromotableTypeForABI()
3002 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in isAlignedParamType()
3015 const BuiltinType *BT = EltType->getAs<BuiltinType>(); in isAlignedParamType()
3119 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) { in EmitVAArg()
3396 if (const BuiltinType *BT = Ty->getAs<BuiltinType>()) { in classifyArgumentType()
3406 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
3489 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
3517 if (const VectorType *VT = Ty->getAs<VectorType>()) { in isIllegalVectorType()
4071 } else if (const RecordType *RT = Ty->getAs<RecordType>()) { in isHomogeneousAggregate()
4087 if (const ComplexType *CT = Ty->getAs<ComplexType>()) { in isHomogeneousAggregate()
4094 if (const BuiltinType *BT = Ty->getAs<BuiltinType>()) { in isHomogeneousAggregate()
4099 } else if (const VectorType *VT = Ty->getAs<VectorType>()) { in isHomogeneousAggregate()
4246 if (const VectorType *VT = Ty->getAs<VectorType>()) { in classifyArgumentType()
4255 if (const BuiltinType *BT = Ty->getAs<BuiltinType>()) { in classifyArgumentType()
4271 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) { in classifyArgumentType()
4376 if (Ty->getAs<BuiltinType>() || Ty->isPointerType()) in isIntegerLikeType()
4380 if (const ComplexType *CT = Ty->getAs<ComplexType>()) in isIntegerLikeType()
4387 const RecordType *RT = Ty->getAs<RecordType>(); in isIntegerLikeType()
4453 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
4526 if (const VectorType *VT = Ty->getAs<VectorType>()) { in isIllegalVectorType()
4688 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
4697 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
4823 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in isPromotableIntegerType()
4831 if (const BuiltinType *BT = Ty->getAs<BuiltinType>()) in isPromotableIntegerType()
4847 if (const BuiltinType *BT = Ty->getAs<BuiltinType>()) in isFPArgumentType()
5040 if (const RecordType *RT = Ty->getAs<RecordType>()) { in classifyArgumentType()
5193 const RecordType *RT = Ty->getAs<RecordType>(); in HandleAggregates()
5214 const BuiltinType *BT = Ty->getAs<BuiltinType>(); in HandleAggregates()
5275 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
5287 const RecordType *RT = RetTy->getAs<RecordType>(); in returnAggregateInRegs()
5307 const BuiltinType *BT = b->getType()->getAs<BuiltinType>(); in returnAggregateInRegs()
5350 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
5537 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyArgumentType()
5575 if (const EnumType *EnumTy = RetTy->getAs<EnumType>()) in classifyReturnType()
5789 if (const EnumType *EnumTy = Ty->getAs<EnumType>()) in classifyType()
6463 if (const FunctionProtoType *FPT = FT->getAs<FunctionProtoType>()) { in appendFunctionType()
6503 if (const BuiltinType *BT = QT->getAs<BuiltinType>()) in appendType()
6506 if (const PointerType *PT = QT->getAs<PointerType>()) in appendType()
6509 if (const EnumType *ET = QT->getAs<EnumType>()) in appendType()
6518 if (const FunctionType *FT = QT->getAs<FunctionType>()) in appendType()