Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1450 if (GEPOperator *LHSGEP = dyn_cast<GEPOperator>(LHS)) { in OptimizePointerDifference() local
1452 if (LHSGEP->getOperand(0) == RHS) { in OptimizePointerDifference()
1453 GEP1 = LHSGEP; in OptimizePointerDifference()
1457 if (LHSGEP->getOperand(0)->stripPointerCasts() == in OptimizePointerDifference()
1460 GEP1 = LHSGEP; in OptimizePointerDifference()
1471 } else if (GEPOperator *LHSGEP = dyn_cast<GEPOperator>(LHS)) { in OptimizePointerDifference() local
1474 LHSGEP->getOperand(0)->stripPointerCasts()) { in OptimizePointerDifference()
1475 GEP2 = LHSGEP; in OptimizePointerDifference()