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

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp801 /// Converts (CMP GEPLHS, RHS) if this change would make RHS a constant.
803 /// between GEPLHS and RHS.
804 static Instruction *transformToIndexedCompare(GEPOperator *GEPLHS, Value *RHS, argument
808 if (GEPLHS->getType()->isVectorTy())
811 if (!GEPLHS->hasAllConstantIndices())
815 if (GEPLHS->getType() != RHS->getType())
819 std::tie(PtrBase, Index) = getAsConstantIndexedAddress(GEPLHS, DL);
844 Instruction *InstCombiner::foldGEPICmp(GEPOperator *GEPLHS, Value *RHS, argument
860 Value *PtrBase = GEPLHS->getOperand(0);
862 if (PtrBase == RHS && GEPLHS
[all...]
H A DInstCombineInternal.h925 Instruction *foldGEPICmp(GEPOperator *GEPLHS, Value *RHS,

Completed in 170 milliseconds