Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 41 for type_attr (0.14 sec)

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

    		p.From.Scale = 1
    		if i == s390x.REGSP {
    			r, i = i, r
    		}
    		p.From.Type = obj.TYPE_ADDR
    		p.From.Reg = r
    		p.From.Index = i
    		ssagen.AddAux(&p.From, v)
    		p.To.Type = obj.TYPE_REG
    		p.To.Reg = v.Reg()
    	case ssa.OpS390XMOVDaddr:
    		p := s.Prog(s390x.AMOVD)
    		p.From.Type = obj.TYPE_ADDR
    		p.From.Reg = v.Args[0].Reg()
    		ssagen.AddAux(&p.From, v)
    		p.To.Type = obj.TYPE_REG
    		p.To.Reg = v.Reg()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 01:26:58 UTC 2023
    - 27.1K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/s390x/objz.go

    	// symbol in the Go sense, and p.Sym.Local is true for a few
    	// internally defined symbols.
    	// Rewrites must not clobber flags and therefore cannot use the
    	// ADD instruction.
    	if p.From.Type == obj.TYPE_ADDR && p.From.Name == obj.NAME_EXTERN && !p.From.Sym.Local() {
    		// MOVD $sym, Rx becomes MOVD sym@GOT, Rx
    		// MOVD $sym+<off>, Rx becomes MOVD sym@GOT, Rx or REGTMP2; MOVD $<off>(Rx or REGTMP2), Rx
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:53 UTC 2023
    - 21K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/utils/utils.h

          values.begin(), values.end(),
          [](const APInt& element_value) { return element_value.isNegative(); });
    }
    
    // Utility function to get the offset between two dense attribute values.
    inline TypedAttr GetOffSet(Attribute begin, Attribute end) {
      auto begin_values = begin.cast<DenseElementsAttr>().getValues<int32_t>();
      auto end_values = end.cast<DenseElementsAttr>().getValues<int32_t>();
    
      SmallVector<int32_t> offsets;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/wasm/wasmobj.go

    			p = appendp(p, AI32Sub)
    			p = appendp(p, ASet, regAddr(REG_SP))
    
    			// write return address to Go stack
    			p = appendp(p, AGet, regAddr(REG_SP))
    			p = appendp(p, AI64Const, obj.Addr{
    				Type:   obj.TYPE_ADDR,
    				Name:   obj.NAME_EXTERN,
    				Sym:    s,           // PC_F
    				Offset: pcAfterCall, // PC_B
    			})
    			p = appendp(p, AI64Store, constAddr(0))
    
    			// low-level WebAssembly call to function
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_op_base.td

              "mlir::OperandElementTypeIterator(values.end())};",
      [{
        ArrayAttr::get($_ctxt,
        [&]() {
          llvm::SmallVector<Attribute, 4> ret;
          for (auto t : $_self)
            ret.push_back(TypeAttr::get(t));
          return ret;
        }())
      }]
    >;
    
    // A derived attribute that returns the shapes of the tensors in the actual
    // value pack that corresponds to the `idx`-th ODS-declared variadic operand.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 30.5K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/x86/obj6.go

    		// $LEA sym, Rx becomes $MOV $sym, Rx which will be rewritten below
    		p.As = mov
    		p.From.Type = obj.TYPE_ADDR
    	}
    	if p.From.Type == obj.TYPE_ADDR && p.From.Name == obj.NAME_EXTERN && !p.From.Sym.Local() {
    		// $MOV $sym, Rx becomes $MOV sym@GOT, Rx
    		// $MOV $sym+<off>, Rx becomes $MOV sym@GOT, Rx; $LEA <off>(Rx), Rx
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:36:45 UTC 2023
    - 40.9K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/ppc64/obj9.go

    	}
    
    	var source *obj.Addr
    	if p.From.Name == obj.NAME_EXTERN || p.From.Name == obj.NAME_STATIC {
    		if p.From.Type == obj.TYPE_ADDR {
    			if p.As == ADWORD {
    				// ADWORD $sym doesn't need TOC anchor
    				return
    			}
    			if p.As != AMOVD {
    				c.ctxt.Diag("do not know how to handle TYPE_ADDR in %v", p)
    				return
    			}
    			if p.To.Type != obj.TYPE_REG {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/wasm/ssa.go

    		p.From = obj.Addr{
    			Type:   obj.TYPE_ADDR,
    			Name:   obj.NAME_PARAM,
    			Reg:    wasm.REG_SP,
    			Offset: 0,
    		}
    
    	case ssa.OpWasmLoweredAddr:
    		if v.Aux == nil { // address of off(SP), no symbol
    			getValue64(s, v.Args[0])
    			i64Const(s, v.AuxInt)
    			s.Prog(wasm.AI64Add)
    			break
    		}
    		p := s.Prog(wasm.AGet)
    		p.From.Type = obj.TYPE_ADDR
    		switch v.Aux.(type) {
    		case *obj.LSym:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/x86/ssa.go

    		opregreg(s, v.Op.Asm(), v.Reg(), v.Args[0].Reg())
    	case ssa.Op386DUFFZERO:
    		p := s.Prog(obj.ADUFFZERO)
    		p.To.Type = obj.TYPE_ADDR
    		p.To.Sym = ir.Syms.Duffzero
    		p.To.Offset = v.AuxInt
    	case ssa.Op386DUFFCOPY:
    		p := s.Prog(obj.ADUFFCOPY)
    		p.To.Type = obj.TYPE_ADDR
    		p.To.Sym = ir.Syms.Duffcopy
    		p.To.Offset = v.AuxInt
    
    	case ssa.OpCopy: // TODO: use MOVLreg for reg->reg copies instead of OpCopy?
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 01:26:58 UTC 2023
    - 26.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/fused_kernel_matcher.cc

          // Here TArgs types do not include types of the first two parameters,
          // i.e. the convolution input and the filter. TArgs are parameters for
          // the extras like the bias etc.
          auto attr = TypeAttr::get(getElementTypeOrSelf(contraction.getType()));
          SmallVector<Attribute, 4> targs_values(operands.size() - 2, attr);
    
          ArrayAttr targs_attr = ArrayAttr::get(context, targs_values);
          attrs.push_back(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.9K bytes
    - Viewed (0)
Back to top