- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 264 for eliminated (0.14 sec)
-
src/cmd/compile/internal/ssa/fuse_test.go
t.Errorf("then was not eliminated, but should have") } if b == fun.blocks["else"] && b.Kind != BlockInvalid { t.Errorf("else was not eliminated, but should have") } } } func TestFuseEliminatesEmptyBlocks(t *testing.T) { c := testConfig(t) // Case 1, plain type empty blocks z0 ~ z3 will be eliminated. // entry // | // z0 // |
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 31 20:45:54 UTC 2023 - 7.4K bytes - Viewed (0) -
src/text/template/link_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 12 21:58:25 UTC 2021 - 1.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/nilcheck_test.go
// benchmarkNilCheckDeep is a stress test of nilcheckelim. // It uses the worst possible input: A linear string of // nil checks, none of which can be eliminated. // Run with multiple depths to observe big-O behavior. func benchmarkNilCheckDeep(b *testing.B, depth int) { c := testConfig(b) ptrType := c.config.Types.BytePtr var blocs []bloc blocs = append(blocs,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 23:34:11 UTC 2023 - 12.3K bytes - Viewed (0) -
src/cmd/compile/internal/types2/typelists.go
// At returns the i'th type parameter in the list. func (l *TypeParamList) At(i int) *TypeParam { return l.tparams[i] } // list is for internal use where we expect a []*TypeParam. // TODO(rfindley): list should probably be eliminated: we can pass around a // TypeParamList instead. func (l *TypeParamList) list() []*TypeParam { if l == nil { return nil } return l.tparams } // TypeList holds a list of types.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 28 22:21:55 UTC 2022 - 1.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/deadstore.go
// reaches stores then we delete all the stores. The other operations will then // be eliminated by the dead code elimination pass. func elimDeadAutosGeneric(f *Func) { addr := make(map[*Value]*ir.Name) // values that the address of the auto reaches elim := make(map[*Value]*ir.Name) // values that could be eliminated if the auto is var used ir.NameSet // used autos that must be kept
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 25 20:07:26 UTC 2024 - 11K bytes - Viewed (0) -
src/go/types/typelists.go
// At returns the i'th type parameter in the list. func (l *TypeParamList) At(i int) *TypeParam { return l.tparams[i] } // list is for internal use where we expect a []*TypeParam. // TODO(rfindley): list should probably be eliminated: we can pass around a // TypeParamList instead. func (l *TypeParamList) list() []*TypeParam { if l == nil { return nil } return l.tparams } // TypeList holds a list of types.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/branchelim_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package ssa import ( "cmd/compile/internal/types" "testing" ) // Test that a trivial 'if' is eliminated func TestBranchElimIf(t *testing.T) { var testData = []struct { arch string intType string ok bool }{ {"arm64", "int32", true}, {"amd64", "int32", true}, {"amd64", "int8", false},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 24 15:51:15 UTC 2018 - 5.2K bytes - Viewed (0) -
src/cmd/link/internal/ld/testdata/deadcode/ifacemethod6.go
// license that can be found in the LICENSE file. // This test only uses MethodByName() with constant names // of methods to look up. These methods need to be kept, // but other methods must be eliminated. package main import "reflect" type S int func (s S) M() { println("S.M") } func (s S) N() { println("S.N") } type T float64 func (t T) F(s S) {} func main() { var t T
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 15:07:26 UTC 2023 - 666 bytes - Viewed (0) -
test/fixedbugs/issue50671.go
// run // Copyright 2022 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Issue 50671: sign extension eliminated incorrectly on MIPS64. package main //go:noinline func F(x int32) (float64, int64) { a := float64(x) b := int64(x) return a, b } var a, b, c float64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 19 15:45:58 UTC 2022 - 599 bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/materialize_passthrough_op.mlir
// RUN: tf-opt -allow-unregistered-dialect -tf-materialize-passthrough-op %s | FileCheck %s // Check that the MlirPassthroughOp is eliminated and replaced by its attached // MLIR module. // CHECK-LABEL: func @main func.func @main(%arg0 : tensor<10xf32>, %arg1 : tensor<10xf32>) -> tensor<10x10xf32> { // CHECK-SAME: (%[[ARG0:.*]]: tensor<10xf32>, %[[ARG1:.*]]: tensor<10xf32>)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 30 10:34:48 UTC 2022 - 1.2K bytes - Viewed (0)