Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 57 for add_args (0.38 sec)

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

    	for _, v := range post.Values {
    		if v.Op != OpPhi {
    			continue
    		}
    		v.Op = OpCondSelect
    		if swap {
    			v.Args[0], v.Args[1] = v.Args[1], v.Args[0]
    		}
    		v.AddArg(dom.Controls[0])
    	}
    
    	// Put all of the instructions into 'dom'
    	// and update the CFG appropriately.
    	dom.Kind = post.Kind
    	dom.CopyControls(post)
    	dom.Aux = post.Aux
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 30 17:46:51 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/writebarrier.go

    	for i := 0; i < nargs; i++ {
    		argTypes[i] = typ
    	}
    	call := b.NewValue0A(pos, OpStaticCall, types.TypeResultMem, StaticAuxCall(fn, b.Func.ABIDefault.ABIAnalyzeTypes(argTypes, nil)))
    	call.AddArgs(args...)
    	call.AuxInt = int64(nargs) * typ.Size()
    	return b.NewValue1I(pos, OpSelectN, types.TypeMem, 0, call)
    }
    
    // round to a multiple of r, r is a power of 2.
    func round(o int64, r int64) int64 {
    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/ssa/sccp.go

    	// change its value immediately after visiting Phi, because some of its input
    	// edges may still not be visited at this moment.
    	constValue := f.newValue(val.Op, val.Type, f.Entry, val.Pos)
    	constValue.AddArgs(args...)
    	matched := rewriteValuegeneric(constValue)
    	if matched {
    		if isConst(constValue) {
    			return lattice{constant, constValue}
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:54:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/addressingmodes.go

    			}
    			// Combine the operations.
    			tmp = append(tmp[:0], v.Args[:ptrIndex]...)
    			tmp = append(tmp, p.Args...)
    			tmp = append(tmp, v.Args[ptrIndex+1:]...)
    			v.resetArgs()
    			v.Op = c
    			v.AddArgs(tmp...)
    			if needSplit[c] {
    				// It turns out that some of the combined instructions have faster two-instruction equivalents,
    				// but not the two instructions that led to them being combined here.  For example
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 26 17:19:57 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc

      block.addArguments(
          types, SmallVector<Location>(types.size(), block.getParent()->getLoc()));
    
      ValueRange old_args = block.getArguments().take_front(old_args_size);
      ValueRange new_args = block.getArguments().drop_front(old_args_size);
      assert(!new_args.empty());
    
      ReplaceWithTupleResult(builder, old_args, new_args, /*flatten_tuple=*/true);
      auto new_arg = new_args[new_args.size() - 1];
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewrite.go

    		OpPPC64XOR:      OpPPC64XORCC,
    	}
    	b := op.Block
    	opCC := b.NewValue0I(op.Pos, ccOpMap[op.Op], types.NewTuple(op.Type, types.TypeFlags), op.AuxInt)
    	opCC.AddArgs(op.Args...)
    	op.reset(OpSelect0)
    	op.AddArgs(opCC)
    	return op
    }
    
    // Try converting a RLDICL to ANDCC. If successful, return the mask otherwise 0.
    func convertPPC64RldiclAndccconst(sauxint int64) int64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/func_test.go

    			v := values[valu.name]
    			for _, arg := range valu.args {
    				a, ok := values[arg]
    				if !ok {
    					b.Fatalf("arg %s missing for value %s in block %s",
    						arg, valu.name, bloc.name)
    				}
    				v.AddArg(a)
    			}
    		}
    		// Connect to successors.
    		for _, succ := range c.succs {
    			b.AddEdgeTo(blocks[succ])
    		}
    	}
    	return fun{f, blocks, values}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:01:04 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/memcombine.go

    		v = leftShift(loadBlock, pos, v, shift0)
    	}
    	if isBigEndian && shift0-(n-1)*size*8 != 0 {
    		v = leftShift(loadBlock, pos, v, shift0-(n-1)*size*8)
    	}
    
    	// Install with (Copy v).
    	root.reset(OpCopy)
    	root.AddArg(v)
    
    	// Clobber the loads, just to prevent additional work being done on
    	// subtrees (which are now unreachable).
    	for i := int64(0); i < n; i++ {
    		clobber(r[i].load)
    	}
    	return true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  9. maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            // the args are easy, CLI only since maven.config file can only contain options
            for (String arg : mavenCli.getArgs()) {
                commandLineBuilder.addArg(arg);
            }
    
            /* Although this looks wrong in terms of order Commons CLI stores the value of options in
             * an array and when a value is potentionally overriden it is added to the array. The single
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 72.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssagen/ssa.go

    			// Make new structure.
    			new := s.newValue0(ssa.StructMakeOp(t.NumFields()), t)
    
    			// Add fields as args.
    			for i := 0; i < nf; i++ {
    				if i == idx {
    					new.AddArg(right)
    				} else {
    					new.AddArg(s.newValue1I(ssa.OpStructSelect, t.FieldType(i), int64(i), old))
    				}
    			}
    
    			// Recursively assign the new value we've made to the base of the dot op.
    			s.assign(left.X, new, false, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top