Lines Matching defs:TyL
133 Type *TyL = LA.getValueAsType();
135 if (TyL && TyR) {
136 if (int Res = cmpTypes(TyL, TyR))
143 if (int Res = cmpNumbers((uint64_t)TyL, (uint64_t)TyR))
276 Type *TyL = L->getType();
282 int TypesRes = cmpTypes(TyL, TyR);
285 if (!TyL->isFirstClassType()) {
288 // Neither TyL nor TyR are values of first class type. Return the result
293 if (TyL->isFirstClassType())
303 if (auto *VecTyL = dyn_cast<VectorType>(TyL))
311 // Zero bit-width means neither TyL nor TyR are vectors.
313 PointerType *PTyL = dyn_cast<PointerType>(TyL);
326 // TyL and TyR aren't vectors, nor pointers. We don't know how to
378 uint64_t NumElementsL = cast<ArrayType>(TyL)->getNumElements();
392 unsigned NumElementsL = cast<StructType>(TyL)->getNumElements();
406 unsigned NumElementsL = cast<FixedVectorType>(TyL)->getNumElements();
523 int FunctionComparator::cmpTypes(Type *TyL, Type *TyR) const {
524 PointerType *PTyL = dyn_cast<PointerType>(TyL);
529 TyL = DL.getIntPtrType(TyL);
533 if (TyL == TyR)
536 if (int Res = cmpNumbers(TyL->getTypeID(), TyR->getTypeID()))
539 switch (TyL->getTypeID()) {
543 return cmpNumbers(cast<IntegerType>(TyL)->getBitWidth(),
545 // TyL == TyR would have returned true earlier, because types are uniqued.
562 StructType *STyL = cast<StructType>(TyL);
578 FunctionType *FTyL = cast<FunctionType>(TyL);
597 auto *STyL = cast<ArrayType>(TyL);
605 auto *STyL = cast<VectorType>(TyL);