Home
last modified time | relevance | path

Searched refs:STyL (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DFunctionComparator.cpp437 StructType *STyL = cast<StructType>(TyL); in cmpTypes() local
439 if (STyL->getNumElements() != STyR->getNumElements()) in cmpTypes()
440 return cmpNumbers(STyL->getNumElements(), STyR->getNumElements()); in cmpTypes()
442 if (STyL->isPacked() != STyR->isPacked()) in cmpTypes()
443 return cmpNumbers(STyL->isPacked(), STyR->isPacked()); in cmpTypes()
445 for (unsigned i = 0, e = STyL->getNumElements(); i != e; ++i) { in cmpTypes()
446 if (int Res = cmpTypes(STyL->getElementType(i), STyR->getElementType(i))) in cmpTypes()
473 auto *STyL = cast<SequentialType>(TyL); in cmpTypes() local
475 if (STyL->getNumElements() != STyR->getNumElements()) in cmpTypes()
476 return cmpNumbers(STyL->getNumElements(), STyR->getNumElements()); in cmpTypes()
[all …]
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp858 StructType *STyL = cast<StructType>(TyL); in cmpTypes() local
860 if (STyL->getNumElements() != STyR->getNumElements()) in cmpTypes()
861 return cmpNumbers(STyL->getNumElements(), STyR->getNumElements()); in cmpTypes()
863 if (STyL->isPacked() != STyR->isPacked()) in cmpTypes()
864 return cmpNumbers(STyL->isPacked(), STyR->isPacked()); in cmpTypes()
866 for (unsigned i = 0, e = STyL->getNumElements(); i != e; ++i) { in cmpTypes()
867 if (int Res = cmpTypes(STyL->getElementType(i), STyR->getElementType(i))) in cmpTypes()