HomeSort by relevance Sort by last modified time
    Searched refs:OldTI (Results 1 - 2 of 2) sorted by null

  /external/llvm/lib/Transforms/Utils/
CloneFunction.cpp 355 const TerminatorInst *OldTI = BB->getTerminator();
357 if (const BranchInst *BI = dyn_cast<BranchInst>(OldTI)) {
370 VMap[OldTI] = BranchInst::Create(Dest, NewBB);
375 } else if (const SwitchInst *SI = dyn_cast<SwitchInst>(OldTI)) {
385 VMap[OldTI] = BranchInst::Create(Dest, NewBB);
392 Instruction *NewInst = OldTI->clone();
393 if (OldTI->hasName())
394 NewInst->setName(OldTI->getName()+NameSuffix);
396 VMap[OldTI] = NewInst; // Add instruction map to value.
SimplifyCFG.cpp     [all...]

Completed in 34 milliseconds