Lines Matching refs:TyR
343 int cmpTypes(Type *TyL, Type *TyR) const;
467 Type *TyR = R->getType(); in cmpConstants() local
472 int TypesRes = cmpTypes(TyL, TyR); in cmpConstants()
476 if (TyR->isFirstClassType()) in cmpConstants()
482 if (!TyR->isFirstClassType()) { in cmpConstants()
495 if (const VectorType *VecTyR = dyn_cast<VectorType>(TyR)) in cmpConstants()
504 PointerType *PTyR = dyn_cast<PointerType>(TyR); in cmpConstants()
550 uint64_t NumElementsR = cast<ArrayType>(TyR)->getNumElements(); in cmpConstants()
564 unsigned NumElementsR = cast<StructType>(TyR)->getNumElements(); in cmpConstants()
578 unsigned NumElementsR = cast<VectorType>(TyR)->getNumElements(); in cmpConstants()
613 int FunctionComparator::cmpTypes(Type *TyL, Type *TyR) const { in cmpTypes()
616 PointerType *PTyR = dyn_cast<PointerType>(TyR); in cmpTypes()
622 TyR = DL.getIntPtrType(TyR); in cmpTypes()
624 if (TyL == TyR) in cmpTypes()
627 if (int Res = cmpNumbers(TyL->getTypeID(), TyR->getTypeID())) in cmpTypes()
637 return cmpNumbers((uint64_t)TyL, (uint64_t)TyR); in cmpTypes()
656 StructType *STyR = cast<StructType>(TyR); in cmpTypes()
672 FunctionType *FTyR = cast<FunctionType>(TyR); in cmpTypes()
691 ArrayType *ATyR = cast<ArrayType>(TyR); in cmpTypes()