Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,285 for Inline1 (0.1 sec)

  1. tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

      // that work on TF dialect and before inliner so that the function calls in
      // body and cond are inlined for optimization.
      pass_manager->addPass(mlir::TFL::CreateLegalizeTFWhilePass());
    
      // Add function inlining pass. Both TF and TFLite dialects are opted into
      // function inliner interface.
      pass_manager->addPass(mlir::createInlinerPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. test/inline_sync.go

    func small5() { // ERROR "can inline small5"
    	// the Unlock fast path should be inlined
    	mutex.Unlock() // ERROR "inlining call to sync\.\(\*Mutex\)\.Unlock"
    }
    
    func small6() { // ERROR "can inline small6"
    	// the Lock fast path should be inlined
    	mutex.Lock() // ERROR "inlining call to sync\.\(\*Mutex\)\.Lock"
    }
    
    var once *sync.Once
    
    func small7() { // ERROR "can inline small7"
    	// the Do fast path should be inlined
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 21:01:50 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/build_shorten_pkg.txt

    # can be trimmed like subdirectory paths are.
    
    env GOEXPERIMENT=loopvar
    go build -gcflags=inlines/a=-d=loopvar=2 .
    stderr ^\.[\\/]b[\\/]b\.go:12:6:.*loop.inlined.into.a[\\/]a\.go
    stderr ^\.[\\/]b[\\/]b\.go:12:9:.*loop.inlined.into.a[\\/]a\.go
    
    -- go.mod --
    module inlines
    
    go 1.21
    -- a/a.go --
    // Copyright 2023 The Go Authors. All rights reserved.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 14 09:07:58 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. src/debug/dwarf/testdata/line1.c

    #include "line1.h"
    
    void f2();
    
    int main()
    {
    	f1();
    	f2();
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 10 02:32:48 UTC 2015
    - 61 bytes
    - Viewed (0)
  5. src/debug/dwarf/testdata/line1.h

    Austin Clements <******@****.***> 1425666364 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 10 02:32:48 UTC 2015
    - 83 bytes
    - Viewed (0)
  6. test/closure3.dir/main.go

    		}
    	}
    
    	{
    		a := 2
    		if r := func(x int) int { // ERROR "can inline main.func28"
    			b := 3
    			return func(y int) int { // ERROR "can inline main.func28.1" "can inline main.main.func28.func35"
    				c := 5
    				func(z int) { // ERROR "can inline main.func28.1.1" "can inline main.func28.main.func28.1.2" "can inline main.main.func28.func35.1" "can inline main.main.func28.main.main.func28.func35.func37"
    					a = a * x
    					b = b * y
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 19:36:29 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  7. src/runtime/start_line_test.go

    	}
    
    	frames := runtime.CallersFrames(pcs[:])
    	frame, _ := frames.Next()
    
    	inlined := frame.Func == nil // Func always set to nil for inlined frames
    	if wantInlined != inlined {
    		panic(fmt.Sprintf("caller %s inlined got %v want %v", frame.Function, inlined, wantInlined))
    	}
    
    	return runtime.FrameStartLine(&frame)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 20 22:54:22 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/test/pgo_inl_test.go

    	}
    	return out
    }
    
    // testPGOIntendedInlining tests that specific functions are inlined.
    func testPGOIntendedInlining(t *testing.T, dir string, profFile string) {
    	testenv.MustHaveGoRun(t)
    	t.Parallel()
    
    	const pkg = "example.com/pgo/inline"
    
    	want := []string{
    		"(*BS).NS",
    	}
    
    	// The functions which are not expected to be inlined are as follows.
    	wantNot := []string{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. test/fixedbugs/issue8139.go

    type M interface {
    	M()
    }
    
    var e interface{} = T{}
    var i M = T{}
    var b bool
    
    func f1() int {
    	if b {
    		return f1() // convince inliner not to inline
    	}
    	z := 0x11223344
    	_ = e.(T)
    	return z
    }
    
    func f2() int {
    	if b {
    		return f1() // convince inliner not to inline
    	}
    	z := 0x11223344
    	_ = i.(T)
    	return z
    }
    
    func main() {
    	x := f1()
    	y := f2()
    	if x != 0x11223344 || y != 0x11223344 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 800 bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/testdata/inline-dump.go

    David Chase <******@****.***> 1631219642 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 20 19:36:41 UTC 2021
    - 178 bytes
    - Viewed (0)
Back to top