22 matches across 1 files for TODO lang:Go path:src/cmd/compile/internal/ssacompile/regalloc.go
snippet_mode: grep · sorted by relevance
src/cmd/compile/internal/ssacompile/regalloc.go GO 22 matches · showing 5 view file →
82// x is now a spilled value and a restore must appear before its first use.
83
84// TODO
85
86// Use an affinity graph to mark two values which should use the
· · ·
110// of x3 not dominated by the definition of x3, and the CX->BX copy
111// will have no use (so don't run deadcode after regalloc!).
112// TODO: maybe we should introduce these extra phis?
113
114package ssacompile
· · ·
297type endReg struct {
298 r ssaop.Register
299 v *ssa.Value // pre-regalloc value held in this register (TODO: can we use ID here?)
300 c *ssa.Value // cached version of the value
301}
· · ·
407 // Pick a value to spill. Spill the value with the
408 // farthest-in-the-future use.
409 // TODO: Prefer registers with already spilled Values?
410 // TODO: Modify preference using affinity graph.
411 // TODO: if a single value is in multiple registers, spill one of them
· · ·
410 // TODO: Modify preference using affinity graph.
411 // TODO: if a single value is in multiple registers, spill one of them
412 // before spilling a value in just a single register.
+ 17 more matches in this file
Search syntax
auth loginboth terms (AND is implicit)
auth OR logineither term
NOT path:vendorexclude matches
"exact phrase"quoted exact match
/func\s+Test/regex
handler~1fuzzy (Levenshtein 1)
file:*_test.gofilename glob
path:pkg/auth/**full path glob
lang:golanguage filter

Search any public repo from your terminal

This page calls POST /api/v1/code_search. Same tool, available over MCP for Claude/Cursor/Copilot.