MCPcopy Create free account
hub / github.com/chc4/lineiform / add_return

Method add_return

tangle/src/node.rs:124–131  ·  view source on GitHub ↗
(&mut self, ir: &mut IR)

Source from the content-addressed store, hash-verified

122 }
123
124 pub fn add_return(&mut self, ir: &mut IR) -> PortIdx {
125 let port = ir.in_region(self.region, |mut r, ir| {
126 let port = r.add_sink();
127 port
128 });
129 self.outs += 1;
130 port
131 }
132
133 pub fn add_stack_slot(&mut self, ir: &mut IR) -> PortIdx {
134 let port = ir.in_region(self.region, |mut r, ir| {

Callers 15

function_incFunction · 0.80
function_inc_regallocFunction · 0.80
function_inc_codegenFunction · 0.80
function_add_codegenFunction · 0.80
function_inc_disjointFunction · 0.80
function_inc_then_addFunction · 0.80
function_inc_sharedFunction · 0.80
function_inc_a_lotFunction · 0.80
function_add_constantFunction · 0.80
function_bb_simpleFunction · 0.80
function_bb_if_always_0Function · 0.80
function_bb_if_always_1Function · 0.80

Calls 2

in_regionMethod · 0.80
add_sinkMethod · 0.80

Tested by 15

function_incFunction · 0.64
function_inc_regallocFunction · 0.64
function_inc_codegenFunction · 0.64
function_add_codegenFunction · 0.64
function_inc_disjointFunction · 0.64
function_inc_then_addFunction · 0.64
function_inc_sharedFunction · 0.64
function_inc_a_lotFunction · 0.64
function_add_constantFunction · 0.64
function_bb_simpleFunction · 0.64
function_bb_if_always_0Function · 0.64
function_bb_if_always_1Function · 0.64