Searched refs:GEPLHS (Results 1 – 2 of 2) sorted by relevance
689 static Instruction *transformToIndexedCompare(GEPOperator *GEPLHS, Value *RHS, in transformToIndexedCompare() argument693 if (GEPLHS->getType()->isVectorTy()) in transformToIndexedCompare()696 if (!GEPLHS->hasAllConstantIndices()) in transformToIndexedCompare()699 Type *ElemTy = GEPLHS->getSourceElementType(); in transformToIndexedCompare()701 std::tie(PtrBase, Index) = getAsConstantIndexedAddress(ElemTy, GEPLHS, DL); in transformToIndexedCompare()726 Instruction *InstCombinerImpl::foldGEPICmp(GEPOperator *GEPLHS, Value *RHS, in foldGEPICmp() argument742 Value *PtrBase = GEPLHS->getOperand(0); in foldGEPICmp()743 if (PtrBase == RHS && GEPLHS->isInBounds()) { in foldGEPICmp()745 Value *Offset = EmitGEPOffset(GEPLHS); in foldGEPICmp()750 if (GEPLHS->isInBounds() && ICmpInst::isEquality(Cond) && in foldGEPICmp()[all …]
548 Instruction *foldGEPICmp(GEPOperator *GEPLHS, Value *RHS,