Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for IsTuple (0.13 sec)

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

    			}
    		}
    	}
    	return true
    }
    
    // needRegister reports whether v needs a register.
    func (v *Value) needRegister() bool {
    	return !v.Type.IsMemory() && !v.Type.IsVoid() && !v.Type.IsFlags() && !v.Type.IsTuple()
    }
    
    func (s *regAllocState) init(f *Func) {
    	s.f = f
    	s.f.RegAlloc = s.f.Cache.locs[:0]
    	s.registers = f.Config.registers
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types/type.go

    			return true
    		}
    	}
    	return false
    }
    func (t *Type) IsFlags() bool   { return t == TypeFlags }
    func (t *Type) IsVoid() bool    { return t == TypeVoid }
    func (t *Type) IsTuple() bool   { return t.kind == TTUPLE }
    func (t *Type) IsResults() bool { return t.kind == TRESULTS }
    
    // IsUntyped reports whether t is an untyped type.
    func (t *Type) IsUntyped() bool {
    	if t == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewrite.go

    		}
    		if v.Op == OpPhi {
    			// A Phi implies we have reached the top of the block.
    			// The memory phi, if it exists, is always
    			// the first logical store in the block.
    			continue
    		}
    		if v.Type.IsTuple() && v.Type.FieldType(1).IsMemory() {
    			// We could handle this situation however it is likely
    			// to be very rare.
    			return false
    		}
    		if v.Op.SymEffect()&SymAddr != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
Back to top