Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for decomposeStructPhi (0.18 sec)

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

    }
    func decomposeUserPhi(v *Value) {
    	switch {
    	case v.Type.IsStruct():
    		decomposeStructPhi(v)
    	case v.Type.IsArray():
    		decomposeArrayPhi(v)
    	}
    }
    
    // decomposeStructPhi replaces phi-of-struct with structmake(phi-for-each-field),
    // and then recursively decomposes the phis for each field.
    func decomposeStructPhi(v *Value) {
    	t := v.Type
    	n := t.NumFields()
    	var fields [MaxStruct]*Value
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 21:22:15 UTC 2022
    - 13.4K bytes
    - Viewed (0)
Back to top