/external/llvm/lib/CodeGen/ |
D | ScheduleDAG.cpp | 180 SmallVector<SUnit*, 8> WorkList; in setDepthDirty() local 181 WorkList.push_back(this); in setDepthDirty() 183 SUnit *SU = WorkList.pop_back_val(); in setDepthDirty() 189 WorkList.push_back(SuccSU); in setDepthDirty() 191 } while (!WorkList.empty()); in setDepthDirty() 196 SmallVector<SUnit*, 8> WorkList; in setHeightDirty() local 197 WorkList.push_back(this); in setHeightDirty() 199 SUnit *SU = WorkList.pop_back_val(); in setHeightDirty() 205 WorkList.push_back(PredSU); in setHeightDirty() 207 } while (!WorkList.empty()); in setHeightDirty() [all …]
|
D | ProcessImplicitDefs.cpp | 32 SmallSetVector<MachineInstr*, 16> WorkList; member in __anoneffb0d180111::ProcessImplicitDefs 93 WorkList.insert(UserMI); in processImplicitDef() 148 assert(WorkList.empty() && "Inconsistent worklist state"); in runOnMachineFunction() 156 WorkList.insert(MBBI); in runOnMachineFunction() 158 if (WorkList.empty()) in runOnMachineFunction() 161 DEBUG(dbgs() << "BB#" << MFI->getNumber() << " has " << WorkList.size() in runOnMachineFunction() 166 do processImplicitDef(WorkList.pop_back_val()); in runOnMachineFunction() 167 while (!WorkList.empty()); in runOnMachineFunction()
|
D | LiveRangeCalc.cpp | 180 SmallVector<unsigned, 16> WorkList(1, KillMBBNum); in findReachingDefs() local 187 for (unsigned i = 0; i != WorkList.size(); ++i) { in findReachingDefs() 188 MachineBasicBlock *MBB = MF->getBlockNumbered(WorkList[i]); in findReachingDefs() 235 WorkList.push_back(Pred->getNumber()); in findReachingDefs() 246 if (WorkList.size() > 4) in findReachingDefs() 247 array_pod_sort(WorkList.begin(), WorkList.end()); in findReachingDefs() 253 I = WorkList.begin(), E = WorkList.end(); I != E; ++I) { in findReachingDefs() 269 LiveIn.reserve(WorkList.size()); in findReachingDefs() 271 I = WorkList.begin(), E = WorkList.end(); I != E; ++I) { in findReachingDefs()
|
D | InlineSpiller.cpp | 357 SmallVector<SibValueMap::iterator, 8> WorkList(1, SVI); in propagateSiblingValue() local 361 SVI = WorkList.pop_back_val(); in propagateSiblingValue() 454 WorkList.push_back(DepSVI); in propagateSiblingValue() 459 } while (!WorkList.empty()); in propagateSiblingValue() 490 SmallVector<std::pair<unsigned, VNInfo*>, 8> WorkList; in traceSiblingValue() local 491 WorkList.push_back(std::make_pair(UseReg, UseVNI)); in traceSiblingValue() 496 tie(Reg, VNI) = WorkList.pop_back_val(); in traceSiblingValue() 562 WorkList.push_back(std::make_pair(Reg, NonPHI)); in traceSiblingValue() 592 WorkList.push_back(std::make_pair(SrcReg, SrcVNI)); in traceSiblingValue() 614 } while (!WorkList.empty()); in traceSiblingValue() [all …]
|
D | LiveVariables.cpp | 95 std::vector<MachineBasicBlock*> &WorkList) { in MarkVirtRegAliveInBlock() argument 115 WorkList.insert(WorkList.end(), MBB->pred_rbegin(), MBB->pred_rend()); in MarkVirtRegAliveInBlock() 121 std::vector<MachineBasicBlock*> WorkList; in MarkVirtRegAliveInBlock() local 122 MarkVirtRegAliveInBlock(VRInfo, DefBlock, MBB, WorkList); in MarkVirtRegAliveInBlock() 124 while (!WorkList.empty()) { in MarkVirtRegAliveInBlock() 125 MachineBasicBlock *Pred = WorkList.back(); in MarkVirtRegAliveInBlock() 126 WorkList.pop_back(); in MarkVirtRegAliveInBlock() 127 MarkVirtRegAliveInBlock(VRInfo, DefBlock, Pred, WorkList); in MarkVirtRegAliveInBlock()
|
D | MachineCSE.cpp | 621 SmallVector<MachineDomTreeNode*, 8> WorkList; in PerformCSE() local 627 WorkList.push_back(Node); in PerformCSE() 629 Node = WorkList.pop_back_val(); in PerformCSE() 636 WorkList.push_back(Child); in PerformCSE() 638 } while (!WorkList.empty()); in PerformCSE()
|
D | MachineBlockPlacement.cpp | 201 BlockChain &Chain, SmallVectorImpl<MachineBasicBlock *> &WorkList, 426 BlockChain &Chain, SmallVectorImpl<MachineBasicBlock *> &WorkList, in selectBestCandidateBlock() argument 432 WorkList.erase(std::remove_if(WorkList.begin(), WorkList.end(), in selectBestCandidateBlock() 434 WorkList.end()); in selectBestCandidateBlock() 438 for (SmallVectorImpl<MachineBasicBlock *>::iterator WBI = WorkList.begin(), in selectBestCandidateBlock() 439 WBE = WorkList.end(); in selectBestCandidateBlock()
|
D | MachineTraceMetrics.cpp | 418 SmallVector<const MachineBasicBlock*, 16> WorkList; in invalidate() local 424 WorkList.push_back(BadMBB); in invalidate() 426 const MachineBasicBlock *MBB = WorkList.pop_back_val(); in invalidate() 438 WorkList.push_back(*I); in invalidate() 444 } while (!WorkList.empty()); in invalidate() 450 WorkList.push_back(BadMBB); in invalidate() 452 const MachineBasicBlock *MBB = WorkList.pop_back_val(); in invalidate() 464 WorkList.push_back(*I); in invalidate() 470 } while (!WorkList.empty()); in invalidate()
|
D | RegisterCoalescer.cpp | 98 SmallVector<MachineInstr*, 8> WorkList; member in __anoneed1b2d20111::RegisterCoalescer 2054 const unsigned PrevSize = WorkList.size(); in copyCoalesceInMBB() 2067 WorkList.push_back(&(*MII)); in copyCoalesceInMBB() 2074 WorkList.push_back(MII); in copyCoalesceInMBB() 2080 CurrList(WorkList.begin() + PrevSize, WorkList.end()); in copyCoalesceInMBB() 2082 WorkList.erase(std::remove(WorkList.begin() + PrevSize, WorkList.end(), in copyCoalesceInMBB() 2083 (MachineInstr*)0), WorkList.end()); in copyCoalesceInMBB() 2090 WorkList.push_back(LocalWorkList[j]); in coalesceLocals() 2097 assert(WorkList.empty() && LocalWorkList.empty() && "Old data still around."); in joinAllIntervals() 2122 while (copyCoalesceWorkList(WorkList)) in joinAllIntervals() [all …]
|
D | LiveIntervalAnalysis.cpp | 312 SmallVector<std::pair<SlotIndex, VNInfo*>, 16> WorkList; in shrinkToUses() local 339 WorkList.push_back(std::make_pair(Idx, VNI)); in shrinkToUses() 356 while (!WorkList.empty()) { in shrinkToUses() 357 SlotIndex Idx = WorkList.back().first; in shrinkToUses() 358 VNInfo *VNI = WorkList.back().second; in shrinkToUses() 359 WorkList.pop_back(); in shrinkToUses() 378 WorkList.push_back(std::make_pair(Stop, PVNI)); in shrinkToUses() 395 WorkList.push_back(std::make_pair(Stop, VNI)); in shrinkToUses()
|
/external/llvm/lib/Transforms/Scalar/ |
D | DCE.cpp | 95 std::vector<Instruction*> WorkList; in runOnFunction() local 97 WorkList.push_back(&*i); in runOnFunction() 104 while (!WorkList.empty()) { in runOnFunction() 105 Instruction *I = WorkList.back(); in runOnFunction() 106 WorkList.pop_back(); in runOnFunction() 115 WorkList.push_back(Used); in runOnFunction() 121 WorkList.erase(std::remove(WorkList.begin(), WorkList.end(), I), in runOnFunction() 122 WorkList.end()); in runOnFunction()
|
D | ConstantProp.cpp | 65 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()
|
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()
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | SSAUpdaterImpl.h | 102 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/ |
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() 215 WorkList.push_back(B->getBody()); in RunAnalysis() 226 WorkList.push_back(*I); in RunAnalysis()
|
D | ReachableCode.cpp | 32 SmallVector<const CFGBlock *, 10> WorkList; member in __anon4763f5e70111::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/ |
D | WorkList.h | 61 class WorkList { 64 virtual ~WorkList(); 91 static WorkList *makeDFS(); 92 static WorkList *makeBFS(); 93 static WorkList *makeBFSBlockDFSContents();
|
/external/llvm/tools/llvm-objdump/ |
D | MCFunction.cpp | 44 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/ |
D | CoreEngine.cpp | 40 WorkList::Visitor::~Visitor() {} in ~Visitor() 43 class DFS : public WorkList { 71 class BFS : public WorkList { 102 WorkList::~WorkList() {} in ~WorkList() 104 WorkList *WorkList::makeDFS() { return new DFS(); } in makeDFS() 105 WorkList *WorkList::makeBFS() { return new BFS(); } in makeBFS() 108 class BFSBlockDFSContents : public WorkList { 155 WorkList* WorkList::makeBFSBlockDFSContents() { in makeBFSBlockDFSContents()
|
D | PlistDiagnostics.cpp | 372 SmallVector<const PathPieces *, 5> WorkList; in FlushDiagnosticsImpl() local 373 WorkList.push_back(&D->path); in FlushDiagnosticsImpl() 375 while (!WorkList.empty()) { in FlushDiagnosticsImpl() 376 const PathPieces &path = *WorkList.back(); in FlushDiagnosticsImpl() 377 WorkList.pop_back(); in FlushDiagnosticsImpl() 397 WorkList.push_back(&call->path); in FlushDiagnosticsImpl() 401 WorkList.push_back(¯o->subPieces); in FlushDiagnosticsImpl()
|
/external/clang/include/clang/Analysis/FlowSensitive/ |
D | DataflowSolver.h | 201 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/lib/Transforms/Instrumentation/ |
D | BoundsChecking.cpp | 181 std::vector<Instruction*> WorkList; in runOnFunction() local 186 WorkList.push_back(I); in runOnFunction() 190 for (std::vector<Instruction*>::iterator i = WorkList.begin(), in runOnFunction() 191 e = WorkList.end(); i != e; ++i) { in runOnFunction()
|
/external/llvm/utils/TableGen/ |
D | DFAPacketizerEmitter.cpp | 454 SmallVector<State*, 32> WorkList; in run() local 457 WorkList.push_back(Initial); in run() 476 while (!WorkList.empty()) { in run() 477 State *current = WorkList.pop_back_val(); in run() 505 WorkList.push_back(NewState); in run()
|
/external/llvm/lib/Transforms/Utils/ |
D | LoopSimplify.cpp | 452 std::vector<BasicBlock *> WorkList; in AddBlockAndPredsToSet() local 453 WorkList.push_back(InputBB); in AddBlockAndPredsToSet() 455 BasicBlock *BB = WorkList.back(); WorkList.pop_back(); in AddBlockAndPredsToSet() 461 WorkList.push_back(WBB); in AddBlockAndPredsToSet() 463 } while(!WorkList.empty()); in AddBlockAndPredsToSet()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.h | 429 CaseRecVector& WorkList, 434 CaseRecVector& WorkList, 439 CaseRecVector& WorkList, 444 CaseRecVector& WorkList,
|