Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for applyRewrite (0.99 sec)

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

    func lower(f *Func) {
    	// repeat rewrites until we find no more rewrites
    	applyRewrite(f, f.Config.lowerBlock, f.Config.lowerValue, removeDeadValues)
    }
    
    // lateLower applies those rules that need to be run after the general lower rules.
    func lateLower(f *Func) {
    	// repeat rewrites until we find no more rewrites
    	if f.Config.lateLowerValue != nil {
    		applyRewrite(f, f.Config.lateLowerBlock, f.Config.lateLowerValue, removeDeadValues)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 16 00:16:13 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. src/cmd/internal/objabi/line.go

    func ApplyRewrites(file, rewrites string) (string, bool) {
    	start := 0
    	for i := 0; i <= len(rewrites); i++ {
    		if i == len(rewrites) || rewrites[i] == ';' {
    			if new, ok := applyRewrite(file, rewrites[start:i]); ok {
    				return new, true
    			}
    			start = i + 1
    		}
    	}
    
    	return file, false
    }
    
    // applyRewrite applies the rewrite to the path,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 23:10:31 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/opt.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package ssa
    
    // machine-independent optimization.
    func opt(f *Func) {
    	applyRewrite(f, rewriteBlockgeneric, rewriteValuegeneric, removeDeadValues)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 309 bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/softfloat.go

    					v.Fatalf("bad float type with size %d", size)
    				}
    			}
    		}
    	}
    
    	if newInt64 && f.Config.RegSize == 4 {
    		// On 32bit arch, decompose Uint64 introduced in the switch above.
    		decomposeBuiltIn(f)
    		applyRewrite(f, rewriteBlockdec64, rewriteValuedec64, removeDeadValues)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 03 16:14:24 UTC 2021
    - 2K bytes
    - Viewed (0)
Back to top