Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewValue0I (0.1 sec)

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

    	v := b.Func.newValue(op, t, b, pos)
    	v.AuxInt = 0
    	v.Args = v.argstorage[:0]
    	return v
    }
    
    // NewValue0I returns a new value in the block with no arguments and an auxint value.
    func (b *Block) NewValue0I(pos src.XPos, op Op, t *types.Type, auxint int64) *Value {
    	v := b.Func.newValue(op, t, b, pos)
    	v.AuxInt = auxint
    	v.Args = v.argstorage[:0]
    	return v
    }
    
    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/ssagen/phi.go

    					continue
    				}
    				if hasPhi.contains(c.ID) {
    					continue
    				}
    				// Add a phi to block c for variable n.
    				hasPhi.add(c.ID)
    				v := c.NewValue0I(currentRoot.Pos, ssa.OpPhi, typ, int64(n)) // TODO: line number right?
    				// Note: we store the variable number in the phi's AuxInt field. Used temporarily by phi building.
    				if var_.Op() == ir.ONAME {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 15.2K bytes
    - Viewed (0)
Back to top