Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for fe (0.5 sec)

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

    }
    
    func (f *Func) Frontend() Frontend                                  { return f.fe }
    func (f *Func) Warnl(pos src.XPos, msg string, args ...interface{}) { f.fe.Warnl(pos, msg, args...) }
    func (f *Func) Logf(msg string, args ...interface{})                { f.fe.Logf(msg, args...) }
    func (f *Func) Log() bool                                           { return f.fe.Log() }
    
    func (f *Func) Fatalf(msg string, args ...interface{}) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/export_test.go

    type Conf struct {
    	config *Config
    	tb     testing.TB
    	fe     Frontend
    }
    
    func (c *Conf) Frontend() Frontend {
    	if c.fe == nil {
    		pkg := types.NewPkg("my/import/path", "path")
    		fn := ir.NewFunc(src.NoXPos, src.NoXPos, pkg.Lookup("function"), types.NewSignature(nil, nil, nil))
    		fn.DeclareParams(true)
    		fn.LSym = &obj.LSym{Name: "my/import/path.function"}
    
    		c.fe = TestFrontend{
    			t:    c.tb,
    			ctxt: c.config.ctxt,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 21:19:39 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/generic.rules

    (ConstString {str}) && config.PtrSize == 4 && str != "" =>
      (StringMake
        (Addr <typ.BytePtr> {fe.StringData(str)}
          (SB))
        (Const32 <typ.Int> [int32(len(str))]))
    (ConstString {str}) && config.PtrSize == 8 && str != "" =>
      (StringMake
        (Addr <typ.BytePtr> {fe.StringData(str)}
          (SB))
        (Const64 <typ.Int> [int64(len(str))]))
    
    // slice ops
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssagen/ssa.go

    			s.instrumentMemory = true
    		}
    		if base.Flag.Race {
    			s.instrumentEnterExit = true
    		}
    	}
    
    	fe := ssafn{
    		curfn: fn,
    		log:   printssa && ssaDumpStdout,
    	}
    	s.curfn = fn
    
    	cache := &ssaCaches[worker]
    	cache.Reset()
    
    	s.f = ssaConfig.NewFunc(&fe, cache)
    	s.config = ssaConfig
    	s.f.Type = fn.Type()
    	s.f.Name = name
    	s.f.PrintOrHtmlSSA = printssa
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewrite.go

    				// might be dead.
    				reflectdata.MarkTypeSymUsedInInterface(r.Sym, f.fe.Func().Linksym())
    			} else if strings.HasPrefix(r.Sym.Name, "go:itab") {
    				// Same, but if we're using an itab we need to record that the
    				// itab._type might be put in an interface.
    				reflectdata.MarkTypeSymUsedInInterface(r.Sym, f.fe.Func().Linksym())
    			}
    			return r.Sym
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/value.go

    func (v *Value) Logf(msg string, args ...interface{}) { v.Block.Logf(msg, args...) }
    func (v *Value) Log() bool                            { return v.Block.Log() }
    func (v *Value) Fatalf(msg string, args ...interface{}) {
    	v.Block.Func.fe.Fatalf(v.Pos, msg, args...)
    }
    
    // isGenericIntConst reports whether v is a generic integer constant.
    func (v *Value) isGenericIntConst() bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:40:22 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewritegeneric.go

    		v1.AuxInt = int64ToAuxInt(0)
    		v.AddArg3(v0, v1, v1)
    		return true
    	}
    	return false
    }
    func rewriteValuegeneric_OpConstString(v *Value) bool {
    	b := v.Block
    	config := b.Func.Config
    	fe := b.Func.fe
    	typ := &b.Func.Config.Types
    	// match: (ConstString {str})
    	// cond: config.PtrSize == 4 && str == ""
    	// result: (StringMake (ConstNil) (Const32 <typ.Int> [0]))
    	for {
    		str := auxToString(v.Aux)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
Back to top