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()) return false; in isEqual()
153 if (LHSI->isIdenticalTo(RHSI)) return true; in isEqual()
160 assert(isa<BinaryOperator>(RHSI) in isEqual()
162 BinaryOperator *RHSBinOp = cast<BinaryOperator>(RHSI); in isEqual()
178 assert(isa<CmpInst>(RHSI) in isEqual()
180 CmpInst *RHSCmp = cast<CmpInst>(RHSI); in isEqual()
254 Instruction *LHSI = LHS.Inst, *RHSI = RHS.Inst; in isEqual() local
256 return LHSI == RHSI; in isEqual()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp487 if (ConstantInt *RHSI = dyn_cast<ConstantInt>(II->getArgOperand(1))) { in visitCallInst() local
489 if (RHSI->isZero()) in visitCallInst()
493 if (RHSI->equalsInt(1)) { in visitCallInst()