Lines Matching refs:OrigBlock
79 BasicBlock *OrigBlock, BasicBlock *Default,
81 BasicBlock *newLeafBlock(CaseRange &Leaf, Value *Val, BasicBlock *OrigBlock,
202 BasicBlock *Predecessor, BasicBlock *OrigBlock, in switchConvert() argument
217 fixPhis(Begin->BB, OrigBlock, Predecessor, NumMergedCases); in switchConvert()
220 return newLeafBlock(*Begin, Val, OrigBlock, Default); in switchConvert()
271 Function* F = OrigBlock->getParent(); in switchConvert()
278 NewUpperBound, Val, NewNode, OrigBlock, in switchConvert()
281 UpperBound, Val, NewNode, OrigBlock, in switchConvert()
284 F->getBasicBlockList().insert(++OrigBlock->getIterator(), NewNode); in switchConvert()
296 BasicBlock* OrigBlock, in newLeafBlock() argument
299 Function* F = OrigBlock->getParent(); in newLeafBlock()
301 F->getBasicBlockList().insert(++OrigBlock->getIterator(), NewLeaf); in newLeafBlock()
343 PN->removeIncomingValue(OrigBlock); in newLeafBlock()
346 int BlockIdx = PN->getBasicBlockIndex(OrigBlock); in newLeafBlock()
401 BasicBlock *OrigBlock = CurBlock; in processSwitchInst() local
504 int BlockIdx = PN->getBasicBlockIndex(OrigBlock); in processSwitchInst()
511 OrigBlock, OrigBlock, NewDefault, UnreachableRanges); in processSwitchInst()
514 BranchInst::Create(SwitchBlock, OrigBlock); in processSwitchInst()