Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DEarlyCSE.cpp156 if (BinaryOperator *LHSBinOp = dyn_cast<BinaryOperator>(LHSI)) { in isEqual() local
157 if (!LHSBinOp->isCommutative()) in isEqual()
165 if (isa<OverflowingBinaryOperator>(LHSBinOp)) { in isEqual()
168 if (LHSBinOp->hasNoUnsignedWrap() != RHSBinOp->hasNoUnsignedWrap() || in isEqual()
169 LHSBinOp->hasNoSignedWrap() != RHSBinOp->hasNoSignedWrap()) in isEqual()
174 return LHSBinOp->getOperand(0) == RHSBinOp->getOperand(1) && in isEqual()
175 LHSBinOp->getOperand(1) == RHSBinOp->getOperand(0); in isEqual()
/external/clang/lib/CodeGen/
DCGExprScalar.cpp2341 if (llvm::BinaryOperator* LHSBinOp = dyn_cast<llvm::BinaryOperator>(op.LHS)) { in tryEmitFMulAdd() local
2342 if (LHSBinOp->getOpcode() == llvm::Instruction::FMul) { in tryEmitFMulAdd()
2343 assert(LHSBinOp->getNumUses() == 0 && in tryEmitFMulAdd()
2345 return buildFMulAdd(LHSBinOp, op.RHS, CGF, Builder, false, isSub); in tryEmitFMulAdd()