Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DLowerSwitch.cpp64 BasicBlock* OrigBlock, BasicBlock* Default);
66 BasicBlock* OrigBlock, BasicBlock* Default);
131 Value* Val, BasicBlock* OrigBlock, in switchConvert() argument
137 return newLeafBlock(*Begin, Val, OrigBlock, Default); in switchConvert()
151 OrigBlock, Default); in switchConvert()
153 OrigBlock, Default); in switchConvert()
157 Function* F = OrigBlock->getParent(); in switchConvert()
159 Function::iterator FI = OrigBlock; in switchConvert()
176 BasicBlock* OrigBlock, in newLeafBlock() argument
179 Function* F = OrigBlock->getParent(); in newLeafBlock()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLowerSwitch.cpp99 BasicBlock *OrigBlock, BasicBlock *Default,
101 BasicBlock *newLeafBlock(CaseRange &Leaf, Value *Val, BasicBlock *OrigBlock,
222 BasicBlock *Predecessor, BasicBlock *OrigBlock, in switchConvert() argument
237 fixPhis(Begin->BB, OrigBlock, Predecessor, NumMergedCases); in switchConvert()
240 return newLeafBlock(*Begin, Val, OrigBlock, Default); in switchConvert()
284 Function* F = OrigBlock->getParent(); in switchConvert()
291 NewUpperBound, Val, NewNode, OrigBlock, in switchConvert()
294 UpperBound, Val, NewNode, OrigBlock, in switchConvert()
297 F->getBasicBlockList().insert(++OrigBlock->getIterator(), NewNode); in switchConvert()
309 BasicBlock* OrigBlock, in newLeafBlock() argument
[all …]
DCallPromotionUtils.cpp48 static void fixupPHINodeForNormalDest(InvokeInst *Invoke, BasicBlock *OrigBlock, in fixupPHINodeForNormalDest() argument
51 int Idx = Phi.getBasicBlockIndex(OrigBlock); in fixupPHINodeForNormalDest()
79 static void fixupPHINodeForUnwindDest(InvokeInst *Invoke, BasicBlock *OrigBlock, in fixupPHINodeForUnwindDest() argument
83 int Idx = Phi.getBasicBlockIndex(OrigBlock); in fixupPHINodeForUnwindDest()
262 BasicBlock *OrigBlock = OrigInst->getParent(); in versionCallSite() local
305 fixupPHINodeForNormalDest(OrigInvoke, OrigBlock, MergeBlock); in versionCallSite()
/external/llvm/lib/Transforms/Utils/
DLowerSwitch.cpp79 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
[all …]