Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for ConstNil (0.44 sec)

  1. src/cmd/compile/internal/ssa/_gen/generic.rules

    (ConstSlice) && config.PtrSize == 4 =>
      (SliceMake
        (ConstNil <v.Type.Elem().PtrTo()>)
        (Const32 <typ.Int> [0])
        (Const32 <typ.Int> [0]))
    (ConstSlice) && config.PtrSize == 8 =>
      (SliceMake
        (ConstNil <v.Type.Elem().PtrTo()>)
        (Const64 <typ.Int> [0])
        (Const64 <typ.Int> [0]))
    
    // interface ops
    (ConstInterface) =>
      (IMake
        (ConstNil <typ.Uintptr>)
        (ConstNil <typ.BytePtr>))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    // constants
    (Const(64|32|16|8) [val]) => (MOVDconst [int64(val)])
    (Const(32|64)F    [val]) => (FMOV(S|D)const [float64(val)])
    (ConstNil) => (MOVDconst [0])
    (ConstBool [t]) => (MOVDconst [b2i(t)])
    
    (Slicemask <t> x) => (SRAconst (NEG <t> x) [63])
    
    // truncations
    // Because we ignore high parts of registers, truncates are just copies.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewriteWasm.go

    	for {
    		c := auxIntToBool(v.AuxInt)
    		v.reset(OpWasmI64Const)
    		v.AuxInt = int64ToAuxInt(b2i(c))
    		return true
    	}
    }
    func rewriteValueWasm_OpConstNil(v *Value) bool {
    	// match: (ConstNil)
    	// result: (I64Const [0])
    	for {
    		v.reset(OpWasmI64Const)
    		v.AuxInt = int64ToAuxInt(0)
    		return true
    	}
    }
    func rewriteValueWasm_OpCtz16(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 03:56:57 UTC 2023
    - 108.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewriteMIPS.go

    	for {
    		t := auxIntToBool(v.AuxInt)
    		v.reset(OpMIPSMOVWconst)
    		v.AuxInt = int32ToAuxInt(b2i32(t))
    		return true
    	}
    }
    func rewriteValueMIPS_OpConstNil(v *Value) bool {
    	// match: (ConstNil)
    	// result: (MOVWconst [0])
    	for {
    		v.reset(OpMIPSMOVWconst)
    		v.AuxInt = int32ToAuxInt(0)
    		return true
    	}
    }
    func rewriteValueMIPS_OpCtz32(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 176.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewriteLOONG64.go

    	for {
    		t := auxIntToBool(v.AuxInt)
    		v.reset(OpLOONG64MOVVconst)
    		v.AuxInt = int64ToAuxInt(int64(b2i(t)))
    		return true
    	}
    }
    func rewriteValueLOONG64_OpConstNil(v *Value) bool {
    	// match: (ConstNil)
    	// result: (MOVVconst [0])
    	for {
    		v.reset(OpLOONG64MOVVconst)
    		v.AuxInt = int64ToAuxInt(0)
    		return true
    	}
    }
    func rewriteValueLOONG64_OpDiv16(v *Value) bool {
    	v_1 := v.Args[1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 195.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewriteMIPS64.go

    	for {
    		t := auxIntToBool(v.AuxInt)
    		v.reset(OpMIPS64MOVVconst)
    		v.AuxInt = int64ToAuxInt(int64(b2i(t)))
    		return true
    	}
    }
    func rewriteValueMIPS64_OpConstNil(v *Value) bool {
    	// match: (ConstNil)
    	// result: (MOVVconst [0])
    	for {
    		v.reset(OpMIPS64MOVVconst)
    		v.AuxInt = int64ToAuxInt(0)
    		return true
    	}
    }
    func rewriteValueMIPS64_OpDiv16(v *Value) bool {
    	v_1 := v.Args[1]
    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/rewriteRISCV64.go

    	for {
    		val := auxIntToBool(v.AuxInt)
    		v.reset(OpRISCV64MOVDconst)
    		v.AuxInt = int64ToAuxInt(int64(b2i(val)))
    		return true
    	}
    }
    func rewriteValueRISCV64_OpConstNil(v *Value) bool {
    	// match: (ConstNil)
    	// result: (MOVDconst [0])
    	for {
    		v.reset(OpRISCV64MOVDconst)
    		v.AuxInt = int64ToAuxInt(0)
    		return true
    	}
    }
    func rewriteValueRISCV64_OpDiv16(v *Value) bool {
    	v_1 := v.Args[1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 205.1K bytes
    - Viewed (0)
Back to top