Lines Matching refs:Stack

86   unsigned getBranchDepth(const SmallVectorImpl<EndMarkerInfo> &Stack,
88 unsigned getDelegateDepth(const SmallVectorImpl<EndMarkerInfo> &Stack,
91 getRethrowDepth(const SmallVectorImpl<EndMarkerInfo> &Stack,
1585 const SmallVectorImpl<EndMarkerInfo> &Stack, const MachineBasicBlock *MBB) { in getBranchDepth() argument
1587 for (auto X : reverse(Stack)) { in getBranchDepth()
1592 assert(Depth < Stack.size() && "Branch destination should be in scope"); in getBranchDepth()
1597 const SmallVectorImpl<EndMarkerInfo> &Stack, const MachineBasicBlock *MBB) { in getDelegateDepth() argument
1599 return Stack.size(); in getDelegateDepth()
1605 return getBranchDepth(Stack, MBB); in getDelegateDepth()
1622 for (auto X : reverse(Stack)) { in getDelegateDepth()
1627 assert(Depth < Stack.size() && "Delegate destination should be in scope"); in getDelegateDepth()
1632 const SmallVectorImpl<EndMarkerInfo> &Stack, in getRethrowDepth() argument
1656 for (auto X : reverse(Stack)) { in getRethrowDepth()
1665 assert(Depth < Stack.size() && "Rethrow destination should be in scope"); in getRethrowDepth()
1671 SmallVector<EndMarkerInfo, 8> Stack; in rewriteDepthImmediates() local
1679 assert(ScopeTops[Stack.back().first->getNumber()]->getNumber() <= in rewriteDepthImmediates()
1682 Stack.pop_back(); in rewriteDepthImmediates()
1686 assert(Stack.back().first == &MBB && "Loop top should be balanced"); in rewriteDepthImmediates()
1687 Stack.pop_back(); in rewriteDepthImmediates()
1691 Stack.push_back(std::make_pair(&MBB, &MI)); in rewriteDepthImmediates()
1697 Stack.push_back(std::make_pair(&MBB, &MI)); in rewriteDepthImmediates()
1704 Stack.push_back(std::make_pair(EndToBegin[&MI]->getParent(), &MI)); in rewriteDepthImmediates()
1713 MI.getOperand(0).setImm(getRethrowDepth(Stack, EHPadStack)); in rewriteDepthImmediates()
1726 getDelegateDepth(Stack, MO.getMBB())); in rewriteDepthImmediates()
1729 getBranchDepth(Stack, MO.getMBB())); in rewriteDepthImmediates()
1736 Stack.push_back(std::make_pair(&MBB, &MI)); in rewriteDepthImmediates()
1741 assert(Stack.empty() && "Control flow should be balanced"); in rewriteDepthImmediates()