Lines Matching defs:Op1C
1226 if (CastInst *Op1C = dyn_cast<CastInst>(Op1)) {
1228 if (Op0C->getOpcode() == Op1C->getOpcode() && // same cast kind ?
1229 SrcTy == Op1C->getOperand(0)->getType() &&
1231 Value *Op0COp = Op0C->getOperand(0), *Op1COp = Op1C->getOperand(0);
1235 ShouldOptimizeCast(Op1C->getOpcode(), Op1COp, I.getType())) {
2009 CastInst *Op1C = dyn_cast<CastInst>(Op1);
2010 if (Op1C && Op0C->getOpcode() == Op1C->getOpcode()) {// same cast kind ?
2012 if (SrcTy == Op1C->getOperand(0)->getType() &&
2014 Value *Op0COp = Op0C->getOperand(0), *Op1COp = Op1C->getOperand(0);
2020 ShouldOptimizeCast(Op1C->getOpcode(), Op1COp, I.getType())) {
2289 if (CastInst *Op1C = dyn_cast<CastInst>(Op1))
2290 if (Op0C->getOpcode() == Op1C->getOpcode()) { // same cast kind?
2292 if (SrcTy == Op1C->getOperand(0)->getType() && SrcTy->isIntegerTy() &&
2296 ShouldOptimizeCast(Op1C->getOpcode(), Op1C->getOperand(0),
2299 Op1C->getOperand(0), I.getName());