Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 40 for AuxInt (0.25 sec)

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

    const (
    	auxNone           auxType = iota
    	auxBool                   // auxInt is 0/1 for false/true
    	auxInt8                   // auxInt is an 8-bit integer
    	auxInt16                  // auxInt is a 16-bit integer
    	auxInt32                  // auxInt is a 32-bit integer
    	auxInt64                  // auxInt is a 64-bit integer
    	auxInt128                 // auxInt represents a 128-bit integer.  Always 0.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	// constants. Constant values are stored in the aux or
    	// auxint fields.
    	{name: "ConstBool", aux: "Bool"},     // auxint is 0 for false and 1 for true
    	{name: "ConstString", aux: "String"}, // value is aux.(string)
    	{name: "ConstNil", typ: "BytePtr"},   // nil pointer
    	{name: "Const8", aux: "Int8"},        // auxint is sign-extended 8 bits
    	{name: "Const16", aux: "Int16"},      // auxint is sign-extended 16 bits
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/x86/ssa.go

    		a := v.Args[0].Reg()
    		if r == a {
    			if v.AuxInt == 1 {
    				p := s.Prog(x86.AINCL)
    				p.To.Type = obj.TYPE_REG
    				p.To.Reg = r
    				return
    			}
    			if v.AuxInt == -1 {
    				p := s.Prog(x86.ADECL)
    				p.To.Type = obj.TYPE_REG
    				p.To.Reg = r
    				return
    			}
    			p := s.Prog(v.Op.Asm())
    			p.From.Type = obj.TYPE_CONST
    			p.From.Offset = v.AuxInt
    			p.To.Type = obj.TYPE_REG
    			p.To.Reg = r
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 01:26:58 UTC 2023
    - 26.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/WasmOps.go

    		{name: "LoweredInterCall", argLength: 2, reg: regInfo{inputs: []regMask{gp}, clobbers: callerSave}, aux: "CallOff", call: true},          // call fn by pointer. arg0=codeptr, arg1=mem, auxint=argsize, returns mem
    
    		{name: "LoweredAddr", argLength: 1, reg: gp11, aux: "SymOff", rematerializeable: true, symEffect: "Addr"}, // returns base+aux+auxint, arg0=base
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/block.go

    func (b *Block) AuxIntString() string {
    	switch b.Kind.AuxIntType() {
    	case "int8":
    		return fmt.Sprintf("%v", int8(b.AuxInt))
    	case "uint8":
    		return fmt.Sprintf("%v", uint8(b.AuxInt))
    	case "": // no aux int type
    		return ""
    	default: // type specified but not implemented - print as int64
    		return fmt.Sprintf("%v", b.AuxInt)
    	}
    }
    
    // likelyBranch reports whether block b is the likely branch of all of its predecessors.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/expand_calls.go

    					mem := x.memForCall[call.ID]
    					if mem == nil {
    						v.AuxInt = int64(aux.abiInfo.OutRegistersUsed())
    						x.memForCall[call.ID] = v
    					} else {
    						panic(fmt.Errorf("Saw two memories for call %v, %v and %v", call, mem, v))
    					}
    				} else {
    					selects = append(selects, v)
    				}
    
    			case OpSelectNAddr:
    				call := v.Args[0]
    				which := v.AuxInt
    				aux := call.Aux.(*AuxCall)
    				pt := v.Type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 05:13:40 UTC 2023
    - 31.9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/writebarrier.go

    				memThen = bThen.NewValue1(pos, OpSelect1, types.TypeMem, curCall)
    			}
    			// Store value in write buffer
    			num := curCall.AuxInt
    			curCall.AuxInt = num + 1
    			wbuf := bThen.NewValue1I(pos, OpOffPtr, types.Types[types.TUINTPTR].PtrTo(), num*f.Config.PtrSize, curPtr)
    			memThen = bThen.NewValue3A(pos, OpStore, types.TypeMem, types.Types[types.TUINTPTR], wbuf, v, memThen)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/wasm/ssa.go

    			p.Pos = v.Pos
    		}
    
    	case ssa.OpWasmLoweredMove:
    		getValue32(s, v.Args[0])
    		getValue32(s, v.Args[1])
    		i32Const(s, int32(v.AuxInt))
    		s.Prog(wasm.AMemoryCopy)
    
    	case ssa.OpWasmLoweredZero:
    		getValue32(s, v.Args[0])
    		i32Const(s, 0)
    		i32Const(s, int32(v.AuxInt))
    		s.Prog(wasm.AMemoryFill)
    
    	case ssa.OpWasmLoweredNilCheck:
    		getValue64(s, v.Args[0])
    		s.Prog(wasm.AI64Eqz)
    		s.Prog(wasm.AIf)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/deadstore.go

    			ptr := v.Args[0]
    			var off int64
    			for ptr.Op == OpOffPtr { // Walk to base pointer
    				off += ptr.AuxInt
    				ptr = ptr.Args[0]
    			}
    			var sz int64
    			if v.Op == OpStore {
    				sz = v.Aux.(*types.Type).Size()
    			} else { // OpZero
    				sz = v.AuxInt
    			}
    			if ptr.Op == OpLocalAddr {
    				if la, ok := localAddrs[ptr.Aux]; ok {
    					ptr = la
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 20:07:26 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/nilcheck.go

    				switch opcodeTable[v.Op].auxType {
    				case auxSym:
    					if v.Aux != nil {
    						continue
    					}
    				case auxSymOff:
    					if v.Aux != nil || v.AuxInt < 0 || v.AuxInt >= minZeroPage {
    						continue
    					}
    				case auxSymValAndOff:
    					off := ValAndOff(v.AuxInt).Off()
    					if v.Aux != nil || off < 0 || off >= minZeroPage {
    						continue
    					}
    				case auxInt32:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 11.3K bytes
    - Viewed (0)
Back to top