HomeSort by relevance Sort by last modified time
    Searched refs:worklist (Results 1 - 19 of 19) sorted by null

  /external/llvm/lib/Transforms/Scalar/
ADCE.cpp 54 SmallVector<Instruction*, 128> worklist; local
63 worklist.push_back(I.getInstructionIterator());
67 while (!worklist.empty()) {
68 Instruction* curr = worklist.pop_back_val();
73 worklist.push_back(Inst);
79 // NOTE: We reuse the worklist vector here for memory efficiency.
82 worklist.push_back(I.getInstructionIterator());
86 for (SmallVector<Instruction*, 1024>::iterator I = worklist.begin(),
87 E = worklist.end(); I != E; ++I) {
92 return !worklist.empty()
    [all...]
CodeGenPrepare.cpp 721 SmallVector<Value*, 8> worklist; local
723 worklist.push_back(Addr);
725 // Use a worklist to iteratively look through PHI nodes, and ensure that
733 while (!worklist.empty()) {
734 Value *V = worklist.back();
735 worklist.pop_back();
746 worklist.push_back(P->getIncomingValue(i));
    [all...]
  /external/clang/lib/Analysis/
CFGReachabilityAnalysis.cpp 43 SmallVector<const CFGBlock *, 11> worklist; local
51 worklist.push_back(Dst);
54 while (!worklist.empty()) {
55 const CFGBlock *block = worklist.back();
56 worklist.pop_back();
70 // Add the predecessors to the worklist.
73 worklist.push_back(*i);
UninitializedValues.cpp 279 // Worklist: worklist for dataflow analysis.
284 SmallVector<const CFGBlock *, 20> worklist; member in class:__anon4264::DataflowWorklist
295 unsigned OldWorklistSize = worklist.size();
301 worklist.push_back(Successor);
304 if (OldWorklistSize == 0 || OldWorklistSize == worklist.size())
307 // Rotate the newly added blocks to the start of the worklist so that it forms
308 // a proper queue when we pop off the end of the worklist.
309 std::rotate(worklist.begin(), worklist.begin() + OldWorklistSize
    [all...]
LiveVariables.cpp 118 SmallVector<const CFGBlock *, 20> worklist; member in class:__anon4256::DataflowWorklist
140 worklist.push_back(block);
145 const unsigned OldWorklistSize = worklist.size();
151 if (OldWorklistSize == 0 || OldWorklistSize == worklist.size())
158 const unsigned OldWorklistSize = worklist.size();
164 if (OldWorklistSize == 0 || OldWorklistSize == worklist.size())
171 std::sort(worklist.begin(), worklist.end(), TSC.getComparator());
176 if (worklist.empty())
178 const CFGBlock *b = worklist.back()
    [all...]
  /external/llvm/lib/Transforms/IPO/
PartialInlining.cpp 150 std::vector<Function*> worklist; local
151 worklist.reserve(M.size());
154 worklist.push_back(&*FI);
157 while (!worklist.empty()) {
158 Function* currFunc = worklist.back();
159 worklist.pop_back();
175 worklist.push_back(newFunc);
  /dalvik/dx/src/com/android/dx/ssa/
DeadCodeRemover.java 49 private final BitSet worklist; field in class:DeadCodeRemover
73 worklist = new BitSet(regCount);
85 ssaMeth.forEachInsn(new NoSideEffectVisitor(worklist));
89 while ( 0 <= (regV = worklist.nextSetBit(0)) ) {
90 worklist.clear(regV);
115 * should be added back to the worklist.
117 worklist.set(source.getReg());
222 * prevents us from adding this back to a worklist unnecessarally.
231 * A callback class used to build up the initial worklist of
PhiTypeResolver.java 48 private final BitSet worklist; field in class:PhiTypeResolver
60 worklist = new BitSet(ssaMeth.getRegCount());
75 worklist.set(reg);
80 while ( 0 <= (reg = worklist.nextSetBit(0))) {
81 worklist.clear(reg);
84 * definitions on the worklist have a type of BT_VOID, which
102 worklist.set(resultReg.getReg());
Dominators.java 120 ArrayList<SsaBasicBlock> worklist = new ArrayList<SsaBasicBlock>(); local
122 worklist.add(in);
124 while (!worklist.isEmpty()) {
125 int wsize = worklist.size();
126 SsaBasicBlock v = worklist.get(wsize - 1);
133 worklist.add(vAncestor);
136 worklist.remove(wsize - 1);
SsaConverter.java 338 BitSet worklist; local
347 /* Worklist set starts out with each node where reg is assigned. */
349 worklist = (BitSet) (defsites[reg].clone());
351 while (0 <= (workBlockIndex = worklist.nextSetBit(0))) {
352 worklist.clear(workBlockIndex);
373 worklist.set(dfBlockIndex);
  /external/clang/lib/StaticAnalyzer/Checkers/
DeadStoresChecker.cpp 53 SmallVector<const CFGBlock*, 10> worklist;
54 worklist.push_back(&cfg.getEntry());
56 while (!worklist.empty()) {
57 const CFGBlock *block = worklist.back();
58 worklist.pop_back();
66 worklist.push_back(succ);
  /external/llvm/lib/Analysis/
LazyValueInfo.cpp 948 std::vector<BasicBlock*> worklist; local
949 worklist.push_back(OldSucc);
    [all...]
  /external/v8/benchmarks/
richards.js 236 * Add the specified packet to the end of the worklist used by the task
341 * Adds a packet to the worklist of this block's task, marks this as runnable if
524 * Add this packet to the end of a worklist, and return the worklist.
525 * @param {Packet} queue the worklist to add this packet to
  /external/webkit/PerformanceTests/SunSpider/tests/v8-v4/
v8-richards.js 231 * Add the specified packet to the end of the worklist used by the task
336 * Adds a packet to the worklist of this block's task, marks this as runnable if
519 * Add this packet to the end of a worklist, and return the worklist.
520 * @param {Packet} queue the worklist to add this packet to
  /external/webkit/PerformanceTests/SunSpider/tests/v8-v5/
v8-richards.js 231 * Add the specified packet to the end of the worklist used by the task
336 * Adds a packet to the worklist of this block's task, marks this as runnable if
519 * Add this packet to the end of a worklist, and return the worklist.
520 * @param {Packet} queue the worklist to add this packet to
  /external/webkit/PerformanceTests/SunSpider/tests/v8-v6/
v8-richards.js 231 * Add the specified packet to the end of the worklist used by the task
336 * Adds a packet to the worklist of this block's task, marks this as runnable if
519 * Add this packet to the end of a worklist, and return the worklist.
520 * @param {Packet} queue the worklist to add this packet to
  /external/v8/src/
hydrogen.cc 729 // Worklist of phis that can potentially be eliminated. Initialized
731 // another phi node the modified phi node is added to the worklist.
732 ZoneList<HPhi*> worklist(blocks_.length());
734 worklist.AddAll(*blocks_[i]->phis());
737 while (!worklist.is_empty()) {
738 HPhi* phi = worklist.RemoveLast();
755 if (use->IsPhi()) worklist.Add(HPhi::cast(use));
767 // Initialize worklist.
769 ZoneList<HPhi*> worklist(blocks_.length());
779 worklist.Add(phi)
    [all...]
hydrogen.h 288 void InferTypes(ZoneList<HValue*>* worklist);
    [all...]
  /prebuilt/sdk/tools/lib/
dx.jar 

Completed in 335 milliseconds