/external/llvm/lib/Transforms/Scalar/ |
ConstantProp.cpp | 67 // Initialize the worklist to all of the instructions ready to process... 68 std::set<Instruction*> WorkList; 70 WorkList.insert(&I); 77 while (!WorkList.empty()) { 78 Instruction *I = *WorkList.begin(); 79 WorkList.erase(WorkList.begin()); // Get an element from the worklist... 83 // Add all of the users of this instruction to the worklist, they might 86 WorkList.insert(cast<Instruction>(U)) [all...] |
DCE.cpp | 76 SmallSetVector<Instruction *, 16> &WorkList, 93 WorkList.insert(OpI); 105 SmallSetVector<Instruction *, 16> WorkList; 106 // Iterate over the original function, only adding insts to the worklist 108 // the worklist with the entire function's worth of instructions. 114 // worklist from an earlier visit. 115 if (!WorkList.count(I)) 116 MadeChange |= DCEInstruction(I, WorkList, TLI); 119 while (!WorkList.empty()) { 120 Instruction *I = WorkList.pop_back_val() [all...] |
Reg2Mem.cpp | 91 std::list<Instruction*> WorkList; 97 WorkList.push_front(&*iib); 102 NumRegsDemoted += WorkList.size(); 103 for (Instruction *ilb : WorkList) 106 WorkList.clear(); 113 WorkList.push_front(&*iib); 116 NumPhisDemoted += WorkList.size(); 117 for (Instruction *ilb : WorkList)
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
ConstantProp.cpp | 59 // Initialize the worklist to all of the instructions ready to process... 60 std::set<Instruction*> WorkList; 62 WorkList.insert(&*i); 66 while (!WorkList.empty()) { 67 Instruction *I = *WorkList.begin(); 68 WorkList.erase(WorkList.begin()); // Get an element from the worklist... 72 // Add all of the users of this instruction to the worklist, they might 76 WorkList.insert(cast<Instruction>(*UI)) [all...] |
DCE.cpp | 90 // Start out with all of the instructions in the worklist... 91 std::vector<Instruction*> WorkList; 93 WorkList.push_back(&*i); 95 // Loop over the worklist finding instructions that are dead. If they are 97 // potentially dead, and work until the worklist is empty. 100 while (!WorkList.empty()) { 101 Instruction *I = WorkList.back(); 102 WorkList.pop_back(); 106 // instructions being used, add them to the worklist, because they might 111 WorkList.push_back(Used) [all...] |
Reg2Mem.cpp | 92 std::list<Instruction*> WorkList; 99 WorkList.push_front(&*iib); 104 NumRegsDemoted += WorkList.size(); 105 for (std::list<Instruction*>::iterator ilb = WorkList.begin(), 106 ile = WorkList.end(); ilb != ile; ++ilb) 109 WorkList.clear(); 117 WorkList.push_front(&*iib); 120 NumPhisDemoted += WorkList.size(); 121 for (std::list<Instruction*>::iterator ilb = WorkList.begin(), 122 ile = WorkList.end(); ilb != ile; ++ilb [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
WorkList.h | 1 //==- WorkList.h - Worklist class used by CoreEngine ---------------*- C++ -*-// 10 // This file defines WorkList, a pure virtual class that represents an opaque 11 // worklist used by CoreEngine to explore the reachability state space. 48 /// Returns the node associated with the worklist unit. 51 /// Returns the block counter map associated with the worklist unit. 54 /// Returns the CFGblock associated with the worklist unit. 57 /// Return the index within the CFGBlock for the worklist unit. 61 class WorkList { 64 virtual ~WorkList(); [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
WorkList.h | 1 //==- WorkList.h - Worklist class used by CoreEngine ---------------*- C++ -*-// 10 // This file defines WorkList, a pure virtual class that represents an opaque 11 // worklist used by CoreEngine to explore the reachability state space. 48 /// Returns the node associated with the worklist unit. 51 /// Returns the block counter map associated with the worklist unit. 54 /// Returns the CFGblock associated with the worklist unit. 57 /// Return the index within the CFGBlock for the worklist unit. 61 class WorkList { 64 virtual ~WorkList(); [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/include/clang/StaticAnalyzer/Core/PathSensitive/ |
WorkList.h | 1 //==- WorkList.h - Worklist class used by CoreEngine ---------------*- C++ -*-// 10 // This file defines WorkList, a pure virtual class that represents an opaque 11 // worklist used by CoreEngine to explore the reachability state space. 48 /// Returns the node associated with the worklist unit. 51 /// Returns the block counter map associated with the worklist unit. 54 /// Returns the CFGblock associated with the worklist unit. 57 /// Return the index within the CFGBlock for the worklist unit. 61 class WorkList { 64 virtual ~WorkList(); [all...] |
/prebuilts/clang/host/darwin-x86/clang-4479392/include/clang/StaticAnalyzer/Core/PathSensitive/ |
WorkList.h | 1 //==- WorkList.h - Worklist class used by CoreEngine ---------------*- C++ -*-// 10 // This file defines WorkList, a pure virtual class that represents an opaque 11 // worklist used by CoreEngine to explore the reachability state space. 48 /// Returns the node associated with the worklist unit. 51 /// Returns the block counter map associated with the worklist unit. 54 /// Returns the CFGblock associated with the worklist unit. 57 /// Return the index within the CFGBlock for the worklist unit. 61 class WorkList { 64 virtual ~WorkList(); [all...] |
/prebuilts/clang/host/darwin-x86/clang-4579689/include/clang/StaticAnalyzer/Core/PathSensitive/ |
WorkList.h | 1 //==- WorkList.h - Worklist class used by CoreEngine ---------------*- C++ -*-// 10 // This file defines WorkList, a pure virtual class that represents an opaque 11 // worklist used by CoreEngine to explore the reachability state space. 48 /// Returns the node associated with the worklist unit. 51 /// Returns the block counter map associated with the worklist unit. 54 /// Returns the CFGblock associated with the worklist unit. 57 /// Return the index within the CFGBlock for the worklist unit. 61 class WorkList { 64 virtual ~WorkList(); [all...] |
/prebuilts/clang/host/darwin-x86/clang-4630689/include/clang/StaticAnalyzer/Core/PathSensitive/ |
WorkList.h | 1 //==- WorkList.h - Worklist class used by CoreEngine ---------------*- C++ -*-// 10 // This file defines WorkList, a pure virtual class that represents an opaque 11 // worklist used by CoreEngine to explore the reachability state space. 48 /// Returns the node associated with the worklist unit. 51 /// Returns the block counter map associated with the worklist unit. 54 /// Returns the CFGblock associated with the worklist unit. 57 /// Return the index within the CFGBlock for the worklist unit. 61 class WorkList { 64 virtual ~WorkList(); [all...] |
/prebuilts/clang/host/darwin-x86/clang-4639204/include/clang/StaticAnalyzer/Core/PathSensitive/ |
WorkList.h | 1 //==- WorkList.h - Worklist class used by CoreEngine ---------------*- C++ -*-// 10 // This file defines WorkList, a pure virtual class that represents an opaque 11 // worklist used by CoreEngine to explore the reachability state space. 48 /// Returns the node associated with the worklist unit. 51 /// Returns the block counter map associated with the worklist unit. 54 /// Returns the CFGblock associated with the worklist unit. 57 /// Return the index within the CFGBlock for the worklist unit. 61 class WorkList { 64 virtual ~WorkList(); [all...] |
/prebuilts/clang/host/darwin-x86/clang-4691093/include/clang/StaticAnalyzer/Core/PathSensitive/ |
WorkList.h | 1 //==- WorkList.h - Worklist class used by CoreEngine ---------------*- C++ -*-// 10 // This file defines WorkList, a pure virtual class that represents an opaque 11 // worklist used by CoreEngine to explore the reachability state space. 48 /// Returns the node associated with the worklist unit. 51 /// Returns the block counter map associated with the worklist unit. 54 /// Returns the CFGblock associated with the worklist unit. 57 /// Return the index within the CFGBlock for the worklist unit. 61 class WorkList { 64 virtual ~WorkList(); [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
WorkList.h | 1 //==- WorkList.h - Worklist class used by CoreEngine ---------------*- C++ -*-// 10 // This file defines WorkList, a pure virtual class that represents an opaque 11 // worklist used by CoreEngine to explore the reachability state space. 48 /// Returns the node associated with the worklist unit. 51 /// Returns the block counter map associated with the worklist unit. 54 /// Returns the CFGblock associated with the worklist unit. 57 /// Return the index within the CFGBlock for the worklist unit. 61 class WorkList { 64 virtual ~WorkList(); [all...] |
/prebuilts/clang/host/linux-x86/clang-4393122/include/clang/StaticAnalyzer/Core/PathSensitive/ |
WorkList.h | 1 //==- WorkList.h - Worklist class used by CoreEngine ---------------*- C++ -*-// 10 // This file defines WorkList, a pure virtual class that represents an opaque 11 // worklist used by CoreEngine to explore the reachability state space. 48 /// Returns the node associated with the worklist unit. 51 /// Returns the block counter map associated with the worklist unit. 54 /// Returns the CFGblock associated with the worklist unit. 57 /// Return the index within the CFGBlock for the worklist unit. 61 class WorkList { 64 virtual ~WorkList(); [all...] |
/prebuilts/clang/host/linux-x86/clang-4479392/include/clang/StaticAnalyzer/Core/PathSensitive/ |
WorkList.h | 1 //==- WorkList.h - Worklist class used by CoreEngine ---------------*- C++ -*-// 10 // This file defines WorkList, a pure virtual class that represents an opaque 11 // worklist used by CoreEngine to explore the reachability state space. 48 /// Returns the node associated with the worklist unit. 51 /// Returns the block counter map associated with the worklist unit. 54 /// Returns the CFGblock associated with the worklist unit. 57 /// Return the index within the CFGBlock for the worklist unit. 61 class WorkList { 64 virtual ~WorkList(); [all...] |
/prebuilts/clang/host/linux-x86/clang-4579689/include/clang/StaticAnalyzer/Core/PathSensitive/ |
WorkList.h | 1 //==- WorkList.h - Worklist class used by CoreEngine ---------------*- C++ -*-// 10 // This file defines WorkList, a pure virtual class that represents an opaque 11 // worklist used by CoreEngine to explore the reachability state space. 48 /// Returns the node associated with the worklist unit. 51 /// Returns the block counter map associated with the worklist unit. 54 /// Returns the CFGblock associated with the worklist unit. 57 /// Return the index within the CFGBlock for the worklist unit. 61 class WorkList { 64 virtual ~WorkList(); [all...] |
/prebuilts/clang/host/linux-x86/clang-4630689/include/clang/StaticAnalyzer/Core/PathSensitive/ |
WorkList.h | 1 //==- WorkList.h - Worklist class used by CoreEngine ---------------*- C++ -*-// 10 // This file defines WorkList, a pure virtual class that represents an opaque 11 // worklist used by CoreEngine to explore the reachability state space. 48 /// Returns the node associated with the worklist unit. 51 /// Returns the block counter map associated with the worklist unit. 54 /// Returns the CFGblock associated with the worklist unit. 57 /// Return the index within the CFGBlock for the worklist unit. 61 class WorkList { 64 virtual ~WorkList(); [all...] |
/prebuilts/clang/host/linux-x86/clang-4639204/include/clang/StaticAnalyzer/Core/PathSensitive/ |
WorkList.h | 1 //==- WorkList.h - Worklist class used by CoreEngine ---------------*- C++ -*-// 10 // This file defines WorkList, a pure virtual class that represents an opaque 11 // worklist used by CoreEngine to explore the reachability state space. 48 /// Returns the node associated with the worklist unit. 51 /// Returns the block counter map associated with the worklist unit. 54 /// Returns the CFGblock associated with the worklist unit. 57 /// Return the index within the CFGBlock for the worklist unit. 61 class WorkList { 64 virtual ~WorkList(); [all...] |
/prebuilts/clang/host/linux-x86/clang-4691093/include/clang/StaticAnalyzer/Core/PathSensitive/ |
WorkList.h | 1 //==- WorkList.h - Worklist class used by CoreEngine ---------------*- C++ -*-// 10 // This file defines WorkList, a pure virtual class that represents an opaque 11 // worklist used by CoreEngine to explore the reachability state space. 48 /// Returns the node associated with the worklist unit. 51 /// Returns the block counter map associated with the worklist unit. 54 /// Returns the CFGblock associated with the worklist unit. 57 /// Return the index within the CFGBlock for the worklist unit. 61 class WorkList { 64 virtual ~WorkList(); [all...] |
/external/llvm/include/llvm/Analysis/ |
LoopPassManager.h | 96 SmallVector<Loop *, 2> WorkList(LI.begin(), LI.end()); 97 while (!WorkList.empty()) { 98 Loop *L = WorkList.pop_back_val(); 99 WorkList.insert(WorkList.end(), L->begin(), L->end());
|
/external/llvm/lib/CodeGen/ |
ScheduleDAG.cpp | 180 SmallVector<SUnit*, 8> WorkList; 181 WorkList.push_back(this); 183 SUnit *SU = WorkList.pop_back_val(); 189 WorkList.push_back(SuccSU); 191 } while (!WorkList.empty()); 196 SmallVector<SUnit*, 8> WorkList; 197 WorkList.push_back(this); 199 SUnit *SU = WorkList.pop_back_val(); 205 WorkList.push_back(PredSU); 207 } while (!WorkList.empty()) [all...] |
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
ScheduleDAG.cpp | 170 SmallVector<SUnit*, 8> WorkList; 171 WorkList.push_back(this); 173 SUnit *SU = WorkList.pop_back_val(); 179 WorkList.push_back(SuccSU); 181 } while (!WorkList.empty()); 186 SmallVector<SUnit*, 8> WorkList; 187 WorkList.push_back(this); 189 SUnit *SU = WorkList.pop_back_val(); 195 WorkList.push_back(PredSU); 197 } while (!WorkList.empty()) [all...] |
/external/skia/src/core/ |
SkExecutor.cpp | 63 template <typename WorkList> 129 WorkList fWork; 135 using WorkList = std::deque<std::function<void(void)>>; 136 return skstd::make_unique<SkThreadPool<WorkList>>(threads > 0 ? threads : num_cores()); 139 using WorkList = SkTArray<std::function<void(void)>>; 140 return skstd::make_unique<SkThreadPool<WorkList>>(threads > 0 ? threads : num_cores());
|