Home | History | Annotate | Download | only in Chapter7

Lines Matching defs:alloca

15 (* Create an alloca instruction in the entry block of the function. This
149 * var = alloca double
170 (* Create an alloca for the variable in the entry block. *)
171 let alloca = create_entry_block_alloca the_function var_name in
176 (* Store the value into the alloca. *)
177 ignore(build_store start_val alloca builder);
196 Hashtbl.add named_values var_name alloca;
214 (* Reload, increment, and restore the alloca. This handles the case where
216 let cur_var = build_load alloca var_name builder in
218 ignore(build_store next_var alloca builder);
260 let alloca = create_entry_block_alloca the_function var_name in
261 ignore(build_store init_val alloca builder);
273 Hashtbl.add named_values var_name alloca;
317 (* Create an alloca for each argument and register the argument in the symbol
325 (* Create an alloca for this variable. *)
326 let alloca = create_entry_block_alloca the_function var_name in
328 (* Store the initial value into the alloca. *)
329 ignore(build_store ai alloca builder);
332 Hashtbl.add named_values var_name alloca;