Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 36 for constNil (0.27 sec)

  1. 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)
  2. src/cmd/compile/internal/ssa/loopbce.go

    						return false
    					}
    					if inclusive && v != limit.AuxInt || !inclusive && v+1 != limit.AuxInt {
    						// We know a better limit than the programmer did. Use our limit instead.
    						limit = f.constVal(limit.Op, limit.Type, v, true)
    						inclusive = true
    					}
    					return true
    				}
    				if step == 1 && !inclusive {
    					// Can't overflow because maxint is never a possible value.
    					return true
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 17:37:47 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  3. src/cmd/doc/testdata/pkg.go

    	ConstOne   = 1
    	ConstTwo   = 2 // Comment on line with ConstTwo.
    	constThree = 3 // Comment on line with constThree.
    )
    
    // Const block where first entry is unexported.
    const (
    	constFour = iota
    	ConstFive
    	ConstSix
    )
    
    // Variables
    
    // Comment about exported variable.
    var ExportedVariable = 1
    
    var ExportedVarOfUnExported unexportedType
    
    // Comment about internal variable.
    var internalVariable = 2
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:16:55 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/cmd/compile/internal/ssa/rewrite386.go

    	for {
    		c := auxIntToBool(v.AuxInt)
    		v.reset(Op386MOVLconst)
    		v.AuxInt = int32ToAuxInt(b2i32(c))
    		return true
    	}
    }
    func rewriteValue386_OpConstNil(v *Value) bool {
    	// match: (ConstNil)
    	// result: (MOVLconst [0])
    	for {
    		v.reset(Op386MOVLconst)
    		v.AuxInt = int32ToAuxInt(0)
    		return true
    	}
    }
    func rewriteValue386_OpCtz16(v *Value) bool {
    	v_0 := v.Args[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 21:05:46 UTC 2023
    - 262.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewritePPC64.go

    	for {
    		t := auxIntToBool(v.AuxInt)
    		v.reset(OpPPC64MOVDconst)
    		v.AuxInt = int64ToAuxInt(b2i(t))
    		return true
    	}
    }
    func rewriteValuePPC64_OpConstNil(v *Value) bool {
    	// match: (ConstNil)
    	// result: (MOVDconst [0])
    	for {
    		v.reset(OpPPC64MOVDconst)
    		v.AuxInt = int64ToAuxInt(0)
    		return true
    	}
    }
    func rewriteValuePPC64_OpCopysign(v *Value) bool {
    	v_1 := v.Args[1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  8. src/cmd/doc/doc_test.go

    		[]string{
    			`package pkg .*import`,
    			`Package comment`,
    			`CONSTANTS`,
    			`Comment before ConstOne`,
    			`ConstOne = 1`,
    			`ConstTwo = 2 // Comment on line with ConstTwo`,
    			`ConstFive`,
    			`ConstSix`,
    			`Const block where first entry is unexported`,
    			`ConstLeft2, constRight2 uint64`,
    			`constLeft3, ConstRight3`,
    			`ConstLeft4, ConstRight4`,
    			`Duplicate = iota`,
    			`const CaseMatch = 1`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:16:55 UTC 2023
    - 31.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewriteS390X.go

    	for {
    		t := auxIntToBool(v.AuxInt)
    		v.reset(OpS390XMOVDconst)
    		v.AuxInt = int64ToAuxInt(b2i(t))
    		return true
    	}
    }
    func rewriteValueS390X_OpConstNil(v *Value) bool {
    	// match: (ConstNil)
    	// result: (MOVDconst [0])
    	for {
    		v.reset(OpS390XMOVDconst)
    		v.AuxInt = int64ToAuxInt(0)
    		return true
    	}
    }
    func rewriteValueS390X_OpCtz32(v *Value) bool {
    	v_0 := v.Args[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 395.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/rewriteARM.go

    	for {
    		t := auxIntToBool(v.AuxInt)
    		v.reset(OpARMMOVWconst)
    		v.AuxInt = int32ToAuxInt(b2i32(t))
    		return true
    	}
    }
    func rewriteValueARM_OpConstNil(v *Value) bool {
    	// match: (ConstNil)
    	// result: (MOVWconst [0])
    	for {
    		v.reset(OpARMMOVWconst)
    		v.AuxInt = int32ToAuxInt(0)
    		return true
    	}
    }
    func rewriteValueARM_OpCtz16(v *Value) bool {
    	v_0 := v.Args[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 486.8K bytes
    - Viewed (0)
Back to top