Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for NewValue0A (0.16 sec)

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

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

    			// This is rare; it happens with oddly interleaved infinite loops in dead code.
    			// See issue 19783.
    			break
    		}
    	}
    	// Generate a FwdRef for the variable and return that.
    	v := b.NewValue0A(line, ssa.OpFwdRef, t, fwdRefAux{N: var_})
    	s.defvars[b.ID][var_] = v
    	if var_.Op() == ir.ONAME {
    		s.s.addNamedValue(var_.(*ir.Name), v)
    	}
    	s.fwdrefs = append(s.fwdrefs, v)
    	return v
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 15.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/writebarrier.go

    	}
    
    	args = append(args, mem)
    
    	// issue call
    	argTypes := make([]*types.Type, nargs, 3) // at most 3 args; allows stack allocation
    	for i := 0; i < nargs; i++ {
    		argTypes[i] = typ
    	}
    	call := b.NewValue0A(pos, OpStaticCall, types.TypeResultMem, StaticAuxCall(fn, b.Func.ABIDefault.ABIAnalyzeTypes(argTypes, nil)))
    	call.AddArgs(args...)
    	call.AuxInt = int64(nargs) * typ.Size()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 23.5K bytes
    - Viewed (0)
Back to top