Searched defs:NewLeaf (Results 1 - 1 of 1) sorted by relevance

/external/llvm/lib/Transforms/Utils/
H A DLowerSwitch.cpp168 BasicBlock* NewLeaf = BasicBlock::Create(Val->getContext(), "LeafBlock"); local
170 F->getBasicBlockList().insert(++FI, NewLeaf);
176 Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_EQ, Val,
182 Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_SLE, Val, Leaf.High,
186 Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_ULE, Val, Leaf.High,
193 NewLeaf);
195 Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_ULE, Add, UpperBound,
202 BranchInst::Create(Succ, Default, Comp, NewLeaf);
205 // from OrigBlock to come from NewLeaf.
217 PN->setIncomingBlock((unsigned)BlockIdx, NewLeaf);
[all...]

Completed in 1267 milliseconds