Home | History | Annotate | Download | only in Utils

Lines Matching defs:Cond

332       ConstantInt *Cond = dyn_cast<ConstantInt>(BI->getCondition());
334 if (!Cond) {
336 Cond = dyn_cast_or_null<ConstantInt>(V);
340 if (Cond) {
341 BasicBlock *Dest = BI->getSuccessor(!Cond->getZExtValue());
349 ConstantInt *Cond = dyn_cast<ConstantInt>(SI->getCondition());
350 if (!Cond) { // Or known constant after constant prop in the callee...
352 Cond = dyn_cast_or_null<ConstantInt>(V);
354 if (Cond) { // Constant fold to uncond branch!
355 SwitchInst::ConstCaseIt Case = SI->findCaseValue(Cond);