Home
last modified time | relevance | path

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

12

/external/llvm/lib/CodeGen/
DScheduleDAG.cpp147 SmallVector<SUnit*, 8> WorkList; in setDepthDirty() local
148 WorkList.push_back(this); in setDepthDirty()
150 SUnit *SU = WorkList.pop_back_val(); in setDepthDirty()
156 WorkList.push_back(SuccSU); in setDepthDirty()
158 } while (!WorkList.empty()); in setDepthDirty()
163 SmallVector<SUnit*, 8> WorkList; in setHeightDirty() local
164 WorkList.push_back(this); in setHeightDirty()
166 SUnit *SU = WorkList.pop_back_val(); in setHeightDirty()
172 WorkList.push_back(PredSU); in setHeightDirty()
174 } while (!WorkList.empty()); in setHeightDirty()
[all …]
DLiveRangeCalc.cpp107 SmallVector<MachineBasicBlock*, 16> WorkList(1, KillMBB); in findReachingDefs() local
114 for (unsigned i = 0; i != WorkList.size(); ++i) { in findReachingDefs()
115 MachineBasicBlock *MBB = WorkList[i]; in findReachingDefs()
147 WorkList.push_back(Pred); in findReachingDefs()
157 LiveIn.reserve(WorkList.size()); in findReachingDefs()
158 while(!WorkList.empty()) in findReachingDefs()
159 addLiveInBlock(LI, DomTree->getNode(WorkList.pop_back_val())); in findReachingDefs()
DInlineSpiller.cpp359 SmallVector<SibValueMap::iterator, 8> WorkList(1, SVI); in propagateSiblingValue() local
363 SVI = WorkList.pop_back_val(); in propagateSiblingValue()
456 WorkList.push_back(DepSVI); in propagateSiblingValue()
461 } while (!WorkList.empty()); in propagateSiblingValue()
492 SmallVector<std::pair<unsigned, VNInfo*>, 8> WorkList; in traceSiblingValue() local
493 WorkList.push_back(std::make_pair(UseReg, UseVNI)); in traceSiblingValue()
498 tie(Reg, VNI) = WorkList.pop_back_val(); in traceSiblingValue()
564 WorkList.push_back(std::make_pair(Reg, NonPHI)); in traceSiblingValue()
594 WorkList.push_back(std::make_pair(SrcReg, SrcVNI)); in traceSiblingValue()
616 } while (!WorkList.empty()); in traceSiblingValue()
[all …]
DLiveVariables.cpp93 std::vector<MachineBasicBlock*> &WorkList) { in MarkVirtRegAliveInBlock() argument
113 WorkList.insert(WorkList.end(), MBB->pred_rbegin(), MBB->pred_rend()); in MarkVirtRegAliveInBlock()
119 std::vector<MachineBasicBlock*> WorkList; in MarkVirtRegAliveInBlock() local
120 MarkVirtRegAliveInBlock(VRInfo, DefBlock, MBB, WorkList); in MarkVirtRegAliveInBlock()
122 while (!WorkList.empty()) { in MarkVirtRegAliveInBlock()
123 MachineBasicBlock *Pred = WorkList.back(); in MarkVirtRegAliveInBlock()
124 WorkList.pop_back(); in MarkVirtRegAliveInBlock()
125 MarkVirtRegAliveInBlock(VRInfo, DefBlock, Pred, WorkList); in MarkVirtRegAliveInBlock()
DMachineBlockPlacement.cpp204 BlockChain &Chain, SmallVectorImpl<MachineBasicBlock *> &WorkList,
429 BlockChain &Chain, SmallVectorImpl<MachineBasicBlock *> &WorkList, in selectBestCandidateBlock() argument
435 WorkList.erase(std::remove_if(WorkList.begin(), WorkList.end(), in selectBestCandidateBlock()
437 WorkList.end()); in selectBestCandidateBlock()
441 for (SmallVectorImpl<MachineBasicBlock *>::iterator WBI = WorkList.begin(), in selectBestCandidateBlock()
442 WBE = WorkList.end(); in selectBestCandidateBlock()
DMachineCSE.cpp560 SmallVector<MachineDomTreeNode*, 8> WorkList; in PerformCSE() local
567 WorkList.push_back(Node); in PerformCSE()
569 Node = WorkList.pop_back_val(); in PerformCSE()
577 WorkList.push_back(Child); in PerformCSE()
579 } while (!WorkList.empty()); in PerformCSE()
DLiveIntervalAnalysis.cpp646 SmallVector<std::pair<SlotIndex, VNInfo*>, 16> WorkList; in shrinkToUses() local
677 WorkList.push_back(std::make_pair(Idx, VNI)); in shrinkToUses()
694 while (!WorkList.empty()) { in shrinkToUses()
695 SlotIndex Idx = WorkList.back().first; in shrinkToUses()
696 VNInfo *VNI = WorkList.back().second; in shrinkToUses()
697 WorkList.pop_back(); in shrinkToUses()
716 WorkList.push_back(std::make_pair(Stop, PVNI)); in shrinkToUses()
733 WorkList.push_back(std::make_pair(Stop, VNI)); in shrinkToUses()
DMachineLICM.cpp692 SmallVector<MachineDomTreeNode*, 8> WorkList; in HoistOutOfLoop() local
697 WorkList.push_back(HeaderN); in HoistOutOfLoop()
699 MachineDomTreeNode *Node = WorkList.pop_back_val(); in HoistOutOfLoop()
730 WorkList.push_back(Child); in HoistOutOfLoop()
732 } while (!WorkList.empty()); in HoistOutOfLoop()
/external/llvm/lib/Transforms/Scalar/
DDCE.cpp91 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()
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.cpp76 std::deque<const Stmt *> WorkList; in RunAnalysis() local
81 WorkList.push_back(DeclBody); in RunAnalysis()
83 while (!WorkList.empty()) { in RunAnalysis()
84 const Stmt *Head = WorkList.front(); in RunAnalysis()
85 WorkList.pop_front(); in RunAnalysis()
214 WorkList.push_back(B->getBody()); in RunAnalysis()
225 WorkList.push_back(*I); in RunAnalysis()
DReachableCode.cpp32 llvm::SmallVector<const CFGBlock *, 10> WorkList; member in __anone93000450111::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.h63 class WorkList {
66 virtual ~WorkList();
93 static WorkList *makeDFS();
94 static WorkList *makeBFS();
95 static WorkList *makeBFSBlockDFSContents();
DCoreEngine.h68 WorkList* WList;
115 WList(WorkList::makeBFS()), in CoreEngine()
159 WorkList *getWorkList() const { return WList; } in getWorkList()
/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.cpp38 WorkList::Visitor::~Visitor() {} in ~Visitor()
41 class DFS : public WorkList {
69 class BFS : public WorkList {
100 WorkList::~WorkList() {} in ~WorkList()
102 WorkList *WorkList::makeDFS() { return new DFS(); } in makeDFS()
103 WorkList *WorkList::makeBFS() { return new BFS(); } in makeBFS()
106 class BFSBlockDFSContents : public WorkList {
153 WorkList* WorkList::makeBFSBlockDFSContents() { in makeBFSBlockDFSContents()
DPlistDiagnostics.cpp365 llvm::SmallVector<const PathPieces *, 5> WorkList; in FlushDiagnosticsImpl() local
366 WorkList.push_back(&D->path); in FlushDiagnosticsImpl()
368 while (!WorkList.empty()) { in FlushDiagnosticsImpl()
369 const PathPieces &path = *WorkList.back(); in FlushDiagnosticsImpl()
370 WorkList.pop_back(); in FlushDiagnosticsImpl()
385 WorkList.push_back(&call->path); in FlushDiagnosticsImpl()
389 WorkList.push_back(&macro->subPieces); in FlushDiagnosticsImpl()
DPathDiagnostic.cpp99 llvm::SmallVector<const PathPieces *, 5> WorkList; in HandlePathDiagnostic() local
100 WorkList.push_back(&D->path); in HandlePathDiagnostic()
102 while (!WorkList.empty()) { in HandlePathDiagnostic()
103 const PathPieces &path = *WorkList.back(); in HandlePathDiagnostic()
104 WorkList.pop_back(); in HandlePathDiagnostic()
130 WorkList.push_back(&call->path); in HandlePathDiagnostic()
134 WorkList.push_back(&macro->subPieces); in HandlePathDiagnostic()
DBugReporterVisitors.cpp404 std::deque<const Stmt *> WorkList; in registerStatementVarDecls() local
405 WorkList.push_back(S); in registerStatementVarDecls()
407 while (!WorkList.empty()) { in registerStatementVarDecls()
408 const Stmt *Head = WorkList.front(); in registerStatementVarDecls()
409 WorkList.pop_front(); in registerStatementVarDecls()
431 WorkList.push_back(*I); in registerStatementVarDecls()
/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/utils/TableGen/
DDFAPacketizerEmitter.cpp451 SmallVector<State*, 32> WorkList; in run() local
454 WorkList.push_back(Initial); in run()
473 while (!WorkList.empty()) { in run()
474 State *current = WorkList.pop_back_val(); in run()
500 WorkList.push_back(NewState); in run()
/external/llvm/lib/Transforms/Utils/
DLoopSimplify.cpp445 std::vector<BasicBlock *> WorkList; in AddBlockAndPredsToSet() local
446 WorkList.push_back(InputBB); in AddBlockAndPredsToSet()
448 BasicBlock *BB = WorkList.back(); WorkList.pop_back(); in AddBlockAndPredsToSet()
454 WorkList.push_back(WBB); in AddBlockAndPredsToSet()
456 } while(!WorkList.empty()); in AddBlockAndPredsToSet()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h436 CaseRecVector& WorkList,
441 CaseRecVector& WorkList,
446 CaseRecVector& WorkList,
451 CaseRecVector& WorkList,

12