Searched refs:BinOp1 (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | IdenticalExprChecker.cpp | 452 const BinaryOperator *BinOp1 = cast<BinaryOperator>(Stmt1); in isIdenticalStmt() local 454 return BinOp1->getOpcode() == BinOp2->getOpcode(); in isIdenticalStmt()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 558 Value *BinOp1 = BinOp->getOperand(1); in narrowBinOp() local 570 Value *TruncX = Builder.CreateTrunc(BinOp1, DestTy); in narrowBinOp() 573 if (match(BinOp1, m_Constant(C))) { in narrowBinOp() 582 Value *NarrowOp1 = Builder.CreateTrunc(BinOp1, DestTy); in narrowBinOp() 585 if (match(BinOp1, m_ZExtOrSExt(m_Value(X))) && X->getType() == DestTy) { in narrowBinOp() 597 if (match(BinOp0, m_Trunc(m_Value(A))) && match(BinOp1, m_Constant(C))) { in narrowBinOp()
|
H A D | InstructionCombining.cpp | 335 static bool simplifyAssocCastAssoc(BinaryOperator *BinOp1, in simplifyAssocCastAssoc() argument 337 auto *Cast = dyn_cast<CastInst>(BinOp1->getOperand(0)); in simplifyAssocCastAssoc() 347 if (!BinOp1->isBitwiseLogicOp()) in simplifyAssocCastAssoc() 350 auto AssocOpcode = BinOp1->getOpcode(); in simplifyAssocCastAssoc() 356 if (!match(BinOp1->getOperand(1), m_Constant(C1)) || in simplifyAssocCastAssoc() 376 IC.replaceOperand(*BinOp1, 1, FoldedC); in simplifyAssocCastAssoc() 377 BinOp1->dropPoisonGeneratingFlags(); in simplifyAssocCastAssoc()
|