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

12

/freebsd-9.3-release/contrib/llvm/lib/Transforms/Scalar/
H A DConstantProp.cpp65 std::set<Instruction*> WorkList; local
67 WorkList.insert(&*i);
73 while (!WorkList.empty()) {
74 Instruction *I = *WorkList.begin();
75 WorkList.erase(WorkList.begin()); // Get an element from the worklist...
83 WorkList.insert(cast<Instruction>(*UI));
89 WorkList.erase(I);
H A DDCE.cpp95 std::vector<Instruction*> WorkList; local
97 WorkList.push_back(&*i);
104 while (!WorkList.empty()) {
105 Instruction *I = WorkList.back();
106 WorkList.pop_back();
115 WorkList.push_back(Used);
121 WorkList.erase(std::remove(WorkList.begin(), WorkList.end(), I),
122 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...]
/freebsd-9.3-release/contrib/llvm/tools/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();
/freebsd-9.3-release/contrib/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.cpp32 SmallSetVector<MachineInstr*, 16> WorkList; member in class:__anon2163::ProcessImplicitDefs
93 WorkList.insert(UserMI);
148 assert(WorkList.empty() && "Inconsistent worklist state");
156 WorkList.insert(MBBI);
158 if (WorkList.empty())
161 DEBUG(dbgs() << "BB#" << MFI->getNumber() << " has " << WorkList.size()
165 // Drain the WorkList to recursively process any new implicit defs.
166 do processImplicitDef(WorkList.pop_back_val());
167 while (!WorkList.empty());
H A DLiveRangeCalc.cpp175 SmallVector<unsigned, 16> WorkList(1, KillMBBNum);
182 for (unsigned i = 0; i != WorkList.size(); ++i) {
183 MachineBasicBlock *MBB = MF->getBlockNumbered(WorkList[i]);
230 WorkList.push_back(Pred->getNumber());
241 if (WorkList.size() > 4)
242 array_pod_sort(WorkList.begin(), WorkList.end());
247 for (SmallVectorImpl<unsigned>::const_iterator I = WorkList.begin(),
248 E = WorkList.end(); I != E; ++I) {
264 LiveIn.reserve(WorkList
[all...]
H A DInlineSpiller.cpp361 SmallSetVector<SibValueMap::value_type *, 8> WorkList;
362 WorkList.insert(SVI);
365 SVI = WorkList.pop_back_val();
456 WorkList.insert(&*DepSVI);
461 } while (!WorkList.empty());
492 SmallVector<std::pair<unsigned, VNInfo*>, 8> WorkList; local
493 WorkList.push_back(std::make_pair(UseReg, UseVNI));
498 tie(Reg, VNI) = WorkList.pop_back_val();
564 WorkList.push_back(std::make_pair(Reg, NonPHI));
594 WorkList
742 SmallVector<std::pair<LiveInterval*, VNInfo*>, 8> WorkList; local
804 SmallVector<std::pair<LiveInterval*, VNInfo*>, 8> 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 DMachineBlockPlacement.cpp207 BlockChain &Chain, SmallVectorImpl<MachineBasicBlock *> &WorkList,
432 BlockChain &Chain, SmallVectorImpl<MachineBasicBlock *> &WorkList,
438 WorkList.erase(std::remove_if(WorkList.begin(), WorkList.end(),
440 WorkList.end());
444 for (SmallVectorImpl<MachineBasicBlock *>::iterator WBI = WorkList.begin(),
445 WBE = WorkList.end();
431 selectBestCandidateBlock( BlockChain &Chain, SmallVectorImpl<MachineBasicBlock *> &WorkList, const BlockFilterSet *BlockFilter) argument
H A DRegisterCoalescer.cpp97 /// WorkList - Copy instructions yet to be coalesced.
98 SmallVector<MachineInstr*, 8> WorkList; member in class:__anon2172::RegisterCoalescer
102 /// that may be present in WorkList.
124 /// copies that cannot yet be coalesced into WorkList.
407 // MI may be in WorkList. Make sure we don't visit it.
2084 // Try joining WorkList copies starting from index From.
2113 const unsigned PrevSize = WorkList.size();
2126 WorkList.push_back(&(*MII));
2133 WorkList.push_back(MII);
2136 // This prevents the WorkList fro
[all...]
H A DMachineCSE.cpp621 SmallVector<MachineDomTreeNode*, 8> WorkList; local
627 WorkList.push_back(Node);
629 Node = WorkList.pop_back_val();
636 WorkList.push_back(Child);
638 } while (!WorkList.empty());
H A DMachineTraceMetrics.cpp511 SmallVector<const MachineBasicBlock*, 16> WorkList;
517 WorkList.push_back(BadMBB);
519 const MachineBasicBlock *MBB = WorkList.pop_back_val();
531 WorkList.push_back(*I);
537 } while (!WorkList.empty());
543 WorkList.push_back(BadMBB);
545 const MachineBasicBlock *MBB = WorkList.pop_back_val();
557 WorkList.push_back(*I);
563 } while (!WorkList.empty());
H A DLiveIntervalAnalysis.cpp322 SmallVector<std::pair<SlotIndex, VNInfo*>, 16> WorkList; local
324 // Blocks that have already been added to WorkList as live-out.
349 WorkList.push_back(std::make_pair(Idx, VNI));
365 // Extend intervals to reach all uses in WorkList.
366 while (!WorkList.empty()) {
367 SlotIndex Idx = WorkList.back().first;
368 VNInfo *VNI = WorkList.back().second;
369 WorkList.pop_back();
388 WorkList.push_back(std::make_pair(Stop, PVNI));
405 WorkList
[all...]
/freebsd-9.3-release/contrib/llvm/tools/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();
215 WorkList.push_back(B->getBody());
226 WorkList.push_back(*I);
227 } // while (!WorkList.empty())
H A DReachableCode.cpp32 SmallVector<const CFGBlock *, 10> WorkList; member in class:__anon3046::DeadCodeScan
62 WorkList.push_back(block);
79 WorkList.push_back(PredBlock);
128 while (!WorkList.empty()) {
129 const CFGBlock *Block = WorkList.pop_back_val();
/freebsd-9.3-release/contrib/llvm/include/llvm/Transforms/Utils/
H A DSSAUpdaterImpl.h102 SmallVector<BBInfo*, 64> WorkList; local
106 WorkList.push_back(Info);
112 while (!WorkList.empty()) {
113 Info = WorkList.pop_back_val();
144 WorkList.push_back(PredInfo);
159 WorkList.push_back(Info);
162 while (!WorkList.empty()) {
163 Info = WorkList.back();
171 WorkList.pop_back();
189 WorkList
396 SmallVector<PhiT*, 20> WorkList; local
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Analysis/FlowSensitive/
H A DDataflowSolver.h200 while (!WorkList.isEmpty()) {
201 const CFGBlock *B = WorkList.dequeue();
212 WorkList.enqueue(&**I);
221 WorkList.enqueue(&**I);
327 WorkList.enqueue(TargetBlock);
331 WorkList.enqueue(TargetBlock);
337 DataflowWorkListTy WorkList; member in class:clang::DataflowSolver
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DCoreEngine.cpp40 WorkList::Visitor::~Visitor() {}
43 class DFS : public WorkList {
71 class BFS : public WorkList {
100 // Place the dstor for WorkList here because it contains virtual member
102 WorkList::~WorkList() {}
104 WorkList *WorkList::makeDFS() { return new DFS(); }
105 WorkList *WorkList
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Transforms/Instrumentation/
H A DBoundsChecking.cpp181 std::vector<Instruction*> WorkList; local
186 WorkList.push_back(I);
190 for (std::vector<Instruction*>::iterator i = WorkList.begin(),
191 e = WorkList.end(); i != e; ++i) {
/freebsd-9.3-release/contrib/llvm/utils/TableGen/
H A DDFAPacketizerEmitter.cpp454 SmallVector<State*, 32> WorkList; local
457 WorkList.push_back(Initial);
476 while (!WorkList.empty()) {
477 State *current = WorkList.pop_back_val();
505 WorkList.push_back(NewState);
/freebsd-9.3-release/contrib/sendmail/src/
H A Dqueue.c2135 /* Has the WorkList reached the limit? */
2463 ** full -- (optional) to be set 'true' if WorkList is full
2465 ** messages in this queue not added to WorkList
2470 ** the number of requests in WorkList however).
2473 ** prepares available work into WorkList
2484 static WORK *WorkList = NULL; /* list of unsort work */ variable
2485 static int WorkListSize = 0; /* current max size of WorkList */
2486 static int WorkListCount = 0; /* # of work items in WorkList */
2636 "WorkList for %s maxed out at %d",
2650 w = &WorkList[w
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Transforms/Utils/
H A DLoopSimplify.cpp453 std::vector<BasicBlock *> WorkList; local
454 WorkList.push_back(InputBB);
456 BasicBlock *BB = WorkList.back(); WorkList.pop_back();
462 WorkList.push_back(WBB);
464 } while(!WorkList.empty());
/freebsd-9.3-release/contrib/llvm/include/llvm/CodeGen/
H A DLiveVariables.h276 std::vector<MachineBasicBlock*> &WorkList);
/freebsd-9.3-release/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h643 CaseRecVector& WorkList,
648 CaseRecVector& WorkList,
653 CaseRecVector& WorkList,
658 CaseRecVector& WorkList,

Completed in 256 milliseconds

12