Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DLowerSwitch.cpp157 ConstantInt *UpperBound, BasicBlock *OrigBlock, in NewLeafBlock() argument
159 Function *F = OrigBlock->getParent(); in NewLeafBlock()
161 F->getBasicBlockList().insert(++OrigBlock->getIterator(), NewLeaf); in NewLeafBlock()
205 PN->removeIncomingValue(OrigBlock); in NewLeafBlock()
208 int BlockIdx = PN->getBasicBlockIndex(OrigBlock); in NewLeafBlock()
223 BasicBlock *Predecessor, BasicBlock *OrigBlock, in SwitchConvert() argument
237 FixPhis(Begin->BB, OrigBlock, Predecessor, NumMergedCases); in SwitchConvert()
240 return NewLeafBlock(*Begin, Val, LowerBound, UpperBound, OrigBlock, in SwitchConvert()
281 Function* F = OrigBlock->getParent(); in SwitchConvert()
289 NewNode, OrigBlock, Default, UnreachableRanges); in SwitchConvert()
[all …]
H A DCallPromotionUtils.cpp50 static void fixupPHINodeForNormalDest(InvokeInst *Invoke, BasicBlock *OrigBlock, in fixupPHINodeForNormalDest() argument
53 int Idx = Phi.getBasicBlockIndex(OrigBlock); in fixupPHINodeForNormalDest()
81 static void fixupPHINodeForUnwindDest(InvokeInst *Invoke, BasicBlock *OrigBlock, in fixupPHINodeForUnwindDest() argument
85 int Idx = Phi.getBasicBlockIndex(OrigBlock); in fixupPHINodeForUnwindDest()
287 BasicBlock *OrigBlock = OrigInst->getParent(); in versionCallSite() local
367 fixupPHINodeForNormalDest(OrigInvoke, OrigBlock, MergeBlock); in versionCallSite()