Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerSwitch.cpp157 ConstantInt *UpperBound, BasicBlock *OrigBlock, in NewLeafBlock() argument
159 Function *F = OrigBlock->getParent(); in NewLeafBlock()
161 F->insert(++OrigBlock->getIterator(), NewLeaf); in NewLeafBlock()
201 auto *V = PN->getIncomingValueForBlock(OrigBlock); in NewLeafBlock()
212 PN->removeIncomingValue(OrigBlock); in NewLeafBlock()
215 int BlockIdx = PN->getBasicBlockIndex(OrigBlock); in NewLeafBlock()
230 BasicBlock *Predecessor, BasicBlock *OrigBlock, in SwitchConvert() argument
243 FixPhis(Begin->BB, OrigBlock, Predecessor, NumMergedCases); in SwitchConvert()
246 return NewLeafBlock(*Begin, Val, LowerBound, UpperBound, OrigBlock, in SwitchConvert()
287 Function *F = OrigBlock->getParent(); in SwitchConvert()
[all …]
H A DCallPromotionUtils.cpp54 static void fixupPHINodeForNormalDest(InvokeInst *Invoke, BasicBlock *OrigBlock, in fixupPHINodeForNormalDest() argument
57 int Idx = Phi.getBasicBlockIndex(OrigBlock); in fixupPHINodeForNormalDest()
85 static void fixupPHINodeForUnwindDest(InvokeInst *Invoke, BasicBlock *OrigBlock, in fixupPHINodeForUnwindDest() argument
89 int Idx = Phi.getBasicBlockIndex(OrigBlock); in fixupPHINodeForUnwindDest()
290 BasicBlock *OrigBlock = OrigInst->getParent(); in versionCallSiteWithCond() local
364 fixupPHINodeForNormalDest(OrigInvoke, OrigBlock, MergeBlock); in versionCallSiteWithCond()