Lines Matching defs:Cond
435 ConstantInt *Cond = dyn_cast<ConstantInt>(BI->getCondition());
437 if (!Cond) {
439 Cond = dyn_cast_or_null<ConstantInt>(V);
443 if (Cond) {
444 BasicBlock *Dest = BI->getSuccessor(!Cond->getZExtValue());
452 ConstantInt *Cond = dyn_cast<ConstantInt>(SI->getCondition());
453 if (!Cond) { // Or known constant after constant prop in the callee...
455 Cond = dyn_cast_or_null<ConstantInt>(V);
457 if (Cond) { // Constant fold to uncond branch!
458 SwitchInst::ConstCaseHandle Case = *SI->findCaseValue(Cond);