Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DInstructionSimplify.cpp3554 if (GetElementPtrInst *GLHS = dyn_cast<GetElementPtrInst>(LHS)) { in SimplifyICmpInst() local
3556 if (GLHS->getPointerOperand() == GRHS->getPointerOperand() && in SimplifyICmpInst()
3557 GLHS->hasAllConstantIndices() && GRHS->hasAllConstantIndices() && in SimplifyICmpInst()
3559 (GLHS->isInBounds() && GRHS->isInBounds() && in SimplifyICmpInst()
3564 Constant *Null = Constant::getNullValue(GLHS->getPointerOperandType()); in SimplifyICmpInst()
3565 SmallVector<Value *, 4> IndicesLHS(GLHS->idx_begin(), GLHS->idx_end()); in SimplifyICmpInst()
3567 GLHS->getSourceElementType(), Null, IndicesLHS); in SimplifyICmpInst()
3571 GLHS->getSourceElementType(), Null, IndicesRHS); in SimplifyICmpInst()