Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for auxIntToInt64 (0.28 sec)

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

    		if auxIntToInt64(v.AuxInt) != 0 {
    			break
    		}
    		z := v_0
    		if z.Op != OpPPC64CNTLZD {
    			break
    		}
    		if !(v.Block == z.Block) {
    			break
    		}
    		v.reset(OpPPC64CMPconst)
    		v.AuxInt = int64ToAuxInt(0)
    		v.AddArg(convertPPC64OpToOpCC(z))
    		return true
    	}
    	// match: (CMPconst [0] z:(RLDICL x))
    	// cond: v.Block == z.Block
    	// result: (CMPconst [0] convertPPC64OpToOpCC(z))
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewriteLOONG64.go

    	// match: (ADDVconst [0] x)
    	// result: x
    	for {
    		if auxIntToInt64(v.AuxInt) != 0 {
    			break
    		}
    		x := v_0
    		v.copyOf(x)
    		return true
    	}
    	// match: (ADDVconst [c] (MOVVconst [d]))
    	// result: (MOVVconst [c+d])
    	for {
    		c := auxIntToInt64(v.AuxInt)
    		if v_0.Op != OpLOONG64MOVVconst {
    			break
    		}
    		d := auxIntToInt64(v_0.AuxInt)
    		v.reset(OpLOONG64MOVVconst)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 195.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewritedec.go

    	// result: (IData x)
    	for {
    		if auxIntToInt64(v.AuxInt) != 0 || v_0.Op != OpIData {
    			break
    		}
    		x := v_0.Args[0]
    		v.reset(OpIData)
    		v.AddArg(x)
    		return true
    	}
    	// match: (ArraySelect [i] x:(Load <t> ptr mem))
    	// result: @x.Block (Load <v.Type> (OffPtr <v.Type.PtrTo()> [t.Elem().Size()*i] ptr) mem)
    	for {
    		i := auxIntToInt64(v.AuxInt)
    		x := v_0
    		if x.Op != OpLoad {
    			break
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:48:31 UTC 2023
    - 24.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewriteRISCV64latelower.go

    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (SLLI [c] (MOVBUreg x))
    	// cond: c <= 56
    	// result: (SRLI [56-c] (SLLI <typ.UInt64> [56] x))
    	for {
    		c := auxIntToInt64(v.AuxInt)
    		if v_0.Op != OpRISCV64MOVBUreg {
    			break
    		}
    		x := v_0.Args[0]
    		if !(c <= 56) {
    			break
    		}
    		v.reset(OpRISCV64SRLI)
    		v.AuxInt = int64ToAuxInt(56 - c)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewriteARM64.go

    	// result: (REV16 x)
    	for {
    		if auxIntToInt64(v.AuxInt) != 8 || v_0.Op != OpARM64SRLconst || auxIntToInt64(v_0.AuxInt) != 8 {
    			break
    		}
    		v_0_0 := v_0.Args[0]
    		if v_0_0.Op != OpARM64ANDconst {
    			break
    		}
    		c1 := auxIntToInt64(v_0_0.AuxInt)
    		x := v_0_0.Args[0]
    		if v_1.Op != OpARM64ANDconst {
    			break
    		}
    		c2 := auxIntToInt64(v_1.AuxInt)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 608.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewriteMIPS64.go

    	// match: (ADDVconst [0] x)
    	// result: x
    	for {
    		if auxIntToInt64(v.AuxInt) != 0 {
    			break
    		}
    		x := v_0
    		v.copyOf(x)
    		return true
    	}
    	// match: (ADDVconst [c] (MOVVconst [d]))
    	// result: (MOVVconst [c+d])
    	for {
    		c := auxIntToInt64(v.AuxInt)
    		if v_0.Op != OpMIPS64MOVVconst {
    			break
    		}
    		d := auxIntToInt64(v_0.AuxInt)
    		v.reset(OpMIPS64MOVVconst)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 211.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewritegeneric.go

    			z := v_0.Args[1]
    			if z.Op != OpConst64 {
    				continue
    			}
    			c := auxIntToInt64(z.AuxInt)
    			if v_1.Op != OpRsh16Ux64 {
    				continue
    			}
    			_ = v_1.Args[1]
    			if x != v_1.Args[0] {
    				continue
    			}
    			v_1_1 := v_1.Args[1]
    			if v_1_1.Op != OpConst64 {
    				continue
    			}
    			d := auxIntToInt64(v_1_1.AuxInt)
    			if !(c < 16 && d == 16-c && canRotate(config, 16)) {
    				continue
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewritePPC64.go

    	// result: (ANDconst [c&d] x)
    	for {
    		c := auxIntToInt64(v.AuxInt)
    		if v_0.Op != OpPPC64ANDconst {
    			break
    		}
    		d := auxIntToInt64(v_0.AuxInt)
    		x := v_0.Args[0]
    		v.reset(OpPPC64ANDconst)
    		v.AuxInt = int64ToAuxInt(c & d)
    		v.AddArg(x)
    		return true
    	}
    	// match: (ANDconst [-1] x)
    	// result: x
    	for {
    		if auxIntToInt64(v.AuxInt) != -1 {
    			break
    		}
    		x := v_0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewriteRISCV64.go

    	// result: x
    	for {
    		if auxIntToInt64(v.AuxInt) != 0 {
    			break
    		}
    		x := v_0
    		v.copyOf(x)
    		return true
    	}
    	// match: (ADDI [x] (MOVDconst [y]))
    	// cond: is32Bit(x + y)
    	// result: (MOVDconst [x + y])
    	for {
    		x := auxIntToInt64(v.AuxInt)
    		if v_0.Op != OpRISCV64MOVDconst {
    			break
    		}
    		y := auxIntToInt64(v_0.AuxInt)
    		if !(is32Bit(x + y)) {
    			break
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 205.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/rewriteWasm.go

    	typ := &b.Func.Config.Types
    	// match: (Move [0] _ _ mem)
    	// result: mem
    	for {
    		if auxIntToInt64(v.AuxInt) != 0 {
    			break
    		}
    		mem := v_2
    		v.copyOf(mem)
    		return true
    	}
    	// match: (Move [1] dst src mem)
    	// result: (I64Store8 dst (I64Load8U src mem) mem)
    	for {
    		if auxIntToInt64(v.AuxInt) != 1 {
    			break
    		}
    		dst := v_0
    		src := v_1
    		mem := v_2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 03:56:57 UTC 2023
    - 108.6K bytes
    - Viewed (0)
Back to top