osprey/libelf/lib/byteswap.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define lu(from, i, s)   (((__libelf_u32_t)((unsigned char*)(from))[i])<<(s))
#define li(from, i, s)   (((__libelf_i32_t)(( signed char*)(from))[i])<<(s))
#define __load_u16L(from)
#define __load_u16M(from)
#define __load_i16L(from)
#define __load_i16M(from)
#define __load_u32L(from)
#define __load_u32M(from)
#define __load_i32L(from)
#define __load_i32M(from)
#define su(to, i, v, s)   (((char*)(to))[i]=((__libelf_u32_t)(v)>>(s)))
#define si(to, i, v, s)   (((char*)(to))[i]=((__libelf_i32_t)(v)>>(s)))
#define __store_u16L(to, v)   (su(to,1,v,8), su(to,0,v,0))
#define __store_u16M(to, v)   (su(to,0,v,8), su(to,1,v,0))
#define __store_i16L(to, v)   (si(to,1,v,8), si(to,0,v,0))
#define __store_i16M(to, v)   (si(to,0,v,8), si(to,1,v,0))
#define __store_u32L(to, v)   (su(to,3,v,24), su(to,2,v,16), su(to,1,v,8), su(to,0,v,0))
#define __store_u32M(to, v)   (su(to,0,v,24), su(to,1,v,16), su(to,2,v,8), su(to,3,v,0))
#define __store_i32L(to, v)   (si(to,3,v,24), si(to,2,v,16), si(to,1,v,8), si(to,0,v,0))
#define __store_i32M(to, v)   (si(to,0,v,24), si(to,1,v,16), si(to,2,v,8), si(to,3,v,0))


Define Documentation

#define __load_i16L ( from   ) 

Value:

((__libelf_i32_t) \
    (li(from,1,8) | lu(from,0,0)))

Definition at line 36 of file byteswap.h.

#define __load_i16M ( from   ) 

Value:

((__libelf_i32_t) \
    (li(from,0,8) | lu(from,1,0)))

Definition at line 38 of file byteswap.h.

#define __load_i32L ( from   ) 

Value:

((__libelf_i32_t) \
    (li(from,3,24) | lu(from,2,16) | lu(from,1,8) | lu(from,0,0)))

Definition at line 45 of file byteswap.h.

#define __load_i32M ( from   ) 

Value:

((__libelf_i32_t) \
    (li(from,0,24) | lu(from,1,16) | lu(from,2,8) | lu(from,3,0)))

Definition at line 47 of file byteswap.h.

#define __load_u16L ( from   ) 

Value:

((__libelf_u32_t) \
    (lu(from,1,8) | lu(from,0,0)))

Definition at line 32 of file byteswap.h.

Referenced by __load_verdef(), __load_vernaux(), and __load_verneed().

#define __load_u16M ( from   ) 

Value:

((__libelf_u32_t) \
    (lu(from,0,8) | lu(from,1,0)))

Definition at line 34 of file byteswap.h.

Referenced by __load_verdef(), __load_vernaux(), and __load_verneed().

#define __load_u32L ( from   ) 

Value:

((__libelf_u32_t) \
    (lu(from,3,24) | lu(from,2,16) | lu(from,1,8) | lu(from,0,0)))

Definition at line 41 of file byteswap.h.

Referenced by __load_verdaux(), __load_verdef(), __load_vernaux(), and __load_verneed().

#define __load_u32M ( from   ) 

Value:

((__libelf_u32_t) \
    (lu(from,0,24) | lu(from,1,16) | lu(from,2,8) | lu(from,3,0)))

Definition at line 43 of file byteswap.h.

Referenced by __load_verdaux(), __load_verdef(), __load_vernaux(), __load_verneed(), and elf_getarsym().

#define __store_i16L ( to,
 )     (si(to,1,v,8), si(to,0,v,0))

Definition at line 57 of file byteswap.h.

#define __store_i16M ( to,
 )     (si(to,0,v,8), si(to,1,v,0))

Definition at line 59 of file byteswap.h.

#define __store_i32L ( to,
 )     (si(to,3,v,24), si(to,2,v,16), si(to,1,v,8), si(to,0,v,0))

Definition at line 66 of file byteswap.h.

#define __store_i32M ( to,
 )     (si(to,0,v,24), si(to,1,v,16), si(to,2,v,8), si(to,3,v,0))

Definition at line 68 of file byteswap.h.

#define __store_u16L ( to,
 )     (su(to,1,v,8), su(to,0,v,0))

Definition at line 53 of file byteswap.h.

#define __store_u16M ( to,
 )     (su(to,0,v,8), su(to,1,v,0))

Definition at line 55 of file byteswap.h.

#define __store_u32L ( to,
 )     (su(to,3,v,24), su(to,2,v,16), su(to,1,v,8), su(to,0,v,0))

Definition at line 62 of file byteswap.h.

#define __store_u32M ( to,
 )     (su(to,0,v,24), su(to,1,v,16), su(to,2,v,8), su(to,3,v,0))

Definition at line 64 of file byteswap.h.

#define li ( from,
i,
 )     (((__libelf_i32_t)(( signed char*)(from))[i])<<(s))

#define lu ( from,
i,
 )     (((__libelf_u32_t)((unsigned char*)(from))[i])<<(s))

Definition at line 29 of file byteswap.h.

Referenced by MAT< FRAC >::Inv(), MAT< T >::Inv(), and perror_().

#define si ( to,
i,
v,
 )     (((char*)(to))[i]=((__libelf_i32_t)(v)>>(s)))

Definition at line 51 of file byteswap.h.

Referenced by _xcreate_shackle_map_for_arrays_in_func(), addr_subtract(), build_omp_regions_1(), butterfly_loop_with_profile(), EXEC_PATH_MGR::Calc_Subgraph_Path_Num(), compare_states_for_equiv(), compute_immediate_uses(), compute_points_to_and_addr_escape(), connect_traces(), ACCESS_VECTOR::Convert_Bound_To_Exp(), destroy_loop_vec_info(), Du_Sanity_Check_Matching_Du(), dump_generic_node(), dump_immediate_uses(), dump_points_to_info(), dump_stack_var_partition(), emit_colors(), Execution_Count_Evaluated(), expand_omp_for_generic(), expand_omp_for_static_chunk(), expand_omp_for_static_nochunk(), expand_omp_parallel(), expand_omp_sections(), expand_omp_single(), expand_omp_synch(), expand_parallel_call(), expand_stack_vars(), find_and_collapse_graph_cycles(), find_assert_locations(), find_loop_location(), find_outermost_region_in_block(), find_referenced_vars(), Fission_DU_Update(), free_df(), Fusion_Du_Update(), Fusion_Loop_Stmt_Update(), Generate_Scalar_Dependence_For_Statement_Dependence_Graph(), init_alias_info(), init_copy_prop(), init_scc_info(), m32c_split_move(), main(), merge_usages(), move_block_to_fn(), ACCESS_VECTOR::Negate_Me(), new_loop_vec_info(), new_structure(), partition_stack_vars(), path_exit_counts(), pex_win32_exec_child(), prepare_block_for_update(), print_infos(), Print_SI(), print_vertex_set(), promotions(), remove_exit_barrier(), remove_range_assertions(), replace_immediate_uses(), rewrite_trees(), run_phase(), Scalar_Dependence_Prevent_Fusion(), sra_walk_function(), ssa_prop_init(), state_is_differed(), CG_BROWSER::Summary_Scalar(), Update_Execution_Cost(), vect_analyze_data_refs(), vect_analyze_operations(), vect_determine_vectorization_factor(), vect_mark_stmts_to_be_vectorized(), vect_pattern_recog(), vect_transform_loop(), vrp_initialize(), and write_unit().

#define su ( to,
i,
v,
 )     (((char*)(to))[i]=((__libelf_u32_t)(v)>>(s)))


Generated on Wed Apr 8 15:52:15 2009 for Open64 by  doxygen 1.5.6