- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 22 for add_args (0.2 sec)
-
src/reflect/abi.go
e = len(a.steps) } else { e = a.valueStart[i+1] } return a.steps[s:e] } // addArg extends the abiSeq with a new Go value of type t. // // If the value was stack-assigned, returns the single // abiStep describing that translation, and nil otherwise. func (a *abiSeq) addArg(t *abi.Type) *abiStep { // We'll always be adding a new value, so do that first. pStart := len(a.steps)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:08:32 UTC 2024 - 15K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/internal/language/language.go
if t.RegionID == 0 && t.ScriptID != 0 && t.LangID != 0 { base, _ := addTags(Tag{LangID: t.LangID}) if base.ScriptID == t.ScriptID { return Tag{LangID: t.LangID} } } return t } if t.LangID != 0 { if t.RegionID != 0 { maxScript := t.ScriptID if maxScript == 0 { max, _ := addTags(t) maxScript = max.ScriptID } for i := range parents {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 16.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/loopreschedchecks.go
mem1 := sched.NewValue1I(bb.Pos, OpSelectN, types.TypeMem, 0, call) sched.AddEdgeTo(h) headerMemPhi.AddArg(mem1) bb.Succs[p.i] = Edge{test, 0} test.Preds = append(test.Preds, Edge{bb, p.i}) // Must correct all the other phi functions in the header for new incoming edge.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 21:17:10 UTC 2023 - 16K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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)