Searched refs:GEPLHS (Results 1 – 2 of 2) sorted by relevance
630 static Instruction *transformToIndexedCompare(GEPOperator *GEPLHS, Value *RHS, in transformToIndexedCompare() argument635 if (GEPLHS->getType()->isVectorTy()) in transformToIndexedCompare()638 if (!GEPLHS->hasAllConstantIndices()) in transformToIndexedCompare()641 APInt Offset(DL.getIndexTypeSizeInBits(GEPLHS->getType()), 0); in transformToIndexedCompare()643 GEPLHS->stripAndAccumulateConstantOffsets(DL, Offset, in transformToIndexedCompare()647 if (PtrBase->getType() != GEPLHS->getType()) in transformToIndexedCompare()674 Instruction *InstCombinerImpl::foldGEPICmp(GEPOperator *GEPLHS, Value *RHS, in foldGEPICmp() argument690 Value *PtrBase = GEPLHS->getOperand(0); in foldGEPICmp()691 if (PtrBase == RHS && (GEPLHS->isInBounds() || ICmpInst::isEquality(Cond))) { in foldGEPICmp()693 Value *Offset = EmitGEPOffset(GEPLHS); in foldGEPICmp()[all …]
645 Instruction *foldGEPICmp(GEPOperator *GEPLHS, Value *RHS,