Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DLowerSwitch.cpp227 int BlockIdx = PN->getBasicBlockIndex(OrigBlock); in newLeafBlock() local
228 assert(BlockIdx != -1 && "Switch didn't go to this successor??"); in newLeafBlock()
229 PN->setIncomingBlock((unsigned)BlockIdx, NewLeaf); in newLeafBlock()
301 int BlockIdx = PN->getBasicBlockIndex(OrigBlock); in processSwitchInst() local
302 assert(BlockIdx != -1 && "Switch didn't go to this successor??"); in processSwitchInst()
303 PN->setIncomingBlock((unsigned)BlockIdx, NewDefault); in processSwitchInst()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2646 unsigned BlockIdx = RefList[i].first; in ParseFunctionBody() local
2647 if (BlockIdx >= FunctionBBs.size()) in ParseFunctionBody()
2651 FwdRef->replaceAllUsesWith(BlockAddress::get(F, FunctionBBs[BlockIdx])); in ParseFunctionBody()