Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for NewValue0A (0.41 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/ssagen/ssa.go

    func (s *state) newValue0(op ssa.Op, t *types.Type) *ssa.Value {
    	return s.curBlock.NewValue0(s.peekPos(), op, t)
    }
    
    // newValue0A adds a new value with no arguments and an aux value to the current block.
    func (s *state) newValue0A(op ssa.Op, t *types.Type, aux ssa.Aux) *ssa.Value {
    	return s.curBlock.NewValue0A(s.peekPos(), op, t, aux)
    }
    
    // newValue0I adds a new value with no arguments and an auxint value to the current block.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  4. 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