Lines Matching refs:TyR
401 int cmpTypes(Type *TyL, Type *TyR) const;
610 Type *TyR = R->getType(); in cmpConstants() local
615 int TypesRes = cmpTypes(TyL, TyR); in cmpConstants()
619 if (TyR->isFirstClassType()) in cmpConstants()
625 if (!TyR->isFirstClassType()) { in cmpConstants()
638 if (auto *VecTyR = dyn_cast<VectorType>(TyR)) in cmpConstants()
647 PointerType *PTyR = dyn_cast<PointerType>(TyR); in cmpConstants()
711 uint64_t NumElementsR = cast<ArrayType>(TyR)->getNumElements(); in cmpConstants()
725 unsigned NumElementsR = cast<StructType>(TyR)->getNumElements(); in cmpConstants()
739 unsigned NumElementsR = cast<VectorType>(TyR)->getNumElements(); in cmpConstants()
811 int FunctionComparator::cmpTypes(Type *TyL, Type *TyR) const { in cmpTypes()
813 PointerType *PTyR = dyn_cast<PointerType>(TyR); in cmpTypes()
819 TyR = DL.getIntPtrType(TyR); in cmpTypes()
821 if (TyL == TyR) in cmpTypes()
824 if (int Res = cmpNumbers(TyL->getTypeID(), TyR->getTypeID())) in cmpTypes()
833 cast<IntegerType>(TyR)->getBitWidth()); in cmpTypes()
835 VectorType *VTyL = cast<VectorType>(TyL), *VTyR = cast<VectorType>(TyR); in cmpTypes()
859 StructType *STyR = cast<StructType>(TyR); in cmpTypes()
875 FunctionType *FTyR = cast<FunctionType>(TyR); in cmpTypes()
894 ArrayType *ATyR = cast<ArrayType>(TyR); in cmpTypes()