Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for ConstNil (0.24 sec)

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

    (Trunc64to32 <t> x) && t.IsSigned() => (MOVWreg x)
    (Trunc64to32 x) => (MOVWZreg x)
    
    // Lowering constants
    (Const(64|32|16|8) [val]) => (MOVDconst [int64(val)])
    (Const(32|64)F ...) => (FMOV(S|D)const ...)
    (ConstNil) => (MOVDconst [0])
    (ConstBool [t]) => (MOVDconst [b2i(t)])
    
    // Carrying addition.
    (Select0 (Add64carry x y c)) =>            (Select0 <typ.UInt64> (ADDE x y (Select1 <typ.UInt64> (ADDCconst c [-1]))))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/S390X.rules

    	(LoweredZero [s%256] destptr (ADDconst <destptr.Type> destptr [(int32(s)/256)*256]) mem)
    
    // Lowering constants
    (Const(64|32|16|8) [val]) => (MOVDconst [int64(val)])
    (Const(32|64)F ...) => (FMOV(S|D)const ...)
    (ConstNil) => (MOVDconst [0])
    (ConstBool [t]) => (MOVDconst [b2i(t)])
    
    // Lowering calls
    (StaticCall ...) => (CALLstatic ...)
    (ClosureCall ...) => (CALLclosure ...)
    (InterCall ...) => (CALLinter ...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 74.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewritegeneric.go

    		break
    	}
    	return false
    }
    func rewriteValuegeneric_OpConstInterface(v *Value) bool {
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (ConstInterface)
    	// result: (IMake (ConstNil <typ.Uintptr>) (ConstNil <typ.BytePtr>))
    	for {
    		v.reset(OpIMake)
    		v0 := b.NewValue0(v.Pos, OpConstNil, typ.Uintptr)
    		v1 := b.NewValue0(v.Pos, OpConstNil, typ.BytePtr)
    		v.AddArg2(v0, v1)
    		return true
    	}
    }
    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/_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)
  5. src/cmd/compile/internal/ssa/_gen/AMD64.rules

    (Const8   [c]) => (MOVLconst [int32(c)])
    (Const16  [c]) => (MOVLconst [int32(c)])
    (Const32  ...) => (MOVLconst ...)
    (Const64  ...) => (MOVQconst ...)
    (Const32F ...) => (MOVSSconst ...)
    (Const64F ...) => (MOVSDconst ...)
    (ConstNil    ) => (MOVQconst [0])
    (ConstBool [c]) => (MOVLconst [b2i32(c)])
    
    // Lowering calls
    (StaticCall ...) => (CALLstatic ...)
    (ClosureCall ...) => (CALLclosure ...)
    (InterCall ...) => (CALLinter ...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/compile/internal/ssa/_gen/ARM.rules

    (Rsh8x64 x (Const64 [c])) && uint64(c) >= 8 => (SRAconst (SLLconst <typ.UInt32> x [24]) [31])
    
    // constants
    (Const(8|16|32) [val]) => (MOVWconst [int32(val)])
    (Const(32|64)F [val]) => (MOV(F|D)const [float64(val)])
    (ConstNil) => (MOVWconst [0])
    (ConstBool [t]) => (MOVWconst [b2i32(t)])
    
    // truncations
    // Because we ignore high parts of registers, truncates are just copies.
    (Trunc16to8 ...) => (Copy ...)
    (Trunc32to8 ...) => (Copy ...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 90.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top