Lines Matching refs:TyR
134 Type *TyR = RA.getValueAsType(); in cmpAttrs() local
135 if (TyL && TyR) { in cmpAttrs()
136 if (int Res = cmpTypes(TyL, TyR)) in cmpAttrs()
143 if (int Res = cmpNumbers((uint64_t)TyL, (uint64_t)TyR)) in cmpAttrs()
217 Type *TyR = R->getType(); in cmpConstants() local
222 int TypesRes = cmpTypes(TyL, TyR); in cmpConstants()
226 if (TyR->isFirstClassType()) in cmpConstants()
232 if (!TyR->isFirstClassType()) { in cmpConstants()
245 if (auto *VecTyR = dyn_cast<VectorType>(TyR)) in cmpConstants()
254 PointerType *PTyR = dyn_cast<PointerType>(TyR); in cmpConstants()
319 uint64_t NumElementsR = cast<ArrayType>(TyR)->getNumElements(); in cmpConstants()
333 unsigned NumElementsR = cast<StructType>(TyR)->getNumElements(); in cmpConstants()
347 unsigned NumElementsR = cast<FixedVectorType>(TyR)->getNumElements(); in cmpConstants()
421 int FunctionComparator::cmpTypes(Type *TyL, Type *TyR) const { in cmpTypes()
423 PointerType *PTyR = dyn_cast<PointerType>(TyR); in cmpTypes()
429 TyR = DL.getIntPtrType(TyR); in cmpTypes()
431 if (TyL == TyR) in cmpTypes()
434 if (int Res = cmpNumbers(TyL->getTypeID(), TyR->getTypeID())) in cmpTypes()
442 cast<IntegerType>(TyR)->getBitWidth()); in cmpTypes()
461 StructType *STyR = cast<StructType>(TyR); in cmpTypes()
477 FunctionType *FTyR = cast<FunctionType>(TyR); in cmpTypes()
496 auto *STyR = cast<ArrayType>(TyR); in cmpTypes()
504 auto *STyR = cast<VectorType>(TyR); in cmpTypes()