Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for op2str1 (0.18 sec)

  1. src/go/types/expr.go

    	switch e := e.(type) {
    	case *ast.BinaryExpr:
    		if int(e.Op) < len(op2str2) {
    			return op2str2[e.Op]
    		}
    	case *ast.UnaryExpr:
    		if int(e.Op) < len(op2str1) {
    			return op2str1[e.Op]
    		}
    	}
    	return ""
    }
    
    var op2str1 = [...]string{
    	token.XOR: "bitwise complement",
    }
    
    // This is only used for operations that may cause overflow.
    var op2str2 = [...]string{
    	token.ADD: "addition",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/expr.go

    		op := int(e.Op)
    		if e.Y == nil {
    			if op < len(op2str1) {
    				return op2str1[op]
    			}
    		} else {
    			if op < len(op2str2) {
    				return op2str2[op]
    			}
    		}
    	}
    	return ""
    }
    
    var op2str1 = [...]string{
    	syntax.Xor: "bitwise complement",
    }
    
    // This is only used for operations that may cause overflow.
    var op2str2 = [...]string{
    	syntax.Add: "addition",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/inst.go

    		buf.WriteString(arg.String())
    	}
    	return buf.String()
    }
    
    // An Op is an instruction operation.
    type Op uint16
    
    func (o Op) String() string {
    	if int(o) >= len(opstr) || opstr[o] == "" {
    		return fmt.Sprintf("Op(%d)", int(o))
    	}
    	return opstr[o]
    }
    
    // An Arg is a single instruction argument, one of these types: Reg, CondReg, SpReg, Imm, PCRel, Label, or Offset.
    type Arg interface {
    	IsArg()
    	String() string
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 03 01:35:44 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/arch/arm/armasm/inst.go

    // are not a dense packing from 0 to N, although the
    // density is high, probably at least 90%.
    
    func (op Op) String() string {
    	if op >= Op(len(opstr)) || opstr[op] == "" {
    		return fmt.Sprintf("Op(%d)", int(op))
    	}
    	return opstr[op]
    }
    
    // An Inst is a single instruction.
    type Inst struct {
    	Op   Op     // Opcode mnemonic
    	Enc  uint32 // Raw encoding bits.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 22:23:32 UTC 2017
    - 7.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/inst.go

    // are not a dense packing from 0 to N, although the
    // density is high, probably at least 90%.
    
    func (op Op) String() string {
    	if op >= Op(len(opstr)) || opstr[op] == "" {
    		return fmt.Sprintf("Op(%d)", int(op))
    	}
    	return opstr[op]
    }
    
    // An Inst is a single instruction.
    type Inst struct {
    	Op   Op     // Opcode mnemonic
    	Enc  uint32 // Raw encoding bits.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/arm64/asm7.go

    		if isRegShiftOrExt(&p.To) {
    			// extended or shifted offset register.
    			c.checkShiftAmount(p, &p.To)
    
    			o1 = c.opstrr(p, p.As, true)
    			o1 |= c.encRegShiftOrExt(p, &p.To, p.To.Index) /* includes reg, op, etc */
    		} else {
    			// (Rn)(Rm), no extension or shift.
    			o1 = c.opstrr(p, p.As, false)
    			o1 |= uint32(p.To.Index&31) << 16
    		}
    		o1 |= uint32(p.To.Reg&31) << 5
    		rf := int(p.From.Reg)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

                                          loc.loc.col_offset)
        else:
          return 'loc(unknown)'
    
      def _emit_with_loc(self, op_str, node=None):
        """Emit the mlir operation with the location associated with the node.
    
        Args:
          op_str: The mlir operation string to be emitted.
          node: The node of the AST tree, the mlir operation translated from.
        """
        loc = ''
        if node:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

    }
    
    // Create description of operation that could not be converted.
    static std::string GetOpDescriptionForDebug(Operation* inst) {
      const int kLargeElementsAttr = 16;
      std::string op_str;
      llvm::raw_string_ostream os(op_str);
      inst->getName().print(os);
      os << "(";
      if (!inst->getOperandTypes().empty()) {
        bool first = true;
        for (Type operand_type : inst->getOperandTypes()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/s390x/asmz.go

    	op_STPX    uint32 = 0xB211 // FORMAT_S          STORE PREFIX
    	op_STRAG   uint32 = 0xE502 // FORMAT_SSE        STORE REAL ADDRESS
    	op_STRL    uint32 = 0xC40F // FORMAT_RIL2       STORE RELATIVE LONG (32)
    	op_STRV    uint32 = 0xE33E // FORMAT_RXY1       STORE REVERSED (32)
    	op_STRVG   uint32 = 0xE32F // FORMAT_RXY1       STORE REVERSED (64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 176.7K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/tables.go

    	USHR
    	USQADD
    	USRA
    	USUBL
    	USUBL2
    	USUBW
    	USUBW2
    	UXTB
    	UXTH
    	UXTL
    	UXTL2
    	UZP1
    	UZP2
    	WFE
    	WFI
    	XTN
    	XTN2
    	YIELD
    	ZIP1
    	ZIP2
    )
    
    var opstr = [...]string{
    	ABS:       "ABS",
    	ADC:       "ADC",
    	ADCS:      "ADCS",
    	ADD:       "ADD",
    	ADDHN:     "ADDHN",
    	ADDHN2:    "ADDHN2",
    	ADDP:      "ADDP",
    	ADDS:      "ADDS",
    	ADDV:      "ADDV",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 17:57:48 UTC 2017
    - 211.8K bytes
    - Viewed (0)
Back to top