Searched refs:BinOp2 (Results 1 - 2 of 2) sorted by relevance

/freebsd-current/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DIdenticalExprChecker.cpp453 const BinaryOperator *BinOp2 = cast<BinaryOperator>(Stmt2); local
454 return BinOp1->getOpcode() == BinOp2->getOpcode();
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp333 auto *BinOp2 = dyn_cast<BinaryOperator>(Cast->getOperand(0)); local
334 if (!BinOp2 || !BinOp2->hasOneUse() || BinOp2->getOpcode() != AssocOpcode)
339 !match(BinOp2->getOperand(1), m_Constant(C2)))
357 IC.replaceOperand(*Cast, 0, BinOp2->getOperand(0));
842 // 2) BinOp1 == BinOp2 (if BinOp == `add`, then also requires `shl`).
895 // If BinOp2 is `and`, any mask works (this only really helps for non-splat
955 // If BinOp1 == BinOp2 and it's bitwise or shl with add, then just

Completed in 218 milliseconds