Searched refs:BinOp1 (Results 1 - 3 of 3) sorted by relevance

/freebsd-current/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DIdenticalExprChecker.cpp452 const BinaryOperator *BinOp1 = cast<BinaryOperator>(Stmt1); local
454 return BinOp1->getOpcode() == BinOp2->getOpcode();
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp550 Value *BinOp1 = BinOp->getOperand(1); local
562 Value *TruncX = Builder.CreateTrunc(BinOp1, DestTy);
565 if (match(BinOp1, m_Constant(C))) {
574 Value *NarrowOp1 = Builder.CreateTrunc(BinOp1, DestTy);
577 if (match(BinOp1, m_ZExtOrSExt(m_Value(X))) && X->getType() == DestTy) {
589 if (match(BinOp0, m_Trunc(m_Value(A))) && match(BinOp1, m_Constant(C))) {
H A DInstructionCombining.cpp317 static bool simplifyAssocCastAssoc(BinaryOperator *BinOp1, argument
319 auto *Cast = dyn_cast<CastInst>(BinOp1->getOperand(0));
329 if (!BinOp1->isBitwiseLogicOp())
332 auto AssocOpcode = BinOp1->getOpcode();
338 if (!match(BinOp1->getOperand(1), m_Constant(C1)) ||
358 IC.replaceOperand(*BinOp1, 1, FoldedC);
359 BinOp1->dropPoisonGeneratingFlags();
834 // BinOp1 is `and`
842 // 2) BinOp1 == BinOp2 (if BinOp == `add`, then also requires `shl`).
886 // If the BinOp1 i
[all...]

Completed in 103 milliseconds