reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
385 if (const BranchInst *BI = dyn_cast<BranchInst>(OldTI)) { 398 VMap[OldTI] = BranchInst::Create(Dest, NewBB); 403 } else if (const SwitchInst *SI = dyn_cast<SwitchInst>(OldTI)) { 413 VMap[OldTI] = BranchInst::Create(Dest, NewBB); 420 Instruction *NewInst = OldTI->clone(); 421 if (OldTI->hasName()) 422 NewInst->setName(OldTI->getName()+NameSuffix); 424 VMap[OldTI] = NewInst; // Add instruction map to value. 427 if (auto CS = ImmutableCallSite(OldTI))