Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp491 if (GetElementPtrInst *RHSGEP = dyn_cast<GetElementPtrInst>(RHS)) { in OptimizePointerDifference() local
493 if (RHSGEP->getOperand(0) == LHS) { in OptimizePointerDifference()
494 GEP = RHSGEP; in OptimizePointerDifference()
499 RHSGEP->getOperand(0) == CE->getOperand(0)) { in OptimizePointerDifference()
501 GEP = RHSGEP; in OptimizePointerDifference()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1422 } else if (GEPOperator *RHSGEP = dyn_cast<GEPOperator>(RHS)) { in OptimizePointerDifference() local
1425 RHSGEP->getOperand(0)->stripPointerCasts()) { in OptimizePointerDifference()
1426 GEP2 = RHSGEP; in OptimizePointerDifference()
1433 if (GEPOperator *RHSGEP = dyn_cast<GEPOperator>(RHS)) { in OptimizePointerDifference() local
1435 if (RHSGEP->getOperand(0) == LHS) { in OptimizePointerDifference()
1436 GEP1 = RHSGEP; in OptimizePointerDifference()
1440 if (RHSGEP->getOperand(0)->stripPointerCasts() == in OptimizePointerDifference()
1443 GEP1 = RHSGEP; in OptimizePointerDifference()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1505 } else if (GEPOperator *RHSGEP = dyn_cast<GEPOperator>(RHS)) { in OptimizePointerDifference() local
1508 RHSGEP->getOperand(0)->stripPointerCasts()) { in OptimizePointerDifference()
1509 GEP2 = RHSGEP; in OptimizePointerDifference()
1516 if (GEPOperator *RHSGEP = dyn_cast<GEPOperator>(RHS)) { in OptimizePointerDifference() local
1518 if (RHSGEP->getOperand(0) == LHS) { in OptimizePointerDifference()
1519 GEP1 = RHSGEP; in OptimizePointerDifference()
1523 if (RHSGEP->getOperand(0)->stripPointerCasts() == in OptimizePointerDifference()
1526 GEP1 = RHSGEP; in OptimizePointerDifference()