[−][src]Trait rustc_codegen_ssa::traits::MiscMethods

pub trait MiscMethods<'tcx>: BackendTypes {
    pub fn vtables(
        &self
    ) -> &RefCell<FxHashMap<(Ty<'tcx>, Option<PolyExistentialTraitRef<'tcx>>), Self::Value>>;
pub fn check_overflow(&self) -> bool;
pub fn get_fn(&self, instance: Instance<'tcx>) -> Self::Function;
pub fn get_fn_addr(&self, instance: Instance<'tcx>) -> Self::Value;
pub fn eh_personality(&self) -> Self::Value;
pub fn sess(&self) -> &Session;
pub fn codegen_unit(&self) -> &'tcx CodegenUnit<'tcx>;
pub fn used_statics(&self) -> &RefCell<Vec<Self::Value>>;
pub fn set_frame_pointer_elimination(&self, llfn: Self::Function);
pub fn apply_target_cpu_attr(&self, llfn: Self::Function);
pub fn create_used_variable(&self);
pub fn declare_c_main(&self, fn_type: Self::Type) -> Option<Self::Function>; }

Required methods

pub fn vtables(
    &self
) -> &RefCell<FxHashMap<(Ty<'tcx>, Option<PolyExistentialTraitRef<'tcx>>), Self::Value>>
[src]

pub fn check_overflow(&self) -> bool[src]

pub fn get_fn(&self, instance: Instance<'tcx>) -> Self::Function[src]

pub fn get_fn_addr(&self, instance: Instance<'tcx>) -> Self::Value[src]

pub fn eh_personality(&self) -> Self::Value[src]

pub fn sess(&self) -> &Session[src]

pub fn codegen_unit(&self) -> &'tcx CodegenUnit<'tcx>[src]

pub fn used_statics(&self) -> &RefCell<Vec<Self::Value>>[src]

pub fn set_frame_pointer_elimination(&self, llfn: Self::Function)[src]

pub fn apply_target_cpu_attr(&self, llfn: Self::Function)[src]

pub fn create_used_variable(&self)[src]

pub fn declare_c_main(&self, fn_type: Self::Type) -> Option<Self::Function>[src]

Declares the extern "C" main function for the entry point. Returns None if the symbol already exists.

Loading content...

Implementors

Loading content...