Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for OpConst8 (0.12 sec)

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

    func keyFor(v *Value) int64 {
    	switch v.Op {
    	case OpConst64, OpConst64F, OpConst32F:
    		return v.AuxInt
    	case OpConst32:
    		return int64(int32(v.AuxInt))
    	case OpConst16:
    		return int64(int16(v.AuxInt))
    	case OpConst8, OpConstBool:
    		return int64(int8(v.AuxInt))
    	default:
    		return v.AuxInt
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 08 01:46:31 UTC 2020
    - 2.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/fuse_comparisons.go

    // getConstIntArgIndex returns the index of the first argument that is a
    // constant integer or -1 if no such argument exists.
    func getConstIntArgIndex(v *Value) int {
    	for i, a := range v.Args {
    		switch a.Op {
    		case OpConst8, OpConst16, OpConst32, OpConst64:
    			return i
    		}
    	}
    	return -1
    }
    
    // isSignedInequality reports whether op represents the inequality < or ≤
    // in the signed domain.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/numberlines.go

    	case OpAddr, OpLocalAddr, OpOffPtr, OpStructSelect, OpPhi, OpITab, OpIData,
    		OpIMake, OpStringMake, OpSliceMake, OpStructMake0, OpStructMake1, OpStructMake2, OpStructMake3, OpStructMake4,
    		OpConstBool, OpConst8, OpConst16, OpConst32, OpConst64, OpConst32F, OpConst64F, OpSB, OpSP,
    		OpArgIntReg, OpArgFloatReg:
    		return true
    	}
    	return false
    }
    
    // nextGoodStatementIndex returns an index at i or later that is believed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 21:26:13 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/phiopt.go

    			}
    		}
    	}
    }
    
    func phioptint(v *Value, b0 *Block, reverse int) {
    	a0 := v.Args[0]
    	a1 := v.Args[1]
    	if a0.Op != a1.Op {
    		return
    	}
    
    	switch a0.Op {
    	case OpConst8, OpConst16, OpConst32, OpConst64:
    	default:
    		return
    	}
    
    	negate := false
    	switch {
    	case a0.AuxInt == 0 && a1.AuxInt == 1:
    		negate = true
    	case a0.AuxInt == 1 && a1.AuxInt == 0:
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 8.1K bytes
    - Viewed (0)
Back to top