Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 146 for REWRITES (0.18 sec)

  1. 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)
  2. src/cmd/internal/objabi/line.go

    }
    
    // AbsFile returns the absolute filename for file in the given directory,
    // as rewritten by the rewrites argument.
    // For unrewritten paths, AbsFile rewrites a leading $GOROOT prefix to the literal "$GOROOT".
    // If the resulting path is the empty string, the result is "??".
    //
    // The rewrites argument is a ;-separated list of rewrites.
    // Each rewrite is of the form "prefix" or "prefix=>replace",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 23:10:31 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/cmd/internal/objabi/line_test.go

    func TestAbsFile(t *testing.T) {
    	for _, tt := range absFileTests {
    		abs := filepath.FromSlash(AbsFile(filepath.FromSlash(tt.dir), filepath.FromSlash(tt.file), tt.rewrites))
    		want := filepath.FromSlash(tt.abs)
    		if abs != want {
    			t.Errorf("AbsFile(%q, %q, %q) = %q, want %q", tt.dir, tt.file, tt.rewrites, abs, want)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 24 12:01:30 UTC 2019
    - 1.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. test/fixedbugs/bug159.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import "os"
    
    func main() {
    	ok := true;
    	var a, b, c, x, y, z int;
    	f := func() int { b--; return -b };
    
    	// this fails on 6g: apparently it rewrites
    	// the list into
    	//	z = f();
    	//	y = f();
    	//	x = f();
    	// so that the values come out backward.
    	x, y, z = f(), f(), f();
    	if x != 1 || y != 2 || z != 3 {
    		println("xyz: expected 1 2 3 got", x, y, z);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 795 bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/slf4j/ContextAwareTaskLogger.java

    import org.gradle.internal.operations.OperationIdentifier;
    
    import javax.annotation.Nullable;
    
    public interface ContextAwareTaskLogger extends Logger {
        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
             */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/cse.go

    					continue
    				}
    				b.ReplaceControl(i, x)
    			}
    		}
    	}
    
    	if f.pass.stats > 0 {
    		f.LogStat("CSE REWRITES", rewrites)
    	}
    }
    
    // An eqclass approximates an equivalence class. During the
    // algorithm it may represent the union of several of the
    // final equivalence classes.
    type eqclass []*Value
    
    // partitionValues partitions the values into equivalence classes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 9.6K bytes
    - Viewed (0)
Back to top