Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for OpArg (0.03 sec)

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

    	//      z0   z1
    	//       \   /
    	//       exit
    	fun = c.Fun("entry",
    		Bloc("entry",
    			Valu("mem", OpInitMem, types.TypeMem, 0, nil),
    			Valu("c1", OpArg, c.config.Types.Bool, 0, nil),
    			If("c1", "b0", "z0")),
    		Bloc("b0",
    			Valu("c2", OpArg, c.config.Types.Bool, 0, nil),
    			If("c2", "z1", "z0")),
    		Bloc("z0",
    			Goto("exit")),
    		Bloc("z1",
    			Goto("exit")),
    		Bloc("exit",
    			Exit("mem"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/regalloc_test.go

    func TestSpillWithLoop(t *testing.T) {
    	c := testConfig(t)
    	f := c.Fun("entry",
    		Bloc("entry",
    			Valu("mem", OpInitMem, types.TypeMem, 0, nil),
    			Valu("ptr", OpArg, c.config.Types.Int64.PtrTo(), 0, c.Temp(c.config.Types.Int64)),
    			Valu("cond", OpArg, c.config.Types.Bool, 0, c.Temp(c.config.Types.Bool)),
    			Valu("ld", OpAMD64MOVQload, c.config.Types.Int64, 0, nil, "ptr", "mem"), // this value needs a spill
    			Goto("loop"),
    		),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/cse_test.go

    			Valu("r7", OpAdd64, c.config.Types.Int64, 0, nil, "arg3", "arg1"),
    			Valu("r1", OpAdd64, c.config.Types.Int64, 0, nil, "arg1", "arg2"),
    			Valu("arg1", OpArg, c.config.Types.Int64, 0, arg1Aux),
    			Valu("arg2", OpArg, c.config.Types.Int64, 0, arg2Aux),
    			Valu("arg3", OpArg, c.config.Types.Int64, 0, arg3Aux),
    			Valu("r9", OpAdd64, c.config.Types.Int64, 0, nil, "r7", "r8"),
    			Valu("r4", OpAdd64, c.config.Types.Int64, 0, nil, "r1", "r2"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/lower.go

    	for _, b := range f.Blocks {
    		for _, v := range b.Values {
    			if !opcodeTable[v.Op].generic {
    				continue // lowered
    			}
    			switch v.Op {
    			case OpSP, OpSPanchored, OpSB, OpInitMem, OpArg, OpArgIntReg, OpArgFloatReg, OpPhi, OpVarDef, OpVarLive, OpKeepAlive, OpSelect0, OpSelect1, OpSelectN, OpConvert, OpInlMark, OpWBend:
    				continue // ok not to lower
    			case OpMakeResult:
    				if b.Controls[0] == v {
    					continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 16 00:16:13 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/tighten.go

    	for _, b := range f.Blocks {
    		for _, v := range b.Values {
    			if v.Op.isLoweredGetClosurePtr() {
    				// Must stay in the entry block.
    				continue
    			}
    			switch v.Op {
    			case OpPhi, OpArg, OpArgIntReg, OpArgFloatReg, OpSelect0, OpSelect1, OpSelectN:
    				// Phis need to stay in their block.
    				// Arg must stay in the entry block.
    				// Tuple selectors must stay with the tuple generator.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 01:01:38 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/numberlines.go

    // boundary. Such values don't correspond to a user's understanding of a
    // statement boundary.
    func notStmtBoundary(op Op) bool {
    	switch op {
    	case OpCopy, OpPhi, OpVarDef, OpVarLive, OpUnknown, OpFwdRef, OpArg, OpArgIntReg, OpArgFloatReg:
    		return true
    	}
    	return false
    }
    
    func (b *Block) FirstPossibleStmtValue() *Value {
    	for _, v := range b.Values {
    		if notStmtBoundary(v.Op) {
    			continue
    		}
    		return v
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 21:26:13 UTC 2023
    - 7.8K bytes
    - Viewed (0)
Back to top