Home
last modified time | relevance | path

Searched refs:WorkStack (Results 1 – 8 of 8) sorted by relevance

/openbsd/gnu/llvm/llvm/lib/Support/
H A DParallel.cpp100 WorkStack.push(std::move(F)); in add()
111 Cond.wait(Lock, [&] { return Stop || !WorkStack.empty(); }); in work()
114 auto Task = std::move(WorkStack.top()); in work()
115 WorkStack.pop(); in work()
122 std::stack<std::function<void()>> WorkStack; member in llvm::parallel::detail::__anon4ef2db760111::ThreadPoolExecutor
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DLexicalScopes.cpp238 SmallVector<std::pair<LexicalScope *, size_t>, 4> WorkStack; in constructScopeNest() local
239 WorkStack.push_back(std::make_pair(Scope, 0)); in constructScopeNest()
241 while (!WorkStack.empty()) { in constructScopeNest()
242 auto &ScopePosition = WorkStack.back(); in constructScopeNest()
248 WorkStack.push_back(std::make_pair(ChildScope, 0)); in constructScopeNest()
251 WorkStack.pop_back(); in constructScopeNest()
/openbsd/gnu/llvm/llvm/include/llvm/Support/
H A DGenericDomTree.h159 SmallVector<DomTreeNodeBase *, 64> WorkStack = {this};
161 while (!WorkStack.empty()) {
162 DomTreeNodeBase *Current = WorkStack.pop_back_val();
167 if (C->Level != C->IDom->Level + 1) WorkStack.push_back(C);
757 32> WorkStack;
766 WorkStack.push_back({ThisRoot, ThisRoot->begin()});
771 while (!WorkStack.empty()) {
773 const auto ChildIt = WorkStack.back().second;
779 WorkStack.pop_back();
783 ++WorkStack.back().second;
[all …]
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DMemorySSA.cpp1154 SmallVector<RenamePassData, 32> WorkStack; in renamePass() local
1164 WorkStack.push_back({Root, Root->begin(), IncomingVal}); in renamePass()
1166 while (!WorkStack.empty()) { in renamePass()
1167 DomTreeNode *Node = WorkStack.back().DTN; in renamePass()
1168 DomTreeNode::const_iterator ChildIt = WorkStack.back().ChildIt; in renamePass()
1169 IncomingVal = WorkStack.back().IncomingVal; in renamePass()
1172 WorkStack.pop_back(); in renamePass()
1175 ++WorkStack.back().ChildIt; in renamePass()
1191 WorkStack.push_back({Child, Child->begin(), IncomingVal}); in renamePass()
/openbsd/gnu/llvm/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.cpp3441 SmallVector<std::pair<LexicalScope *, ssize_t>, 4> WorkStack; in makeDepthFirstEjectionMap() local
3448 while (!WorkStack.empty()) { in makeDepthFirstEjectionMap()
3449 auto &ScopePosition = WorkStack.back(); in makeDepthFirstEjectionMap()
3458 WorkStack.push_back( in makeDepthFirstEjectionMap()
3461 WorkStack.pop_back(); in makeDepthFirstEjectionMap()
3534 SmallVector<std::pair<LexicalScope *, ssize_t>, 4> WorkStack; in depthFirstVLocAndEmit() local
3535 WorkStack.push_back({LS.getCurrentFunctionScope(), 0}); in depthFirstVLocAndEmit()
3539 while (!WorkStack.empty()) { in depthFirstVLocAndEmit()
3540 auto &ScopePosition = WorkStack.back(); in depthFirstVLocAndEmit()
3566 WorkStack.push_back(std::make_pair(ChildScope, 0)); in depthFirstVLocAndEmit()
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonVectorCombine.cpp645 AddrList WorkStack; in createAddressGroups() local
648 for (AddrInfo &W : WorkStack) { in createAddressGroups()
667 WorkStack.push_back(*AI); in createAddressGroups()
676 while (!WorkStack.empty() && WorkStack.back().Inst->getParent() == &Block) in createAddressGroups()
677 WorkStack.pop_back(); in createAddressGroups()
681 assert(WorkStack.empty()); in createAddressGroups()
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/Orc/
H A DCore.cpp2014 SmallVector<JITDylibSP, 64> WorkStack; in getDFSLinkOrder() local
2015 WorkStack.push_back(JD); in getDFSLinkOrder()
2018 while (!WorkStack.empty()) { in getDFSLinkOrder()
2019 Result.push_back(std::move(WorkStack.back())); in getDFSLinkOrder()
2020 WorkStack.pop_back(); in getDFSLinkOrder()
2026 WorkStack.push_back(&JD); in getDFSLinkOrder()
/openbsd/gnu/llvm/llvm/lib/Target/Mips/
H A DMipsSEISelLowering.cpp740 SmallVector<APInt, 16> WorkStack(1, C); in shouldTransformMulToShiftsAddsSubs() local
744 while (!WorkStack.empty()) { in shouldTransformMulToShiftsAddsSubs()
745 APInt Val = WorkStack.pop_back_val(); in shouldTransformMulToShiftsAddsSubs()
762 WorkStack.push_back(Floor); in shouldTransformMulToShiftsAddsSubs()
763 WorkStack.push_back(Val - Floor); in shouldTransformMulToShiftsAddsSubs()
765 WorkStack.push_back(Ceil); in shouldTransformMulToShiftsAddsSubs()
766 WorkStack.push_back(Ceil - Val); in shouldTransformMulToShiftsAddsSubs()