/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | Parallel.cpp | 87 WorkStack.push(F); in add() 96 Cond.wait(Lock, [&] { return Stop || !WorkStack.empty(); }); in work() 99 auto Task = WorkStack.top(); in work() 100 WorkStack.pop(); in work() 107 std::stack<std::function<void()>> WorkStack; member in llvm::parallel::detail::__anon594942540111::ThreadPoolExecutor
|
/external/swiftshader/third_party/subzero/src/ |
D | IceLoopAnalyzer.cpp | 108 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/llvm-project/llvm/lib/Support/ |
D | Parallel.cpp | 92 WorkStack.push(F); in add() 102 Cond.wait(Lock, [&] { return Stop || !WorkStack.empty(); }); in work() 105 auto Task = WorkStack.top(); in work() 106 WorkStack.pop(); in work() 113 std::stack<std::function<void()>> WorkStack; member in llvm::parallel::detail::__anonba22a6e00111::ThreadPoolExecutor
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | LexicalScopes.cpp | 235 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/llvm/lib/CodeGen/ |
D | LexicalScopes.cpp | 218 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/llvm-project/llvm/lib/CodeGen/ |
D | LexicalScopes.cpp | 238 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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | GenericDomTree.h | 152 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); 691 32> WorkStack; 700 WorkStack.push_back({ThisRoot, ThisRoot->begin()}); 705 while (!WorkStack.empty()) { 706 const DomTreeNodeBase<NodeT> *Node = WorkStack.back().first; 707 const auto ChildIt = WorkStack.back().second; 713 WorkStack.pop_back(); [all …]
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | GenericDomTree.h | 158 SmallVector<DomTreeNodeBase *, 64> WorkStack = {this}; 160 while (!WorkStack.empty()) { 161 DomTreeNodeBase *Current = WorkStack.pop_back_val(); 166 if (C->Level != C->IDom->Level + 1) WorkStack.push_back(C); 738 32> WorkStack; 747 WorkStack.push_back({ThisRoot, ThisRoot->begin()}); 752 while (!WorkStack.empty()) { 753 const DomTreeNodeBase<NodeT> *Node = WorkStack.back().first; 754 const auto ChildIt = WorkStack.back().second; 760 WorkStack.pop_back(); [all …]
|
/external/llvm/include/llvm/Support/ |
D | GenericDomTree.h | 678 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/llvm/lib/Transforms/Utils/ |
D | MemorySSA.cpp | 226 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-10.0/llvm/lib/Analysis/ |
D | MemorySSA.cpp | 1143 SmallVector<RenamePassData, 32> WorkStack; in renamePass() local 1153 WorkStack.push_back({Root, Root->begin(), IncomingVal}); in renamePass() 1155 while (!WorkStack.empty()) { in renamePass() 1156 DomTreeNode *Node = WorkStack.back().DTN; in renamePass() 1157 DomTreeNode::const_iterator ChildIt = WorkStack.back().ChildIt; in renamePass() 1158 IncomingVal = WorkStack.back().IncomingVal; in renamePass() 1161 WorkStack.pop_back(); in renamePass() 1164 ++WorkStack.back().ChildIt; in renamePass() 1180 WorkStack.push_back({Child, Child->begin(), IncomingVal}); in renamePass()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | MemorySSA.cpp | 1169 SmallVector<RenamePassData, 32> WorkStack; in renamePass() local 1179 WorkStack.push_back({Root, Root->begin(), IncomingVal}); in renamePass() 1181 while (!WorkStack.empty()) { in renamePass() 1182 DomTreeNode *Node = WorkStack.back().DTN; in renamePass() 1183 DomTreeNode::const_iterator ChildIt = WorkStack.back().ChildIt; in renamePass() 1184 IncomingVal = WorkStack.back().IncomingVal; in renamePass() 1187 WorkStack.pop_back(); in renamePass() 1190 ++WorkStack.back().ChildIt; in renamePass() 1206 WorkStack.push_back({Child, Child->begin(), IncomingVal}); in renamePass()
|
/external/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
D | Core.cpp | 1797 SmallVector<JITDylibSP, 64> WorkStack; in getDFSLinkOrder() local 1798 WorkStack.push_back(JD); in getDFSLinkOrder() 1801 while (!WorkStack.empty()) { in getDFSLinkOrder() 1802 Result.push_back(std::move(WorkStack.back())); in getDFSLinkOrder() 1803 WorkStack.pop_back(); in getDFSLinkOrder() 1810 WorkStack.push_back(&JD); in getDFSLinkOrder()
|
/external/llvm-project/llvm/lib/Target/Mips/ |
D | MipsSEISelLowering.cpp | 747 SmallVector<APInt, 16> WorkStack(1, C); in shouldTransformMulToShiftsAddsSubs() local 751 while (!WorkStack.empty()) { in shouldTransformMulToShiftsAddsSubs() 752 APInt Val = WorkStack.pop_back_val(); in shouldTransformMulToShiftsAddsSubs() 769 WorkStack.push_back(Floor); in shouldTransformMulToShiftsAddsSubs() 770 WorkStack.push_back(Val - Floor); in shouldTransformMulToShiftsAddsSubs() 772 WorkStack.push_back(Ceil); in shouldTransformMulToShiftsAddsSubs() 773 WorkStack.push_back(Ceil - Val); in shouldTransformMulToShiftsAddsSubs()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MipsSEISelLowering.cpp | 747 SmallVector<APInt, 16> WorkStack(1, C); in shouldTransformMulToShiftsAddsSubs() local 751 while (!WorkStack.empty()) { in shouldTransformMulToShiftsAddsSubs() 752 APInt Val = WorkStack.pop_back_val(); in shouldTransformMulToShiftsAddsSubs() 769 WorkStack.push_back(Floor); in shouldTransformMulToShiftsAddsSubs() 770 WorkStack.push_back(Val - Floor); in shouldTransformMulToShiftsAddsSubs() 772 WorkStack.push_back(Ceil); in shouldTransformMulToShiftsAddsSubs() 773 WorkStack.push_back(Ceil - Val); in shouldTransformMulToShiftsAddsSubs()
|