Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for fuseLate (0.15 sec)

  1. src/cmd/compile/internal/ssa/fuse_test.go

    			Valu("bool1", OpNeqPtr, c.config.Types.Bool, 0, nil, "ptr1", "nilptr"),
    			If("bool1", "then", "exit")),
    		Bloc("then",
    			Goto("exit")),
    		Bloc("exit",
    			Exit("mem")))
    
    	CheckFunc(fun.f)
    	fuseLate(fun.f)
    
    	for _, b := range fun.f.Blocks {
    		if b == fun.blocks["then"] && b.Kind != BlockInvalid {
    			t.Errorf("then was not eliminated, but should have")
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/fuse.go

    import (
    	"cmd/internal/src"
    	"fmt"
    )
    
    // fuseEarly runs fuse(f, fuseTypePlain|fuseTypeIntInRange).
    func fuseEarly(f *Func) { fuse(f, fuseTypePlain|fuseTypeIntInRange) }
    
    // fuseLate runs fuse(f, fuseTypePlain|fuseTypeIf|fuseTypeBranchRedirect).
    func fuseLate(f *Func) { fuse(f, fuseTypePlain|fuseTypeIf|fuseTypeBranchRedirect) }
    
    type fuseType uint8
    
    const (
    	fuseTypePlain fuseType = 1 << iota
    	fuseTypeIf
    	fuseTypeIntInRange
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/compile.go

    	{name: "generic deadcode", fn: deadcode, required: true}, // remove dead stores, which otherwise mess up store chain
    	{name: "check bce", fn: checkbce},
    	{name: "branchelim", fn: branchelim},
    	{name: "late fuse", fn: fuseLate},
    	{name: "dse", fn: dse},
    	{name: "memcombine", fn: memcombine},
    	{name: "writebarrier", fn: writebarrier, required: true}, // expand write barrier ops
    	{name: "insert resched checks", fn: insertLoopReschedChecks,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top