Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/
H A DLowerSwitch.cpp161 BasicBlock *NewLeaf = BasicBlock::Create(Val->getContext(), "LeafBlock"); in NewLeafBlock() local
162 F->insert(++OrigBlock->getIterator(), NewLeaf); in NewLeafBlock()
174 Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_SLE, Val, Leaf.High, in NewLeafBlock()
178 Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_SGE, Val, Leaf.Low, in NewLeafBlock()
182 Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_ULE, Val, Leaf.High, in NewLeafBlock()
188 Val, NegLo, Val->getName() + ".off", NewLeaf); in NewLeafBlock()
190 Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_ULE, Add, UpperBound, in NewLeafBlock()
197 BranchInst::Create(Succ, Default, Comp, NewLeaf); in NewLeafBlock()
203 PN->addIncoming(V, NewLeaf); in NewLeafBlock()
218 PN->setIncomingBlock((unsigned)BlockIdx, NewLeaf); in NewLeafBlock()
[all …]