Searched refs:GLHS (Results 1 – 1 of 1) sorted by relevance
2969 if (GetElementPtrInst *GLHS = dyn_cast<GetElementPtrInst>(LHS)) { in SimplifyICmpInst() local2971 if (GLHS->getPointerOperand() == GRHS->getPointerOperand() && in SimplifyICmpInst()2972 GLHS->hasAllConstantIndices() && GRHS->hasAllConstantIndices() && in SimplifyICmpInst()2974 (GLHS->isInBounds() && GRHS->isInBounds() && in SimplifyICmpInst()2979 Constant *Null = Constant::getNullValue(GLHS->getPointerOperandType()); in SimplifyICmpInst()2980 SmallVector<Value *, 4> IndicesLHS(GLHS->idx_begin(), GLHS->idx_end()); in SimplifyICmpInst()2982 GLHS->getSourceElementType(), Null, IndicesLHS); in SimplifyICmpInst()2986 GLHS->getSourceElementType(), Null, IndicesRHS); in SimplifyICmpInst()