Lines Matching refs:Op1C
1450 if (CastInst *Op1C = dyn_cast<CastInst>(Op1)) { in visitAnd() local
1452 if (Op0C->getOpcode() == Op1C->getOpcode() && // same cast kind ? in visitAnd()
1453 SrcTy == Op1C->getOperand(0)->getType() && in visitAnd()
1455 Value *Op0COp = Op0C->getOperand(0), *Op1COp = Op1C->getOperand(0); in visitAnd()
1459 ShouldOptimizeCast(Op1C->getOpcode(), Op1COp, I.getType())) { in visitAnd()
2461 CastInst *Op1C = dyn_cast<CastInst>(Op1); in visitOr() local
2462 if (Op1C && Op0C->getOpcode() == Op1C->getOpcode()) {// same cast kind ? in visitOr()
2464 if (SrcTy == Op1C->getOperand(0)->getType() && in visitOr()
2466 Value *Op0COp = Op0C->getOperand(0), *Op1COp = Op1C->getOperand(0); in visitOr()
2472 ShouldOptimizeCast(Op1C->getOpcode(), Op1COp, I.getType())) { in visitOr()
2827 if (CastInst *Op1C = dyn_cast<CastInst>(Op1)) in visitXor() local
2828 if (Op0C->getOpcode() == Op1C->getOpcode()) { // same cast kind? in visitXor()
2830 if (SrcTy == Op1C->getOperand(0)->getType() && SrcTy->isIntegerTy() && in visitXor()
2834 ShouldOptimizeCast(Op1C->getOpcode(), Op1C->getOperand(0), in visitXor()
2837 Op1C->getOperand(0), I.getName()); in visitXor()