Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DGenericCycleImpl.h51 size_t NumExitBlocks = 0; in getExitBlocks() local
55 for (size_t Idx = NumExitBlocks, End = TmpStorage.size(); Idx < End; in getExitBlocks()
59 auto ExitEndIt = TmpStorage.begin() + NumExitBlocks; in getExitBlocks()
61 TmpStorage[NumExitBlocks++] = Succ; in getExitBlocks()
65 TmpStorage.resize(NumExitBlocks); in getExitBlocks()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp826 switch (NumExitBlocks) { in constructFunction()
1017 if (NumExitBlocks == 0) { in constructFunction()
1239 NumExitBlocks > 1 ? "targetBlock" : ""); in emitCallAndSwitchStatement()
1317 assert(NumExitBlocks < 0xffff && "too many exit blocks for switch"); in emitCallAndSwitchStatement()
1318 switch (NumExitBlocks) { in emitCallAndSwitchStatement()
1406 switch (NumExitBlocks) { in emitCallAndSwitchStatement()
1446 TheSwitch->setDefaultDest(TheSwitch->getSuccessor(NumExitBlocks)); in emitCallAndSwitchStatement()
1448 TheSwitch->removeCase(SwitchInst::CaseIt(TheSwitch, NumExitBlocks-1)); in emitCallAndSwitchStatement()
1772 NumExitBlocks = ExitBlocks.size(); in extractCodeRegion()
1887 if (BFI && NumExitBlocks > 1) in extractCodeRegion()
H A DSampleProfileInference.cpp1224 size_t NumExitBlocks = 0; in verifyInput() local
1228 NumExitBlocks++; in verifyInput()
1230 assert(NumExitBlocks > 0 && "cannot find exit blocks"); in verifyInput()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DCodeExtractor.h105 unsigned NumExitBlocks = std::numeric_limits<unsigned>::max();