Home
last modified time | relevance | path

Searched refs:pattern (Results 1 – 25 of 42) sorted by relevance

12

/wasmtime-44.0.1/cranelift/isle/docs/
H A Dlanguage-reference.md329 pattern.
671 * At the root of the pattern, we require that a *constructor* pattern
679 this matches the actual type of the pattern.
844 fail, just as any other part of a pattern-match can.
1112 because pattern coverage can be incomplete).
1513 <pattern> ::= <int>
1518 | <ident> "@" <pattern>
1519 | "(" "and" <pattern>* ")"
1520 | "(" <ident> <pattern>* ")"
1522 <stmt> ::= "(" "if-let" <pattern> <expr> ")"
[all …]
/wasmtime-44.0.1/tests/misc_testsuite/simd/
H A Dalmost-extmul.wast4 ;; looks like an extmul and codegen shouldn't pattern match too much
/wasmtime-44.0.1/cranelift/isle/
H A DTODO6 parse instead where we know the polarity of pattern-term args and parse
H A DREADME.md127 left-hand side (LHS) is a *pattern* and the right-hand side (RHS) is an
128 *expression*. When the LHS pattern matches the input, then we evaluate the RHS
129 expression. The LHS pattern can bind variables from the input that are then
509 The trie construction phase linearizes each rule's LHS pattern and inserts them
/wasmtime-44.0.1/cranelift/isle/isle/src/
H A Dparser.rs808 let pattern = self.parse_pattern()?; in parse_rule() localVariable
817 pattern, in parse_rule()
899 let pattern = self.parse_pattern()?; in parse_iflet() localVariable
901 Ok(IfLet { pattern, expr, pos }) in parse_iflet()
908 pattern: Pattern::Wildcard { pos }, in parse_iflet_if()
H A Dprinter.rs212 pattern, in to_sexpr()
224 parts.push(pattern.to_sexpr()); in to_sexpr()
588 pattern, in to_sexpr()
594 pattern.to_sexpr(), in to_sexpr()
H A Dast.rs279 pub pattern: Pattern, field
289 pub pattern: Pattern, field
H A Dsema.rs1063 pattern: <Self::PatternVisitor as PatternVisitor>::PatternId, in pattern_as_expr()
1547 let term = match rule.pattern.root_term() { in collect_constructors()
1922 let (sym, args) = if let ast::Pattern::Term { sym, args, .. } = &rule.pattern { in collect_rules()
2055 pattern: &ast::Pattern, in maybe_implicit_convert_pattern()
2068 pattern.pos(), in maybe_implicit_convert_pattern()
2072 pos: pattern.pos(), in maybe_implicit_convert_pattern()
2073 args: vec![pattern.clone()], in maybe_implicit_convert_pattern()
2628 let lhs = self.translate_pattern(tyenv, &iflet.pattern, rhs.ty(), bindings)?; in translate_iflet()
H A Dtrie_again.rs720 fn pattern_as_expr(&mut self, pattern: BindingId) -> BindingId { in pattern_as_expr()
721 pattern in pattern_as_expr()
/wasmtime-44.0.1/tests/misc_testsuite/
H A Dsink-float-but-dont-trap.wast14 ;; same as above but with a slightly different codegen pattern.
/wasmtime-44.0.1/tests/disas/
H A Dreadonly-funcrefs.wat7 ;; we generate for that pattern.
/wasmtime-44.0.1/crates/component-macro/src/
H A Dcomponent.rs775 let pattern; in expand_variant() localVariable
781 pattern = quote!(Self::#ident(value)); in expand_variant()
789 pattern = quote!(Self::#ident); in expand_variant()
794 lowers.extend(quote!(#pattern => { in expand_variant()
805 stores.extend(quote!(#pattern => { in expand_variant()
/wasmtime-44.0.1/crates/c-api/
H A DREADME.md93 where `$MY_TEST` is the test name or glob pattern; for example,
H A Ddoxygen.conf.in926 # exclude all test directories for example use the pattern */test/*
937 # exclude all test directories use the pattern */test/*
962 # EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and
1002 # The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
1003 # basis. Doxygen will compare the file name with each pattern and apply the
1004 # filter if there is a match. The filters are a list of the form: pattern=filter
1023 # pattern. A pattern will override the setting for FILTER_PATTERN (if any) and
1024 # it is also possible to disable source filtering for a specific pattern using
/wasmtime-44.0.1/cranelift/
H A Drustc.md72 pattern-matching over a single graph that includes both data and control
/wasmtime-44.0.1/cranelift/codegen/src/opts/
H A DREADME.md96 exactly what we want: it is what allows a pattern like `(iadd (iconst k) x)`
H A Dcprop.isle237 ;; pattern.
/wasmtime-44.0.1/docs/
H A Dcontributing-conditional-compilation.md222 * Another common pattern for this is to conditionally define a "dummy" shim
/wasmtime-44.0.1/cranelift/codegen/src/
H A Dprelude_opt.isle172 ;; Useful to write a single pattern that can match things that may or may not
/wasmtime-44.0.1/cranelift/codegen/src/isa/x64/
H A Dinst.isle525 ;; performs final pattern matches related to shifts to see if that can be
559 ;; to pattern match add-of-shifts to generate fancier `ImmRegRegShift` modes,
1228 ;; As a particular x64 extra-pattern matching opportunity, all the ALU
1302 ;; Generates a register value which has an all-ones pattern.
1750 ;; Special case the `mulx` pattern with the BMI2 instruction set.
1931 ;; interpreted as the bit pattern for a signed 32-bit immediate. That means
3460 ;; can pattern-match to the native `bt` instruction. Note that to have the
/wasmtime-44.0.1/crates/wiggle/tests/
H A Dtypenames.witx364 ;;; File or memory access pattern advisory information.
/wasmtime-44.0.1/crates/wasi/witx/p0/
H A Dtypenames.witx362 ;;; File or memory access pattern advisory information.
H A Dwasi_unstable.witx13 ;;; we shouldn't follow this pattern in new APIs.
/wasmtime-44.0.1/crates/wasi/witx/p1/
H A Dtypenames.witx366 ;;; File or memory access pattern advisory information.
/wasmtime-44.0.1/crates/wasi-common/witx/preview0/
H A Dwasi_unstable.witx13 ;;; we shouldn't follow this pattern in new APIs.

12