Home | History | Annotate | Download | only in InstCombine

Lines Matching defs:NewC

1394   Value *NewC = ConstantExpr::getTrunc(C, X->getType());
1395 Value *NewBO = Opc == Instruction::Sub ? Builder.CreateBinOp(Opc, NewC, X)
1396 : Builder.CreateBinOp(Opc, X, NewC);
1445 Constant *NewC = ConstantInt::get(I.getType(), *C & *XorC);
1448 return BinaryOperator::CreateXor(And, NewC);
2573 Constant *NewC = ConstantInt::get(I.getType(), -(*C) - 1);
2574 return BinaryOperator::CreateAdd(X, NewC);
2578 Constant *NewC = ConstantInt::get(I.getType(), *C + *RHSC);
2579 return BinaryOperator::CreateSub(NewC, X);
2584 Constant *NewC = ConstantInt::get(I.getType(), -(*C) - 1);
2585 return BinaryOperator::CreateSub(NewC, X);
2589 Constant *NewC = ConstantInt::get(I.getType(), *C + *RHSC);
2590 return BinaryOperator::CreateAdd(X, NewC);
2597 Constant *NewC = ConstantInt::get(I.getType(), *C ^ *RHSC);
2600 I.setOperand(1, NewC);