Lines Matching defs:TyL
139 Type *TyL = LA.getValueAsType();
141 if (TyL && TyR) {
142 if (int Res = cmpTypes(TyL, TyR))
149 if (int Res = cmpNumbers((uint64_t)TyL, (uint64_t)TyR))
292 Type *TyL = L->getType();
298 int TypesRes = cmpTypes(TyL, TyR);
301 if (!TyL->isFirstClassType()) {
304 // Neither TyL nor TyR are values of first class type. Return the result
309 if (TyL->isFirstClassType())
319 if (auto *VecTyL = dyn_cast<VectorType>(TyL))
327 // Zero bit-width means neither TyL nor TyR are vectors.
329 PointerType *PTyL = dyn_cast<PointerType>(TyL);
342 // TyL and TyR aren't vectors, nor pointers. We don't know how to
394 uint64_t NumElementsL = cast<ArrayType>(TyL)->getNumElements();
408 unsigned NumElementsL = cast<StructType>(TyL)->getNumElements();
422 unsigned NumElementsL = cast<FixedVectorType>(TyL)->getNumElements();
537 int FunctionComparator::cmpTypes(Type *TyL, Type *TyR) const {
538 PointerType *PTyL = dyn_cast<PointerType>(TyL);
543 TyL = DL.getIntPtrType(TyL);
547 if (TyL == TyR)
550 if (int Res = cmpNumbers(TyL->getTypeID(), TyR->getTypeID()))
553 switch (TyL->getTypeID()) {
557 return cmpNumbers(cast<IntegerType>(TyL)->getBitWidth(),
559 // TyL == TyR would have returned true earlier, because types are uniqued.
576 StructType *STyL = cast<StructType>(TyL);
592 FunctionType *FTyL = cast<FunctionType>(TyL);
611 auto *STyL = cast<ArrayType>(TyL);
619 auto *STyL = cast<VectorType>(TyL);