Home
last modified time | relevance | path

Searched refs:TheSwitch (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp1269 SwitchInst *TheSwitch = in emitCallAndSwitchStatement() local
1399 ReturnInst::Create(Context, TheSwitch->getCondition(), TheSwitch); in emitCallAndSwitchStatement()
1407 TheSwitch->eraseFromParent(); in emitCallAndSwitchStatement()
1412 BranchInst::Create(TheSwitch->getSuccessor(1), TheSwitch); in emitCallAndSwitchStatement()
1413 TheSwitch->eraseFromParent(); in emitCallAndSwitchStatement()
1416 BranchInst::Create(TheSwitch->getSuccessor(1), TheSwitch->getSuccessor(2), in emitCallAndSwitchStatement()
1417 call, TheSwitch); in emitCallAndSwitchStatement()
1418 TheSwitch->eraseFromParent(); in emitCallAndSwitchStatement()
1423 TheSwitch->setCondition(call); in emitCallAndSwitchStatement()
1424 TheSwitch->setDefaultDest(TheSwitch->getSuccessor(NumExitBlocks)); in emitCallAndSwitchStatement()
[all …]