Home
last modified time | relevance | path

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

12

/external/llvm/lib/CodeGen/
DScheduleDAG.cpp180 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 …]
DProcessImplicitDefs.cpp32 SmallSetVector<MachineInstr*, 16> WorkList; member in __anoneffb0d180111::ProcessImplicitDefs
93 WorkList.insert(UserMI); in processImplicitDef()
148 assert(WorkList.empty() && "Inconsistent worklist state"); in runOnMachineFunction()
156 WorkList.insert(MBBI); in runOnMachineFunction()
158 if (WorkList.empty()) in runOnMachineFunction()
161 DEBUG(dbgs() << "BB#" << MFI->getNumber() << " has " << WorkList.size() in runOnMachineFunction()
166 do processImplicitDef(WorkList.pop_back_val()); in runOnMachineFunction()
167 while (!WorkList.empty()); in runOnMachineFunction()
DLiveRangeCalc.cpp180 SmallVector<unsigned, 16> WorkList(1, KillMBBNum); in findReachingDefs() local
187 for (unsigned i = 0; i != WorkList.size(); ++i) { in findReachingDefs()
188 MachineBasicBlock *MBB = MF->getBlockNumbered(WorkList[i]); in findReachingDefs()
235 WorkList.push_back(Pred->getNumber()); in findReachingDefs()
246 if (WorkList.size() > 4) in findReachingDefs()
247 array_pod_sort(WorkList.begin(), WorkList.end()); in findReachingDefs()
253 I = WorkList.begin(), E = WorkList.end(); I != E; ++I) { in findReachingDefs()
269 LiveIn.reserve(WorkList.size()); in findReachingDefs()
271 I = WorkList.begin(), E = WorkList.end(); I != E; ++I) { in findReachingDefs()
DInlineSpiller.cpp357 SmallVector<SibValueMap::iterator, 8> WorkList(1, SVI); in propagateSiblingValue() local
361 SVI = WorkList.pop_back_val(); in propagateSiblingValue()
454 WorkList.push_back(DepSVI); in propagateSiblingValue()
459 } while (!WorkList.empty()); in propagateSiblingValue()
490 SmallVector<std::pair<unsigned, VNInfo*>, 8> WorkList; in traceSiblingValue() local
491 WorkList.push_back(std::make_pair(UseReg, UseVNI)); in traceSiblingValue()
496 tie(Reg, VNI) = WorkList.pop_back_val(); in traceSiblingValue()
562 WorkList.push_back(std::make_pair(Reg, NonPHI)); in traceSiblingValue()
592 WorkList.push_back(std::make_pair(SrcReg, SrcVNI)); in traceSiblingValue()
614 } while (!WorkList.empty()); in traceSiblingValue()
[all …]
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()
DMachineCSE.cpp621 SmallVector<MachineDomTreeNode*, 8> WorkList; in PerformCSE() local
627 WorkList.push_back(Node); in PerformCSE()
629 Node = WorkList.pop_back_val(); in PerformCSE()
636 WorkList.push_back(Child); in PerformCSE()
638 } while (!WorkList.empty()); in PerformCSE()
DMachineBlockPlacement.cpp201 BlockChain &Chain, SmallVectorImpl<MachineBasicBlock *> &WorkList,
426 BlockChain &Chain, SmallVectorImpl<MachineBasicBlock *> &WorkList, in selectBestCandidateBlock() argument
432 WorkList.erase(std::remove_if(WorkList.begin(), WorkList.end(), in selectBestCandidateBlock()
434 WorkList.end()); in selectBestCandidateBlock()
438 for (SmallVectorImpl<MachineBasicBlock *>::iterator WBI = WorkList.begin(), in selectBestCandidateBlock()
439 WBE = WorkList.end(); in selectBestCandidateBlock()
DMachineTraceMetrics.cpp418 SmallVector<const MachineBasicBlock*, 16> WorkList; in invalidate() local
424 WorkList.push_back(BadMBB); in invalidate()
426 const MachineBasicBlock *MBB = WorkList.pop_back_val(); in invalidate()
438 WorkList.push_back(*I); in invalidate()
444 } while (!WorkList.empty()); in invalidate()
450 WorkList.push_back(BadMBB); in invalidate()
452 const MachineBasicBlock *MBB = WorkList.pop_back_val(); in invalidate()
464 WorkList.push_back(*I); in invalidate()
470 } while (!WorkList.empty()); in invalidate()
DRegisterCoalescer.cpp98 SmallVector<MachineInstr*, 8> WorkList; member in __anoneed1b2d20111::RegisterCoalescer
2054 const unsigned PrevSize = WorkList.size(); in copyCoalesceInMBB()
2067 WorkList.push_back(&(*MII)); in copyCoalesceInMBB()
2074 WorkList.push_back(MII); in copyCoalesceInMBB()
2080 CurrList(WorkList.begin() + PrevSize, WorkList.end()); in copyCoalesceInMBB()
2082 WorkList.erase(std::remove(WorkList.begin() + PrevSize, WorkList.end(), in copyCoalesceInMBB()
2083 (MachineInstr*)0), WorkList.end()); in copyCoalesceInMBB()
2090 WorkList.push_back(LocalWorkList[j]); in coalesceLocals()
2097 assert(WorkList.empty() && LocalWorkList.empty() && "Old data still around."); in joinAllIntervals()
2122 while (copyCoalesceWorkList(WorkList)) in joinAllIntervals()
[all …]
DLiveIntervalAnalysis.cpp312 SmallVector<std::pair<SlotIndex, VNInfo*>, 16> WorkList; in shrinkToUses() local
339 WorkList.push_back(std::make_pair(Idx, VNI)); in shrinkToUses()
356 while (!WorkList.empty()) { in shrinkToUses()
357 SlotIndex Idx = WorkList.back().first; in shrinkToUses()
358 VNInfo *VNI = WorkList.back().second; in shrinkToUses()
359 WorkList.pop_back(); in shrinkToUses()
378 WorkList.push_back(std::make_pair(Stop, PVNI)); in shrinkToUses()
395 WorkList.push_back(std::make_pair(Stop, VNI)); in shrinkToUses()
/external/llvm/lib/Transforms/Scalar/
DDCE.cpp95 std::vector<Instruction*> WorkList; in runOnFunction() local
97 WorkList.push_back(&*i); in runOnFunction()
104 while (!WorkList.empty()) { in runOnFunction()
105 Instruction *I = WorkList.back(); in runOnFunction()
106 WorkList.pop_back(); in runOnFunction()
115 WorkList.push_back(Used); in runOnFunction()
121 WorkList.erase(std::remove(WorkList.begin(), WorkList.end(), I), in runOnFunction()
122 WorkList.end()); in runOnFunction()
DConstantProp.cpp65 std::set<Instruction*> WorkList; in runOnFunction() local
67 WorkList.insert(&*i); in runOnFunction()
73 while (!WorkList.empty()) { in runOnFunction()
74 Instruction *I = *WorkList.begin(); in runOnFunction()
75 WorkList.erase(WorkList.begin()); // Get an element from the worklist... in runOnFunction()
83 WorkList.insert(cast<Instruction>(*UI)); in runOnFunction()
89 WorkList.erase(I); in runOnFunction()
DReg2Mem.cpp92 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/llvm/include/llvm/Transforms/Utils/
DSSAUpdaterImpl.h102 SmallVector<BBInfo*, 64> WorkList; in BuildBlockList() local
106 WorkList.push_back(Info); in BuildBlockList()
112 while (!WorkList.empty()) { in BuildBlockList()
113 Info = WorkList.pop_back_val(); in BuildBlockList()
144 WorkList.push_back(PredInfo); in BuildBlockList()
159 WorkList.push_back(Info); in BuildBlockList()
162 while (!WorkList.empty()) { in BuildBlockList()
163 Info = WorkList.back(); in BuildBlockList()
171 WorkList.pop_back(); in BuildBlockList()
189 WorkList.push_back(SuccInfo); in BuildBlockList()
[all …]
/external/clang/lib/Analysis/
DPseudoConstantAnalysis.cpp77 std::deque<const Stmt *> WorkList; in RunAnalysis() local
82 WorkList.push_back(DeclBody); in RunAnalysis()
84 while (!WorkList.empty()) { in RunAnalysis()
85 const Stmt *Head = WorkList.front(); in RunAnalysis()
86 WorkList.pop_front(); in RunAnalysis()
215 WorkList.push_back(B->getBody()); in RunAnalysis()
226 WorkList.push_back(*I); in RunAnalysis()
DReachableCode.cpp32 SmallVector<const CFGBlock *, 10> WorkList; member in __anon4763f5e70111::DeadCodeScan
62 WorkList.push_back(block); in enqueue()
79 WorkList.push_back(PredBlock); in isDeadCodeRoot()
125 while (!WorkList.empty()) { in scanBackwards()
126 const CFGBlock *Block = WorkList.pop_back_val(); in scanBackwards()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DWorkList.h61 class WorkList {
64 virtual ~WorkList();
91 static WorkList *makeDFS();
92 static WorkList *makeBFS();
93 static WorkList *makeBFSBlockDFSContents();
/external/llvm/tools/llvm-objdump/
DMCFunction.cpp44 SmallVector<uint64_t, 16> WorkList; in createFunctionFromMC() local
45 WorkList.push_back(Start); in createFunctionFromMC()
47 while (!WorkList.empty()) { in createFunctionFromMC()
48 uint64_t Index = WorkList.pop_back_val(); in createFunctionFromMC()
67 WorkList.push_back(targ); in createFunctionFromMC()
68 WorkList.push_back(Index+Size); in createFunctionFromMC()
/external/clang/lib/StaticAnalyzer/Core/
DCoreEngine.cpp40 WorkList::Visitor::~Visitor() {} in ~Visitor()
43 class DFS : public WorkList {
71 class BFS : public WorkList {
102 WorkList::~WorkList() {} in ~WorkList()
104 WorkList *WorkList::makeDFS() { return new DFS(); } in makeDFS()
105 WorkList *WorkList::makeBFS() { return new BFS(); } in makeBFS()
108 class BFSBlockDFSContents : public WorkList {
155 WorkList* WorkList::makeBFSBlockDFSContents() { in makeBFSBlockDFSContents()
DPlistDiagnostics.cpp372 SmallVector<const PathPieces *, 5> WorkList; in FlushDiagnosticsImpl() local
373 WorkList.push_back(&D->path); in FlushDiagnosticsImpl()
375 while (!WorkList.empty()) { in FlushDiagnosticsImpl()
376 const PathPieces &path = *WorkList.back(); in FlushDiagnosticsImpl()
377 WorkList.pop_back(); in FlushDiagnosticsImpl()
397 WorkList.push_back(&call->path); in FlushDiagnosticsImpl()
401 WorkList.push_back(&macro->subPieces); in FlushDiagnosticsImpl()
/external/clang/include/clang/Analysis/FlowSensitive/
DDataflowSolver.h201 while (!WorkList.isEmpty()) {
202 const CFGBlock *B = WorkList.dequeue();
213 WorkList.enqueue(&**I);
222 WorkList.enqueue(&**I);
328 WorkList.enqueue(TargetBlock);
332 WorkList.enqueue(TargetBlock);
338 DataflowWorkListTy WorkList;
/external/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp181 std::vector<Instruction*> WorkList; in runOnFunction() local
186 WorkList.push_back(I); in runOnFunction()
190 for (std::vector<Instruction*>::iterator i = WorkList.begin(), in runOnFunction()
191 e = WorkList.end(); i != e; ++i) { in runOnFunction()
/external/llvm/utils/TableGen/
DDFAPacketizerEmitter.cpp454 SmallVector<State*, 32> WorkList; in run() local
457 WorkList.push_back(Initial); in run()
476 while (!WorkList.empty()) { in run()
477 State *current = WorkList.pop_back_val(); in run()
505 WorkList.push_back(NewState); in run()
/external/llvm/lib/Transforms/Utils/
DLoopSimplify.cpp452 std::vector<BasicBlock *> WorkList; in AddBlockAndPredsToSet() local
453 WorkList.push_back(InputBB); in AddBlockAndPredsToSet()
455 BasicBlock *BB = WorkList.back(); WorkList.pop_back(); in AddBlockAndPredsToSet()
461 WorkList.push_back(WBB); in AddBlockAndPredsToSet()
463 } while(!WorkList.empty()); in AddBlockAndPredsToSet()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h429 CaseRecVector& WorkList,
434 CaseRecVector& WorkList,
439 CaseRecVector& WorkList,
444 CaseRecVector& WorkList,

12