Trait rustc_codegen_llvm::abi::FnAbiLlvmExt

source ·
pub trait FnAbiLlvmExt<'ll, 'tcx> {
    // Required methods
    fn llvm_type(&self, cx: &CodegenCx<'ll, 'tcx>) -> &'ll Type;
    fn ptr_to_llvm_type(&self, cx: &CodegenCx<'ll, 'tcx>) -> &'ll Type;
    fn llvm_cconv(&self) -> CallConv;
    fn apply_attrs_llfn(&self, cx: &CodegenCx<'ll, 'tcx>, llfn: &'ll Value);
    fn apply_attrs_callsite(
        &self,
        bx: &mut Builder<'_, 'll, 'tcx>,
        callsite: &'ll Value,
    );
}

Required Methods§

source

fn llvm_type(&self, cx: &CodegenCx<'ll, 'tcx>) -> &'ll Type

source

fn ptr_to_llvm_type(&self, cx: &CodegenCx<'ll, 'tcx>) -> &'ll Type

source

fn llvm_cconv(&self) -> CallConv

source

fn apply_attrs_llfn(&self, cx: &CodegenCx<'ll, 'tcx>, llfn: &'ll Value)

source

fn apply_attrs_callsite( &self, bx: &mut Builder<'_, 'll, 'tcx>, callsite: &'ll Value, )

Implementors§

source§

impl<'ll, 'tcx> FnAbiLlvmExt<'ll, 'tcx> for FnAbi<'tcx, Ty<'tcx>>