- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 70 for worklist (0.19 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/call_graph_util.h
const std::function<bool(SymbolUserOpInterface)> &predicate, llvm::SmallVector<SymbolUserOpInterface> &ops) { std::stack<func::FuncOp> worklist; worklist.push(root); while (!worklist.empty()) { func::FuncOp u = worklist.top(); worklist.pop(); auto result = u.walk([&](SymbolUserOpInterface op) { if (llvm::isa<T, Types...>(op) && (!predicate || predicate(op))) { ops.push_back(op);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Dec 16 06:18:49 UTC 2023 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/prepare_tpu_computation_for_tf_export.cc
absl::flat_hash_set<Region*> regions_with_token; while (!worklist.empty()) { Operation* op = worklist.back(); worklist.pop_back(); Region* region = op->getParentRegion(); regions_with_token.insert(region); // If the parent is not a FuncOp, then add the parent op containing a region // to worklist. Operation* parent = region->getParentOp(); if (!isa<func::FuncOp>(parent)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.cc
op_results_constraints[op].Insert(value, constraint); } // Keep a worklist of operations that need their constraints to be updated. llvm::SetVector<Operation *> worklist; for (Operation *op : root) worklist.insert(op); while (!worklist.empty()) { Operation *op = worklist.pop_back_val(); // Use results constraints to infer operands constraints.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 27.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/check_control_dependencies.cc
std::vector<IslandOp>& path) { std::queue<IslandOp> worklist; // Stores predecessor pointers. IslandToIslandHashMap pred_map; // BFS starting from `source_op`, stop when `target_op` is reached. worklist.push(source_op); while (!worklist.empty()) { IslandOp curr_op = worklist.front(); worklist.pop(); if (curr_op == target_op) break;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 23:50:19 UTC 2022 - 10.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc
void RegionControlFlowToFunctional::runOnOperation() { ModuleOp module = getOperation(); SymbolTableCollection symbol_table; // Seed worklist with all functions in the module. worklist = llvm::to_vector<4>(module.getOps<func::FuncOp>()); while (!worklist.empty()) { func::FuncOp function = worklist.pop_back_val(); auto result = function.walk([&](Operation* op) { if (auto if_region = llvm::dyn_cast<IfRegionOp>(op)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/cluster_util.cc
mlir::Block* const cluster_block = cluster->getBlock(); llvm::SetVector<mlir::Operation*> ops_to_reorder; llvm::SmallVector<mlir::Value> worklist; llvm::append_range(worklist, cluster->getResults()); while (!worklist.empty()) { mlir::Value value = worklist.back(); worklist.pop_back(); for (mlir::Operation* const user : value.getUsers()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jul 28 00:32:55 UTC 2023 - 8.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/sccp.go
// need all uses of it, only uses that can become constants would be added into // re-visit worklist since no matter how many times they are revisited, uses which // can't become constants lattice remains unchanged, i.e. Bottom. func (t *worklist) buildDefUses() { for _, block := range t.f.Blocks { for _, val := range block.Values { for _, arg := range val.Args {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 16:54:50 UTC 2024 - 17.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops_pass.cc
llvm::DenseMap<func::FuncOp, llvm::DenseSet<func::FuncOp>> caller_callee_map; // Use worklist to populate the set of reachable functions. std::queue<func::FuncOp> function_worklist; // Iterates over all functions within the module to (1) create caller-callee // map, and (2) initialize function worklist with functions referenced from // device cluster ops. for (auto func : module.getOps<func::FuncOp>()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Sep 08 20:01:13 UTC 2023 - 8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/resource_device_inference.cc
} // If the callee recording is modified, make sure that it will be // reprocessed. if (callee_needs_recompute) worklist.insert(callee); } return success(); }; while (!worklist.empty()) { auto func_op = worklist.pop_back_val(); auto& func_res = per_function_results.find(func_op)->getSecond(); // In-function propagation.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 03 03:47:00 UTC 2023 - 13.3K bytes - Viewed (0) -
src/cmd/dist/test.go
// running in parallel with earlier tests, or if it has some other reason // for needing the earlier tests to be done. func (t *tester) runPending(nextTest *distTest) { worklist := t.worklist t.worklist = nil for _, w := range worklist { w.start = make(chan bool) w.end = make(chan struct{}) // w.cmd must be set up to write to w.out. We can't check that, but we // can check for easy mistakes.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 16:01:35 UTC 2024 - 50K bytes - Viewed (0)