Searched refs:LHSBinOp (Results 1 – 2 of 2) sorted by relevance
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | EarlyCSE.cpp | 340 if (BinaryOperator *LHSBinOp = dyn_cast<BinaryOperator>(LHSI)) { in isEqualImpl() local 341 if (!LHSBinOp->isCommutative()) in isEqualImpl() 349 return LHSBinOp->getOperand(0) == RHSBinOp->getOperand(1) && in isEqualImpl() 350 LHSBinOp->getOperand(1) == RHSBinOp->getOperand(0); in isEqualImpl()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CGExprScalar.cpp | 3539 if (auto *LHSBinOp = dyn_cast<llvm::BinaryOperator>(op.LHS)) { in tryEmitFMulAdd() local 3540 if (LHSBinOp->getOpcode() == llvm::Instruction::FMul && in tryEmitFMulAdd() 3541 LHSBinOp->use_empty()) in tryEmitFMulAdd() 3542 return buildFMulAdd(LHSBinOp, op.RHS, CGF, Builder, false, isSub); in tryEmitFMulAdd() 3550 if (auto *LHSBinOp = dyn_cast<llvm::CallBase>(op.LHS)) { in tryEmitFMulAdd() local 3551 if (LHSBinOp->getIntrinsicID() == in tryEmitFMulAdd() 3553 LHSBinOp->use_empty()) in tryEmitFMulAdd() 3554 return buildFMulAdd(LHSBinOp, op.RHS, CGF, Builder, false, isSub); in tryEmitFMulAdd()
|