pub struct CallIntrinsicOperation<'c> { /* private fields */ }
Expand description
A call_intrinsic
operation. Call to an LLVM intrinsic function..
Call the specified llvm intrinsic. If the intrinsic is overloaded, use the MLIR function type of this op to determine which intrinsic to call.
Implementations§
source§impl<'c> CallIntrinsicOperation<'c>
impl<'c> CallIntrinsicOperation<'c>
sourcepub fn as_operation(&self) -> &Operation<'c>
pub fn as_operation(&self) -> &Operation<'c>
Returns a generic operation.
sourcepub fn builder(
context: &'c Context,
location: Location<'c>
) -> CallIntrinsicOperationBuilder<'c, Unset, Unset, Unset>
pub fn builder( context: &'c Context, location: Location<'c> ) -> CallIntrinsicOperationBuilder<'c, Unset, Unset, Unset>
Creates a builder.
pub fn results(&self) -> impl Iterator<Item = OperationResult<'c, '_>>
pub fn args(&self) -> impl Iterator<Item = Value<'c, '_>>
pub fn intrin(&self) -> Result<StringAttribute<'c>, Error>
pub fn set_intrin(&mut self, value: StringAttribute<'c>)
pub fn fastmath_flags(&self) -> Result<Attribute<'c>, Error>
pub fn set_fastmath_flags(&mut self, value: Attribute<'c>)
pub fn remove_fastmath_flags(&mut self) -> Result<(), Error>
Trait Implementations§
source§impl<'c> From<CallIntrinsicOperation<'c>> for Operation<'c>
impl<'c> From<CallIntrinsicOperation<'c>> for Operation<'c>
source§fn from(operation: CallIntrinsicOperation<'c>) -> Self
fn from(operation: CallIntrinsicOperation<'c>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'c> RefUnwindSafe for CallIntrinsicOperation<'c>
impl<'c> !Send for CallIntrinsicOperation<'c>
impl<'c> !Sync for CallIntrinsicOperation<'c>
impl<'c> Unpin for CallIntrinsicOperation<'c>
impl<'c> UnwindSafe for CallIntrinsicOperation<'c>
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