- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,020 for rewrites (0.38 sec)
-
src/cmd/fix/doc.go
directory tree. When fix rewrites a file, it prints a line to standard error giving the name of the file and the rewrite applied. If the -diff flag is set, no files are rewritten. Instead fix prints the differences a rewrite would introduce. The -r flag restricts the set of rewrites considered to those in the named list. By default fix considers all known rewrites. Fix's
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 1.4K bytes - Viewed (0) -
src/cmd/internal/objabi/line.go
if i == len(rewrites) || rewrites[i] == ';' { if new, ok := applyRewrite(file, rewrites[start:i]); ok { return new, true } start = i + 1 } } return file, false } // applyRewrite applies the rewrite to the path, // returning the rewritten path and a boolean // indicating whether the rewrite applied at all. func applyRewrite(path, rewrite string) (string, bool) { prefix, replace := rewrite, ""
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 23:10:31 UTC 2023 - 3.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/lower.go
package ssa // convert to machine-dependent ops. func lower(f *Func) { // repeat rewrites until we find no more rewrites applyRewrite(f, f.Config.lowerBlock, f.Config.lowerValue, removeDeadValues) } // lateLower applies those rules that need to be run after the general lower rules. func lateLower(f *Func) { // repeat rewrites until we find no more rewrites if f.Config.lateLowerValue != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 16 00:16:13 UTC 2023 - 1.7K bytes - Viewed (0) -
test/codegen/logic.go
return z } // Verify (OR x (NOT y)) rewrites to (ORN x y) where supported func ornot(x, y int) int { // ppc64x:"ORN" z := x | ^y return z } // Verify that (OR (NOT x) (NOT y)) rewrites to (NOT (AND x y)) func orDemorgans(x, y int) int { // amd64:"AND",-"OR" z := ^x | ^y return z } // Verify that (AND (NOT x) (NOT y)) rewrites to (NOT (OR x y)) func andDemorgans(x, y int) int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 10 16:32:25 UTC 2023 - 1.1K bytes - Viewed (0) -
tensorflow/compiler/aot/codegen.cc
count *= shape.dimensions(dim); } } rewrites->push_back({"{{I}}", absl::StrCat(i)}); rewrites->push_back({"{{TYPE}}", type}); rewrites->push_back({"{{DIM_VARS}}", absl::StrJoin(dim_vars, ", ")}); rewrites->push_back({"{{DIM_SIZES}}", dim_sizes}); rewrites->push_back({"{{INDICES}}", indices}); rewrites->push_back({"{{COUNT}}", absl::StrCat(count)}); return absl::OkStatus(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 01:20:01 UTC 2024 - 36.8K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/slf4j/ContextAwareTaskLogger.java
interface MessageRewriter { /** * Rewrites log message. * * @param logLevel the logging level * @param message the original message * @return the rewritten message or null if this message should be silenced */ @Nullable String rewrite(LogLevel logLevel, String message); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 1.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/loopreschedchecks.go
// a rewriteTarget is a value-argindex pair indicating // where a rewrite is applied. Note that this is for values, // not for block controls, because block controls are not targets // for the rewrites performed in inserting rescheduling checks. type rewriteTarget struct { v *Value i int } type rewrite struct { before, after *Value // before is the expected value before rewrite, after is the new value installed.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 21:17:10 UTC 2023 - 16K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/cse.go
rewrites++ } } } for i, v := range b.ControlValues() { if x := rewrite[v.ID]; x != nil { if v.Op == OpNilCheck { // nilcheck pass will remove the nil checks and log // them appropriately, so don't mess with them here. continue } b.ReplaceControl(i, x) } } } if f.pass.stats > 0 { f.LogStat("CSE REWRITES", rewrites) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 31 21:41:20 UTC 2022 - 9.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/transforms.cc
// TODO: b/230572023 - Consider improving shape inference for While op instead // of dropping the attribute. This need not be correct for models not trained // on TPU. // Optimizes TF graph via cleanups, merges, rewrites, constant folding, // and edge case handling where possible. pm.addNestedPass<func::FuncOp>(TF::CreateDropWhileShapeInvariantPass()); pm.addNestedPass<func::FuncOp>( tf_executor::CreateTFExecutorGraphPruningPass());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 04:34:23 UTC 2024 - 5.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/defer_activation_transpose.cc
PatternRewriter& rewriter) { return rewriter.create<TransposeOp>( input.getLoc(), input, rewriter.getDenseI64ArrayAttr(permutation)); } // Defers the transpose of the left-hand side (LHS) to the right-hand side and // the result of a binary operation. In detail, this rewrites the // `op(transpose(%rhs), %lhs)` to `transpose(op(%rhs, transpose(%lhs)))`. The
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.5K bytes - Viewed (0)