Lines Matching refs:Stack

86   unsigned getBranchDepth(const SmallVectorImpl<EndMarkerInfo> &Stack,
88 unsigned getDelegateDepth(const SmallVectorImpl<EndMarkerInfo> &Stack,
90 unsigned getRethrowDepth(const SmallVectorImpl<EndMarkerInfo> &Stack,
1566 const SmallVectorImpl<EndMarkerInfo> &Stack, const MachineBasicBlock *MBB) { in getBranchDepth() argument
1568 for (auto X : reverse(Stack)) { in getBranchDepth()
1573 assert(Depth < Stack.size() && "Branch destination should be in scope"); in getBranchDepth()
1578 const SmallVectorImpl<EndMarkerInfo> &Stack, const MachineBasicBlock *MBB) { in getDelegateDepth() argument
1580 return Stack.size(); in getDelegateDepth()
1586 return getBranchDepth(Stack, MBB); in getDelegateDepth()
1603 for (auto X : reverse(Stack)) { in getDelegateDepth()
1608 assert(Depth < Stack.size() && "Delegate destination should be in scope"); in getDelegateDepth()
1613 const SmallVectorImpl<EndMarkerInfo> &Stack, in getRethrowDepth() argument
1616 for (auto X : reverse(Stack)) { in getRethrowDepth()
1625 assert(Depth < Stack.size() && "Rethrow destination should be in scope"); in getRethrowDepth()
1631 SmallVector<EndMarkerInfo, 8> Stack; in rewriteDepthImmediates() local
1637 assert(ScopeTops[Stack.back().first->getNumber()]->getNumber() <= in rewriteDepthImmediates()
1640 Stack.pop_back(); in rewriteDepthImmediates()
1644 assert(Stack.back().first == &MBB && "Loop top should be balanced"); in rewriteDepthImmediates()
1645 Stack.pop_back(); in rewriteDepthImmediates()
1650 Stack.push_back(std::make_pair(&MBB, &MI)); in rewriteDepthImmediates()
1654 Stack.push_back(std::make_pair(EndToBegin[&MI]->getParent(), &MI)); in rewriteDepthImmediates()
1667 getDelegateDepth(Stack, MO.getMBB())); in rewriteDepthImmediates()
1670 getRethrowDepth(Stack, MO.getMBB())); in rewriteDepthImmediates()
1673 getBranchDepth(Stack, MO.getMBB())); in rewriteDepthImmediates()
1680 Stack.push_back(std::make_pair(&MBB, &MI)); in rewriteDepthImmediates()
1685 assert(Stack.empty() && "Control flow should be balanced"); in rewriteDepthImmediates()