Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DFunctionComparator.h345 int cmpGEPs(const GEPOperator *GEPL, const GEPOperator *GEPR) const;
346 int cmpGEPs(const GetElementPtrInst *GEPL, in cmpGEPs() argument
348 return cmpGEPs(cast<GEPOperator>(GEPL), cast<GEPOperator>(GEPR)); in cmpGEPs()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DFunctionComparator.cpp508 if (const GetElementPtrInst *GEPL = dyn_cast<GetElementPtrInst>(L)) { in cmpOperations() local
512 cmpValues(GEPL->getPointerOperand(), GEPR->getPointerOperand())) in cmpOperations()
514 return cmpGEPs(GEPL, GEPR); in cmpOperations()
662 int FunctionComparator::cmpGEPs(const GEPOperator *GEPL, in cmpGEPs() argument
664 unsigned int ASL = GEPL->getPointerAddressSpace(); in cmpGEPs()
675 if (GEPL->accumulateConstantOffset(DL, OffsetL) && in cmpGEPs()
678 if (int Res = cmpTypes(GEPL->getSourceElementType(), in cmpGEPs()
682 if (int Res = cmpNumbers(GEPL->getNumOperands(), GEPR->getNumOperands())) in cmpGEPs()
685 for (unsigned i = 0, e = GEPL->getNumOperands(); i != e; ++i) { in cmpGEPs()
686 if (int Res = cmpValues(GEPL->getOperand(i), GEPR->getOperand(i))) in cmpGEPs()