Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for op2str2 (0.11 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/tables.go

    	SUBFME
    	SUBFMECC
    	SUBFMEO
    	SUBFMEOCC
    	SUBFZE
    	SUBFZECC
    	SUBFZEO
    	SUBFZEOCC
    	SYNC
    	TLBIE
    	TW
    	TWI
    	XOR
    	XORCC
    	XORI
    	XORIS
    )
    
    var opstr = [...]string{
    	HASHCHK:        "hashchk",
    	HASHCHKP:       "hashchkp",
    	HASHST:         "hashst",
    	HASHSTP:        "hashstp",
    	BRD:            "brd",
    	BRH:            "brh",
    	BRW:            "brw",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 334.7K bytes
    - Viewed (0)
Back to top