Lines Matching refs:getAs
315 const auto *PtrTy = Ty->getAs<PointerType>();
1131 const PointerType *ArgTy = ArgIdx->getType()->getAs<PointerType>();
1777 FnPtrArgType->getPointeeType()->getAs<FunctionType>();
2331 const PointerType *pointerType = PointerArg->getType()->getAs<PointerType>();
4221 if (auto pointerType = type->getAs<PointerType>())
4223 else if (auto blockType = type->getAs<BlockPointerType>())
4228 Proto = type->getAs<FunctionProtoType>();
4666 const PointerType *pointerType = Ptr->getType()->getAs<PointerType>();
4848 ValArg->getType()->getAs<PointerType>()) {
5019 const PointerType *pointerType = FirstArg->getType()->getAs<PointerType>();
5355 const auto *ExtIntValType = ValType->getAs<ExtIntType>();
5399 const PointerType *pointerType = PointerArg->getType()->getAs<PointerType>();
6889 } else if (const PointerType *PT = T->getAs<PointerType>()) {
7895 const RecordType *RT = Ty->getAs<RecordType>();
8210 while (const TypedefType *UserTy = TyTy->getAs<TypedefType>()) {
8275 if (const auto *VecTy = From->getAs<ExtVectorType>())
8277 if (const auto *VecTy = To->getAs<ExtVectorType>())
8359 if (auto EnumTy = ExprTy->getAs<EnumType>()) {
8916 const FunctionProtoType *FT = BuiltinType->getAs<FunctionProtoType>();
9605 if (BId == Builtin::BIbzero && !FirstArgTy->getAs<PointerType>())
9614 if (const PointerType *DestPtrTy = DestTy->getAs<PointerType>()) {
9732 else if (const auto *RT = PointeeTy->getAs<RecordType>()) {
10200 if (const AtomicType *AtomicRHS = Ty->getAs<AtomicType>())
10683 if (const auto *AT = OtherT->getAs<AtomicType>())
10941 if (const auto *EnumTy = OriginalInit->getType()->getAs<EnumType>()) {
11223 const auto *ResultBT = E->getLHS()->getType()->getAs<BuiltinType>();
11226 ->getAs<BuiltinType>();
11361 ICE->getSubExpr()->getType()->getAs<ObjCObjectPointerType>())
11367 if (ElementType->getAs<ObjCObjectPointerType>() &&
11390 const auto *TargetObjCPtr = TargetType->getAs<ObjCObjectPointerType>();
11419 const auto *TargetObjCPtr = TargetType->getAs<ObjCObjectPointerType>();
11935 if (const EnumType *SourceEnum = Source->getAs<EnumType>())
11936 if (const EnumType *TargetEnum = Target->getAs<EnumType>())
13702 const PointerType *DestPtr = T->getAs<PointerType>();
13712 const PointerType *SrcPtr = Op->getType()->getAs<PointerType>();
13752 if (TypedefTypeLoc TTL = TL.getAs<TypedefTypeLoc>()) {
13757 if (ConstantArrayTypeLoc CTL = TL.getAs<ConstantArrayTypeLoc>()) {
15066 const BuiltinType *BT1 = T1->getAs<BuiltinType>();
15070 const BuiltinType *BT2 = T2->getAs<BuiltinType>();
15343 auto *MType = Matrix->getType()->getAs<ConstantMatrixType>();
15412 auto *PtrTy = PtrExpr->getType()->getAs<PointerType>();
15518 auto *MatrixTy = MatrixExpr->getType()->getAs<ConstantMatrixType>();
15537 auto *PtrTy = PtrExpr->getType()->getAs<PointerType>();