MLIR

Multi-Level IR Compiler Framework

-llvm-target-to-data-layout 

Derive data layout attributes from LLVM target attributes

Derive a DataLayoutSpecInterface-implementing data layout attribute from the LLVM-backend target specified by the TargetAttrInterface-implementing attribute attached to the target op at the name llvm.target.

Options 

-initialize-llvm-targets : Whether to pre-load all available target machines, that LLVM is configured to support, into the TargetRegistry.

-llvm-target-to-target-features 

Update attached #llvm.target’s features per the described target

Obtain the TargetMachine specified by the attached #llvm.target’s attributes and obtain from it the full list of features of the selected target. Updates the attached #llvm.target so that its features reflect the full list of features.

Options 

-initialize-llvm-targets : Whether to pre-load all available target machines, that LLVM is configured to support, into the TargetRegistry.