Lines Matching defs:Cond
306 ConstantInt *Cond = dyn_cast<ConstantInt>(BI->getCondition());
308 if (Cond == 0) {
310 Cond = dyn_cast_or_null<ConstantInt>(V);
314 if (Cond) {
315 BasicBlock *Dest = BI->getSuccessor(!Cond->getZExtValue());
323 ConstantInt *Cond = dyn_cast<ConstantInt>(SI->getCondition());
324 if (Cond == 0) { // Or known constant after constant prop in the callee...
326 Cond = dyn_cast_or_null<ConstantInt>(V);
328 if (Cond) { // Constant fold to uncond branch!
329 SwitchInst::ConstCaseIt Case = SI->findCaseValue(Cond);