Home | History | Annotate | Download | only in Utils

Lines Matching defs:Cond

261       ConstantInt *Cond = dyn_cast<ConstantInt>(BI->getCondition());
263 if (Cond == 0) {
265 Cond = dyn_cast_or_null<ConstantInt>(V);
269 if (Cond) {
270 BasicBlock *Dest = BI->getSuccessor(!Cond->getZExtValue());
278 ConstantInt *Cond = dyn_cast<ConstantInt>(SI->getCondition());
279 if (Cond == 0) { // Or known constant after constant prop in the callee...
281 Cond = dyn_cast_or_null<ConstantInt>(V);
283 if (Cond) { // Constant fold to uncond branch!
284 BasicBlock *Dest = SI->getSuccessor(SI->findCaseValue(Cond));