Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DEarlyCSE.cpp147 Instruction *LHSI = LHS.Inst, *RHSI = RHS.Inst; in isEqual() local
150 return LHSI == RHSI; in isEqual()
152 if (LHSI->getOpcode() != RHSI->getOpcode()) in isEqual()
154 if (LHSI->isIdenticalTo(RHSI)) in isEqual()
162 assert(isa<BinaryOperator>(RHSI) && in isEqual()
164 BinaryOperator *RHSBinOp = cast<BinaryOperator>(RHSI); in isEqual()
180 assert(isa<CmpInst>(RHSI) && in isEqual()
182 CmpInst *RHSCmp = cast<CmpInst>(RHSI); in isEqual()
246 Instruction *LHSI = LHS.Inst, *RHSI = RHS.Inst; in isEqual() local
248 return LHSI == RHSI; in isEqual()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp2200 if (ConstantInt *RHSI = dyn_cast<ConstantInt>(RHS)) { in OptimizeOverflowCheck() local
2202 if (RHSI->isZero()) in OptimizeOverflowCheck()
2207 if (RHSI->equalsInt(1)) in OptimizeOverflowCheck()