Home
last modified time | relevance | path

Searched refs:OperandKind (Results 1 – 14 of 14) sorted by relevance

/wasmtime-44.0.1/cranelift/codegen/meta/src/shared/
H A Dentities.rs5 OperandKind::new( in new()
16 pub(crate) block_call: OperandKind,
20 pub(crate) block_then: OperandKind,
24 pub(crate) block_else: OperandKind,
29 pub(crate) raw_block: OperandKind,
32 pub(crate) stack_slot: OperandKind,
42 pub(crate) sig_ref: OperandKind,
46 pub(crate) func_ref: OperandKind,
49 pub(crate) jump_table: OperandKind,
55 pub(crate) varargs: OperandKind,
[all …]
H A Dimmediates.rs9 pub imm64: OperandKind,
15 pub uimm8: OperandKind,
20 pub offset32: OperandKind,
25 pub ieee16: OperandKind,
30 pub ieee32: OperandKind,
35 pub ieee64: OperandKind,
41 pub intcc: OperandKind,
65 ) -> OperandKind { in new_imm() argument
66 OperandKind::new( in new_imm()
78 ) -> OperandKind { in new_enum() argument
[all …]
/wasmtime-44.0.1/cranelift/codegen/meta/src/cdsl/
H A Doperands.rs24 pub kind: OperandKind,
30 pub fn new(name: &'static str, kind: impl Into<OperandKind>) -> Self { in new()
108 pub(crate) struct OperandKind { struct
121 impl OperandKind { impl
159 impl From<&TypeVar> for OperandKind { implementation
161 OperandKind { in from()
169 impl From<&OperandKind> for OperandKind { implementation
170 fn from(kind: &OperandKind) -> Self { in from()
H A Dformats.rs1 use crate::cdsl::operands::OperandKind;
12 pub kind: OperandKind,
134 pub fn imm(mut self, operand_kind: &OperandKind) -> Self { in imm()
/wasmtime-44.0.1/cranelift/codegen/meta/src/
H A Dgen_asm.rs24 OperandKind::Imm(loc) => { in rust_param_raw()
32 OperandKind::RegMem(rm) => { in rust_param_raw()
37 OperandKind::Mem(_) => { in rust_param_raw()
40 OperandKind::Reg(r) | OperandKind::FixedReg(r) => r.reg_class().unwrap().to_string(), in rust_param_raw()
49 OperandKind::Imm(loc) => { in rust_convert_isle_to_assembler()
70 OperandKind::Reg(r) => { in rust_convert_isle_to_assembler()
101 use OperandKind::*; in generate_macro_inst_fn()
257 OperandKind::Reg(r) | OperandKind::FixedReg(r) => r.reg_class().unwrap().to_string(), in isle_param_raw()
258 OperandKind::Mem(_) => { in isle_param_raw()
400 use OperandKind::*; in isle_constructors()
[all …]
/wasmtime-44.0.1/cranelift/codegen/src/machinst/
H A Dreg.rs7 use regalloc2::{Operand, OperandConstraint, OperandKind, OperandPos, PReg, PRegSet, VReg};
408 kind: OperandKind, in add_operand() argument
431 self.reg_maybe_fixed(reg.as_mut(), OperandKind::Use, OperandPos::Early); in reg_use()
436 self.reg_maybe_fixed(reg.as_mut(), OperandKind::Use, OperandPos::Late); in reg_late_use()
457 self.reg_fixed(reg.as_mut(), rreg, OperandKind::Use, OperandPos::Late); in reg_fixed_late_use()
463 self.reg_fixed(reg.as_mut(), rreg, OperandKind::Use, OperandPos::Early); in reg_fixed_use()
508 self.add_operand(reg, constraint, OperandKind::Def, OperandPos::Late); in reg_reuse_def()
520 OperandKind::Def, in any_def()
531 OperandKind::Use, in any_late_use()
544 kind: OperandKind, in add_operand() argument
[all …]
H A Dvcode.rs30 OperandConstraint, OperandKind, PRegSet, ProgPoint, RegClass,
686 if operand.kind() == OperandKind::Def { in compute_clobbers_and_function_calls()
/wasmtime-44.0.1/cranelift/assembler-x64/meta/src/dsl/
H A Dformat.rs37 assert!(!matches!(op.location.kind(), OperandKind::Imm(_))); in rw()
74 assert!(matches!(location.kind(), OperandKind::FixedReg(_))); in implicit()
167 pub fn operands_by_kind(&self) -> Vec<OperandKind> { in operands_by_kind() argument
373 use OperandKind::*; in uses_memory()
384 use OperandKind::*; in uses_register()
393 pub fn kind(&self) -> OperandKind { in kind() argument
397 OperandKind::FixedReg(*self) in kind()
401 OperandKind::Reg(*self) in kind()
404 OperandKind::RegMem(*self) in kind()
406 m8 | m16 | m32 | m64 | m128 => OperandKind::Mem(*self), in kind()
[all …]
H A Dencoding.rs18 use super::{Operand, OperandKind};
341 if let Some(OperandKind::Imm(op)) = operands in validate()
344 .find(|k| matches!(k, OperandKind::Imm(_))) in validate()
/wasmtime-44.0.1/cranelift/assembler-x64/meta/src/
H A Dinstructions.rs37 use crate::dsl::{Feature, Inst, Mutability, OperandKind};
120 use crate::dsl::{Mutability::*, OperandKind::*}; in check_sse_matches_avx()
198 fn list_ops(inst: &Inst) -> Vec<(Mutability, OperandKind)> { in list_ops() argument
H A Ddsl.rs19 pub use format::{Eflags, Extension, Format, Location, Mutability, Operand, OperandKind, RegClass};
/wasmtime-44.0.1/cranelift/assembler-x64/meta/src/generate/
H A Dformat.rs126 use dsl::OperandKind::{FixedReg, Imm, Mem, Reg, RegMem}; in generate_rex_prefix()
309 use dsl::OperandKind::{FixedReg, Imm, Mem, Reg, RegMem}; in generate_vex_or_evex_prefix()
443 [.., dsl::OperandKind::Imm(imm)] => imm.bytes(), in generate_modrm_byte()
490 use dsl::OperandKind::Imm; in generate_immediate()
520 assert!(matches!(first_op.kind(), dsl::OperandKind::Reg(_))); in generate_opcodes()
H A Dinst.rs148 use dsl::OperandKind::*; in generate_possible_trap()
174 use dsl::{Customization::*, OperandKind::*}; in generate_visit_function()
/wasmtime-44.0.1/cranelift/codegen/src/isa/s390x/inst/
H A Dmod.rs1071 kind: regalloc2::OperandKind, in add_operand() argument