[−][src]Struct cranelift_codegen_meta::cdsl::isa::TargetIsa
Fields
name: &'static strinstructions: InstructionGroupsettings: SettingGroupregs: IsaRegsrecipes: PrimaryMap<EncodingRecipeNumber, EncodingRecipe>cpu_modes: Vec<CpuMode>encodings_predicates: PrimaryMap<InstructionPredicateNumber, InstructionPredicate>local_transform_groups: Vec<TransformGroupIndex>TransformGroupIndex are global to all the ISAs, while we want to have indices into the local array of transform groups that are directly used. We use this map to get this information.
Implementations
impl TargetIsa[src]
pub fn new(
name: &'static str,
instructions: InstructionGroup,
settings: SettingGroup,
regs: IsaRegs,
recipes: PrimaryMap<EncodingRecipeNumber, EncodingRecipe>,
cpu_modes: Vec<CpuMode>,
encodings_predicates: PrimaryMap<InstructionPredicateNumber, InstructionPredicate>
) -> Self[src]
name: &'static str,
instructions: InstructionGroup,
settings: SettingGroup,
regs: IsaRegs,
recipes: PrimaryMap<EncodingRecipeNumber, EncodingRecipe>,
cpu_modes: Vec<CpuMode>,
encodings_predicates: PrimaryMap<InstructionPredicateNumber, InstructionPredicate>
) -> Self
pub fn transitive_transform_groups(
&self,
all_groups: &TransformGroups
) -> Vec<TransformGroupIndex>[src]
&self,
all_groups: &TransformGroups
) -> Vec<TransformGroupIndex>
Returns a deterministically ordered, deduplicated list of TransformGroupIndex for the transitive set of TransformGroup this TargetIsa uses.
pub fn direct_transform_groups(&self) -> &Vec<TransformGroupIndex>[src]
Returns a deterministically ordered, deduplicated list of TransformGroupIndex for the directly reachable set of TransformGroup this TargetIsa uses.
pub fn translate_group_index(&self, group_index: TransformGroupIndex) -> usize[src]
Auto Trait Implementations
impl !RefUnwindSafe for TargetIsa[src]
impl !Send for TargetIsa[src]
impl !Sync for TargetIsa[src]
impl Unpin for TargetIsa[src]
impl !UnwindSafe for TargetIsa[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
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]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,