/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | DCE.cpp | 101 std::vector<Instruction*> WorkList; in runOnFunction() local 103 WorkList.push_back(&*i); in runOnFunction() 110 while (!WorkList.empty()) { in runOnFunction() 111 Instruction *I = WorkList.back(); in runOnFunction() 112 WorkList.pop_back(); in runOnFunction() 121 WorkList.push_back(Used); in runOnFunction() 127 WorkList.erase(std::remove(WorkList.begin(), WorkList.end(), I), in runOnFunction() 128 WorkList.end()); in runOnFunction()
|
H A D | ConstantProp.cpp | 66 std::set<Instruction*> WorkList; in runOnFunction() local 68 WorkList.insert(&*i); in runOnFunction() 75 while (!WorkList.empty()) { in runOnFunction() 76 Instruction *I = *WorkList.begin(); in runOnFunction() 77 WorkList.erase(WorkList.begin()); // Get an element from the worklist... in runOnFunction() 84 WorkList.insert(cast<Instruction>(U)); in runOnFunction() 90 WorkList.erase(I); in runOnFunction()
|
H A D | Reg2Mem.cpp | 92 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()
|
H A D | AlignmentFromAssumptions.cpp | 313 SmallVector<Instruction*, 16> WorkList; in processAssumption() local 320 WorkList.push_back(K); in processAssumption() 323 while (!WorkList.empty()) { in processAssumption() 324 Instruction *J = WorkList.pop_back_val(); in processAssumption() 404 WorkList.push_back(K); in processAssumption()
|
/minix/external/bsd/llvm/dist/llvm/lib/CodeGen/ |
H A D | ScheduleDAG.cpp | 181 WorkList.push_back(this); in setDepthDirty() 197 WorkList.push_back(this); in setHeightDirty() 236 WorkList.push_back(this); in ComputeDepth() 255 WorkList.pop_back(); in ComputeDepth() 269 WorkList.push_back(this); in ComputeHeight() 288 WorkList.pop_back(); in ComputeHeight() 463 WorkList.reserve(DAGSize); in InitDAGTopologicalSorting() 489 WorkList.pop_back(); in InitDAGTopologicalSorting() 550 WorkList.push_back(SU); in DFS() 552 SU = WorkList.back(); in DFS() [all …]
|
H A D | ProcessImplicitDefs.cpp | 33 SmallSetVector<MachineInstr*, 16> WorkList; member in __anon1b3ff71b0111::ProcessImplicitDefs 91 WorkList.insert(UserMI); in processImplicitDef() 146 assert(WorkList.empty() && "Inconsistent worklist state"); in runOnMachineFunction() 154 WorkList.insert(MBBI); in runOnMachineFunction() 156 if (WorkList.empty()) in runOnMachineFunction() 159 DEBUG(dbgs() << "BB#" << MFI->getNumber() << " has " << WorkList.size() in runOnMachineFunction() 164 do processImplicitDef(WorkList.pop_back_val()); in runOnMachineFunction() 165 while (!WorkList.empty()); in runOnMachineFunction()
|
H A D | LiveRangeCalc.cpp | 265 SmallVector<unsigned, 16> WorkList(1, KillMBBNum); in findReachingDefs() local 272 for (unsigned i = 0; i != WorkList.size(); ++i) { in findReachingDefs() 273 MachineBasicBlock *MBB = MF->getBlockNumbered(WorkList[i]); in findReachingDefs() 320 WorkList.push_back(Pred->getNumber()); in findReachingDefs() 331 if (WorkList.size() > 4) in findReachingDefs() 332 array_pod_sort(WorkList.begin(), WorkList.end()); in findReachingDefs() 337 for (SmallVectorImpl<unsigned>::const_iterator I = WorkList.begin(), in findReachingDefs() 338 E = WorkList.end(); I != E; ++I) { in findReachingDefs() 353 LiveIn.reserve(WorkList.size()); in findReachingDefs() 355 I = WorkList.begin(), E = WorkList.end(); I != E; ++I) { in findReachingDefs()
|
H A D | InlineSpiller.cpp | 365 WorkList.insert(SVI); in propagateSiblingValue() 368 SVI = WorkList.pop_back_val(); in propagateSiblingValue() 472 WorkList.insert(&*DepSVI); in propagateSiblingValue() 477 } while (!WorkList.empty()); in propagateSiblingValue() 635 } while (!WorkList.empty()); in traceSiblingValue() 762 WorkList.push_back(std::make_pair(&SLI, VNI)); in eliminateRedundantSpills() 767 std::tie(LI, VNI) = WorkList.pop_back_val(); in eliminateRedundantSpills() 814 } while (!WorkList.empty()); in eliminateRedundantSpills() 826 WorkList.push_back(std::make_pair(LI, VNI)); in markValueUsed() 828 std::tie(LI, VNI) = WorkList.pop_back_val(); in markValueUsed() [all …]
|
H A D | LiveVariables.cpp | 94 std::vector<MachineBasicBlock*> &WorkList) { in MarkVirtRegAliveInBlock() argument 114 WorkList.insert(WorkList.end(), MBB->pred_rbegin(), MBB->pred_rend()); in MarkVirtRegAliveInBlock() 120 std::vector<MachineBasicBlock*> WorkList; in MarkVirtRegAliveInBlock() local 121 MarkVirtRegAliveInBlock(VRInfo, DefBlock, MBB, WorkList); in MarkVirtRegAliveInBlock() 123 while (!WorkList.empty()) { in MarkVirtRegAliveInBlock() 124 MachineBasicBlock *Pred = WorkList.back(); in MarkVirtRegAliveInBlock() 125 WorkList.pop_back(); in MarkVirtRegAliveInBlock() 126 MarkVirtRegAliveInBlock(VRInfo, DefBlock, Pred, WorkList); in MarkVirtRegAliveInBlock()
|
H A D | LiveIntervalAnalysis.cpp | 344 while (!WorkList.empty()) { in extendSegmentsToUses() 345 SlotIndex Idx = WorkList.back().first; in extendSegmentsToUses() 346 VNInfo *VNI = WorkList.back().second; in extendSegmentsToUses() 347 WorkList.pop_back(); in extendSegmentsToUses() 382 WorkList.push_back(std::make_pair(Stop, VNI)); in extendSegmentsToUses() 402 ShrinkToUsesWorkList WorkList; in shrinkToUses() local 428 WorkList.push_back(std::make_pair(Idx, VNI)); in shrinkToUses() 434 extendSegmentsToUses(NewLR, *Indexes, WorkList, *li); in shrinkToUses() 481 ShrinkToUsesWorkList WorkList; in shrinkToUses() local 514 WorkList.push_back(std::make_pair(Idx, VNI)); in shrinkToUses() [all …]
|
H A D | MachineCSE.cpp | 669 SmallVector<MachineDomTreeNode*, 8> WorkList; in PerformCSE() local 675 WorkList.push_back(Node); in PerformCSE() 677 Node = WorkList.pop_back_val(); in PerformCSE() 684 WorkList.push_back(Child); in PerformCSE() 686 } while (!WorkList.empty()); in PerformCSE()
|
H A D | MachineBlockPlacement.cpp | 216 BlockChain &Chain, SmallVectorImpl<MachineBasicBlock *> &WorkList, 425 BlockChain &Chain, SmallVectorImpl<MachineBasicBlock *> &WorkList, in selectBestCandidateBlock() argument 431 WorkList.erase(std::remove_if(WorkList.begin(), WorkList.end(), in selectBestCandidateBlock() 435 WorkList.end()); in selectBestCandidateBlock() 439 for (SmallVectorImpl<MachineBasicBlock *>::iterator WBI = WorkList.begin(), in selectBestCandidateBlock() 440 WBE = WorkList.end(); in selectBestCandidateBlock()
|
H A D | MachineTraceMetrics.cpp | 508 SmallVector<const MachineBasicBlock*, 16> WorkList; in invalidate() local 514 WorkList.push_back(BadMBB); in invalidate() 516 const MachineBasicBlock *MBB = WorkList.pop_back_val(); in invalidate() 528 WorkList.push_back(*I); in invalidate() 534 } while (!WorkList.empty()); in invalidate() 540 WorkList.push_back(BadMBB); in invalidate() 542 const MachineBasicBlock *MBB = WorkList.pop_back_val(); in invalidate() 554 WorkList.push_back(*I); in invalidate() 560 } while (!WorkList.empty()); in invalidate()
|
/minix/external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | WorkList.h | 61 class WorkList { 64 virtual ~WorkList(); 91 static WorkList *makeDFS(); 92 static WorkList *makeBFS(); 93 static WorkList *makeBFSBlockDFSContents();
|
/minix/external/bsd/llvm/dist/llvm/lib/Target/R600/ |
H A D | AMDGPUPromoteAlloca.cpp | 164 std::vector<Value*> WorkList; in tryPromoteAllocaToVector() local 171 WorkList.push_back(AllocaUser); in tryPromoteAllocaToVector() 189 WorkList.push_back(GEPUser); in tryPromoteAllocaToVector() 198 for (std::vector<Value*>::iterator I = WorkList.begin(), in tryPromoteAllocaToVector() 240 if(std::find(WorkList.begin(), WorkList.end(), User) != WorkList.end()) in collectUsesWithPtrTypes() 243 WorkList.push_back(User); in collectUsesWithPtrTypes() 255 WorkList.push_back(User); in collectUsesWithPtrTypes() 257 Success &= collectUsesWithPtrTypes(User, WorkList); in collectUsesWithPtrTypes() 287 std::vector<Value*> WorkList; in visitAlloca() local 289 if (!collectUsesWithPtrTypes(&I, WorkList)) { in visitAlloca() [all …]
|
/minix/external/bsd/llvm/dist/clang/lib/Analysis/ |
H A D | PseudoConstantAnalysis.cpp | 77 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() 214 WorkList.push_back(B->getBody()); in RunAnalysis() 225 WorkList.push_back(*I); in RunAnalysis()
|
H A D | ReachableCode.cpp | 347 SmallVector<const CFGBlock *, 10> WorkList; member in __anon0736566a0111::DeadCodeScan 380 WorkList.push_back(block); in enqueue() 397 WorkList.push_back(PredBlock); in isDeadCodeRoot() 448 while (!WorkList.empty()) { in scanBackwards() 449 const CFGBlock *Block = WorkList.pop_back_val(); in scanBackwards()
|
/minix/external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/ |
H A D | SSAUpdaterImpl.h | 104 SmallVector<BBInfo*, 64> WorkList; in BuildBlockList() local 108 WorkList.push_back(Info); in BuildBlockList() 114 while (!WorkList.empty()) { in BuildBlockList() 115 Info = WorkList.pop_back_val(); in BuildBlockList() 146 WorkList.push_back(PredInfo); in BuildBlockList() 161 WorkList.push_back(Info); in BuildBlockList() 164 while (!WorkList.empty()) { in BuildBlockList() 165 Info = WorkList.back(); in BuildBlockList() 173 WorkList.pop_back(); in BuildBlockList() 399 WorkList.push_back(PHI); in CheckIfPHIMatches() [all …]
|
/minix/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
H A D | CoreEngine.cpp | 41 WorkList::Visitor::~Visitor() {} in ~Visitor() 44 class DFS : public WorkList { 72 class BFS : public WorkList { 103 WorkList::~WorkList() {} in ~WorkList() 105 WorkList *WorkList::makeDFS() { return new DFS(); } in makeDFS() 106 WorkList *WorkList::makeBFS() { return new BFS(); } in makeBFS() 109 class BFSBlockDFSContents : public WorkList { 156 WorkList* WorkList::makeBFSBlockDFSContents() { in makeBFSBlockDFSContents()
|
H A D | PlistDiagnostics.cpp | 306 SmallVector<const PathPieces *, 5> WorkList; in FlushDiagnosticsImpl() local 307 WorkList.push_back(&D->path); in FlushDiagnosticsImpl() 309 while (!WorkList.empty()) { in FlushDiagnosticsImpl() 310 const PathPieces &path = *WorkList.pop_back_val(); in FlushDiagnosticsImpl() 330 WorkList.push_back(&call->path); in FlushDiagnosticsImpl() 334 WorkList.push_back(¯o->subPieces); in FlushDiagnosticsImpl()
|
/minix/external/bsd/llvm/dist/llvm/lib/Target/Mips/ |
H A D | MipsOptimizePICCall.cpp | 184 SmallVector<MBBInfo, 8> WorkList(1, MBBInfo(MDT->getRootNode())); in runOnMachineFunction() local 186 while (!WorkList.empty()) { in runOnMachineFunction() 187 MBBInfo &MBBI = WorkList.back(); in runOnMachineFunction() 193 WorkList.pop_back(); in runOnMachineFunction() 202 WorkList.append(Children.begin(), Children.end()); in runOnMachineFunction()
|
/minix/external/bsd/llvm/dist/llvm/utils/TableGen/ |
H A D | DFAPacketizerEmitter.cpp | 438 SmallVector<const State*, 32> WorkList; in run() local 441 WorkList.push_back(Initial); in run() 460 while (!WorkList.empty()) { in run() 461 const State *current = WorkList.pop_back_val(); in run() 488 WorkList.push_back(NewState); in run()
|
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
H A D | BoundsChecking.cpp | 180 std::vector<Instruction*> WorkList; in runOnFunction() local 185 WorkList.push_back(I); in runOnFunction() 189 for (std::vector<Instruction*>::iterator i = WorkList.begin(), in runOnFunction() 190 e = WorkList.end(); i != e; ++i) { in runOnFunction()
|
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/IPO/ |
H A D | ArgumentPromotion.cpp | 179 SmallVector<Value *, 16> WorkList; in canPaddingBeAccessed() local 180 WorkList.insert(WorkList.end(), arg->user_begin(), arg->user_end()); in canPaddingBeAccessed() 181 while (!WorkList.empty()) { in canPaddingBeAccessed() 182 Value *V = WorkList.back(); in canPaddingBeAccessed() 183 WorkList.pop_back(); in canPaddingBeAccessed() 186 WorkList.insert(WorkList.end(), V->user_begin(), V->user_end()); in canPaddingBeAccessed()
|
/minix/external/bsd/llvm/dist/clang/lib/Sema/ |
H A D | SemaStmtAsm.cpp | 85 SmallVector<Expr*, 4> WorkList; in CheckNakedParmReference() local 86 WorkList.push_back(E); in CheckNakedParmReference() 87 while (WorkList.size()) { in CheckNakedParmReference() 88 Expr *E = WorkList.pop_back_val(); in CheckNakedParmReference() 98 WorkList.push_back(E); in CheckNakedParmReference()
|