Lines Matching refs:Ty2
197 bool isEquivalentType(Type *Ty1, Type *Ty2) const;
212 bool FunctionComparator::isEquivalentType(Type *Ty1, Type *Ty2) const {
213 if (Ty1 == Ty2)
215 if (Ty1->getTypeID() != Ty2->getTypeID()) {
218 if (isa<PointerType>(Ty1) && Ty2 == TD->getIntPtrType(Ctx)) return true;
219 if (isa<PointerType>(Ty2) && Ty1 == TD->getIntPtrType(Ctx)) return true;
230 // Ty1 == Ty2 would have returned true earlier.
245 PointerType *PTy2 = cast<PointerType>(Ty2);
251 StructType *STy2 = cast<StructType>(Ty2);
267 FunctionType *FTy2 = cast<FunctionType>(Ty2);
284 ArrayType *ATy2 = cast<ArrayType>(Ty2);