Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for phiopt (0.22 sec)

  1. test/phiopt.go

    // errorcheck -0 -d=ssa/phiopt/debug=3
    
    //go:build amd64 || s390x || arm64
    
    // Copyright 2016 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.
    
    package main
    
    //go:noinline
    func f0(a bool) bool {
    	x := false
    	if a {
    		x = true
    	} else {
    		x = false
    	}
    	return x // ERROR "converted OpPhi to Copy$"
    }
    
    //go:noinline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/phiopt.go

    // Copyright 2016 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.
    
    package ssa
    
    // phiopt eliminates boolean Phis based on the previous if.
    //
    // Main use case is to transform:
    //
    //	x := false
    //	if b {
    //	  x = true
    //	}
    //
    // into x = b.
    //
    // In SSA code this appears as
    //
    //	b0
    //	  If b -> b1 b2
    //	b1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/compile.go

    	{name: "opt deadcode", fn: deadcode, required: true}, // remove any blocks orphaned during opt
    	{name: "generic cse", fn: cse},
    	{name: "phiopt", fn: phiopt},
    	{name: "gcse deadcode", fn: deadcode, required: true}, // clean out after cse and phiopt
    	{name: "nilcheckelim", fn: nilcheckelim},
    	{name: "prove", fn: prove},
    	{name: "early fuse", fn: fuseEarly},
    	{name: "expand calls", fn: expandCalls, required: true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/net/http/httpproxy/proxy.go

    			continue
    		}
    
    		// IPv4:port, [IPv6]:port
    		phost, pport, err := net.SplitHostPort(p)
    		if err == nil {
    			if len(phost) == 0 {
    				// There is no host part, likely the entry is malformed; ignore.
    				continue
    			}
    			if phost[0] == '[' && phost[len(phost)-1] == ']' {
    				phost = phost[1 : len(phost)-1]
    			}
    		} else {
    			phost = p
    		}
    		// IPv4, IPv6
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. hack/update-generated-docs.sh

    generate_docs "${KUBE_TEMP}"
    
    # remove all of the existing docs in KUBE_ROOT
    remove_generated_docs
    
    # Copy fresh docs into the repo.
    # the shopt is so that we get docs/.generated_docs from the glob.
    shopt -s dotglob
    cp -af "${KUBE_TEMP}"/* "${KUBE_ROOT}"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:33 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. bin/check_samples.sh

    # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    shopt -s globstar
    set -e
    
    SCRIPTPATH=$( cd "$(dirname "$0")" && pwd -P )
    ROOTDIR=$SCRIPTPATH/..
    cd "$ROOTDIR" || exit
    
    # rely on go build cache
    ISTIOCTL=bin/istioctl
    go build -o $ISTIOCTL ./istioctl/cmd/istioctl
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Nov 04 01:54:50 UTC 2023
    - 1010 bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/windows/mkerrors.bash

    #!/bin/bash
    
    # Copyright 2019 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.
    
    set -e
    shopt -s nullglob
    
    winerror="$(printf '%s\n' "/mnt/c/Program Files (x86)/Windows Kits/"/*/Include/*/shared/winerror.h | sort -Vr | head -n 1)"
    [[ -n $winerror ]] || { echo "Unable to find winerror.h" >&2; exit 1; }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 15 19:02:39 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/windows/mkknownfolderids.bash

    #!/bin/bash
    
    # Copyright 2019 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.
    
    set -e
    shopt -s nullglob
    
    knownfolders="$(printf '%s\n' "/mnt/c/Program Files (x86)/Windows Kits/"/*/Include/*/um/KnownFolders.h | sort -Vr | head -n 1)"
    [[ -n $knownfolders ]] || { echo "Unable to find KnownFolders.h" >&2; exit 1; }
    
    {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 19 21:26:10 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  9. buildscripts/checkdeps.sh

    #!/usr/bin/env bash
    #
    
    _init() {
    
    	shopt -s extglob
    
    	## Minimum required versions for build dependencies
    	GIT_VERSION="1.0"
    	GO_VERSION="1.16"
    	OSX_VERSION="10.8"
    	KNAME=$(uname -s)
    	ARCH=$(uname -m)
    	case "${KNAME}" in
    	SunOS)
    		ARCH=$(isainfo -k)
    		;;
    	esac
    }
    
    ## FIXME:
    ## In OSX, 'readlink -f' option does not exist, hence
    ## we have our own readlink -f behavior here.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 05:08:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. operator/pkg/translate/translate.go

    	if !componentName.IsGateway() {
    		return iop, nil
    	}
    	iopt := make(map[string]any)
    	if err := yaml.Unmarshal(iop, &iopt); err != nil {
    		return nil, err
    	}
    	gwSpec := componentSpec.(*v1alpha1.GatewaySpec)
    	k8s := gwSpec.K8S
    	switch componentName {
    	case name.IngressComponentName:
    		setYAMLNodeByMapPath(iopt, util.PathFromString("gateways.istio-ingressgateway.name"), gwSpec.Name)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 19:43:09 UTC 2024
    - 36.3K bytes
    - Viewed (0)
Back to top