Lines Matching defs:C2
195 static bool isSelect01(Constant *C1, Constant *C2) {
199 ConstantInt *C2I = dyn_cast<ConstantInt>(C2);
459 // Transform (X >s -1) ? C1 : C2 --> ((X >>s 31) & (C2 - C1)) + C1
460 // and (X <s 0) ? C2 : C1 --> ((X >>s 31) & (C2 - C1)) + C1
467 ConstantInt *C1 = NULL, *C2 = NULL;
470 C2 = dyn_cast<ConstantInt>(FalseVal);
473 C2 = dyn_cast<ConstantInt>(TrueVal);
475 if (C1 && C2) {
480 if (C2->isAllOnesValue())
483 Value *And = Builder->CreateAnd(AShr, C2->getValue()-C1->getValue());
532 /// X = phi [ C1, BB1], [C2, BB2]