pub struct LLVMFuncOperationBuilder<'c, T0, T1, T2> { /* private fields */ }
Expand description
A builder for a func
operation.
Implementations§
source§impl<'c> LLVMFuncOperationBuilder<'c, Unset, Unset, Unset>
impl<'c> LLVMFuncOperationBuilder<'c, Unset, Unset, Unset>
source§impl<'c, T1, T2> LLVMFuncOperationBuilder<'c, Unset, T1, T2>
impl<'c, T1, T2> LLVMFuncOperationBuilder<'c, Unset, T1, T2>
pub fn body(self, body: Region<'c>) -> LLVMFuncOperationBuilder<'c, Set, T1, T2>
source§impl<'c, T0, T2> LLVMFuncOperationBuilder<'c, T0, Unset, T2>
impl<'c, T0, T2> LLVMFuncOperationBuilder<'c, T0, Unset, T2>
pub fn sym_name( self, sym_name: StringAttribute<'c> ) -> LLVMFuncOperationBuilder<'c, T0, Set, T2>
source§impl<'c, T0, T1> LLVMFuncOperationBuilder<'c, T0, T1, Unset>
impl<'c, T0, T1> LLVMFuncOperationBuilder<'c, T0, T1, Unset>
pub fn function_type( self, function_type: TypeAttribute<'c> ) -> LLVMFuncOperationBuilder<'c, T0, T1, Set>
source§impl<'c, T0, T1, T2> LLVMFuncOperationBuilder<'c, T0, T1, T2>
impl<'c, T0, T1, T2> LLVMFuncOperationBuilder<'c, T0, T1, T2>
pub fn linkage( self, linkage: Attribute<'c> ) -> LLVMFuncOperationBuilder<'c, T0, T1, T2>
source§impl<'c, T0, T1, T2> LLVMFuncOperationBuilder<'c, T0, T1, T2>
impl<'c, T0, T1, T2> LLVMFuncOperationBuilder<'c, T0, T1, T2>
pub fn dso_local( self, dso_local: Attribute<'c> ) -> LLVMFuncOperationBuilder<'c, T0, T1, T2>
source§impl<'c, T0, T1, T2> LLVMFuncOperationBuilder<'c, T0, T1, T2>
impl<'c, T0, T1, T2> LLVMFuncOperationBuilder<'c, T0, T1, T2>
pub fn c_conv( self, c_conv: Attribute<'c> ) -> LLVMFuncOperationBuilder<'c, T0, T1, T2>
source§impl<'c, T0, T1, T2> LLVMFuncOperationBuilder<'c, T0, T1, T2>
impl<'c, T0, T1, T2> LLVMFuncOperationBuilder<'c, T0, T1, T2>
pub fn comdat( self, comdat: Attribute<'c> ) -> LLVMFuncOperationBuilder<'c, T0, T1, T2>
source§impl<'c, T0, T1, T2> LLVMFuncOperationBuilder<'c, T0, T1, T2>
impl<'c, T0, T1, T2> LLVMFuncOperationBuilder<'c, T0, T1, T2>
pub fn personality( self, personality: FlatSymbolRefAttribute<'c> ) -> LLVMFuncOperationBuilder<'c, T0, T1, T2>
source§impl<'c, T0, T1, T2> LLVMFuncOperationBuilder<'c, T0, T1, T2>
impl<'c, T0, T1, T2> LLVMFuncOperationBuilder<'c, T0, T1, T2>
pub fn garbage_collector( self, garbage_collector: StringAttribute<'c> ) -> LLVMFuncOperationBuilder<'c, T0, T1, T2>
source§impl<'c, T0, T1, T2> LLVMFuncOperationBuilder<'c, T0, T1, T2>
impl<'c, T0, T1, T2> LLVMFuncOperationBuilder<'c, T0, T1, T2>
pub fn passthrough( self, passthrough: ArrayAttribute<'c> ) -> LLVMFuncOperationBuilder<'c, T0, T1, T2>
source§impl<'c, T0, T1, T2> LLVMFuncOperationBuilder<'c, T0, T1, T2>
impl<'c, T0, T1, T2> LLVMFuncOperationBuilder<'c, T0, T1, T2>
pub fn arg_attrs( self, arg_attrs: ArrayAttribute<'c> ) -> LLVMFuncOperationBuilder<'c, T0, T1, T2>
source§impl<'c, T0, T1, T2> LLVMFuncOperationBuilder<'c, T0, T1, T2>
impl<'c, T0, T1, T2> LLVMFuncOperationBuilder<'c, T0, T1, T2>
pub fn res_attrs( self, res_attrs: ArrayAttribute<'c> ) -> LLVMFuncOperationBuilder<'c, T0, T1, T2>
source§impl<'c, T0, T1, T2> LLVMFuncOperationBuilder<'c, T0, T1, T2>
impl<'c, T0, T1, T2> LLVMFuncOperationBuilder<'c, T0, T1, T2>
pub fn function_entry_count( self, function_entry_count: IntegerAttribute<'c> ) -> LLVMFuncOperationBuilder<'c, T0, T1, T2>
source§impl<'c, T0, T1, T2> LLVMFuncOperationBuilder<'c, T0, T1, T2>
impl<'c, T0, T1, T2> LLVMFuncOperationBuilder<'c, T0, T1, T2>
pub fn memory( self, memory: Attribute<'c> ) -> LLVMFuncOperationBuilder<'c, T0, T1, T2>
source§impl<'c, T0, T1, T2> LLVMFuncOperationBuilder<'c, T0, T1, T2>
impl<'c, T0, T1, T2> LLVMFuncOperationBuilder<'c, T0, T1, T2>
pub fn visibility( self, visibility: Attribute<'c> ) -> LLVMFuncOperationBuilder<'c, T0, T1, T2>
source§impl<'c, T0, T1, T2> LLVMFuncOperationBuilder<'c, T0, T1, T2>
impl<'c, T0, T1, T2> LLVMFuncOperationBuilder<'c, T0, T1, T2>
pub fn arm_streaming( self, arm_streaming: Attribute<'c> ) -> LLVMFuncOperationBuilder<'c, T0, T1, T2>
source§impl<'c, T0, T1, T2> LLVMFuncOperationBuilder<'c, T0, T1, T2>
impl<'c, T0, T1, T2> LLVMFuncOperationBuilder<'c, T0, T1, T2>
pub fn arm_locally_streaming( self, arm_locally_streaming: Attribute<'c> ) -> LLVMFuncOperationBuilder<'c, T0, T1, T2>
source§impl<'c, T0, T1, T2> LLVMFuncOperationBuilder<'c, T0, T1, T2>
impl<'c, T0, T1, T2> LLVMFuncOperationBuilder<'c, T0, T1, T2>
pub fn section( self, section: StringAttribute<'c> ) -> LLVMFuncOperationBuilder<'c, T0, T1, T2>
source§impl<'c, T0, T1, T2> LLVMFuncOperationBuilder<'c, T0, T1, T2>
impl<'c, T0, T1, T2> LLVMFuncOperationBuilder<'c, T0, T1, T2>
pub fn unnamed_addr( self, unnamed_addr: Attribute<'c> ) -> LLVMFuncOperationBuilder<'c, T0, T1, T2>
source§impl<'c, T0, T1, T2> LLVMFuncOperationBuilder<'c, T0, T1, T2>
impl<'c, T0, T1, T2> LLVMFuncOperationBuilder<'c, T0, T1, T2>
pub fn alignment( self, alignment: IntegerAttribute<'c> ) -> LLVMFuncOperationBuilder<'c, T0, T1, T2>
source§impl<'c> LLVMFuncOperationBuilder<'c, Set, Set, Set>
impl<'c> LLVMFuncOperationBuilder<'c, Set, Set, Set>
pub fn build(self) -> LLVMFuncOperation<'c>
Auto Trait Implementations§
impl<'c, T0, T1, T2> RefUnwindSafe for LLVMFuncOperationBuilder<'c, T0, T1, T2>
impl<'c, T0, T1, T2> !Send for LLVMFuncOperationBuilder<'c, T0, T1, T2>
impl<'c, T0, T1, T2> !Sync for LLVMFuncOperationBuilder<'c, T0, T1, T2>
impl<'c, T0, T1, T2> Unpin for LLVMFuncOperationBuilder<'c, T0, T1, T2>
impl<'c, T0, T1, T2> UnwindSafe for LLVMFuncOperationBuilder<'c, T0, T1, T2>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more