- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 39 for SetArg (0.33 sec)
-
src/cmd/compile/internal/ssa/memcombine.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 19:45:41 UTC 2024 - 18.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/copyelim.go
// sure that we don't end up doing O(n^2) work // for a chain of n copies. for v != w { x := v.Args[0] v.SetArg(0, w) v = x } return w } // copyelimValue ensures that no args of v are copies. func copyelimValue(v *Value) { for i, a := range v.Args { if a.Op == OpCopy { v.SetArg(i, copySource(a)) } } } // phielim eliminates redundant phi values from f.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 14:55:18 UTC 2024 - 3.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/loopreschedchecks.go
for b, r := range newmemphis { fmt.Printf("after b=%s, rewrite=%s\n", b, r.String()) } } // Apply collected rewrites. for _, r := range newmemphis { for _, rw := range r.rewrites { rw.v.SetArg(rw.i, r.after) } } // Rewrite backedges to include reschedule checks. for _, emc := range tofixBackedges { e := emc.e headerMemPhi := emc.m h := e.b i := e.i p := h.Preds[i]
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/prove.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:30:21 UTC 2024 - 48.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/schedule.go
for _, b := range f.Blocks { for _, v := range b.Values { for i, a := range v.Args { if a.Op == OpSPanchored || opcodeTable[a.Op].nilCheck { v.SetArg(i, a.Args[0]) } } } for i, c := range b.ControlValues() { if c.Op == OpSPanchored || opcodeTable[c.Op].nilCheck { b.ReplaceControl(i, c.Args[0]) } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 08 15:53:17 UTC 2024 - 16.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/value.go
} func (v *Value) AddArgs(a ...*Value) { if v.Args == nil { v.resetArgs() // use argstorage } v.Args = append(v.Args, a...) for _, x := range a { x.Uses++ } } func (v *Value) SetArg(i int, w *Value) { v.Args[i].Uses-- v.Args[i] = w w.Uses++ } func (v *Value) SetArgs1(a *Value) { v.resetArgs() v.AddArg(a) } func (v *Value) SetArgs2(a, b *Value) { v.resetArgs()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 16:40:22 UTC 2024 - 16.7K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/regalloc.go
vi := &s.values[a.ID] if vi.regs == 0 && !vi.rematerializeable { // Use the spill location. // This forces later liveness analysis to make the // value live at this point. v.SetArg(0, s.makeSpill(a, b)) } else if _, ok := a.Aux.(*ir.Name); ok && vi.rematerializeable { // Rematerializeable value with a gc.Node. This is the address of // a stack object (e.g. an LEAQ). Keep the object live.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 17:49:56 UTC 2023 - 87.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewrite.go
// of a value so that a x.Uses==1 rule condition // fires reliably. for i, a := range v.Args { if a.Op != OpCopy { continue } aa := copySource(a) v.SetArg(i, aa) // If a, a copy, has a line boundary indicator, attempt to find a new value // to hold it. The first candidate is the value that will replace a (aa), // if it shares the same block and line and is eligible.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 64.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/post_quantize.cc
if (auto qtype = QuantizedType::getQuantizedElementType(q.getArg().getType())) { rewriter.setInsertionPoint(op); rewriter.replaceOpWithNewOp<quantfork::DequantizeCastOp>( op, op.getResult().getType(), q.getArg()); return success(); } op.replaceAllUsesWith(q.getArg()); return success(); } return failure(); } };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 07:39:40 UTC 2024 - 5.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/post_quantize.cc
if (const QuantizedType qtype = QuantizedType::getQuantizedElementType(q.getArg().getType())) { rewriter.setInsertionPoint(op); rewriter.replaceOpWithNewOp<quantfork::DequantizeCastOp>( op, op.getResult().getType(), q.getArg()); return success(); } op.replaceAllUsesWith(q.getArg()); return success(); } return failure(); } };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 07:39:40 UTC 2024 - 6.3K bytes - Viewed (0)