Home
last modified time | relevance | path

Searched refs:CodegenError (Results 1 – 24 of 24) sorted by relevance

/wasmtime-44.0.1/cranelift/codegen/src/
H A Dresult.rs11 pub enum CodegenError { enum
46 pub type CodegenResult<T> = Result<T, CodegenError>;
50 impl core::error::Error for CodegenError { implementation
54 CodegenError::ImplLimitExceeded { .. } in source()
55 | CodegenError::CodeTooLarge { .. } in source()
56 | CodegenError::Unsupported { .. } => None, in source()
59 CodegenError::Regalloc(..) => None, in source()
64 impl core::fmt::Display for CodegenError { implementation
78 impl From<VerifierErrors> for CodegenError { implementation
80 CodegenError::Verifier { 0: source } in from()
[all …]
H A Dprint_errors.rs7 use crate::result::CodegenError;
214 pub fn pretty_error(func: &ir::Function, err: CodegenError) -> String { in pretty_error()
215 if let CodegenError::Verifier(e) = err { in pretty_error()
H A Dlib.rs104 pub use crate::result::{CodegenError, CodegenResult, CompileError};
/wasmtime-44.0.1/cranelift/codegen/src/isa/unwind/
H A Dsystemv.rs6 use crate::{CodegenError, binemit::CodeOffset};
245 .map_err(|e| CodegenError::RegisterMappingError(e))?; in create_unwind_info_from_insts()
255 .map_err(|e| CodegenError::RegisterMappingError(e))?; in create_unwind_info_from_insts()
H A Dwinx64.rs10 use crate::result::{CodegenError, CodegenResult};
309 return Err(CodegenError::CodeTooLarge); in ensure_unwind_offset()
/wasmtime-44.0.1/cranelift/codegen/src/isa/riscv64/
H A Dmod.rs15 use crate::{CodegenError, ir};
286 return Err(CodegenError::Unsupported( in isa_constructor()
H A Dabi.rs157 return Err(crate::CodegenError::Unsupported( in compute_arg_locs()
/wasmtime-44.0.1/cranelift/codegen/src/isa/x64/
H A Dmod.rs16 use crate::result::{CodegenError, CodegenResult};
48 return Err(CodegenError::Unsupported( in new_with_flags()
H A Dabi.rs346 return Err(crate::CodegenError::Unsupported( in compute_arg_locs()
/wasmtime-44.0.1/cranelift/filetests/src/
H A Dlib.rs108 err: cranelift_codegen::CodegenError, in pretty_anyhow_error() argument
H A Dfunction_runner.rs12 use cranelift_codegen::{CodegenError, Context, ir, settings};
477 CodegenError(#[from] CodegenError), enumerator
/wasmtime-44.0.1/cranelift/codegen/src/machinst/
H A Dabi.rs101 use crate::CodegenError;
923 return Err(CodegenError::ImplLimitExceeded); in from_func_sig()
943 return Err(CodegenError::ImplLimitExceeded); in from_func_sig()
1250 .ok_or(CodegenError::ImplLimitExceeded)?; in new()
1255 .ok_or(CodegenError::ImplLimitExceeded)?; in new()
1272 .ok_or(CodegenError::ImplLimitExceeded)?; in new()
1275 CodegenError::Unsupported(format!("invalid dynamic vector type: {}", data.dyn_ty)) in new()
1280 .ok_or(CodegenError::ImplLimitExceeded)?; in new()
1287 .ok_or(CodegenError::ImplLimitExceeded)?; in new()
H A Dvcode.rs20 use crate::CodegenError;
1693 deferred_error: Option<CodegenError>,
1716 return Err(CodegenError::CodeTooLarge); in alloc()
1724 return Err(CodegenError::CodeTooLarge); in alloc()
1731 Reg::from_virtual_reg_checked(vreg).ok_or(CodegenError::CodeTooLarge) in alloc()
1767 pub fn take_deferred_error(&mut self) -> Option<CodegenError> { in take_deferred_error() argument
H A Dlower.rs23 use crate::{CodegenError, CodegenResult, trace};
800 return Err(CodegenError::Unsupported(format!( in lower_clif_block()
/wasmtime-44.0.1/cranelift/module/src/
H A Dmodule.rs17 CodegenError, CompileError, Context, FinalizedMachReloc, FinalizedRelocTarget, ir, isa,
290 Compilation(CodegenError),
365 impl std::convert::From<CodegenError> for ModuleError {
366 fn from(source: CodegenError) -> Self { in from()
/wasmtime-44.0.1/cranelift/codegen/src/isa/pulley_shared/inst/
H A Dmod.rs10 use crate::{CodegenError, CodegenResult, settings};
576 _ => Err(CodegenError::Unsupported(format!( in rc_for_type()
/wasmtime-44.0.1/cranelift/jit/src/
H A Dbackend.rs503 ModuleError::Compilation(cranelift_codegen::CodegenError::Unsupported( in define_function_with_control_plane()
/wasmtime-44.0.1/cranelift/codegen/src/isa/x64/inst/
H A Dmod.rs11 use crate::{CodegenError, CodegenResult, settings};
1428 _ => Err(CodegenError::Unsupported(format!( in rc_for_type()
/wasmtime-44.0.1/cranelift/codegen/src/isa/riscv64/inst/
H A Dmod.rs11 use crate::{CodegenError, CodegenResult, settings};
847 _ => Err(CodegenError::Unsupported(format!( in rc_for_type()
/wasmtime-44.0.1/cranelift/codegen/src/isa/pulley_shared/
H A Dabi.rs122 return Err(crate::CodegenError::Unsupported( in compute_arg_locs()
/wasmtime-44.0.1/cranelift/codegen/src/isa/s390x/
H A Dabi.rs391 return Err(crate::CodegenError::Unsupported( in compute_arg_locs()
/wasmtime-44.0.1/cranelift/codegen/src/isa/aarch64/
H A Dabi.rs340 return Err(crate::CodegenError::Unsupported( in compute_arg_locs()
/wasmtime-44.0.1/cranelift/codegen/src/isa/aarch64/inst/
H A Dmod.rs8 use crate::{CodegenError, CodegenResult, settings};
1136 _ => Err(CodegenError::Unsupported(format!( in rc_for_type()
/wasmtime-44.0.1/cranelift/codegen/src/isa/s390x/inst/
H A Dmod.rs8 use crate::{CodegenError, CodegenResult, settings};
1221 _ => Err(CodegenError::Unsupported(format!( in rc_for_type()