Searched defs:GEPLHS (Results 1 - 1 of 1) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp604 Instruction *InstCombiner::FoldGEPICmp(GEPOperator *GEPLHS, Value *RHS, argument
620 Value *PtrBase = GEPLHS->getOperand(0);
621 if (DL && PtrBase == RHS && GEPLHS->isInBounds()) {
626 Value *Offset = EvaluateGEPOffsetExpression(GEPLHS, *this);
630 Offset = EmitGEPOffset(GEPLHS);
637 bool IndicesTheSame = GEPLHS->getNumOperands()==GEPRHS->getNumOperands();
638 IndicesTheSame &= GEPLHS->getOperand(0)->getType() ==
641 for (unsigned i = 1, e = GEPLHS->getNumOperands(); i != e; ++i)
642 if (GEPLHS->getOperand(i) != GEPRHS->getOperand(i)) {
649 return new ICmpInst(Cond, GEPLHS
[all...]

Completed in 63 milliseconds