Searched refs:NewLeaf (Results 1 – 1 of 1) sorted by relevance
/external/llvm/lib/Transforms/Utils/ |
D | LowerSwitch.cpp | 300 BasicBlock* NewLeaf = BasicBlock::Create(Val->getContext(), "LeafBlock"); in newLeafBlock() local 302 F->getBasicBlockList().insert(++FI, NewLeaf); in newLeafBlock() 308 Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_EQ, Val, in newLeafBlock() 314 Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_SLE, Val, Leaf.High, in newLeafBlock() 318 Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_ULE, Val, Leaf.High, in newLeafBlock() 325 NewLeaf); in newLeafBlock() 327 Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_ULE, Add, UpperBound, in newLeafBlock() 334 BranchInst::Create(Succ, Default, Comp, NewLeaf); in newLeafBlock() 349 PN->setIncomingBlock((unsigned)BlockIdx, NewLeaf); in newLeafBlock() 352 return NewLeaf; in newLeafBlock()
|