Searched refs:WorkList (Results 1 - 25 of 43) sorted by relevance

12

/external/llvm/lib/Transforms/Scalar/
H A DConstantProp.cpp65 std::set<Instruction*> WorkList; local
67 WorkList.insert(&*i);
74 while (!WorkList.empty()) {
75 Instruction *I = *WorkList.begin();
76 WorkList.erase(WorkList.begin()); // Get an element from the worklist...
83 WorkList.insert(cast<Instruction>(U));
89 WorkList.erase(I);
H A DDCE.cpp103 std::vector<Instruction*> WorkList; local
105 WorkList.push_back(&*i);
112 while (!WorkList.empty()) {
113 Instruction *I = WorkList.back();
114 WorkList.pop_back();
123 WorkList.push_back(Used);
129 WorkList.erase(std::remove(WorkList.begin(), WorkList.end(), I),
130 WorkList
[all...]
H A DReg2Mem.cpp92 std::list<Instruction*> WorkList; local
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
[all...]
H A DAlignmentFromAssumptions.cpp312 SmallVector<Instruction*, 16> WorkList; local
319 WorkList.push_back(K);
322 while (!WorkList.empty()) {
323 Instruction *J = WorkList.pop_back_val();
403 WorkList.push_back(K);
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DWorkList.h1 //==- WorkList.h - Worklist class used by CoreEngine ---------------*- C++ -*-//
10 // This file defines WorkList, a pure virtual class that represents an opaque
61 class WorkList { class in namespace:clang::ento
64 virtual ~WorkList();
91 static WorkList *makeDFS();
92 static WorkList *makeBFS();
93 static WorkList *makeBFSBlockDFSContents();
/external/llvm/lib/CodeGen/
H A DScheduleDAG.cpp180 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
[all...]
H A DProcessImplicitDefs.cpp33 SmallSetVector<MachineInstr*, 16> WorkList; member in class:__anon10455::ProcessImplicitDefs
91 WorkList.insert(UserMI);
146 assert(WorkList.empty() && "Inconsistent worklist state");
154 WorkList.insert(MBBI);
156 if (WorkList.empty())
159 DEBUG(dbgs() << "BB#" << MFI->getNumber() << " has " << WorkList.size()
163 // Drain the WorkList to recursively process any new implicit defs.
164 do processImplicitDef(WorkList.pop_back_val());
165 while (!WorkList.empty());
H A DLiveRangeCalc.cpp262 SmallVector<unsigned, 16> WorkList(1, UseMBBNum);
269 for (unsigned i = 0; i != WorkList.size(); ++i) {
270 MachineBasicBlock *MBB = MF->getBlockNumbered(WorkList[i]);
317 WorkList.push_back(Pred->getNumber());
328 if (WorkList.size() > 4)
329 array_pod_sort(WorkList.begin(), WorkList.end());
334 for (SmallVectorImpl<unsigned>::const_iterator I = WorkList.begin(),
335 E = WorkList.end(); I != E; ++I) {
350 LiveIn.reserve(WorkList
[all...]
H A DInlineSpiller.cpp364 SmallSetVector<SibValueMap::value_type *, 8> WorkList;
365 WorkList.insert(SVI);
368 SVI = WorkList.pop_back_val();
472 WorkList.insert(&*DepSVI);
477 } while (!WorkList.empty());
508 SmallVector<std::pair<unsigned, VNInfo*>, 8> WorkList; local
509 WorkList.push_back(std::make_pair(UseReg, UseVNI));
515 std::tie(Reg, VNI) = WorkList.pop_back_val();
583 WorkList.push_back(std::make_pair(Reg, NonPHI));
613 WorkList
761 SmallVector<std::pair<LiveInterval*, VNInfo*>, 8> WorkList; local
825 SmallVector<std::pair<LiveInterval*, VNInfo*>, 8> WorkList; local
[all...]
H A DLiveIntervalAnalysis.cpp348 ShrinkToUsesWorkList &WorkList,
352 // Blocks that have already been added to WorkList as live-out.
355 // Extend intervals to reach all uses in WorkList.
356 while (!WorkList.empty()) {
357 SlotIndex Idx = WorkList.back().first;
358 VNInfo *VNI = WorkList.back().second;
359 WorkList.pop_back();
378 WorkList.push_back(std::make_pair(Stop, PVNI));
394 WorkList.push_back(std::make_pair(Stop, VNI));
414 ShrinkToUsesWorkList WorkList; local
347 extendSegmentsToUses(LiveRange &LR, const SlotIndexes &Indexes, ShrinkToUsesWorkList &WorkList, const LiveRange &OldRange) argument
504 ShrinkToUsesWorkList WorkList; local
[all...]
H A DLiveVariables.cpp95 std::vector<MachineBasicBlock*> &WorkList) {
115 WorkList.insert(WorkList.end(), MBB->pred_rbegin(), MBB->pred_rend());
121 std::vector<MachineBasicBlock*> WorkList; local
122 MarkVirtRegAliveInBlock(VRInfo, DefBlock, MBB, WorkList);
124 while (!WorkList.empty()) {
125 MachineBasicBlock *Pred = WorkList.back();
126 WorkList.pop_back();
127 MarkVirtRegAliveInBlock(VRInfo, DefBlock, Pred, WorkList);
92 MarkVirtRegAliveInBlock(VarInfo& VRInfo, MachineBasicBlock *DefBlock, MachineBasicBlock *MBB, std::vector<MachineBasicBlock*> &WorkList) argument
H A DMachineCSE.cpp677 SmallVector<MachineDomTreeNode*, 8> WorkList; local
683 WorkList.push_back(Node);
685 Node = WorkList.pop_back_val();
692 WorkList.push_back(Child);
694 } while (!WorkList.empty());
H A DMachineBlockPlacement.cpp236 SmallVectorImpl<MachineBasicBlock *> &WorkList,
462 BlockChain &Chain, SmallVectorImpl<MachineBasicBlock *> &WorkList,
468 WorkList.erase(std::remove_if(WorkList.begin(), WorkList.end(),
472 WorkList.end());
476 for (MachineBasicBlock *MBB : WorkList) {
461 selectBestCandidateBlock( BlockChain &Chain, SmallVectorImpl<MachineBasicBlock *> &WorkList, const BlockFilterSet *BlockFilter) argument
/external/clang/lib/Analysis/
H A DPseudoConstantAnalysis.cpp77 std::deque<const Stmt *> WorkList; local
82 WorkList.push_back(DeclBody);
84 while (!WorkList.empty()) {
85 const Stmt *Head = WorkList.front();
86 WorkList.pop_front();
214 WorkList.push_back(B->getBody());
225 WorkList.push_back(*I);
226 } // while (!WorkList.empty())
H A DReachableCode.cpp347 SmallVector<const CFGBlock *, 10> WorkList; member in class:__anon901::DeadCodeScan
380 WorkList.push_back(block);
397 WorkList.push_back(PredBlock);
448 while (!WorkList.empty()) {
449 const CFGBlock *Block = WorkList.pop_back_val();
/external/llvm/lib/Target/R600/
H A DAMDGPUPromoteAlloca.cpp165 std::vector<Value*> WorkList; local
172 WorkList.push_back(AllocaUser);
190 WorkList.push_back(GEPUser);
199 for (std::vector<Value*>::iterator I = WorkList.begin(),
200 E = WorkList.end(); I != E; ++I) {
238 static bool collectUsesWithPtrTypes(Value *Val, std::vector<Value*> &WorkList) { argument
241 if(std::find(WorkList.begin(), WorkList.end(), User) != WorkList.end())
244 WorkList
288 std::vector<Value*> WorkList; local
[all...]
/external/llvm/include/llvm/Transforms/Utils/
H A DSSAUpdaterImpl.h104 SmallVector<BBInfo*, 64> WorkList; local
108 WorkList.push_back(Info);
114 while (!WorkList.empty()) {
115 Info = WorkList.pop_back_val();
146 WorkList.push_back(PredInfo);
161 WorkList.push_back(Info);
164 while (!WorkList.empty()) {
165 Info = WorkList.back();
173 WorkList.pop_back();
191 WorkList
398 SmallVector<PhiT*, 20> WorkList; local
[all...]
/external/llvm/lib/Target/Mips/
H A DMipsOptimizePICCall.cpp184 SmallVector<MBBInfo, 8> WorkList(1, MBBInfo(MDT->getRootNode()));
186 while (!WorkList.empty()) {
187 MBBInfo &MBBI = WorkList.back();
193 WorkList.pop_back();
202 WorkList.append(Children.begin(), Children.end());
/external/clang/lib/StaticAnalyzer/Core/
H A DCoreEngine.cpp41 WorkList::Visitor::~Visitor() {}
44 class DFS : public WorkList {
72 class BFS : public WorkList {
101 // Place the dstor for WorkList here because it contains virtual member
103 WorkList::~WorkList() {}
105 WorkList *WorkList::makeDFS() { return new DFS(); }
106 WorkList *WorkList
[all...]
H A DPlistDiagnostics.cpp306 SmallVector<const PathPieces *, 5> WorkList; local
307 WorkList.push_back(&D->path);
309 while (!WorkList.empty()) {
310 const PathPieces &path = *WorkList.pop_back_val();
330 WorkList.push_back(&call->path);
334 WorkList.push_back(&macro->subPieces);
/external/llvm/lib/Transforms/Instrumentation/
H A DBoundsChecking.cpp179 std::vector<Instruction*> WorkList; local
184 WorkList.push_back(I);
188 for (std::vector<Instruction*>::iterator i = WorkList.begin(),
189 e = WorkList.end(); i != e; ++i) {
/external/llvm/utils/TableGen/
H A DDFAPacketizerEmitter.cpp438 SmallVector<const State*, 32> WorkList; local
441 WorkList.push_back(Initial);
460 while (!WorkList.empty()) {
461 const State *current = WorkList.pop_back_val();
488 WorkList.push_back(NewState);
/external/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp176 SmallVector<Value *, 16> WorkList; local
177 WorkList.insert(WorkList.end(), arg->user_begin(), arg->user_end());
178 while (!WorkList.empty()) {
179 Value *V = WorkList.back();
180 WorkList.pop_back();
183 WorkList.insert(WorkList.end(), V->user_begin(), V->user_end());
/external/clang/lib/Sema/
H A DSemaStmtAsm.cpp86 SmallVector<Expr*, 4> WorkList;
87 WorkList.push_back(E);
88 while (WorkList.size()) {
89 Expr *E = WorkList.pop_back_val();
104 WorkList.push_back(E);
/external/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h675 CaseRecVector& WorkList,
680 CaseRecVector& WorkList,
685 CaseRecVector& WorkList,
688 void splitSwitchCase(CaseRec &CR, CaseItr Pivot, CaseRecVector &WorkList,
691 CaseRecVector& WorkList,

Completed in 464 milliseconds

12