Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp380 auto *BinOp2 = dyn_cast<BinaryOperator>(Cast->getOperand(0)); in simplifyAssocCastAssoc() local
381 if (!BinOp2 || !BinOp2->hasOneUse() || BinOp2->getOpcode() != AssocOpcode) in simplifyAssocCastAssoc()
386 !match(BinOp2->getOperand(1), m_Constant(C2))) in simplifyAssocCastAssoc()
404 IC.replaceOperand(*Cast, 0, BinOp2->getOperand(0)); in simplifyAssocCastAssoc()