Searched refs:GLHS (Results 1 – 1 of 1) sorted by relevance
3603 if (GetElementPtrInst *GLHS = dyn_cast<GetElementPtrInst>(LHS)) { in SimplifyICmpInst() local3605 if (GLHS->getPointerOperand() == GRHS->getPointerOperand() && in SimplifyICmpInst()3606 GLHS->hasAllConstantIndices() && GRHS->hasAllConstantIndices() && in SimplifyICmpInst()3608 (GLHS->isInBounds() && GRHS->isInBounds() && in SimplifyICmpInst()3613 Constant *Null = Constant::getNullValue(GLHS->getPointerOperandType()); in SimplifyICmpInst()3614 SmallVector<Value *, 4> IndicesLHS(GLHS->indices()); in SimplifyICmpInst()3616 GLHS->getSourceElementType(), Null, IndicesLHS); in SimplifyICmpInst()3620 GLHS->getSourceElementType(), Null, IndicesRHS); in SimplifyICmpInst()