Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for OpMakeResult (0.61 sec)

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

    			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
    				}
    			case OpGetG:
    				if f.Config.hasGReg {
    					// has hardware g register, regalloc takes care of it
    					continue // ok not to lower
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 16 00:16:13 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/expand_calls.go

    	}
    	return m0
    }
    
    func isBlockMultiValueExit(b *Block) bool {
    	return (b.Kind == BlockRet || b.Kind == BlockRetJmp) && b.Controls[0] != nil && b.Controls[0].Op == OpMakeResult
    }
    
    type Abi1RO uint8 // An offset within a parameter's slice of register indices, for abi1.
    
    // A registerCursor tracks which register is used for an Arg or regValues, or a piece of such.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 05:13:40 UTC 2023
    - 31.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewritegeneric.go

    	// result: x
    	for {
    		if auxIntToInt64(v.AuxInt) != 0 || v_0.Op != OpMakeResult || len(v_0.Args) < 1 {
    			break
    		}
    		x := v_0.Args[0]
    		v.copyOf(x)
    		return true
    	}
    	// match: (SelectN [1] (MakeResult x y ___))
    	// result: y
    	for {
    		if auxIntToInt64(v.AuxInt) != 1 || v_0.Op != OpMakeResult || len(v_0.Args) < 2 {
    			break
    		}
    		y := v_0.Args[1]
    		v.copyOf(y)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/regalloc.go

    		return regInfo{outputs: []outputInfo{{regs: 1 << uint(reg)}}}
    	}
    	if op.IsCall() {
    		if ac, ok := v.Aux.(*AuxCall); ok && ac.reg != nil {
    			return *ac.Reg(&opcodeTable[op].reg, s.f.Config)
    		}
    	}
    	if op == OpMakeResult && s.f.OwnAux.reg != nil {
    		return *s.f.OwnAux.ResultReg(s.f.Config)
    	}
    	return opcodeTable[op].reg
    }
    
    func (s *regAllocState) isGReg(r register) bool {
    	return s.f.Config.hasGReg && s.GReg == r
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssagen/ssa.go

    	// otherwise races will be attributed to the caller instead.
    	if s.instrumentEnterExit {
    		s.rtcall(ir.Syms.Racefuncexit, true, nil)
    	}
    
    	results[len(results)-1] = s.mem()
    	m := s.newValue0(ssa.OpMakeResult, s.f.OwnAux.LateExpansionResultType())
    	m.AddArgs(results...)
    
    	b := s.endBlock()
    	b.Kind = ssa.BlockRet
    	b.SetControl(m)
    	if s.hasdefer && s.hasOpenDefers {
    		s.lastDeferFinalBlock = b
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/opGen.go

    	OpCvt32Uto32F
    	OpCvt32Uto64F
    	OpCvt32Fto32U
    	OpCvt64Fto32U
    	OpCvt64Uto32F
    	OpCvt64Uto64F
    	OpCvt32Fto64U
    	OpCvt64Fto64U
    	OpSelect0
    	OpSelect1
    	OpSelectN
    	OpSelectNAddr
    	OpMakeResult
    	OpAtomicLoad8
    	OpAtomicLoad32
    	OpAtomicLoad64
    	OpAtomicLoadPtr
    	OpAtomicLoadAcq32
    	OpAtomicLoadAcq64
    	OpAtomicStore8
    	OpAtomicStore32
    	OpAtomicStore64
    	OpAtomicStorePtrNoWB
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
Back to top