Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DEarlyCSE.cpp165 BinaryOperator *RHSBinOp = cast<BinaryOperator>(RHSI); in isEqual() local
169 assert(isa<OverflowingBinaryOperator>(RHSBinOp) && in isEqual()
171 if (LHSBinOp->hasNoUnsignedWrap() != RHSBinOp->hasNoUnsignedWrap() || in isEqual()
172 LHSBinOp->hasNoSignedWrap() != RHSBinOp->hasNoSignedWrap()) in isEqual()
177 return LHSBinOp->getOperand(0) == RHSBinOp->getOperand(1) && in isEqual()
178 LHSBinOp->getOperand(1) == RHSBinOp->getOperand(0); in isEqual()
/external/clang/lib/CodeGen/
DCGExprScalar.cpp2575 if (auto *RHSBinOp = dyn_cast<llvm::BinaryOperator>(op.RHS)) { in tryEmitFMulAdd() local
2576 if (RHSBinOp->getOpcode() == llvm::Instruction::FMul && in tryEmitFMulAdd()
2577 RHSBinOp->use_empty()) in tryEmitFMulAdd()
2578 return buildFMulAdd(RHSBinOp, op.LHS, CGF, Builder, isSub, false); in tryEmitFMulAdd()