fn create_entry_block_alloca(&self, name: &str) -> PointerValue<'ctx> {
        let builder = self.context.create_builder();

        let entry = self.fn_value().get_first_basic_block().unwrap();

        match entry.get_first_instruction() {
            Some(first_instr) => builder.position_before(&first_instr),
            None => builder.position_at_end(entry),
        }

        builder.build_alloca(self.context.f64_type(), name)
    }
/// Creates a new stack allocation instruction in the entry block of the function.
Creates a new stack allocation instruction in the entry block of the function.
Creates a new stack allocation instruction in the entry block of the function .
fn create_entry_block_alloca(&self, name: &str) -> PointerValue<'ctx> {
        let builder = self.context.create_builder();
        let entry = self.fn_value().get_first_basic_block().unwrap();
        match entry.get_first_instruction() {
            Some(first_instr) => builder.position_before(&first_instr),
            None => builder.position_at_end(entry),
        }
        builder.build_alloca(self.context.f64_type(), name)
    }
fn create_entry_block_alloca ( & self , name : & str ) -> PointerValue < ' ctx > { let builder = self . context . create_builder ( ) ; let entry = self . fn_value ( ) . get_first_basic_block ( ) . unwrap ( ) ; match entry . get_first_instruction ( ) { Some ( first_instr ) => builder . position_before ( & first_instr ) , None => builder . position_at_end ( entry ) , } builder . build_alloca ( self . context . f64_type ( ) , name ) }
Creates a new stack allocation instruction in the entry block of the function.
Creates a new stack allocation instruction in the entry block of the function .
&self
name
&str
&self
name
&str