Lines Matching refs:Stack

366     if (AlignPackStack.Stack.empty()) {
487 if (AlignPackStack.Stack.empty()) {
587 if (AlignPackStack.Stack.empty())
594 for (const auto &StackSlot : llvm::reverse(AlignPackStack.Stack)) {
702 if (FpPragmaStack.Stack.empty()) {
724 if (Action & PSK_Pop && VtorDispStack.Stack.empty())
741 Stack.emplace_back(Slot(StackSlotLabel, CurrentValue, CurrentPragmaLocation,
746 auto I = llvm::find_if(llvm::reverse(Stack), [&](const Slot &x) {
750 if (I != Stack.rend()) {
753 Stack.erase(std::prev(I.base()), Stack.end());
759 auto I = llvm::find_if(llvm::reverse(Stack), [&](const Slot &x) {
763 if (I != Stack.rend()) {
764 Stack.erase(std::prev(I.base()), Stack.end());
765 if (Stack.empty()) {
769 CurrentValue = Stack.back().Value;
770 CurrentPragmaLocation = Stack.back().PragmaLocation;
771 Stack.pop_back();
774 } else if (!Stack.empty()) {
781 CurrentValue = Stack.back().Value;
782 CurrentPragmaLocation = Stack.back().PragmaLocation;
783 Stack.pop_back();
849 PragmaStack<StringLiteral *> *Stack =
855 if (Action & PSK_Pop && Stack->Stack.empty())
867 Stack->Act(PragmaLocation, Action, StackSlotLabel, SegmentName);
874 if (Action & PSK_Pop && StrictGuardStackCheckStack.Stack.empty())
1332 VisStack *Stack = static_cast<VisStack*>(VisContext);
1333 unsigned rawType = Stack->back().first;
1338 SourceLocation loc = Stack->back().second;
1353 VisStack *Stack = static_cast<VisStack*>(S.VisContext);
1354 Stack->push_back(std::make_pair(type, loc));
1487 VisStack *Stack = static_cast<VisStack*>(VisContext);
1489 const std::pair<unsigned, SourceLocation> *Back = &Stack->back();
1497 Stack->pop_back();
1498 Back = &Stack->back();
1507 Stack->pop_back();
1509 if (Stack->empty())