Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DInstructionSimplify.cpp3096 if (GetElementPtrInst *GLHS = dyn_cast<GetElementPtrInst>(LHS)) { in SimplifyICmpInst() local
3098 if (GLHS->getPointerOperand() == GRHS->getPointerOperand() && in SimplifyICmpInst()
3099 GLHS->hasAllConstantIndices() && GRHS->hasAllConstantIndices() && in SimplifyICmpInst()
3101 (GLHS->isInBounds() && GRHS->isInBounds() && in SimplifyICmpInst()
3106 Constant *Null = Constant::getNullValue(GLHS->getPointerOperandType()); in SimplifyICmpInst()
3107 SmallVector<Value *, 4> IndicesLHS(GLHS->idx_begin(), GLHS->idx_end()); in SimplifyICmpInst()
3109 GLHS->getSourceElementType(), Null, IndicesLHS); in SimplifyICmpInst()
3113 GLHS->getSourceElementType(), Null, IndicesRHS); in SimplifyICmpInst()