reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1908 SwitchInst *SI = BI ? nullptr : cast<SwitchInst>(&TI); 1912 assert((SI || (BI && BI->isConditional())) && 1912 assert((SI || (BI && BI->isConditional())) && 1914 bool FullUnswitch = SI || BI->getCondition() == Invariants[0]; 1919 assert(isa<Instruction>(BI->getCondition()) && 1934 if (cast<Instruction>(BI->getCondition())->getOpcode() != Instruction::Or) { 1935 assert(cast<Instruction>(BI->getCondition())->getOpcode() == 1945 BI ? BI->getSuccessor(1 - ClonedSucc) : SI->getDefaultDest(); 1945 BI ? BI->getSuccessor(1 - ClonedSucc) : SI->getDefaultDest(); 1947 if (BI) 1948 UnswitchedSuccBBs.insert(BI->getSuccessor(ClonedSucc)); 2048 if (BI) { 2050 BI->setSuccessor(ClonedSucc, ClonedPH); 2051 BI->setSuccessor(1 - ClonedSucc, LoopPH); 2098 if (BI) { 2135 assert(BI && "Only branches have partial unswitching."); 2194 if (BI) { 2215 Direction ? ConstantInt::getTrue(BI->getContext()) 2216 : ConstantInt::getFalse(BI->getContext()); 2218 Direction ? ConstantInt::getFalse(BI->getContext()) 2219 : ConstantInt::getTrue(BI->getContext()); 2314 if (BI)