Searched refs:BinOp1 (Results 1 – 7 of 7) sorted by relevance
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | IdenticalExprChecker.cpp | 448 const BinaryOperator *BinOp1 = cast<BinaryOperator>(Stmt1); in isIdenticalStmt() local 450 return BinOp1->getOpcode() == BinOp2->getOpcode(); in isIdenticalStmt()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | IdenticalExprChecker.cpp | 452 const BinaryOperator *BinOp1 = cast<BinaryOperator>(Stmt1); in isIdenticalStmt() local 454 return BinOp1->getOpcode() == BinOp2->getOpcode(); in isIdenticalStmt()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 270 static bool simplifyAssocCastAssoc(BinaryOperator *BinOp1) { in simplifyAssocCastAssoc() argument 271 auto *Cast = dyn_cast<CastInst>(BinOp1->getOperand(0)); in simplifyAssocCastAssoc() 281 if (!BinOp1->isBitwiseLogicOp()) in simplifyAssocCastAssoc() 284 auto AssocOpcode = BinOp1->getOpcode(); in simplifyAssocCastAssoc() 290 if (!match(BinOp1->getOperand(1), m_Constant(C1)) || in simplifyAssocCastAssoc() 304 BinOp1->setOperand(1, FoldedC); in simplifyAssocCastAssoc()
|
D | InstCombineCasts.cpp | 591 Value *BinOp1 = BinOp->getOperand(1); in narrowBinOp() local 603 Value *TruncX = Builder.CreateTrunc(BinOp1, DestTy); in narrowBinOp() 606 if (match(BinOp1, m_Constant(C))) { in narrowBinOp() 615 Value *NarrowOp1 = Builder.CreateTrunc(BinOp1, DestTy); in narrowBinOp() 618 if (match(BinOp1, m_ZExtOrSExt(m_Value(X))) && X->getType() == DestTy) { in narrowBinOp()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 628 Value *BinOp1 = BinOp->getOperand(1); in narrowBinOp() local 640 Value *TruncX = Builder.CreateTrunc(BinOp1, DestTy); in narrowBinOp() 643 if (match(BinOp1, m_Constant(C))) { in narrowBinOp() 652 Value *NarrowOp1 = Builder.CreateTrunc(BinOp1, DestTy); in narrowBinOp() 655 if (match(BinOp1, m_ZExtOrSExt(m_Value(X))) && X->getType() == DestTy) { in narrowBinOp()
|
D | InstructionCombining.cpp | 310 static bool simplifyAssocCastAssoc(BinaryOperator *BinOp1, in simplifyAssocCastAssoc() argument 312 auto *Cast = dyn_cast<CastInst>(BinOp1->getOperand(0)); in simplifyAssocCastAssoc() 322 if (!BinOp1->isBitwiseLogicOp()) in simplifyAssocCastAssoc() 325 auto AssocOpcode = BinOp1->getOpcode(); in simplifyAssocCastAssoc() 331 if (!match(BinOp1->getOperand(1), m_Constant(C1)) || in simplifyAssocCastAssoc() 345 IC.replaceOperand(*BinOp1, 1, FoldedC); in simplifyAssocCastAssoc()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | SLPVectorizer.cpp | 2554 BinaryOperator *BinOp1 = cast<BinaryOperator>(VL1); in vectorizeTree() local 2555 Value *V1 = Builder.CreateBinOp(BinOp1->getOpcode(), LHS, RHS); in vectorizeTree()
|