Llvm_ir::instruction::Phi - Rust
- llvm-ir-0.7.4
- llvm-ir 0.7.4
- Docs.rs crate page
- MIT
- Links
- Repository
- crates.io
- Source
- Owners
- cdisselkoen
- Dependencies
-
- either ^1.5.2 normal
- llvm-sys ^100.2.0 normal
- llvm-sys ^110.0.0 normal
- llvm-sys ^80.3.0 normal
- llvm-sys ^90.2.0 normal
- log ^0.4.0 normal
- env_logger ^0.6.2 dev
- Versions
- 18.21% of the crate is documented
- Go to latest version
- Platform
- i686-unknown-linux-gnu
- x86_64-unknown-linux-gnu
- Feature flags
- Rust
- About docs.rs
- Privacy policy
- Rust website
- The Book
- Standard Library API Reference
- Rust by Example
- The Cargo Guide
- Clippy Documentation
Struct Phi
Fieldsdebuglocdestincoming_valuesto_typeTrait ImplementationsCloneDebugDisplayFrom<Phi>HasDebugLocHasResultPartialEq<Phi>StructuralPartialEqTryFrom<Instruction>TypedAuto Trait ImplementationsRefUnwindSafeSendSyncUnpinUnwindSafeBlanket ImplementationsAnyBorrow<T>BorrowMut<T>From<T>Into<U>ToOwnedToStringTryFrom<U>TryInto<U>llvm_ir::instruction
? [−][src]Struct llvm_ir::instruction::Phipub struct Phi { pub incoming_values: Vec<(Operand, Name)>, pub dest: Name, pub to_type: TypeRef, pub debugloc: Option<DebugLoc>, }See LLVM 11 docs on the 'phi' instruction
Fields
incoming_values: Vec<(Operand, Name)>dest: Nameto_type: TypeRefdebugloc: Option<DebugLoc>Trait Implementations
impl Clone for Phi[src]
fn clone(&self) -> Phi[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for Phi[src]
fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]
Formats the value using the given formatter. Read more
impl Display for Phi[src]
fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]
Formats the value using the given formatter. Read more
impl From<Phi> for Instruction[src]
fn from(inst: Phi) -> Instruction[src]
Performs the conversion.
impl HasDebugLoc for Phi[src]
fn get_debug_loc(&self) -> &Option<DebugLoc>[src]
Returns the DebugLoc associated with the given Instruction, Terminator, GlobalVariable, or Function; or None if it doesn't have a DebugLoc. Read more
impl HasResult for Phi[src]
fn get_result(&self) -> &Name[src]
impl PartialEq<Phi> for Phi[src]
fn eq(&self, other: &Phi) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Phi) -> bool[src]
This method tests for !=.
impl StructuralPartialEq for Phi[src]
impl TryFrom<Instruction> for Phi[src]
type Error = &'static str
The type returned in the event of a conversion error.
fn try_from(inst: Instruction) -> Result<Self, Self::Error>[src]
Performs the conversion.
impl Typed for Phi[src]
fn get_type(&self, _types: &Types) -> TypeRef[src]
Auto Trait Implementations
impl RefUnwindSafe for Phi
impl Send for Phi
impl Sync for Phi
impl Unpin for Phi
impl UnwindSafe for Phi
Blanket Implementations
impl<T> Any for T where T: 'static + ?Sized, [src]
pub fn type_id(&self) -> TypeId[src]
Gets the TypeId of self. Read more
impl<T> Borrow<T> for T where T: ?Sized, [src]
pub fn borrow(&self) -> &T[src]
Immutably borrows from an owned value. Read more
impl<T> BorrowMut<T> for T where T: ?Sized, [src]
pub fn borrow_mut(&mut self) -> &mut T[src]
Mutably borrows from an owned value. Read more
impl<T> From<T> for T[src]
pub fn from(t: T) -> T[src]
Performs the conversion.
impl<T, U> Into<U> for T where U: From<T>, [src]
pub fn into(self) -> U[src]
Performs the conversion.
impl<T> ToOwned for T where T: Clone, [src]
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
🔬 This is a nightly-only experimental API. (toowned_clone_into)recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> ToString for T where T: Display + ?Sized, [src]
pub default fn to_string(&self) -> String[src]
Converts the given value to a String. Read more
impl<T, U> TryFrom<U> for T where U: Into<T>, [src]
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
Performs the conversion.
impl<T, U> TryInto<U> for T where U: TryFrom<T>, [src]
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
Performs the conversion.
Từ khóa » Phi Llvm
-
What Exactly PHI Instruction Does And How To Use It In LLVM
-
LLVM Language Reference Manual — LLVM 16.0.0git Documentation
-
Llvm::PHINode Class Reference
-
Single-Static Assignment Form And PHI
-
LLVM Concepts — Llvmpy 0.9.0 Documentation
-
LLVM Tutorial #17: The Φ (Phi) Function - Toby Ho
-
[PDF] LLVM, In Greater Detail
-
LLVM Tutorial #17: The Φ (Phi) Function - YouTube
-
Web.cs./classes/spring08/cs259/llvm-2.2/li...
-
Web./freebsd/head/contrib/llvm/lib/Transfor...
-
LLVM: StrongPHIElimination.cpp File Reference
-
PHIElimination.cpp - Apple Open Source
-
What Exactly PHI Instruction Does And How To Use It In LLVM