Searched refs:CostWorklist (Results 1 – 2 of 2) sorted by relevance
278 SmallVector<Instruction *, 16> CostWorklist; in analyzeLoopUnrollCost() local286 assert(CostWorklist.empty() && "Must start with an empty cost list"); in analyzeLoopUnrollCost()288 CostWorklist.push_back(&RootI); in analyzeLoopUnrollCost()291 Instruction *I = CostWorklist.pop_back_val(); in analyzeLoopUnrollCost()346 CostWorklist.push_back(OpI); in analyzeLoopUnrollCost()348 } while (!CostWorklist.empty()); in analyzeLoopUnrollCost()356 CostWorklist.append(PHIUsedList.begin(), PHIUsedList.end()); in analyzeLoopUnrollCost()
359 SmallVector<Instruction *, 16> CostWorklist; in analyzeLoopUnrollCost() local367 assert(CostWorklist.empty() && "Must start with an empty cost list"); in analyzeLoopUnrollCost()369 CostWorklist.push_back(&RootI); in analyzeLoopUnrollCost()372 Instruction *I = CostWorklist.pop_back_val(); in analyzeLoopUnrollCost()427 CostWorklist.push_back(OpI); in analyzeLoopUnrollCost()429 } while (!CostWorklist.empty()); in analyzeLoopUnrollCost()437 CostWorklist.append(PHIUsedList.begin(), PHIUsedList.end()); in analyzeLoopUnrollCost()