Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DFunctionComparator.cpp438 StructType *STyR = cast<StructType>(TyR); 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()
446 if (int Res = cmpTypes(STyL->getElementType(i), STyR->getElementType(i))) in cmpTypes()
474 auto *STyR = cast<SequentialType>(TyR); in cmpTypes() local
475 if (STyL->getNumElements() != STyR->getNumElements()) in cmpTypes()
476 return cmpNumbers(STyL->getNumElements(), STyR->getNumElements()); in cmpTypes()
477 return cmpTypes(STyL->getElementType(), STyR->getElementType()); in cmpTypes()
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp859 StructType *STyR = cast<StructType>(TyR); 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()
867 if (int Res = cmpTypes(STyL->getElementType(i), STyR->getElementType(i))) in cmpTypes()