| /wasmtime-44.0.1/cranelift/codegen/meta/src/shared/ |
| H A D | formats.rs | 6 pub(crate) atomic_cas: Rc<InstructionFormat>, 7 pub(crate) atomic_rmw: Rc<InstructionFormat>, 8 pub(crate) binary: Rc<InstructionFormat>, 12 pub(crate) brif: Rc<InstructionFormat>, 13 pub(crate) call: Rc<InstructionFormat>, 15 pub(crate) try_call: Rc<InstructionFormat>, 23 pub(crate) jump: Rc<InstructionFormat>, 24 pub(crate) load: Rc<InstructionFormat>, 33 pub(crate) store: Rc<InstructionFormat>, 37 pub(crate) trap: Rc<InstructionFormat>, [all …]
|
| H A D | mod.rs | 10 use crate::cdsl::formats::{FormatStructure, InstructionFormat}; 24 pub all_formats: Vec<Rc<InstructionFormat>>, 51 fn verify_instruction_formats(all_instructions: &AllInstructions) -> Vec<Rc<InstructionFormat>> { in verify_instruction_formats() argument 52 let mut format_names: HashMap<&'static str, &Rc<InstructionFormat>> = HashMap::new(); in verify_instruction_formats() 56 let mut format_structures: HashMap<FormatStructure, Rc<InstructionFormat>> = HashMap::new(); in verify_instruction_formats()
|
| /wasmtime-44.0.1/cranelift/codegen/meta/src/cdsl/ |
| H A D | formats.rs | 30 pub(crate) struct InstructionFormat { struct 62 impl fmt::Display for InstructionFormat { implementation 82 impl InstructionFormat { impl 99 pub(crate) struct InstructionFormatBuilder(InstructionFormat); 103 Self(InstructionFormat { in new() 150 pub fn build(mut self) -> Rc<InstructionFormat> { in build() argument
|
| H A D | instructions.rs | 5 use crate::cdsl::formats::InstructionFormat; 47 pub format: Rc<InstructionFormat>, 125 format: Rc<InstructionFormat>, 142 pub fn new<S: Into<String>>(name: S, doc: S, format: &Rc<InstructionFormat>) -> Self { in new() 284 fn verify_format(inst_name: &str, operands_in: &[Operand], format: &InstructionFormat) { in verify_format() argument 362 format: &InstructionFormat, in verify_polymorphic() argument
|
| /wasmtime-44.0.1/cranelift/fuzzgen/src/ |
| H A D | function_generator.rs | 60 InstructionFormat::Ternary => builder in insert_opcode() 294 InstructionFormat::LoadNoOffset => { in insert_load_store() 302 InstructionFormat::StoreNoOffset => { in insert_load_store() 309 InstructionFormat::Store => { in insert_load_store() 316 InstructionFormat::Load => { in insert_load_store() 1103 InstructionFormat::Trap => todo!(), in inserter_for_format() 1113 InstructionFormat::BranchTable in inserter_for_format() 1114 | InstructionFormat::Brif in inserter_for_format() 1115 | InstructionFormat::Jump in inserter_for_format() 1116 | InstructionFormat::MultiAry in inserter_for_format() [all …]
|
| /wasmtime-44.0.1/cranelift/reader/src/ |
| H A D | parser.rs | 2602 InstructionFormat::UnaryImm => { in parse_inst_operands() 2666 InstructionFormat::Binary => { in parse_inst_operands() 2691 InstructionFormat::Ternary => { in parse_inst_operands() 2712 InstructionFormat::Jump => { in parse_inst_operands() 2722 InstructionFormat::Brif => { in parse_inst_operands() 2764 InstructionFormat::Shuffle => { in parse_inst_operands() 2811 InstructionFormat::Call => { in parse_inst_operands() 2837 InstructionFormat::TryCall => { in parse_inst_operands() 2912 InstructionFormat::Load => { in parse_inst_operands() 2923 InstructionFormat::Store => { in parse_inst_operands() [all …]
|
| /wasmtime-44.0.1/cranelift/codegen/meta/src/ |
| H A D | gen_inst.rs | 4 use crate::cdsl::formats::InstructionFormat; 18 fn gen_formats(formats: &[Rc<InstructionFormat>], fmt: &mut Formatter) { in gen_formats() argument 63 fn gen_instruction_data(formats: &[Rc<InstructionFormat>], fmt: &mut Formatter) { in gen_instruction_data() argument 105 fn gen_arguments_method(formats: &[Rc<InstructionFormat>], fmt: &mut Formatter, is_mut: bool) { in gen_arguments_method() argument 167 fn gen_instruction_data_impl(formats: &[Rc<InstructionFormat>], fmt: &mut Formatter) { in gen_instruction_data_impl() argument 992 fn gen_member_inits(format: &InstructionFormat, fmt: &mut Formatter) { in gen_member_inits() argument 1037 fn gen_format_constructor(format: &InstructionFormat, fmt: &mut Formatter) { in gen_format_constructor() argument 1108 fn gen_inst_builder(inst: &Instruction, format: &InstructionFormat, fmt: &mut Formatter) { in gen_inst_builder() argument 1325 formats: &[Rc<InstructionFormat>], in gen_builder() argument 1363 formats: &[Rc<InstructionFormat>], in generate() argument
|
| H A D | gen_isle.rs | 1 use crate::cdsl::formats::InstructionFormat; 17 formats: &[Rc<InstructionFormat>], in gen_common_isle() argument 499 formats: &[Rc<InstructionFormat>], in gen_opt_isle() argument 507 formats: &[Rc<InstructionFormat>], in gen_lower_isle() argument 1219 formats: &[Rc<InstructionFormat>], in generate() argument
|
| /wasmtime-44.0.1/cranelift/codegen/src/ |
| H A D | opts.rs | 9 use crate::ir::instructions::InstructionFormat; 140 debug_assert_eq!(opcode.format(), InstructionFormat::Unary); in new()
|
| /wasmtime-44.0.1/cranelift/codegen/src/ir/ |
| H A D | builder.rs | 7 use crate::ir::instructions::InstructionFormat;
|
| H A D | instructions.rs | 305 pub fn format(self) -> InstructionFormat { in format() argument 1178 assert_eq!(x.format(), InstructionFormat::Binary); in opcodes()
|
| /wasmtime-44.0.1/cranelift/codegen/src/verifier/ |
| H A D | mod.rs | 71 use crate::ir::instructions::{CallInfo, InstructionFormat, ResolvedConstraint}; 475 if inst_data.opcode().format() != InstructionFormat::from(inst_data) { in instruction_integrity()
|