Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DParallel.cpp88 WorkStack.push(F); in add()
97 Cond.wait(Lock, [&] { return Stop || !WorkStack.empty(); }); in work()
100 auto Task = WorkStack.top(); in work()
101 WorkStack.pop(); in work()
109 std::stack<std::function<void()>> WorkStack; member in __anon881c7aac0111::ThreadPoolExecutor
/external/swiftshader/third_party/subzero/src/
DIceLoopAnalyzer.cpp108 LoopNodePtrList WorkStack; member in Ice::LoopAnalyzer
150 WorkStack.reserve(Nodes.size()); in LoopAnalyzer()
169 assert(WorkStack.empty()); in computeLoopNestDepth()
176 WorkStack.push_back(&Node); in computeLoopNestDepth()
178 while (!WorkStack.empty()) { in computeLoopNestDepth()
179 LoopNode &WorkNode = *WorkStack.back(); in computeLoopNestDepth()
181 WorkStack.push_back(Succ); in computeLoopNestDepth()
183 WorkStack.pop_back(); in computeLoopNestDepth()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DLexicalScopes.cpp216 SmallVector<LexicalScope *, 4> WorkStack; in constructScopeNest() local
217 WorkStack.push_back(Scope); in constructScopeNest()
219 while (!WorkStack.empty()) { in constructScopeNest()
220 LexicalScope *WS = WorkStack.back(); in constructScopeNest()
227 WorkStack.push_back(ChildScope); in constructScopeNest()
234 WorkStack.pop_back(); in constructScopeNest()
/external/llvm/lib/CodeGen/
DLexicalScopes.cpp218 SmallVector<LexicalScope *, 4> WorkStack; in constructScopeNest() local
219 WorkStack.push_back(Scope); in constructScopeNest()
221 while (!WorkStack.empty()) { in constructScopeNest()
222 LexicalScope *WS = WorkStack.back(); in constructScopeNest()
230 WorkStack.push_back(ChildScope); in constructScopeNest()
237 WorkStack.pop_back(); in constructScopeNest()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DLexicalScopes.cpp235 SmallVector<LexicalScope *, 4> WorkStack; in constructScopeNest() local
236 WorkStack.push_back(Scope); in constructScopeNest()
238 while (!WorkStack.empty()) { in constructScopeNest()
239 LexicalScope *WS = WorkStack.back(); in constructScopeNest()
244 WorkStack.push_back(ChildScope); in constructScopeNest()
250 WorkStack.pop_back(); in constructScopeNest()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DGenericDomTree.h152 SmallVector<DomTreeNodeBase *, 64> WorkStack = {this};
154 while (!WorkStack.empty()) {
155 DomTreeNodeBase *Current = WorkStack.pop_back_val();
160 if (C->Level != C->IDom->Level + 1) WorkStack.push_back(C);
719 32> WorkStack;
728 WorkStack.push_back({ThisRoot, ThisRoot->begin()});
733 while (!WorkStack.empty()) {
734 const DomTreeNodeBase<NodeT> *Node = WorkStack.back().first;
735 const auto ChildIt = WorkStack.back().second;
741 WorkStack.pop_back();
[all …]
/external/llvm/include/llvm/Support/
DGenericDomTree.h678 32> WorkStack; in updateDFSNumbers() local
689 WorkStack.push_back(std::make_pair(ThisRoot, ThisRoot->begin())); in updateDFSNumbers()
692 while (!WorkStack.empty()) { in updateDFSNumbers()
693 const DomTreeNodeBase<NodeT> *Node = WorkStack.back().first; in updateDFSNumbers()
695 WorkStack.back().second; in updateDFSNumbers()
701 WorkStack.pop_back(); in updateDFSNumbers()
705 ++WorkStack.back().second; in updateDFSNumbers()
707 WorkStack.push_back(std::make_pair(Child, Child->begin())); in updateDFSNumbers()
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DDominators.h587 typename DomTreeNodeBase<NodeT>::iterator>, 32> WorkStack; in updateDFSNumbers() local
598 WorkStack.push_back(std::make_pair(ThisRoot, ThisRoot->begin())); in updateDFSNumbers()
601 while (!WorkStack.empty()) { in updateDFSNumbers()
602 DomTreeNodeBase<NodeT> *Node = WorkStack.back().first; in updateDFSNumbers()
604 WorkStack.back().second; in updateDFSNumbers()
610 WorkStack.pop_back(); in updateDFSNumbers()
614 ++WorkStack.back().second; in updateDFSNumbers()
616 WorkStack.push_back(std::make_pair(Child, Child->begin())); in updateDFSNumbers()
/external/llvm/lib/Transforms/Utils/
DMemorySSA.cpp226 SmallVector<RenamePassData, 32> WorkStack; in renamePass() local
228 WorkStack.push_back({Root, Root->begin(), IncomingVal}); in renamePass()
231 while (!WorkStack.empty()) { in renamePass()
232 DomTreeNode *Node = WorkStack.back().DTN; in renamePass()
233 DomTreeNode::const_iterator ChildIt = WorkStack.back().ChildIt; in renamePass()
234 IncomingVal = WorkStack.back().IncomingVal; in renamePass()
237 WorkStack.pop_back(); in renamePass()
240 ++WorkStack.back().ChildIt; in renamePass()
244 WorkStack.push_back({Child, Child->begin(), IncomingVal}); in renamePass()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DMemorySSA.cpp986 SmallVector<RenamePassData, 32> WorkStack; in renamePass() local
996 WorkStack.push_back({Root, Root->begin(), IncomingVal}); in renamePass()
998 while (!WorkStack.empty()) { in renamePass()
999 DomTreeNode *Node = WorkStack.back().DTN; in renamePass()
1000 DomTreeNode::const_iterator ChildIt = WorkStack.back().ChildIt; in renamePass()
1001 IncomingVal = WorkStack.back().IncomingVal; in renamePass()
1004 WorkStack.pop_back(); in renamePass()
1007 ++WorkStack.back().ChildIt; in renamePass()
1023 WorkStack.push_back({Child, Child->begin(), IncomingVal}); in renamePass()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsSEISelLowering.cpp720 SmallVector<APInt, 16> WorkStack(1, C); in shouldTransformMulToShiftsAddsSubs() local
724 while (!WorkStack.empty()) { in shouldTransformMulToShiftsAddsSubs()
725 APInt Val = WorkStack.pop_back_val(); in shouldTransformMulToShiftsAddsSubs()
740 WorkStack.push_back(Floor); in shouldTransformMulToShiftsAddsSubs()
741 WorkStack.push_back(Val - Floor); in shouldTransformMulToShiftsAddsSubs()
746 WorkStack.push_back(Ceil); in shouldTransformMulToShiftsAddsSubs()
747 WorkStack.push_back(Ceil - Val); in shouldTransformMulToShiftsAddsSubs()