Enum cranelift_codegen::ir::dfg::ValueDef
source · Expand description
Where did a value come from?
Variants§
Result(Inst, usize)
Value is the n’th result of an instruction.
Param(Ebb, usize)
Value is the n’th parameter to an EBB.
Implementations§
source§impl ValueDef
impl ValueDef
sourcepub fn unwrap_inst(&self) -> Inst
pub fn unwrap_inst(&self) -> Inst
Unwrap the instruction where the value was defined, or panic.
sourcepub fn unwrap_ebb(&self) -> Ebb
pub fn unwrap_ebb(&self) -> Ebb
Unwrap the EBB there the parameter is defined, or panic.
sourcepub fn pp(self) -> ExpandedProgramPoint
pub fn pp(self) -> ExpandedProgramPoint
Get the program point where the value was defined.