Home
last modified time | relevance | path

Searched refs:WorkSet (Results 1 – 9 of 9) sorted by relevance

/external/llvm/lib/Analysis/
DCodeMetrics.cpp30 static void completeEphemeralValues(SmallVector<const Value *, 16> &WorkSet, in completeEphemeralValues() argument
35 EphValues.insert(WorkSet.begin(), WorkSet.end()); in completeEphemeralValues()
40 while (!WorkSet.empty()) { in completeEphemeralValues()
41 const Value *V = WorkSet.front(); in completeEphemeralValues()
42 WorkSet.erase(WorkSet.begin()); in completeEphemeralValues()
58 WorkSet.push_back(J); in completeEphemeralValues()
67 SmallVector<const Value *, 16> WorkSet; in collectEphemeralValues() local
80 WorkSet.push_back(I); in collectEphemeralValues()
83 completeEphemeralValues(WorkSet, EphValues); in collectEphemeralValues()
89 SmallVector<const Value *, 16> WorkSet; in collectEphemeralValues() local
[all …]
DValueTracking.cpp402 SmallVector<const Value *, 16> WorkSet(1, I); in isEphemeralValueOf() local
412 while (!WorkSet.empty()) { in isEphemeralValueOf()
413 const Value *V = WorkSet.pop_back_val(); in isEphemeralValueOf()
428 WorkSet.push_back(*J); in isEphemeralValueOf()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUPerfHintAnalysis.cpp148 SmallSet<const Value *, 32> WorkSet; in isIndirectAccess() local
152 WorkSet.insert(MO); in isIndirectAccess()
155 while (!WorkSet.empty()) { in isIndirectAccess()
156 const Value *V = *WorkSet.begin(); in isIndirectAccess()
157 WorkSet.erase(*WorkSet.begin()); in isIndirectAccess()
173 WorkSet.insert(P); in isIndirectAccess()
175 WorkSet.insert(GEP->getOperand(I)); in isIndirectAccess()
180 WorkSet.insert(U->getOperand(0)); in isIndirectAccess()
185 WorkSet.insert(BO->getOperand(0)); in isIndirectAccess()
186 WorkSet.insert(BO->getOperand(1)); in isIndirectAccess()
[all …]
/external/spirv-llvm/lib/SPIRV/
DOCLTypeToSPIRV.cpp87 while (!WorkSet.empty()) { in runOnModule()
88 Function *F = *WorkSet.begin(); in runOnModule()
89 WorkSet.erase(WorkSet.begin()); in runOnModule()
110 WorkSet.insert(F); in addWork()
DOCLTypeToSPIRV.h70 std::set<Function *> WorkSet; // Functions to be adapted variable
/external/llvm/lib/CodeGen/
DInlineSpiller.cpp1148 SmallPtrSet<MachineDomTreeNode *, 8> WorkSet; in getVisitOrders() local
1177 } else if (WorkSet.count(Node)) { in getVisitOrders()
1193 WorkSet.insert(NodesOnPath.begin(), NodesOnPath.end()); in getVisitOrders()
1208 if (WorkSet.count(Child)) in getVisitOrders()
1212 assert(Orders.size() == WorkSet.size() && in getVisitOrders()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DInlineSpiller.cpp1204 SmallPtrSet<MachineDomTreeNode *, 8> WorkSet; in getVisitOrders() local
1233 } else if (WorkSet.count(Node)) { in getVisitOrders()
1249 WorkSet.insert(NodesOnPath.begin(), NodesOnPath.end()); in getVisitOrders()
1264 if (WorkSet.count(Child)) in getVisitOrders()
1268 assert(Orders.size() == WorkSet.size() && in getVisitOrders()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DInlineSpiller.cpp360 SmallPtrSet<VNInfo*, 8> WorkSet; in propagateSiblingValue() local
364 WorkSet.erase(SVI->first); in propagateSiblingValue()
455 if (WorkSet.insert(DepSVI->first)) in propagateSiblingValue()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DValueTracking.cpp458 SmallVector<const Value *, 16> WorkSet(1, I); in isEphemeralValueOf() local
468 while (!WorkSet.empty()) { in isEphemeralValueOf()
469 const Value *V = WorkSet.pop_back_val(); in isEphemeralValueOf()
485 WorkSet.push_back(*J); in isEphemeralValueOf()