Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for toc_func (0.19 sec)

  1. src/cmd/cgo/internal/test/stubtest_linux_ppc64le.S

    notoc_nor2_func:
    	.localentry notoc_nor2_func,1
    	li	2,0
    	blr
    
    // A function which expects R2 to hold TOC, and has a distinct local entry.
    	.globl	toc_func
    	.type	toc_func, @function
    toc_func:
    	addis	2,12,.TOC.-toc_func@ha
    	addi	2,2,.TOC.-toc_func@l
    	.localentry toc_func, .-toc_func
    	mflr	0
    	std	0,16(1)
    	stdu	1,-32(1)
    
    	// Call a NOTOC function which clobbers R2.
    	bl	notoc_nor2_func
    	nop
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 15:06:17 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/tpu-annotate-dynamic-shape-inputs.mlir

          %1 = "tf_device.cluster_func"(%0#0, %0#1) {_replication_info = "cluster_test_fn", func = @tpu_func} : (tensor<2048xi32>, tensor<2048xi32>) -> tensor<2048xi32>
          return %1: tensor<2048xi32>
       }
       // CHECK-LABEL: func @tpu_func
       // CHECK: mhlo.type_extensions
       func.func @tpu_func (
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/callstub_linux_ppc64le.go

    // Copyright 2023 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 cgotest
    
    // extern int notoc_func(void);
    // int TestPPC64Stubs(void) {
    //	return notoc_func();
    // }
    import "C"
    import "testing"
    
    func testPPC64CallStubs(t *testing.T) {
    	// Verify the trampolines run on the testing machine. If they
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 15:06:17 UTC 2023
    - 540 bytes
    - Viewed (0)
  4. pkg/kubelet/apis/podresources/server_v1_test.go

    		},
    	}
    
    	containers := []v1.Container{
    		{
    			Name: containerName,
    		},
    	}
    
    	for _, tc := range []struct {
    		desc     string
    		pods     []*v1.Pod
    		mockFunc func(
    			[]*v1.Pod,
    			*podresourcetest.MockDevicesProvider,
    			*podresourcetest.MockCPUsProvider,
    			*podresourcetest.MockMemoryProvider,
    			*podresourcetest.MockDynamicResourcesProvider)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/walk/closure.go

    	}
    
    	typ := typecheck.ClosureType(clo)
    
    	clos := ir.NewCompLitExpr(base.Pos, ir.OCOMPLIT, typ, nil)
    	clos.SetEsc(clo.Esc())
    	clos.List = append([]ir.Node{ir.NewUnaryExpr(base.Pos, ir.OCFUNC, clofn.Nname)}, closureArgs(clo)...)
    	for i, value := range clos.List {
    		clos.List[i] = ir.NewStructKeyExpr(base.Pos, typ.Field(i), value)
    	}
    
    	addr := typecheck.NodAddr(clos)
    	addr.SetEsc(clo.Esc())
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:56:08 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/walk/walk.go

    			ir.OAND, ir.OANDNOT, ir.OLSH, ir.OOR, ir.ORSH, ir.OXOR, ir.OCOMPLEX, ir.OMAKEFACE,
    			ir.OADDR, ir.OBITNOT, ir.ONOT, ir.OPLUS,
    			ir.OCAP, ir.OIMAG, ir.OLEN, ir.OREAL,
    			ir.OCONVNOP, ir.ODOT,
    			ir.OCFUNC, ir.OIDATA, ir.OITAB, ir.OSPTR,
    			ir.OBYTES2STRTMP, ir.OGETG, ir.OGETCALLERPC, ir.OGETCALLERSP, ir.OSLICEHEADER, ir.OSTRINGHEADER:
    			// ok: operations that don't require function calls.
    			// Expand as needed.
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 20:56:00 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/typecheck/func.go

    	})
    	t.SetNoalg(true)
    	return t
    }
    
    // type check function definition
    // To be called by typecheck, not directly.
    // (Call typecheck.Func instead.)
    func tcFunc(n *ir.Func) {
    	if base.EnableTrace && base.Flag.LowerT {
    		defer tracePrint("tcFunc", n)(nil)
    	}
    
    	if name := n.Nname; name.Typecheck() == 0 {
    		base.AssertfAt(name.Type() != nil, n.Pos(), "missing type: %v", name)
    		name.SetTypecheck(1)
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/typecheck/typecheck.go

    		n := n.(*ir.UnaryExpr)
    		base.Fatalf("cannot typecheck interface data %v", n)
    		panic("unreachable")
    
    	case ir.OSPTR:
    		n := n.(*ir.UnaryExpr)
    		return tcSPtr(n)
    
    	case ir.OCFUNC:
    		n := n.(*ir.UnaryExpr)
    		n.X = Expr(n.X)
    		n.SetType(types.Types[types.TUINTPTR])
    		return n
    
    	case ir.OGETCALLERPC, ir.OGETCALLERSP:
    		n := n.(*ir.CallExpr)
    		if len(n.Args) != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

        return (op_def, derived_attrs)
    
      def mlir_external_funcs(self):
        tfr_funcs = set()
        for _, (op_def, derived_attrs) in sorted(self._op_defs.items()):
          tfr_func = '\ntfr.func @tf__{}_('.format(_camel_to_snake(op_def.name))
    
          # tensor inputs
          inputs = [
              _get_type_info_from_proto(arg_def) for arg_def in op_def.input_arg
          ]
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/walk/expr.go

    	case ir.OPANIC:
    		n := n.(*ir.UnaryExpr)
    		return mkcall("gopanic", nil, init, n.X)
    
    	case ir.ORECOVERFP:
    		return walkRecoverFP(n.(*ir.CallExpr), init)
    
    	case ir.OCFUNC:
    		return n
    
    	case ir.OCALLINTER, ir.OCALLFUNC:
    		n := n.(*ir.CallExpr)
    		return walkCall(n, init)
    
    	case ir.OAS, ir.OASOP:
    		return walkAssign(init, n)
    
    	case ir.OAS2:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
Back to top