Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for intconst (0.14 sec)

  1. src/cmd/compile/internal/rangefunc/rewrite.go

    	var thenList []syntax.Stmt
    	if zeroNext {
    		clr := &syntax.AssignStmt{
    			Lhs: r.next(),
    			Rhs: r.intConst(0),
    		}
    		thenList = append(thenList, clr)
    	}
    	for _, then := range thens {
    		thenList = append(thenList, then)
    	}
    	nif := &syntax.IfStmt{
    		Cond: r.cond(op, r.next(), r.intConst(c)),
    		Then: &syntax.BlockStmt{
    			List: thenList,
    		},
    	}
    	return nif
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  2. src/runtime/asm_wasm.s

    	I64Const $8
    	Call	gcWriteBarrier<>(SB)
    	Return
    TEXT runtime·gcWriteBarrier2<ABIInternal>(SB),NOSPLIT,$0
    	I64Const $16
    	Call	gcWriteBarrier<>(SB)
    	Return
    TEXT runtime·gcWriteBarrier3<ABIInternal>(SB),NOSPLIT,$0
    	I64Const $24
    	Call	gcWriteBarrier<>(SB)
    	Return
    TEXT runtime·gcWriteBarrier4<ABIInternal>(SB),NOSPLIT,$0
    	I64Const $32
    	Call	gcWriteBarrier<>(SB)
    	Return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:26:51 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/MIPS64.rules

    (SGTconst [c] (MOVBUreg _)) && 0xff < c => (MOVVconst [1])
    (SGTconst [c] (MOVBUreg _)) && c < 0 => (MOVVconst [0])
    (SGTUconst [c] (MOVBUreg _)) && 0xff < uint64(c) => (MOVVconst [1])
    (SGTconst [c] (MOVHreg _)) && 0x7fff < c => (MOVVconst [1])
    (SGTconst [c] (MOVHreg _)) && c <= -0x8000 => (MOVVconst [0])
    (SGTconst [c] (MOVHUreg _)) && 0xffff < c => (MOVVconst [1])
    (SGTconst [c] (MOVHUreg _)) && c < 0 => (MOVVconst [0])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 41.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/LOONG64.rules

    (SGTconst [c] (MOVBUreg _)) && 0xff < c => (MOVVconst [1])
    (SGTconst [c] (MOVBUreg _)) && c < 0 => (MOVVconst [0])
    (SGTUconst [c] (MOVBUreg _)) && 0xff < uint64(c) => (MOVVconst [1])
    (SGTconst [c] (MOVHreg _)) && 0x7fff < c => (MOVVconst [1])
    (SGTconst [c] (MOVHreg _)) && c <= -0x8000 => (MOVVconst [0])
    (SGTconst [c] (MOVHUreg _)) && 0xffff < c => (MOVVconst [1])
    (SGTconst [c] (MOVHUreg _)) && c < 0 => (MOVVconst [0])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 31.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/staticinit/sched.go

    	}
    	newList := make([]ir.Node, 0, need)
    	for i := 0; i < len(s); i++ {
    		if ir.IsConst(s[i], constant.String) && i+1 < len(s) && ir.IsConst(s[i+1], constant.String) {
    			// merge from i up to but not including i2
    			var strs []string
    			i2 := i
    			for i2 < len(s) && ir.IsConst(s[i2], constant.String) {
    				strs = append(strs, ir.StringVal(s[i2]))
    				i2++
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 17:16:14 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/staticdata/data.go

    		objw.Global(sf, int32(types.PtrSize), obj.DUPOK|obj.RODATA)
    	}
    }
    
    // InitConst writes the static literal c to n.
    // Neither n nor c is modified.
    func InitConst(n *ir.Name, noff int64, c ir.Node, wid int) {
    	if n.Op() != ir.ONAME {
    		base.Fatalf("InitConst n op %v", n.Op())
    	}
    	if n.Sym() == nil {
    		base.Fatalf("InitConst nil n sym")
    	}
    	if c.Op() == ir.ONIL {
    		return
    	}
    	if c.Op() != ir.OLITERAL {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:08:50 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/walk/complit.go

    	initConst                           // contains some constant values, which may be written into data symbols
    )
    
    // getdyn calculates the initGenType for n.
    // If top is false, getdyn is recursing.
    func getdyn(n ir.Node, top bool) initGenType {
    	switch n.Op() {
    	default:
    		if ir.IsConstNode(n) {
    			return initConst
    		}
    		return initDynamic
    
    	case ir.OSLICELIT:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:03:54 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/sccp.go

    	return true
    }
    
    // possibleConst checks if Value can be folded to const. For those Values that can
    // never become constants(e.g. StaticCall), we don't make futile efforts.
    func possibleConst(val *Value) bool {
    	if isConst(val) {
    		return true
    	}
    	switch val.Op {
    	case OpCopy:
    		return true
    	case OpPhi:
    		return true
    	case
    		// negate
    		OpNeg8, OpNeg16, OpNeg32, OpNeg64, OpNeg32F, OpNeg64F,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:54:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java

            }
        }
    
        @Override
        public void visit(FieldDeclaration fieldDeclaration, ClassMetaDataRepository<ClassMetaData> arg) {
            boolean isConst = getCurrentClass().isInterface() || (fieldDeclaration.isStatic() && fieldDeclaration.isFinal());
            if (isConst) {
                fieldDeclaration.getVariables().forEach(variableDeclarator -> {
                    String constName = variableDeclarator.getNameAsString();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 21 13:27:02 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/rewritePPC64latelower.go

    		}
    		break
    	}
    	return false
    }
    func rewriteValuePPC64latelower_OpPPC64AND(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	// match: (AND <t> x:(MOVDconst [m]) n)
    	// cond: t.Size() <= 2
    	// result: (ANDconst [int64(int16(m))] n)
    	for {
    		t := v.Type
    		for _i0 := 0; _i0 <= 1; _i0, v_0, v_1 = _i0+1, v_1, v_0 {
    			x := v_0
    			if x.Op != OpPPC64MOVDconst {
    				continue
    			}
    			m := auxIntToInt64(x.AuxInt)
    			n := v_1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 16.5K bytes
    - Viewed (0)
Back to top