/netbsd-current/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/ |
H A D | Combiner.cpp | 53 WorkListTy &WorkList; 59 WorkListMaintainer(WorkListTy &WorkList) argument 60 : GISelChangeObserver(), WorkList(WorkList) {} 66 WorkList.remove(&MI); 70 WorkList.insert(&MI); 75 WorkList.insert(&MI); 79 WorkList.insert(&MI); 126 GISelWorkList<512> WorkList; local 127 WorkListMaintainer Observer(WorkList); [all...] |
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | WorkList.h | 1 //==- WorkList.h - Worklist class used by CoreEngine ---------------*- C++ -*-// 9 // This file defines WorkList, a pure virtual class that represents an opaque 60 class WorkList { class in namespace:clang::ento 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> makeUnexploredFirstPriorityLocationQueu [all...] |
/netbsd-current/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
H A D | WorkList.cpp | 1 //===- WorkList.cpp - Analyzer work-list implementation--------------------===// 13 #include "clang/StaticAnalyzer/Core/PathSensitive/WorkList.h" 25 #define DEBUG_TYPE "WorkList" 36 class DFS : public WorkList { 56 class BFS : public WorkList { 77 // Place the dstor for WorkList here because it contains virtual member 79 WorkList::~WorkList() = default; 81 std::unique_ptr<WorkList> WorkList [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
H A D | ScheduleDAG.cpp | 219 SmallVector<SUnit*, 8> WorkList; 220 WorkList.push_back(this); 222 SUnit *SU = WorkList.pop_back_val(); 227 WorkList.push_back(SuccSU); 229 } while (!WorkList.empty()); 234 SmallVector<SUnit*, 8> WorkList; 235 WorkList.push_back(this); 237 SUnit *SU = WorkList.pop_back_val(); 242 WorkList.push_back(PredSU); 244 } while (!WorkList [all...] |
H A D | ProcessImplicitDefs.cpp | 33 SmallSetVector<MachineInstr*, 16> WorkList; member in class:__anon1849::ProcessImplicitDefs 89 WorkList.insert(UserMI); 144 assert(WorkList.empty() && "Inconsistent worklist state"); 150 WorkList.insert(&MI); 152 if (WorkList.empty()) 155 LLVM_DEBUG(dbgs() << printMBBReference(MBB) << " has " << WorkList.size() 159 // Drain the WorkList to recursively process any new implicit defs. 160 do processImplicitDef(WorkList.pop_back_val()); 161 while (!WorkList.empty());
|
H A D | LiveRangeCalc.cpp | 140 SetVector<unsigned> WorkList; local 144 WorkList.insert(P->getNumber()); 146 for (unsigned i = 0; i != WorkList.size(); ++i) { 148 unsigned N = WorkList[i]; 186 WorkList.insert(P->getNumber()); 199 SmallVector<unsigned, 16> WorkList(1, UseMBBNum); 208 for (unsigned i = 0; i != WorkList.size(); ++i) { 209 MachineBasicBlock *MBB = MF->getBlockNumbered(WorkList[i]); 263 WorkList.push_back(Pred->getNumber()); 277 if (WorkList [all...] |
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Analysis/FlowSensitive/ |
H A D | DataflowWorklist.h | 27 WorkList; member in class:clang::DataflowWorklistBase 31 : EnqueuedBlocks(Cfg.getNumBlockIDs()), POV(POV), WorkList(C) {} 38 WorkList.push(Block); 43 if (WorkList.empty()) 45 const CFGBlock *B = WorkList.top(); 46 WorkList.pop();
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | DCE.cpp | 89 SmallSetVector<Instruction *, 16> &WorkList, 112 WorkList.insert(OpI); 124 SmallSetVector<Instruction *, 16> WorkList; local 131 if (!WorkList.count(&I)) 132 MadeChange |= DCEInstruction(&I, WorkList, TLI); 135 while (!WorkList.empty()) { 136 Instruction *I = WorkList.pop_back_val(); 137 MadeChange |= DCEInstruction(I, WorkList, TLI); 88 DCEInstruction(Instruction *I, SmallSetVector<Instruction *, 16> &WorkList, const TargetLibraryInfo *TLI) argument
|
H A D | Reg2Mem.cpp | 72 std::list<Instruction*> WorkList; local 75 WorkList.push_front(&I); 78 NumRegsDemoted += WorkList.size(); 79 for (Instruction *I : WorkList) 82 WorkList.clear(); 87 WorkList.push_front(&Phi); 90 NumPhisDemoted += WorkList.size(); 91 for (Instruction *I : WorkList)
|
H A D | BDCE.cpp | 50 SmallVector<Instruction *, 16> WorkList; local 58 WorkList.push_back(J); 72 while (!WorkList.empty()) { 73 Instruction *J = WorkList.pop_back_val(); 88 WorkList.push_back(K);
|
H A D | ConstraintElimination.cpp | 262 SmallVector<ConstraintOrBlock, 64> WorkList; local 269 WorkList.emplace_back(DT.getNode(&BB)); 292 WorkList.emplace_back(DT.getNode(FalseSuccessor), cast<CmpInst>(Op0), 294 WorkList.emplace_back(DT.getNode(FalseSuccessor), cast<CmpInst>(Op1), 307 WorkList.emplace_back(DT.getNode(TrueSuccessor), cast<CmpInst>(Op0), 309 WorkList.emplace_back(DT.getNode(TrueSuccessor), cast<CmpInst>(Op1), 319 WorkList.emplace_back(DT.getNode(Br->getSuccessor(0)), CmpI, false); 321 WorkList.emplace_back(DT.getNode(Br->getSuccessor(1)), CmpI, true); 328 sort(WorkList, [](const ConstraintOrBlock &A, const ConstraintOrBlock &B) { 335 for (ConstraintOrBlock &CB : WorkList) { [all...] |
H A D | AlignmentFromAssumptions.cpp | 245 SmallVector<Instruction*, 16> WorkList; local 251 WorkList.push_back(K); 254 while (!WorkList.empty()) { 255 Instruction *J = WorkList.pop_back_val(); 309 WorkList.push_back(K);
|
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/ |
H A D | SSAUpdaterImpl.h | 117 SmallVector<BBInfo *, 64> WorkList; local 121 WorkList.push_back(Info); 127 while (!WorkList.empty()) { 128 Info = WorkList.pop_back_val(); 158 WorkList.push_back(PredInfo); 173 WorkList.push_back(Info); 176 while (!WorkList.empty()) { 177 Info = WorkList.back(); 185 WorkList.pop_back(); 203 WorkList 405 SmallVector<PhiT *, 20> WorkList; local [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
H A D | X86PreTileConfig.cpp | 207 SmallVector<Register, 8> WorkList( 209 while (!WorkList.empty()) { 210 Register R = WorkList.pop_back_val(); 221 WorkList.push_back(DefMI->getOperand(I).getReg()); 294 SmallVector<MachineBasicBlock *, 8> WorkList; 303 WorkList.push_back(I.first); 305 while (!WorkList.empty()) { 306 MachineBasicBlock *MBB = WorkList.pop_back_val(); 310 WorkList.push_back(Pred); 323 SmallVector<MIRef, 8> WorkList({ [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyFixIrreducibleControlFlow.cpp | 139 SmallVector<BlockPair, 4> WorkList; 146 WorkList.emplace_back(MBB, Succ); 151 while (!WorkList.empty()) { 153 std::tie(MBB, Succ) = WorkList.pop_back_val(); 160 WorkList.emplace_back(Pred, Succ); 209 BlockVector WorkList; local 214 WorkList.push_back(Pred); 219 while (!WorkList.empty()) { 220 auto *MBB = WorkList.pop_back_val(); 225 WorkList [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | CFLAndersAliasAnalysis.cpp | 598 std::vector<WorkListItem> &WorkList) { 602 WorkList.push_back(WorkListItem{From, To, State}); 605 static void initializeWorkList(std::vector<WorkListItem> &WorkList, argument 620 WorkList); 622 WorkList); 638 std::vector<WorkListItem> &WorkList) { 658 MatchState::FlowFromMemAliasNoReadWrite, ReachSet, WorkList); 663 propagate(Src, *ToNodeBelow, ToState, ReachSet, WorkList); 685 propagate(FromNode, AssignEdge.Other, State, ReachSet, WorkList); 689 propagate(FromNode, RevAssignEdge.Other, State, ReachSet, WorkList); 596 propagate(InstantiatedValue From, InstantiatedValue To, MatchState State, ReachabilitySet &ReachSet, std::vector<WorkListItem> &WorkList) argument 636 processWorkListItem(const WorkListItem &Item, const CFLGraph &Graph, ReachabilitySet &ReachSet, AliasMemSet &MemSet, std::vector<WorkListItem> &WorkList) argument 738 std::vector<InstantiatedValue> WorkList, NextList; local 792 std::vector<WorkListItem> WorkList, NextList; local [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | CodeMoverUtils.cpp | 282 /// Get the next instructions of \p I, and push them to \p WorkList. 284 SmallPtrSetImpl<Instruction *> &WorkList) { 286 WorkList.insert(NextInst); 290 WorkList.insert(&Succ->front()); 294 SmallPtrSet<Instruction *, 10> WorkList; 295 getNextInsts(StartInst, WorkList); 296 while (!WorkList.empty()) { 297 Instruction *CurInst = *WorkList.begin(); 298 WorkList.erase(CurInst); 306 getNextInsts(*CurInst, WorkList); [all...] |
H A D | FixIrreducible.cpp | 312 SmallVector<Loop *, 8> WorkList; local 319 append_range(WorkList, LI); 321 while (!WorkList.empty()) { 322 auto L = WorkList.pop_back_val(); 328 WorkList.append(L->begin(), L->end());
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/IR/ |
H A D | LLVMContextImpl.cpp | 130 SmallSetVector<ConstantArray *, 4> WorkList; local 133 // dead, starting WorkList with all elements of ArrayConstants can be 134 // wasteful. Instead, starting WorkList with only elements that have empty 138 WorkList.insert(C); 140 while (!WorkList.empty()) { 141 ConstantArray *C = WorkList.pop_back_val(); 145 WorkList.insert(COp);
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/Mips/ |
H A D | MipsOptimizePICCall.cpp | 204 SmallVector<MBBInfo, 8> WorkList(1, MBBInfo(MDT->getRootNode())); 206 while (!WorkList.empty()) { 207 MBBInfo &MBBI = WorkList.back(); 213 WorkList.pop_back(); 221 WorkList.append(Node->begin(), Node->end());
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/ |
H A D | PPCBoolRetToInt.cpp | 74 SmallVector<Value *, 8> WorkList; local 75 WorkList.push_back(V); 77 while (!WorkList.empty()) { 78 Value *Curr = WorkList.pop_back_val(); 85 WorkList.push_back(Op);
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/AArch64/ |
H A D | AArch64StackTaggingPreRA.cpp | 276 SmallVector<Register, 8> WorkList; local 277 WorkList.push_back(RetagReg); 279 while (!WorkList.empty()) { 280 Register UseReg = WorkList.back(); 281 WorkList.pop_back(); 293 WorkList.push_back(DstReg);
|
/netbsd-current/external/apache2/llvm/lib/libclangStaticAnalyzerCore/ |
H A D | Makefile | 53 WorkList.cpp
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DebugHandlerBase.cpp | 114 SmallVector<LexicalScope *, 4> WorkList; local 115 WorkList.push_back(LScopes.getCurrentFunctionScope()); 116 while (!WorkList.empty()) { 117 LexicalScope *S = WorkList.pop_back_val(); 121 WorkList.append(Children.begin(), Children.end());
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUPromoteAlloca.cpp | 86 std::vector<Value*> &WorkList) const; 446 std::vector<Value *> WorkList; local 477 WorkList.push_back(AllocaUser); 499 for (Value *V : WorkList) { 605 Value *BaseAlloca, Value *Val, std::vector<Value *> &WorkList) const { 608 if (is_contained(WorkList, User)) 615 WorkList.push_back(User); 652 WorkList.push_back(ICmp); 660 WorkList.push_back(User); 702 WorkList 911 std::vector<Value*> WorkList; local [all...] |