Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp475 if (GetElementPtrInst *LHSGEP = dyn_cast<GetElementPtrInst>(LHS)) { in OptimizePointerDifference() local
477 if (LHSGEP->getOperand(0) == RHS) { in OptimizePointerDifference()
478 GEP = LHSGEP; in OptimizePointerDifference()
483 LHSGEP->getOperand(0) == CE->getOperand(0)) { in OptimizePointerDifference()
485 GEP = LHSGEP; in OptimizePointerDifference()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1417 if (GEPOperator *LHSGEP = dyn_cast<GEPOperator>(LHS)) { in OptimizePointerDifference() local
1419 if (LHSGEP->getOperand(0) == RHS) { in OptimizePointerDifference()
1420 GEP1 = LHSGEP; in OptimizePointerDifference()
1424 if (LHSGEP->getOperand(0)->stripPointerCasts() == in OptimizePointerDifference()
1427 GEP1 = LHSGEP; in OptimizePointerDifference()
1438 } else if (GEPOperator *LHSGEP = dyn_cast<GEPOperator>(LHS)) { in OptimizePointerDifference() local
1441 LHSGEP->getOperand(0)->stripPointerCasts()) { in OptimizePointerDifference()
1442 GEP2 = LHSGEP; in OptimizePointerDifference()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1500 if (GEPOperator *LHSGEP = dyn_cast<GEPOperator>(LHS)) { in OptimizePointerDifference() local
1502 if (LHSGEP->getOperand(0) == RHS) { in OptimizePointerDifference()
1503 GEP1 = LHSGEP; in OptimizePointerDifference()
1507 if (LHSGEP->getOperand(0)->stripPointerCasts() == in OptimizePointerDifference()
1510 GEP1 = LHSGEP; in OptimizePointerDifference()
1521 } else if (GEPOperator *LHSGEP = dyn_cast<GEPOperator>(LHS)) { in OptimizePointerDifference() local
1524 LHSGEP->getOperand(0)->stripPointerCasts()) { in OptimizePointerDifference()
1525 GEP2 = LHSGEP; in OptimizePointerDifference()