Home
last modified time | relevance | path

Searched refs:opWorklist (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/mlir/examples/toy/Ch4/mlir/
DShapeInferencePass.cpp55 llvm::SmallPtrSet<mlir::Operation *, 16> opWorklist; in runOnFunction() local
58 opWorklist.insert(op); in runOnFunction()
63 while (!opWorklist.empty()) { in runOnFunction()
66 auto nextop = llvm::find_if(opWorklist, allOperandsInferred); in runOnFunction()
67 if (nextop == opWorklist.end()) in runOnFunction()
71 opWorklist.erase(op); in runOnFunction()
85 if (!opWorklist.empty()) { in runOnFunction()
87 << opWorklist.size() << " operations couldn't be inferred\n"; in runOnFunction()
/external/llvm-project/mlir/examples/toy/Ch5/mlir/
DShapeInferencePass.cpp55 llvm::SmallPtrSet<mlir::Operation *, 16> opWorklist; in runOnFunction() local
58 opWorklist.insert(op); in runOnFunction()
63 while (!opWorklist.empty()) { in runOnFunction()
66 auto nextop = llvm::find_if(opWorklist, allOperandsInferred); in runOnFunction()
67 if (nextop == opWorklist.end()) in runOnFunction()
71 opWorklist.erase(op); in runOnFunction()
85 if (!opWorklist.empty()) { in runOnFunction()
87 << opWorklist.size() << " operations couldn't be inferred\n"; in runOnFunction()
/external/llvm-project/mlir/examples/toy/Ch7/mlir/
DShapeInferencePass.cpp55 llvm::SmallPtrSet<mlir::Operation *, 16> opWorklist; in runOnFunction() local
58 opWorklist.insert(op); in runOnFunction()
63 while (!opWorklist.empty()) { in runOnFunction()
66 auto nextop = llvm::find_if(opWorklist, allOperandsInferred); in runOnFunction()
67 if (nextop == opWorklist.end()) in runOnFunction()
71 opWorklist.erase(op); in runOnFunction()
85 if (!opWorklist.empty()) { in runOnFunction()
87 << opWorklist.size() << " operations couldn't be inferred\n"; in runOnFunction()
/external/llvm-project/mlir/examples/toy/Ch6/mlir/
DShapeInferencePass.cpp55 llvm::SmallPtrSet<mlir::Operation *, 16> opWorklist; in runOnFunction() local
58 opWorklist.insert(op); in runOnFunction()
63 while (!opWorklist.empty()) { in runOnFunction()
66 auto nextop = llvm::find_if(opWorklist, allOperandsInferred); in runOnFunction()
67 if (nextop == opWorklist.end()) in runOnFunction()
71 opWorklist.erase(op); in runOnFunction()
85 if (!opWorklist.empty()) { in runOnFunction()
87 << opWorklist.size() << " operations couldn't be inferred\n"; in runOnFunction()
/external/llvm-project/mlir/lib/Transforms/
DSCCP.cpp265 opWorklist.push_back(op); in markAllOverdefined()
298 SmallVector<Operation *, 64> opWorklist; member in __anonf2bfad600111::SCCPSolver
331 while (!blockWorklist.empty() || !opWorklist.empty()) { in solve()
333 while (!opWorklist.empty()) in solve()
334 visitUsers(*opWorklist.pop_back_val()); in solve()
665 opWorklist.push_back(parentOp); in visitRegionSuccessors()
897 opWorklist.push_back(owner); in meet()