Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for auxIntType (0.24 sec)

  1. src/cmd/compile/internal/ssa/_gen/main.go

    	// generate block kind auxint method
    	fmt.Fprintln(w, "func (k BlockKind) AuxIntType() string {")
    	fmt.Fprintln(w, "switch k {")
    	for _, a := range archs {
    		for _, b := range a.blocks {
    			if b.auxIntType() == "invalid" {
    				continue
    			}
    			fmt.Fprintf(w, "case Block%s%s: return \"%s\"\n", a.Name(), b.name, b.auxIntType())
    		}
    	}
    	fmt.Fprintln(w, "}")
    	fmt.Fprintln(w, "return \"\"")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/rulegen.go

    		return "s390x.CCMask"
    	case "S390XRotateParams":
    		return "s390x.RotateParams"
    	default:
    		return "invalid"
    	}
    }
    
    // auxIntType returns the Go type that this operation should store in its auxInt field.
    func (op opData) auxIntType() string {
    	switch op.aux {
    	case "Bool":
    		return "bool"
    	case "Int8":
    		return "int8"
    	case "Int16":
    		return "int16"
    	case "Int32":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 02 22:09:21 UTC 2023
    - 48.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/block.go

    		return false
    	}
    	for _, v := range b.Values {
    		if v.LackingPos() {
    			continue
    		}
    		return false
    	}
    	return true
    }
    
    func (b *Block) AuxIntString() string {
    	switch b.Kind.AuxIntType() {
    	case "int8":
    		return fmt.Sprintf("%v", int8(b.AuxInt))
    	case "uint8":
    		return fmt.Sprintf("%v", uint8(b.AuxInt))
    	case "": // no aux int type
    		return ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/opGen.go

    	BlockRetJmp:    "RetJmp",
    	BlockExit:      "Exit",
    	BlockJumpTable: "JumpTable",
    	BlockFirst:     "First",
    }
    
    func (k BlockKind) String() string { return blockString[k] }
    func (k BlockKind) AuxIntType() string {
    	switch k {
    	case BlockARM64TBZ:
    		return "int64"
    	case BlockARM64TBNZ:
    		return "int64"
    	case BlockS390XCIJ:
    		return "int8"
    	case BlockS390XCGIJ:
    		return "int8"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
Back to top