| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ScheduleDAG.cpp | 221 WorkList.push_back(this); in setDepthDirty() 236 WorkList.push_back(this); in setHeightDirty() 285 WorkList.pop_back(); in ComputeDepth() 316 WorkList.pop_back(); in ComputeHeight() 498 WorkList.pop_back(); in InitDAGTopologicalSorting() 576 WorkList.push_back(SU); in DFS() 578 SU = WorkList.back(); in DFS() 579 WorkList.pop_back(); in DFS() 621 WorkList.pop_back(); in GetSubGraph() 645 WorkList.clear(); in GetSubGraph() [all …]
|
| H A D | ProcessImplicitDefs.cpp | 34 SmallSetVector<MachineInstr*, 16> WorkList; member in __anon38a03fc60111::ProcessImplicitDefs 95 WorkList.insert(UserMI); in processImplicitDef() 148 assert(WorkList.empty() && "Inconsistent worklist state"); in runOnMachineFunction() 154 WorkList.insert(&MI); in runOnMachineFunction() 156 if (WorkList.empty()) in runOnMachineFunction() 159 LLVM_DEBUG(dbgs() << printMBBReference(MBB) << " 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 | 138 SetVector<unsigned> WorkList; in isDefOnEntry() local 142 WorkList.insert(P->getNumber()); in isDefOnEntry() 144 for (unsigned i = 0; i != WorkList.size(); ++i) { in isDefOnEntry() 146 unsigned N = WorkList[i]; in isDefOnEntry() 184 WorkList.insert(P->getNumber()); in isDefOnEntry() 266 WorkList.push_back(Pred->getNumber()); in findReachingDefs() 280 if (WorkList.size() > 4) in findReachingDefs() 281 array_pod_sort(WorkList.begin(), WorkList.end()); in findReachingDefs() 287 for (unsigned BN : WorkList) { in findReachingDefs() 316 LiveIn.reserve(WorkList.size()); in findReachingDefs() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | WorkList.cpp | 36 class DFS : public WorkList { 56 class BFS : public WorkList { 79 WorkList::~WorkList() = default; 81 std::unique_ptr<WorkList> WorkList::makeDFS() { in makeDFS() 85 std::unique_ptr<WorkList> WorkList::makeBFS() { in makeBFS() 91 class BFSBlockDFSContents : public WorkList { 126 std::unique_ptr<WorkList> WorkList::makeBFSBlockDFSContents() { in makeBFSBlockDFSContents() 132 class UnexploredFirstStack : public WorkList { 188 std::unique_ptr<WorkList> WorkList::makeUnexploredFirst() { in makeUnexploredFirst() 245 std::unique_ptr<WorkList> WorkList::makeUnexploredFirstPriorityQueue() { in makeUnexploredFirstPriorityQueue() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | Combiner.cpp | 52 WorkListTy &WorkList; member in Combiner::WorkListMaintainer 60 WorkListMaintainer(WorkListTy &WorkList) : WorkList(WorkList) {} in WorkListMaintainer() argument 65 WorkList.remove(&MI); in erasingInstr() 69 WorkList.insert(&MI); in createdInstr() 74 WorkList.insert(&MI); in changingInstr() 78 WorkList.insert(&MI); in changedInstr() 139 WorkList.clear(); in combineMachineInstrs() 157 WorkList.deferred_insert(&CurMI); in combineMachineInstrs() 160 WorkList.finalize(); in combineMachineInstrs() 162 while (!WorkList.empty()) { in combineMachineInstrs() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | WorkList.h | 60 class WorkList { 63 virtual ~WorkList(); 82 static std::unique_ptr<WorkList> makeDFS(); 83 static std::unique_ptr<WorkList> makeBFS(); 84 static std::unique_ptr<WorkList> makeBFSBlockDFSContents(); 85 static std::unique_ptr<WorkList> makeUnexploredFirst(); 86 static std::unique_ptr<WorkList> makeUnexploredFirstPriorityQueue(); 87 static std::unique_ptr<WorkList> makeUnexploredFirstPriorityLocationQueue();
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | Reg2Mem.cpp | 71 std::list<Instruction*> WorkList; in runPass() local 74 WorkList.push_front(&I); in runPass() 77 NumRegsDemoted += WorkList.size(); in runPass() 78 for (Instruction *I : WorkList) in runPass() 81 WorkList.clear(); in runPass() 86 WorkList.push_front(&Phi); in runPass() 89 NumPhisDemoted += WorkList.size(); in runPass() 90 for (Instruction *I : WorkList) in runPass()
|
| H A D | DCE.cpp | 56 SmallSetVector<Instruction *, 16> &WorkList, in DCEInstruction() argument 79 WorkList.insert(OpI); in DCEInstruction() 91 SmallSetVector<Instruction *, 16> WorkList; in eliminateDeadCode() local 98 if (!WorkList.count(&I)) in eliminateDeadCode() 99 MadeChange |= DCEInstruction(&I, WorkList, TLI); in eliminateDeadCode() 102 while (!WorkList.empty()) { in eliminateDeadCode() 103 Instruction *I = WorkList.pop_back_val(); in eliminateDeadCode() 104 MadeChange |= DCEInstruction(I, WorkList, TLI); in eliminateDeadCode()
|
| H A D | BDCE.cpp | 47 SmallVector<Instruction *, 16> WorkList; in clearAssumptionsOfUsers() local 55 WorkList.push_back(J); in clearAssumptionsOfUsers() 69 while (!WorkList.empty()) { in clearAssumptionsOfUsers() 70 Instruction *J = WorkList.pop_back_val(); in clearAssumptionsOfUsers() 85 WorkList.push_back(K); in clearAssumptionsOfUsers()
|
| H A D | ConstraintElimination.cpp | 187 SmallVector<FactOrCheck, 64> WorkList; member 945 WorkList.push_back( in addInfoForInductions() 948 WorkList.push_back( in addInfoForInductions() 1053 WorkList.emplace_back( in addInfoFor() 1060 WorkList.push_back( in addInfoFor() 1212 SmallVector<Value *, 4> WorkList(Ops); in generateReproducer() local 1213 while (!WorkList.empty()) { in generateReproducer() 1214 Value *V = WorkList.pop_back_val(); in generateReproducer() 1268 while (!WorkList.empty()) { in generateReproducer() 1269 Value *V = WorkList.pop_back_val(); in generateReproducer() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/ |
| H A D | DataflowWorklist.h | 27 WorkList; variable 31 : EnqueuedBlocks(Cfg.getNumBlockIDs()), WorkList(C) {} in DataflowWorklistBase() 36 WorkList.push(Block); in enqueueBlock() 41 if (WorkList.empty()) in dequeue() 43 const CFGBlock *B = WorkList.top(); in dequeue() 44 WorkList.pop(); in dequeue()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | SSAUpdaterImpl.h | 121 WorkList.push_back(Info); in BuildBlockList() 127 while (!WorkList.empty()) { in BuildBlockList() 128 Info = WorkList.pop_back_val(); in BuildBlockList() 158 WorkList.push_back(PredInfo); in BuildBlockList() 173 WorkList.push_back(Info); in BuildBlockList() 176 while (!WorkList.empty()) { in BuildBlockList() 177 Info = WorkList.back(); in BuildBlockList() 185 WorkList.pop_back(); in BuildBlockList() 203 WorkList.push_back(SuccInfo); in BuildBlockList() 432 WorkList.push_back(PHI); in CheckIfPHIMatches() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CodeMoverUtils.cpp | 288 WorkList.insert(NextInst); in collectInstructionsInBetween() 292 WorkList.insert(&Succ->front()); in collectInstructionsInBetween() 296 SmallPtrSet<Instruction *, 10> WorkList; in collectInstructionsInBetween() local 297 getNextInsts(StartInst, WorkList); in collectInstructionsInBetween() 298 while (!WorkList.empty()) { in collectInstructionsInBetween() 300 WorkList.erase(CurInst); in collectInstructionsInBetween() 308 getNextInsts(*CurInst, WorkList); in collectInstructionsInBetween() 452 WorkList.push_back(ThisBlock); in nonStrictlyPostDominate() 453 while (!WorkList.empty()) { in nonStrictlyPostDominate() 455 WorkList.pop_back(); in nonStrictlyPostDominate() [all …]
|
| H A D | MoveAutoInit.cpp | 72 SmallVector<MemoryAccess *> WorkList(map_range(IMA.users(), AsMemoryAccess)); in usersDominator() local 74 while (!WorkList.empty()) { in usersDominator() 75 MemoryAccess *MA = WorkList.pop_back_val(); in usersDominator() 100 append_range(WorkList, UsersAsMemoryAccesses); in usersDominator() 133 SmallVector<BasicBlock *> WorkList(successors(UsersDominator)); in runMoveAutoInit() local 135 while (!WorkList.empty()) { in runMoveAutoInit() 136 BasicBlock *CurrBB = WorkList.pop_back_val(); in runMoveAutoInit() 144 WorkList.push_back(Successor); in runMoveAutoInit()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | EHUtils.h | 23 DenseSet<BlockT *> WorkList; in computeEHOnlyBlocks() local 47 WorkList.insert(SuccBB); in computeEHOnlyBlocks() 64 while (!WorkList.empty()) { in computeEHOnlyBlocks() 65 auto *BB = *WorkList.begin(); in computeEHOnlyBlocks() 66 WorkList.erase(BB); in computeEHOnlyBlocks()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVInsertWriteVXRM.cpp | 169 std::queue<const MachineBasicBlock *> WorkList; member in __anone86193460111::RISCVInsertWriteVXRM 276 WorkList.push(S); in computeAvailable() 320 WorkList.push(P); in computeAnticipated() 437 WorkList.push(&MBB); in runOnMachineFunction() 440 while (!WorkList.empty()) { in runOnMachineFunction() 441 const MachineBasicBlock &MBB = *WorkList.front(); in runOnMachineFunction() 442 WorkList.pop(); in runOnMachineFunction() 448 WorkList.push(&MBB); in runOnMachineFunction() 451 while (!WorkList.empty()) { in runOnMachineFunction() 452 const MachineBasicBlock &MBB = *WorkList.front(); in runOnMachineFunction() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVRegularizer.cpp | 71 std::list<Instruction *> WorkList; in runLowerConstExpr() local 73 WorkList.push_back(&II); in runLowerConstExpr() 76 while (!WorkList.empty()) { in runLowerConstExpr() 77 Instruction *II = WorkList.front(); in runLowerConstExpr() 106 WorkList.pop_front(); in runLowerConstExpr() 107 auto LowerConstantVec = [&II, &LowerOp, &WorkList, in runLowerConstExpr() 132 WorkList.splice(WorkList.begin(), ReplList); in runLowerConstExpr() 144 WorkList.push_front(cast<Instruction>(LowerOp(CE))); in runLowerConstExpr() 160 WorkList.push_front(cast<Instruction>(ReplInst)); in runLowerConstExpr()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86PreTileConfig.cpp | 218 SmallVector<Register, 8> WorkList( in INITIALIZE_PASS_DEPENDENCY() local 220 while (!WorkList.empty()) { in INITIALIZE_PASS_DEPENDENCY() 221 Register R = WorkList.pop_back_val(); in INITIALIZE_PASS_DEPENDENCY() 307 SmallVector<MachineBasicBlock *, 8> WorkList; in runOnMachineFunction() local 323 WorkList.push_back(I.first); in runOnMachineFunction() 325 while (!WorkList.empty()) { in runOnMachineFunction() 330 WorkList.push_back(Pred); in runOnMachineFunction() 343 SmallVector<MIRef, 8> WorkList({I}); in runOnMachineFunction() local 344 while (!WorkList.empty()) { in runOnMachineFunction() 345 MIRef I = WorkList.pop_back_val(); in runOnMachineFunction() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/ |
| H A D | AMDGPUMemoryUtils.cpp | 112 SmallVector<MemoryAccess *> WorkList{Walker->getClobberingMemoryAccess(Load)}; in isClobberedInFunction() local 126 while (!WorkList.empty()) { in isClobberedInFunction() 127 MemoryAccess *MA = WorkList.pop_back_val(); in isClobberedInFunction() 142 WorkList.push_back( in isClobberedInFunction() 149 WorkList.push_back(cast<MemoryAccess>(&Use)); in isClobberedInFunction()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyFixIrreducibleControlFlow.cpp | 140 SmallVector<BlockPair, 4> WorkList; in calculate() local 147 WorkList.emplace_back(MBB, Succ); in calculate() 152 while (!WorkList.empty()) { in calculate() 154 std::tie(MBB, Succ) = WorkList.pop_back_val(); in calculate() 161 WorkList.emplace_back(Pred, Succ); in calculate() 210 BlockVector WorkList; in calculate() local 215 WorkList.push_back(Pred); in calculate() 220 while (!WorkList.empty()) { in calculate() 221 auto *MBB = WorkList.pop_back_val(); in calculate() 226 WorkList.push_back(Pred); in calculate()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanTransforms.cpp | 220 SmallVector<VPRegionBlock *, 8> WorkList; in mergeReplicateRegionsIntoSuccessors() local 241 WorkList.push_back(Region1); in mergeReplicateRegionsIntoSuccessors() 339 WorkList.push_back(RepR); in addReplicateRegions() 372 SmallVector<VPBasicBlock *> WorkList; in mergeBlocksIntoPredecessors() local 378 WorkList.push_back(VPBB); in mergeBlocksIntoPredecessors() 381 for (VPBasicBlock *VPBB : WorkList) { in mergeBlocksIntoPredecessors() 395 return !WorkList.empty(); in mergeBlocksIntoPredecessors() 656 SmallVector<VPRecipeBase *> WorkList; in sinkRecurrenceUsersAfterPrevious() local 673 WorkList.push_back(SinkCandidate); in sinkRecurrenceUsersAfterPrevious() 678 WorkList.push_back(FOR); in sinkRecurrenceUsersAfterPrevious() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | LLVMContextImpl.cpp | 149 SmallSetVector<ConstantArray *, 4> WorkList; in dropTriviallyDeadConstantArrays() local 157 WorkList.insert(C); in dropTriviallyDeadConstantArrays() 159 while (!WorkList.empty()) { in dropTriviallyDeadConstantArrays() 160 ConstantArray *C = WorkList.pop_back_val(); in dropTriviallyDeadConstantArrays() 164 WorkList.insert(COp); in dropTriviallyDeadConstantArrays()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPromoteAlloca.cpp | 712 WorkList.push_back(Inst); in tryPromoteAllocaToVector() 719 WorkList.push_back(Inst); in tryPromoteAllocaToVector() 747 WorkList.push_back(Inst); in tryPromoteAllocaToVector() 762 WorkList.push_back(Inst); in tryPromoteAllocaToVector() 868 DenseSet<Instruction *> InstsToDelete(WorkList.begin(), WorkList.end()); in tryPromoteAllocaToVector() 1076 WorkList.push_back(User); in collectUsesWithPtrTypes() 1113 WorkList.push_back(ICmp); in collectUsesWithPtrTypes() 1121 WorkList.push_back(User); in collectUsesWithPtrTypes() 1163 WorkList.push_back(User); in collectUsesWithPtrTypes() 1372 std::vector<Value *> WorkList; in tryPromoteAllocaToLDS() local [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCBoolRetToInt.cpp | 75 SmallVector<Value *, 8> WorkList; in findAllDefs() local 76 WorkList.push_back(V); in findAllDefs() 78 while (!WorkList.empty()) { in findAllDefs() 79 Value *Curr = WorkList.pop_back_val(); in findAllDefs() 86 WorkList.push_back(Op); in findAllDefs()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsOptimizePICCall.cpp | 203 SmallVector<MBBInfo, 8> WorkList(1, MBBInfo(MDT->getRootNode())); in runOnMachineFunction() local 205 while (!WorkList.empty()) { in runOnMachineFunction() 206 MBBInfo &MBBI = WorkList.back(); in runOnMachineFunction() 212 WorkList.pop_back(); in runOnMachineFunction() 220 WorkList.append(Node->begin(), Node->end()); in runOnMachineFunction()
|