Home
last modified time | relevance | path

Searched refs:WorkList (Results 1 – 25 of 61) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DScheduleDAG.cpp219 SmallVector<SUnit*, 8> WorkList; in setDepthDirty() local
220 WorkList.push_back(this); in setDepthDirty()
222 SUnit *SU = WorkList.pop_back_val(); in setDepthDirty()
227 WorkList.push_back(SuccSU); in setDepthDirty()
229 } while (!WorkList.empty()); in setDepthDirty()
234 SmallVector<SUnit*, 8> WorkList; in setHeightDirty() local
235 WorkList.push_back(this); in setHeightDirty()
237 SUnit *SU = WorkList.pop_back_val(); in setHeightDirty()
242 WorkList.push_back(PredSU); in setHeightDirty()
244 } while (!WorkList.empty()); in setHeightDirty()
[all …]
DProcessImplicitDefs.cpp33 SmallSetVector<MachineInstr*, 16> WorkList; member in __anon794e917b0111::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()
DLiveRangeCalc.cpp292 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()
416 WorkList.push_back(Pred->getNumber()); in findReachingDefs()
430 if (WorkList.size() > 4) in findReachingDefs()
[all …]
DSafeStackColoring.cpp73 SmallVector<Instruction *, 8> WorkList; in collectMarkers() local
74 WorkList.push_back(AI); in collectMarkers()
75 while (!WorkList.empty()) { in collectMarkers()
76 Instruction *I = WorkList.pop_back_val(); in collectMarkers()
79 WorkList.push_back(BI); in collectMarkers()
DLiveVariables.cpp95 std::vector<MachineBasicBlock*> &WorkList) { in MarkVirtRegAliveInBlock() argument
115 WorkList.insert(WorkList.end(), MBB->pred_rbegin(), MBB->pred_rend()); in MarkVirtRegAliveInBlock()
121 std::vector<MachineBasicBlock*> WorkList; in MarkVirtRegAliveInBlock() local
122 MarkVirtRegAliveInBlock(VRInfo, DefBlock, MBB, WorkList); in MarkVirtRegAliveInBlock()
124 while (!WorkList.empty()) { in MarkVirtRegAliveInBlock()
125 MachineBasicBlock *Pred = WorkList.back(); in MarkVirtRegAliveInBlock()
126 WorkList.pop_back(); in MarkVirtRegAliveInBlock()
127 MarkVirtRegAliveInBlock(VRInfo, DefBlock, Pred, WorkList); in MarkVirtRegAliveInBlock()
DLiveIntervals.cpp366 ShrinkToUsesWorkList &WorkList, in extendSegmentsToUses() argument
390 while (!WorkList.empty()) { in extendSegmentsToUses()
391 SlotIndex Idx = WorkList.back().first; in extendSegmentsToUses()
392 VNInfo *VNI = WorkList.back().second; in extendSegmentsToUses()
393 WorkList.pop_back(); in extendSegmentsToUses()
412 WorkList.push_back(std::make_pair(Stop, PVNI)); in extendSegmentsToUses()
429 WorkList.push_back(std::make_pair(Stop, VNI)); in extendSegmentsToUses()
463 ShrinkToUsesWorkList WorkList; in shrinkToUses() local
488 WorkList.push_back(std::make_pair(Idx, VNI)); in shrinkToUses()
494 extendSegmentsToUses(NewLR, WorkList, Reg, LaneBitmask::getNone()); in shrinkToUses()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DCombiner.cpp53 WorkListTy &WorkList; member in __anond234f03b0111::WorkListMaintainer
59 WorkListMaintainer(WorkListTy &WorkList) in WorkListMaintainer() argument
60 : GISelChangeObserver(), WorkList(WorkList) {} in WorkListMaintainer()
66 WorkList.remove(&MI); in erasingInstr()
70 WorkList.insert(&MI); in createdInstr()
75 WorkList.insert(&MI); in changingInstr()
79 WorkList.insert(&MI); in changedInstr()
126 GISelWorkList<512> WorkList; in combineMachineInstrs() local
127 WorkListMaintainer Observer(WorkList); in combineMachineInstrs()
144 WorkList.deferred_insert(CurMI); in combineMachineInstrs()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DReg2Mem.cpp92 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()
DDCE.cpp123 SmallSetVector<Instruction *, 16> &WorkList, in DCEInstruction() argument
145 WorkList.insert(OpI); in DCEInstruction()
157 SmallSetVector<Instruction *, 16> WorkList; in eliminateDeadCode() local
167 if (!WorkList.count(I)) in eliminateDeadCode()
168 MadeChange |= DCEInstruction(I, WorkList, TLI); in eliminateDeadCode()
171 while (!WorkList.empty()) { in eliminateDeadCode()
172 Instruction *I = WorkList.pop_back_val(); in eliminateDeadCode()
173 MadeChange |= DCEInstruction(I, WorkList, TLI); in eliminateDeadCode()
DLowerMatrixIntrinsics.cpp325 propagateShapeForward(SmallVectorImpl<Instruction *> &WorkList) { in propagateShapeForward() argument
331 while (!WorkList.empty()) { in propagateShapeForward()
332 Instruction *Inst = WorkList.back(); in propagateShapeForward()
333 WorkList.pop_back(); in propagateShapeForward()
379 WorkList.push_back(cast<Instruction>(User)); in propagateShapeForward()
389 propagateShapeBackward(SmallVectorImpl<Instruction *> &WorkList) { in propagateShapeBackward() argument
393 SmallVectorImpl<Instruction *> &WorkList) { in propagateShapeBackward() argument
396 WorkList.push_back(I); in propagateShapeBackward()
402 while (!WorkList.empty()) { in propagateShapeBackward()
403 Value *V = WorkList.back(); in propagateShapeBackward()
[all …]
DConstantProp.cpp73 SmallPtrSet<Instruction *, 16> WorkList; in runOnFunction() local
79 WorkList.insert(&I); in runOnFunction()
88 while (!WorkList.empty()) { in runOnFunction()
91 WorkList.erase(I); // Remove element from the worklist... in runOnFunction()
102 if (WorkList.insert(cast<Instruction>(U)).second) in runOnFunction()
DBDCE.cpp46 SmallVector<Instruction *, 16> WorkList; in clearAssumptionsOfUsers() local
54 WorkList.push_back(J); in clearAssumptionsOfUsers()
68 while (!WorkList.empty()) { in clearAssumptionsOfUsers()
69 Instruction *J = WorkList.pop_back_val(); in clearAssumptionsOfUsers()
84 WorkList.push_back(K); in clearAssumptionsOfUsers()
DAlignmentFromAssumptions.cpp307 SmallVector<Instruction*, 16> WorkList; in processAssumption() local
314 WorkList.push_back(K); in processAssumption()
317 while (!WorkList.empty()) { in processAssumption()
318 Instruction *J = WorkList.pop_back_val(); in processAssumption()
367 WorkList.push_back(K); in processAssumption()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DCodeMoverUtils.cpp66 SmallPtrSetImpl<Instruction *> &WorkList) { in collectInstructionsInBetween() argument
68 WorkList.insert(NextInst); in collectInstructionsInBetween()
72 WorkList.insert(&Succ->front()); in collectInstructionsInBetween()
76 SmallPtrSet<Instruction *, 10> WorkList; in collectInstructionsInBetween() local
77 getNextInsts(StartInst, WorkList); in collectInstructionsInBetween()
78 while (!WorkList.empty()) { in collectInstructionsInBetween()
79 Instruction *CurInst = *WorkList.begin(); in collectInstructionsInBetween()
80 WorkList.erase(CurInst); in collectInstructionsInBetween()
88 getNextInsts(*CurInst, WorkList); in collectInstructionsInBetween()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DSSAUpdaterImpl.h117 SmallVector<BBInfo *, 64> WorkList; in BuildBlockList() local
121 WorkList.push_back(Info); in BuildBlockList()
127 while (!WorkList.empty()) { in BuildBlockList()
128 Info = WorkList.pop_back_val(); in BuildBlockList()
158 WorkList.push_back(PredInfo); in BuildBlockList()
173 WorkList.push_back(Info); in BuildBlockList()
176 while (!WorkList.empty()) { in BuildBlockList()
177 Info = WorkList.back(); in BuildBlockList()
185 WorkList.pop_back(); in BuildBlockList()
203 WorkList.push_back(SuccInfo); in BuildBlockList()
[all …]
/third_party/skia/src/core/
DSkExecutor.cpp70 template <typename WorkList>
136 WorkList fWork;
143 using WorkList = std::deque<std::function<void(void)>>; in MakeFIFOThreadPool() typedef
144 return std::make_unique<SkThreadPool<WorkList>>(threads > 0 ? threads : num_cores(), in MakeFIFOThreadPool()
148 using WorkList = SkTArray<std::function<void(void)>>; in MakeLIFOThreadPool() typedef
149 return std::make_unique<SkThreadPool<WorkList>>(threads > 0 ? threads : num_cores(), in MakeLIFOThreadPool()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DCFLAndersAliasAnalysis.cpp599 std::vector<WorkListItem> &WorkList) { in propagate() argument
603 WorkList.push_back(WorkListItem{From, To, State}); in propagate()
606 static void initializeWorkList(std::vector<WorkListItem> &WorkList, in initializeWorkList() argument
621 WorkList); in initializeWorkList()
623 WorkList); in initializeWorkList()
639 std::vector<WorkListItem> &WorkList) { in processWorkListItem() argument
659 MatchState::FlowFromMemAliasNoReadWrite, ReachSet, WorkList); in processWorkListItem()
664 propagate(Src, *ToNodeBelow, ToState, ReachSet, WorkList); in processWorkListItem()
686 propagate(FromNode, AssignEdge.Other, State, ReachSet, WorkList); in processWorkListItem()
690 propagate(FromNode, RevAssignEdge.Other, State, ReachSet, WorkList); in processWorkListItem()
[all …]
DBranchProbabilityInfo.cpp151 SmallVectorImpl<const BasicBlock *> &WorkList, in UpdatePDTWorklist() argument
162 WorkList.insert(WorkList.end(), NewItems.begin(), NewItems.end()); in UpdatePDTWorklist()
168 SmallVector<const BasicBlock *, 8> WorkList; in computePostDominatedByUnreachable() local
178 UpdatePDTWorklist(&BB, PDT, WorkList, PostDominatedByUnreachable); in computePostDominatedByUnreachable()
182 while (!WorkList.empty()) { in computePostDominatedByUnreachable()
183 const BasicBlock *BB = WorkList.pop_back_val(); in computePostDominatedByUnreachable()
190 UpdatePDTWorklist(BB, PDT, WorkList, PostDominatedByUnreachable); in computePostDominatedByUnreachable()
197 UpdatePDTWorklist(BB, PDT, WorkList, PostDominatedByUnreachable); in computePostDominatedByUnreachable()
204 SmallVector<const BasicBlock *, 8> WorkList; in computePostDominatedByColdCall() local
209 UpdatePDTWorklist(&BB, PDT, WorkList, PostDominatedByColdCall); in computePostDominatedByColdCall()
[all …]
DStackSafetyAnalysis.cpp285 SmallVector<const Value *, 8> WorkList; in analyzeAllUses() local
286 WorkList.push_back(Ptr); in analyzeAllUses()
289 while (!WorkList.empty()) { in analyzeAllUses()
290 const Value *V = WorkList.pop_back_val(); in analyzeAllUses()
360 WorkList.push_back(cast<const Instruction>(I)); in analyzeAllUses()
402 SetVector<const GlobalValue *> WorkList; member in __anoncd85e2b40211::StackSafetyDataFlowAnalysis
496 WorkList.insert(CallerID); in updateOneNode()
504 WorkList.clear(); in runDataFlow()
526 while (!WorkList.empty()) { in runDataFlow()
527 const GlobalValue *Callee = WorkList.back(); in runDataFlow()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyFixIrreducibleControlFlow.cpp128 SmallVector<BlockPair, 4> WorkList; in calculate() local
135 WorkList.emplace_back(MBB, Succ); in calculate()
140 while (!WorkList.empty()) { in calculate()
142 std::tie(MBB, Succ) = WorkList.pop_back_val(); in calculate()
149 WorkList.emplace_back(Pred, Succ); in calculate()
198 BlockVector WorkList; in calculate() local
203 WorkList.push_back(Pred); in calculate()
208 while (!WorkList.empty()) { in calculate()
209 auto *MBB = WorkList.pop_back_val(); in calculate()
214 WorkList.push_back(Pred); in calculate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUPromoteAlloca.cpp100 std::vector<Value*> &WorkList) const;
385 std::vector<Value*> WorkList; in tryPromoteAllocaToVector() local
392 WorkList.push_back(AllocaUser); in tryPromoteAllocaToVector()
411 WorkList.push_back(GEPUser); in tryPromoteAllocaToVector()
422 for (Value *V : WorkList) { in tryPromoteAllocaToVector()
526 std::vector<Value*> &WorkList) const { in collectUsesWithPtrTypes()
529 if (is_contained(WorkList, User)) in collectUsesWithPtrTypes()
536 WorkList.push_back(User); in collectUsesWithPtrTypes()
573 WorkList.push_back(ICmp); in collectUsesWithPtrTypes()
581 WorkList.push_back(User); in collectUsesWithPtrTypes()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCBoolRetToInt.cpp74 SmallVector<Value *, 8> WorkList; in findAllDefs() local
75 WorkList.push_back(V); in findAllDefs()
77 while (!WorkList.empty()) { in findAllDefs()
78 Value *Curr = WorkList.back(); in findAllDefs()
79 WorkList.pop_back(); in findAllDefs()
86 WorkList.push_back(Op); in findAllDefs()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsOptimizePICCall.cpp204 SmallVector<MBBInfo, 8> WorkList(1, MBBInfo(MDT->getRootNode())); in runOnMachineFunction() local
206 while (!WorkList.empty()) { in runOnMachineFunction()
207 MBBInfo &MBBI = WorkList.back(); in runOnMachineFunction()
213 WorkList.pop_back(); in runOnMachineFunction()
222 WorkList.append(Children.begin(), Children.end()); in runOnMachineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DDebugHandlerBase.cpp94 SmallVector<LexicalScope *, 4> WorkList; in identifyScopeMarkers() local
95 WorkList.push_back(LScopes.getCurrentFunctionScope()); in identifyScopeMarkers()
96 while (!WorkList.empty()) { in identifyScopeMarkers()
97 LexicalScope *S = WorkList.pop_back_val(); in identifyScopeMarkers()
101 WorkList.append(Children.begin(), Children.end()); in identifyScopeMarkers()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DPGOMemOPSizeOpt.cpp149 WorkList.clear(); in perform()
152 for (auto &MI : WorkList) { in perform()
169 WorkList.push_back(&MI); in visitMemIntrinsic()
178 std::vector<MemIntrinsic *> WorkList; member in __anon57b37fce0211::MemOPSizeOpt

123