Searched refs:GLHS (Results 1 – 1 of 1) sorted by relevance
3041 if (GetElementPtrInst *GLHS = dyn_cast<GetElementPtrInst>(LHS)) { in SimplifyICmpInst() local3043 if (GLHS->getPointerOperand() == GRHS->getPointerOperand() && in SimplifyICmpInst()3044 GLHS->hasAllConstantIndices() && GRHS->hasAllConstantIndices() && in SimplifyICmpInst()3046 (GLHS->isInBounds() && GRHS->isInBounds() && in SimplifyICmpInst()3051 Constant *Null = Constant::getNullValue(GLHS->getPointerOperandType()); in SimplifyICmpInst()3052 SmallVector<Value *, 4> IndicesLHS(GLHS->idx_begin(), GLHS->idx_end()); in SimplifyICmpInst()3054 GLHS->getSourceElementType(), Null, IndicesLHS); in SimplifyICmpInst()3058 GLHS->getSourceElementType(), Null, IndicesRHS); in SimplifyICmpInst()