Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp3643 if (GetElementPtrInst *GLHS = dyn_cast<GetElementPtrInst>(LHS)) { in SimplifyICmpInst() local
3645 if (GLHS->getPointerOperand() == GRHS->getPointerOperand() && in SimplifyICmpInst()
3646 GLHS->hasAllConstantIndices() && GRHS->hasAllConstantIndices() && in SimplifyICmpInst()
3648 (GLHS->isInBounds() && GRHS->isInBounds() && in SimplifyICmpInst()
3653 Constant *Null = Constant::getNullValue(GLHS->getPointerOperandType()); in SimplifyICmpInst()
3654 SmallVector<Value *, 4> IndicesLHS(GLHS->indices()); in SimplifyICmpInst()
3656 GLHS->getSourceElementType(), Null, IndicesLHS); in SimplifyICmpInst()
3660 GLHS->getSourceElementType(), Null, IndicesRHS); in SimplifyICmpInst()