Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ConstInt32 (0.16 sec)

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

    			c |= (a[i].store.Args[1].AuxInt & mask) << s
    		}
    		var cv *Value
    		switch size * n {
    		case 2:
    			cv = root.Block.Func.ConstInt16(types.Types[types.TUINT16], int16(c))
    		case 4:
    			cv = root.Block.Func.ConstInt32(types.Types[types.TUINT32], int32(c))
    		case 8:
    			cv = root.Block.Func.ConstInt64(types.Types[types.TUINT64], c)
    		}
    
    		// Move all the stores to the root.
    		for i := int64(0); i < n; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/writebarrier.go

    			wbMove = f.fe.Syslook("wbMove")
    			if buildcfg.Experiment.CgoCheck2 {
    				cgoCheckPtrWrite = f.fe.Syslook("cgoCheckPtrWrite")
    				cgoCheckMemmove = f.fe.Syslook("cgoCheckMemmove")
    			}
    			const0 = f.ConstInt32(f.Config.Types.UInt32, 0)
    
    			// allocate auxiliary data structures for computing store order
    			sset = f.newSparseSet(f.NumValues())
    			defer f.retSparseSet(sset)
    			sset2 = f.newSparseSet(f.NumValues())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssagen/ssa.go

    	return s.f.ConstInt8(t, c)
    }
    func (s *state) constInt16(t *types.Type, c int16) *ssa.Value {
    	return s.f.ConstInt16(t, c)
    }
    func (s *state) constInt32(t *types.Type, c int32) *ssa.Value {
    	return s.f.ConstInt32(t, c)
    }
    func (s *state) constInt64(t *types.Type, c int64) *ssa.Value {
    	return s.f.ConstInt64(t, c)
    }
    func (s *state) constFloat32(t *types.Type, c float64) *ssa.Value {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/func.go

    	return f.constVal(OpConst8, t, int64(c), true)
    }
    func (f *Func) ConstInt16(t *types.Type, c int16) *Value {
    	return f.constVal(OpConst16, t, int64(c), true)
    }
    func (f *Func) ConstInt32(t *types.Type, c int32) *Value {
    	return f.constVal(OpConst32, t, int64(c), true)
    }
    func (f *Func) ConstInt64(t *types.Type, c int64) *Value {
    	return f.constVal(OpConst64, t, c, true)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/prove.go

    				}
    			default:
    				continue
    			}
    			var c *Value
    			f := b.Func
    			switch bits {
    			case 64:
    				c = f.ConstInt64(typ, constValue)
    			case 32:
    				c = f.ConstInt32(typ, int32(constValue))
    			case 16:
    				c = f.ConstInt16(typ, int16(constValue))
    			case 8:
    				c = f.ConstInt8(typ, int8(constValue))
    			default:
    				panic("unexpected integer size")
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
Back to top