Lines Matching defs:Stack

268     if (AlignPackStack.Stack.empty()) {
389 if (AlignPackStack.Stack.empty()) {
489 if (AlignPackStack.Stack.empty())
496 for (const auto &StackSlot : llvm::reverse(AlignPackStack.Stack)) {
604 if (FpPragmaStack.Stack.empty()) {
626 if (Action & PSK_Pop && VtorDispStack.Stack.empty())
643 Stack.emplace_back(Slot(StackSlotLabel, CurrentValue, CurrentPragmaLocation,
648 auto I = llvm::find_if(llvm::reverse(Stack), [&](const Slot &x) {
652 if (I != Stack.rend()) {
655 Stack.erase(std::prev(I.base()), Stack.end());
661 auto I = llvm::find_if(llvm::reverse(Stack), [&](const Slot &x) {
665 if (I != Stack.rend()) {
666 Stack.erase(std::prev(I.base()), Stack.end());
667 if (Stack.empty()) {
671 CurrentValue = Stack.back().Value;
672 CurrentPragmaLocation = Stack.back().PragmaLocation;
673 Stack.pop_back();
676 } else if (!Stack.empty()) {
683 CurrentValue = Stack.back().Value;
684 CurrentPragmaLocation = Stack.back().PragmaLocation;
685 Stack.pop_back();
753 PragmaStack<StringLiteral *> *Stack =
759 if (Action & PSK_Pop && Stack->Stack.empty())
771 Stack->Act(PragmaLocation, Action, StackSlotLabel, SegmentName);
778 if (Action & PSK_Pop && StrictGuardStackCheckStack.Stack.empty())
1224 VisStack *Stack = static_cast<VisStack*>(VisContext);
1225 unsigned rawType = Stack->back().first;
1230 SourceLocation loc = Stack->back().second;
1245 VisStack *Stack = static_cast<VisStack*>(S.VisContext);
1246 Stack->push_back(std::make_pair(type, loc));
1380 VisStack *Stack = static_cast<VisStack*>(VisContext);
1382 const std::pair<unsigned, SourceLocation> *Back = &Stack->back();
1390 Stack->pop_back();
1391 Back = &Stack->back();
1400 Stack->pop_back();
1402 if (Stack->empty())