/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | ScheduleDAG.cpp | 218 SmallVector<SUnit*, 8> WorkList; in setDepthDirty() local 219 WorkList.push_back(this); in setDepthDirty() 221 SUnit *SU = WorkList.pop_back_val(); in setDepthDirty() 226 WorkList.push_back(SuccSU); in setDepthDirty() 228 } while (!WorkList.empty()); in setDepthDirty() 233 SmallVector<SUnit*, 8> WorkList; in setHeightDirty() local 234 WorkList.push_back(this); in setHeightDirty() 236 SUnit *SU = WorkList.pop_back_val(); in setHeightDirty() 241 WorkList.push_back(PredSU); in setHeightDirty() 243 } while (!WorkList.empty()); in setHeightDirty() [all …]
|
D | ProcessImplicitDefs.cpp | 33 SmallSetVector<MachineInstr*, 16> WorkList; member in __anon1afd8b330111::ProcessImplicitDefs 89 WorkList.insert(UserMI); in processImplicitDef() 144 assert(WorkList.empty() && "Inconsistent worklist state"); in runOnMachineFunction() 152 WorkList.insert(&*MBBI); in runOnMachineFunction() 154 if (WorkList.empty()) in runOnMachineFunction() 157 LLVM_DEBUG(dbgs() << printMBBReference(*MFI) << " has " << WorkList.size() in runOnMachineFunction() 162 do processImplicitDef(WorkList.pop_back_val()); in runOnMachineFunction() 163 while (!WorkList.empty()); in runOnMachineFunction()
|
D | LiveRangeCalc.cpp | 292 SetVector<unsigned> WorkList; in isDefOnEntry() local 296 WorkList.insert(P->getNumber()); in isDefOnEntry() 298 for (unsigned i = 0; i != WorkList.size(); ++i) { in isDefOnEntry() 300 unsigned N = WorkList[i]; in isDefOnEntry() 339 WorkList.insert(P->getNumber()); in isDefOnEntry() 352 SmallVector<unsigned, 16> WorkList(1, UseMBBNum); in findReachingDefs() local 361 for (unsigned i = 0; i != WorkList.size(); ++i) { in findReachingDefs() 362 MachineBasicBlock *MBB = MF->getBlockNumbered(WorkList[i]); in findReachingDefs() 417 WorkList.push_back(Pred->getNumber()); in findReachingDefs() 431 if (WorkList.size() > 4) in findReachingDefs() [all …]
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | ScheduleDAG.cpp | 170 SmallVector<SUnit*, 8> WorkList; in setDepthDirty() local 171 WorkList.push_back(this); in setDepthDirty() 173 SUnit *SU = WorkList.pop_back_val(); in setDepthDirty() 179 WorkList.push_back(SuccSU); in setDepthDirty() 181 } while (!WorkList.empty()); in setDepthDirty() 186 SmallVector<SUnit*, 8> WorkList; in setHeightDirty() local 187 WorkList.push_back(this); in setHeightDirty() 189 SUnit *SU = WorkList.pop_back_val(); in setHeightDirty() 195 WorkList.push_back(PredSU); in setHeightDirty() 197 } while (!WorkList.empty()); in setHeightDirty() [all …]
|
/external/llvm/lib/CodeGen/ |
D | ScheduleDAG.cpp | 180 SmallVector<SUnit*, 8> WorkList; in setDepthDirty() local 181 WorkList.push_back(this); in setDepthDirty() 183 SUnit *SU = WorkList.pop_back_val(); in setDepthDirty() 189 WorkList.push_back(SuccSU); in setDepthDirty() 191 } while (!WorkList.empty()); in setDepthDirty() 196 SmallVector<SUnit*, 8> WorkList; in setHeightDirty() local 197 WorkList.push_back(this); in setHeightDirty() 199 SUnit *SU = WorkList.pop_back_val(); in setHeightDirty() 205 WorkList.push_back(PredSU); in setHeightDirty() 207 } while (!WorkList.empty()); in setHeightDirty() [all …]
|
D | ProcessImplicitDefs.cpp | 33 SmallSetVector<MachineInstr*, 16> WorkList; member in __anon9084e6db0111::ProcessImplicitDefs 91 WorkList.insert(UserMI); in processImplicitDef() 146 assert(WorkList.empty() && "Inconsistent worklist state"); in runOnMachineFunction() 154 WorkList.insert(&*MBBI); in runOnMachineFunction() 156 if (WorkList.empty()) in runOnMachineFunction() 159 DEBUG(dbgs() << "BB#" << MFI->getNumber() << " has " << WorkList.size() in runOnMachineFunction() 164 do processImplicitDef(WorkList.pop_back_val()); in runOnMachineFunction() 165 while (!WorkList.empty()); in runOnMachineFunction()
|
D | LiveRangeCalc.cpp | 279 SmallVector<unsigned, 16> WorkList(1, UseMBBNum); in findReachingDefs() local 286 for (unsigned i = 0; i != WorkList.size(); ++i) { in findReachingDefs() 287 MachineBasicBlock *MBB = MF->getBlockNumbered(WorkList[i]); in findReachingDefs() 340 WorkList.push_back(Pred->getNumber()); in findReachingDefs() 351 if (WorkList.size() > 4) in findReachingDefs() 352 array_pod_sort(WorkList.begin(), WorkList.end()); in findReachingDefs() 357 for (SmallVectorImpl<unsigned>::const_iterator I = WorkList.begin(), in findReachingDefs() 358 E = WorkList.end(); I != E; ++I) { in findReachingDefs() 373 LiveIn.reserve(WorkList.size()); in findReachingDefs() 375 I = WorkList.begin(), E = WorkList.end(); I != E; ++I) { in findReachingDefs()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | ConstantProp.cpp | 60 std::set<Instruction*> WorkList; in runOnFunction() local 62 WorkList.insert(&*i); in runOnFunction() 66 while (!WorkList.empty()) { in runOnFunction() 67 Instruction *I = *WorkList.begin(); in runOnFunction() 68 WorkList.erase(WorkList.begin()); // Get an element from the worklist... in runOnFunction() 76 WorkList.insert(cast<Instruction>(*UI)); in runOnFunction() 82 WorkList.erase(I); in runOnFunction()
|
D | DCE.cpp | 91 std::vector<Instruction*> WorkList; in runOnFunction() local 93 WorkList.push_back(&*i); in runOnFunction() 100 while (!WorkList.empty()) { in runOnFunction() 101 Instruction *I = WorkList.back(); in runOnFunction() 102 WorkList.pop_back(); in runOnFunction() 111 WorkList.push_back(Used); in runOnFunction() 117 for (std::vector<Instruction*>::iterator WI = WorkList.begin(); in runOnFunction() 118 WI != WorkList.end(); ) { in runOnFunction() 120 WI = WorkList.erase(WI); in runOnFunction()
|
D | Reg2Mem.cpp | 92 std::list<Instruction*> WorkList; in INITIALIZE_PASS_DEPENDENCY() local 99 WorkList.push_front(&*iib); in INITIALIZE_PASS_DEPENDENCY() 104 NumRegsDemoted += WorkList.size(); in INITIALIZE_PASS_DEPENDENCY() 105 for (std::list<Instruction*>::iterator ilb = WorkList.begin(), in INITIALIZE_PASS_DEPENDENCY() 106 ile = WorkList.end(); ilb != ile; ++ilb) in INITIALIZE_PASS_DEPENDENCY() 109 WorkList.clear(); in INITIALIZE_PASS_DEPENDENCY() 117 WorkList.push_front(&*iib); in INITIALIZE_PASS_DEPENDENCY() 120 NumPhisDemoted += WorkList.size(); in INITIALIZE_PASS_DEPENDENCY() 121 for (std::list<Instruction*>::iterator ilb = WorkList.begin(), in INITIALIZE_PASS_DEPENDENCY() 122 ile = WorkList.end(); ilb != ile; ++ilb) in INITIALIZE_PASS_DEPENDENCY()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | ConstantProp.cpp | 69 std::set<Instruction*> WorkList; in runOnFunction() local 71 WorkList.insert(&I); in runOnFunction() 78 while (!WorkList.empty()) { in runOnFunction() 79 Instruction *I = *WorkList.begin(); in runOnFunction() 80 WorkList.erase(WorkList.begin()); // Get an element from the worklist... in runOnFunction() 87 WorkList.insert(cast<Instruction>(U)); in runOnFunction() 93 WorkList.erase(I); in runOnFunction()
|
D | Reg2Mem.cpp | 92 std::list<Instruction*> WorkList; in INITIALIZE_PASS_DEPENDENCY() local 98 WorkList.push_front(&*iib); in INITIALIZE_PASS_DEPENDENCY() 103 NumRegsDemoted += WorkList.size(); in INITIALIZE_PASS_DEPENDENCY() 104 for (Instruction *ilb : WorkList) in INITIALIZE_PASS_DEPENDENCY() 107 WorkList.clear(); in INITIALIZE_PASS_DEPENDENCY() 114 WorkList.push_front(&*iib); in INITIALIZE_PASS_DEPENDENCY() 117 NumPhisDemoted += WorkList.size(); in INITIALIZE_PASS_DEPENDENCY() 118 for (Instruction *ilb : WorkList) in INITIALIZE_PASS_DEPENDENCY()
|
D | DCE.cpp | 77 SmallSetVector<Instruction *, 16> &WorkList, in DCEInstruction() argument 96 WorkList.insert(OpI); in DCEInstruction() 108 SmallSetVector<Instruction *, 16> WorkList; in eliminateDeadCode() local 118 if (!WorkList.count(I)) in eliminateDeadCode() 119 MadeChange |= DCEInstruction(I, WorkList, TLI); in eliminateDeadCode() 122 while (!WorkList.empty()) { in eliminateDeadCode() 123 Instruction *I = WorkList.pop_back_val(); in eliminateDeadCode() 124 MadeChange |= DCEInstruction(I, WorkList, TLI); in eliminateDeadCode()
|
/external/llvm/lib/Transforms/Scalar/ |
D | ConstantProp.cpp | 68 std::set<Instruction*> WorkList; in runOnFunction() local 70 WorkList.insert(&I); in runOnFunction() 77 while (!WorkList.empty()) { in runOnFunction() 78 Instruction *I = *WorkList.begin(); in runOnFunction() 79 WorkList.erase(WorkList.begin()); // Get an element from the worklist... in runOnFunction() 86 WorkList.insert(cast<Instruction>(U)); in runOnFunction() 92 WorkList.erase(I); in runOnFunction()
|
D | Reg2Mem.cpp | 91 std::list<Instruction*> WorkList; in INITIALIZE_PASS_DEPENDENCY() local 97 WorkList.push_front(&*iib); in INITIALIZE_PASS_DEPENDENCY() 102 NumRegsDemoted += WorkList.size(); in INITIALIZE_PASS_DEPENDENCY() 103 for (Instruction *ilb : WorkList) in INITIALIZE_PASS_DEPENDENCY() 106 WorkList.clear(); in INITIALIZE_PASS_DEPENDENCY() 113 WorkList.push_front(&*iib); in INITIALIZE_PASS_DEPENDENCY() 116 NumPhisDemoted += WorkList.size(); in INITIALIZE_PASS_DEPENDENCY() 117 for (Instruction *ilb : WorkList) in INITIALIZE_PASS_DEPENDENCY()
|
D | DCE.cpp | 76 SmallSetVector<Instruction *, 16> &WorkList, in DCEInstruction() argument 93 WorkList.insert(OpI); in DCEInstruction() 105 SmallSetVector<Instruction *, 16> WorkList; in eliminateDeadCode() local 115 if (!WorkList.count(I)) in eliminateDeadCode() 116 MadeChange |= DCEInstruction(I, WorkList, TLI); in eliminateDeadCode() 119 while (!WorkList.empty()) { in eliminateDeadCode() 120 Instruction *I = WorkList.pop_back_val(); in eliminateDeadCode() 121 MadeChange |= DCEInstruction(I, WorkList, TLI); in eliminateDeadCode()
|
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/ |
D | SSAUpdaterImpl.h | 94 SmallVector<BBInfo*, 64> WorkList; in BuildBlockList() local 98 WorkList.push_back(Info); in BuildBlockList() 104 while (!WorkList.empty()) { in BuildBlockList() 105 Info = WorkList.pop_back_val(); in BuildBlockList() 136 WorkList.push_back(PredInfo); in BuildBlockList() 151 WorkList.push_back(Info); in BuildBlockList() 154 while (!WorkList.empty()) { in BuildBlockList() 155 Info = WorkList.back(); in BuildBlockList() 163 WorkList.pop_back(); in BuildBlockList() 181 WorkList.push_back(SuccInfo); in BuildBlockList() [all …]
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | SSAUpdaterImpl.h | 105 SmallVector<BBInfo*, 64> WorkList; in BuildBlockList() local 109 WorkList.push_back(Info); in BuildBlockList() 115 while (!WorkList.empty()) { in BuildBlockList() 116 Info = WorkList.pop_back_val(); in BuildBlockList() 147 WorkList.push_back(PredInfo); in BuildBlockList() 162 WorkList.push_back(Info); in BuildBlockList() 165 while (!WorkList.empty()) { in BuildBlockList() 166 Info = WorkList.back(); in BuildBlockList() 174 WorkList.pop_back(); in BuildBlockList() 192 WorkList.push_back(SuccInfo); in BuildBlockList() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/ |
D | SSAUpdaterImpl.h | 118 SmallVector<BBInfo *, 64> WorkList; in BuildBlockList() local 122 WorkList.push_back(Info); in BuildBlockList() 128 while (!WorkList.empty()) { in BuildBlockList() 129 Info = WorkList.pop_back_val(); in BuildBlockList() 159 WorkList.push_back(PredInfo); in BuildBlockList() 174 WorkList.push_back(Info); in BuildBlockList() 177 while (!WorkList.empty()) { in BuildBlockList() 178 Info = WorkList.back(); in BuildBlockList() 186 WorkList.pop_back(); in BuildBlockList() 204 WorkList.push_back(SuccInfo); in BuildBlockList() [all …]
|
/external/clang/lib/Analysis/ |
D | PseudoConstantAnalysis.cpp | 75 std::deque<const Stmt *> WorkList; in RunAnalysis() local 80 WorkList.push_back(DeclBody); in RunAnalysis() 82 while (!WorkList.empty()) { in RunAnalysis() 83 const Stmt *Head = WorkList.front(); in RunAnalysis() 84 WorkList.pop_front(); in RunAnalysis() 212 WorkList.push_back(B->getBody()); in RunAnalysis() 223 WorkList.push_back(SubStmt); in RunAnalysis()
|
/external/skia/src/core/ |
D | SkExecutor.cpp | 63 template <typename WorkList> 129 WorkList fWork; 135 using WorkList = std::deque<std::function<void(void)>>; in MakeFIFOThreadPool() typedef 136 return skstd::make_unique<SkThreadPool<WorkList>>(threads > 0 ? threads : num_cores()); in MakeFIFOThreadPool() 139 using WorkList = SkTArray<std::function<void(void)>>; in MakeLIFOThreadPool() typedef 140 return skstd::make_unique<SkThreadPool<WorkList>>(threads > 0 ? threads : num_cores()); in MakeLIFOThreadPool()
|
/external/spirv-llvm/lib/SPIRV/ |
D | SPIRVLowerConstExpr.cpp | 119 std::list<Instruction *> WorkList; in visit() local 123 WorkList.push_back(static_cast<Instruction*>(II)); in visit() 126 while (!WorkList.empty()) { in visit() 127 auto II = WorkList.front(); in visit() 128 WorkList.pop_front(); in visit() 137 WorkList.push_front(ReplInst); in visit()
|
/external/skqp/src/core/ |
D | SkExecutor.cpp | 63 template <typename WorkList> 129 WorkList fWork; 135 using WorkList = std::deque<std::function<void(void)>>; in MakeFIFOThreadPool() typedef 136 return skstd::make_unique<SkThreadPool<WorkList>>(threads > 0 ? threads : num_cores()); in MakeFIFOThreadPool() 139 using WorkList = SkTArray<std::function<void(void)>>; in MakeLIFOThreadPool() typedef 140 return skstd::make_unique<SkThreadPool<WorkList>>(threads > 0 ? threads : num_cores()); in MakeLIFOThreadPool()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | WorkList.h | 61 class WorkList { 64 virtual ~WorkList(); 91 static WorkList *makeDFS(); 92 static WorkList *makeBFS(); 93 static WorkList *makeBFSBlockDFSContents();
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | CFLAndersAliasAnalysis.cpp | 595 std::vector<WorkListItem> &WorkList) { in propagate() argument 599 WorkList.push_back(WorkListItem{From, To, State}); in propagate() 602 static void initializeWorkList(std::vector<WorkListItem> &WorkList, in initializeWorkList() argument 617 WorkList); in initializeWorkList() 619 WorkList); in initializeWorkList() 635 std::vector<WorkListItem> &WorkList) { in processWorkListItem() argument 655 MatchState::FlowFromMemAliasNoReadWrite, ReachSet, WorkList); in processWorkListItem() 660 propagate(Src, *ToNodeBelow, ToState, ReachSet, WorkList); in processWorkListItem() 682 propagate(FromNode, AssignEdge.Other, State, ReachSet, WorkList); in processWorkListItem() 686 propagate(FromNode, RevAssignEdge.Other, State, ReachSet, WorkList); in processWorkListItem() [all …]
|