Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1437 if (GEPOperator *LHSGEP = dyn_cast<GEPOperator>(LHS)) { in OptimizePointerDifference() local
1439 if (LHSGEP->getOperand(0) == RHS) { in OptimizePointerDifference()
1440 GEP1 = LHSGEP; in OptimizePointerDifference()
1444 if (LHSGEP->getOperand(0)->stripPointerCasts() == in OptimizePointerDifference()
1447 GEP1 = LHSGEP; in OptimizePointerDifference()
1458 } else if (GEPOperator *LHSGEP = dyn_cast<GEPOperator>(LHS)) { in OptimizePointerDifference() local
1461 LHSGEP->getOperand(0)->stripPointerCasts()) { in OptimizePointerDifference()
1462 GEP2 = LHSGEP; in OptimizePointerDifference()