MCPcopy Create free account
hub / github.com/Amanieu/regalloc3 / can_rematerialize

Method can_rematerialize

src/debug_utils/generic_function/mod.rs:245–247  ·  view source on GitHub ↗
(&self, value: Value)

Source from the content-addressed store, hash-verified

243
244 #[inline]
245 fn can_rematerialize(&self, value: Value) -> Option<(RematCost, RegClass)> {
246 self.values[value].remat
247 }
248
249 #[inline]
250 fn can_indirectly_rematerialize(&self, value: Value) -> Option<IndirectRemat<'_>> {

Callers 9

add_rematMethod · 0.45
add_moveMethod · 0.45
spillMethod · 0.45
use_spill_costFunction · 0.45
check_valueMethod · 0.45
check_instMethod · 0.45
fmtMethod · 0.45
evaluateMethod · 0.45
from_functionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected