/external/llvm/lib/Transforms/Scalar/ |
H A D | ConstantProp.cpp | 65 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 D | DCE.cpp | 103 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 D | Reg2Mem.cpp | 92 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 D | AlignmentFromAssumptions.cpp | 312 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 D | WorkList.h | 1 //==- 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 D | ScheduleDAG.cpp | 180 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 D | ProcessImplicitDefs.cpp | 33 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 D | LiveRangeCalc.cpp | 262 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 D | InlineSpiller.cpp | 364 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 D | LiveIntervalAnalysis.cpp | 348 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 D | LiveVariables.cpp | 95 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 D | MachineCSE.cpp | 677 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 D | MachineBlockPlacement.cpp | 236 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 D | PseudoConstantAnalysis.cpp | 77 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 D | ReachableCode.cpp | 347 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 D | AMDGPUPromoteAlloca.cpp | 165 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 D | SSAUpdaterImpl.h | 104 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 D | MipsOptimizePICCall.cpp | 184 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 D | CoreEngine.cpp | 41 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 D | PlistDiagnostics.cpp | 306 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(¯o->subPieces);
|
/external/llvm/lib/Transforms/Instrumentation/ |
H A D | BoundsChecking.cpp | 179 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 D | DFAPacketizerEmitter.cpp | 438 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 D | ArgumentPromotion.cpp | 176 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 D | SemaStmtAsm.cpp | 86 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 D | SelectionDAGBuilder.h | 675 CaseRecVector& WorkList, 680 CaseRecVector& WorkList, 685 CaseRecVector& WorkList, 688 void splitSwitchCase(CaseRec &CR, CaseItr Pivot, CaseRecVector &WorkList, 691 CaseRecVector& WorkList,
|