Home
last modified time | relevance | path

Searched defs:Expr (Results 1 – 25 of 1178) sorted by relevance

12345678910>>...48

/aosp_15_r20/external/pytorch/torch/_inductor/
H A Dsizevars.py44 axioms: Optional[Tuple[sympy.Expr]] = None,
91 def simplify(self, expr: Expr):
101 def simplify_with_ranges(expr: Expr, var_ranges: VarRanges) -> Expr:
138 def _simplify_with_ranges(self, expr: Expr, var_ranges: VarRanges) -> Expr:
341 self, left: Union[Expr, int], right: Union[Expr, int]
349 def statically_known_list_equals(self, left: List[Expr], right: List[Expr]) -> bool:
358 def statically_known_leq(self, left: Expr, right: Union[Expr, int]) -> bool:
366 def statically_known_geq(self, left: Expr, right: Union[Expr, int]) -> bool:
374 def statically_known_lt(self, left: Expr, right: Union[Expr, int]) -> bool:
382 def statically_known_gt(self, left: Expr, right: Union[Expr, int]) -> bool:
[all …]
/aosp_15_r20/external/clang/unittests/Tooling/
H A DLookupTest.cpp36 StringRef ReplacementString) { in TEST()
44 Visitor.OnCall = [&](CallExpr *Expr) { in TEST()
50 Visitor.OnCall = [&](CallExpr *Expr) { in TEST()
56 Visitor.OnCall = [&](CallExpr *Expr) { in TEST()
62 Visitor.OnCall = [&](CallExpr *Expr) { in TEST()
69 Visitor.OnCall = [&](CallExpr *Expr) { in TEST()
75 Visitor.OnCall = [&](CallExpr *Expr) { in TEST()
81 Visitor.OnCall = [&](CallExpr *Expr) { in TEST()
86 Visitor.OnCall = [&](CallExpr *Expr) { in TEST()
91 Visitor.OnCall = [&](CallExpr *Expr) { in TEST()
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/compile/internal/types2/
Dexpr.go89 func opPos(x syntax.Expr) syntax.Pos {
102 func opName(x syntax.Expr) string {
241 func (check *Checker) updateExprType(x syntax.Expr, typ Type, final bool) {
245 func (check *Checker) updateExprType0(parent, x syntax.Expr, typ Type, final bool) {
383 func (check *Checker) updateExprVal(x syntax.Expr, val constant.Value) {
638 func (check *Checker) shift(x, y *operand, e syntax.Expr, op syntax.Operator) {
800 func (check *Checker) binary(x *operand, e syntax.Expr, lhs, rhs syntax.Expr, op syntax.Operator) {
986 func (check *Checker) rawExpr(T *target, x *operand, e syntax.Expr, hint Type, allowGeneric bool) e…
1068 func (check *Checker) exprInternal(T *target, x *operand, e syntax.Expr, hint Type) exprKind {
1582 func (check *Checker) typeAssertion(e syntax.Expr, x *operand, T Type, typeSwitch bool) {
[all …]
Dtypexpr.go158 func (check *Checker) typ(e syntax.Expr) Type {
165 func (check *Checker) varType(e syntax.Expr) Type {
173 func (check *Checker) validVarType(e syntax.Expr, typ Type) {
201 func (check *Checker) definedType(e syntax.Expr, def *TypeName) Type {
215 func (check *Checker) genericType(e syntax.Expr, cause *string) Type {
237 func (check *Checker) typInternal(e0 syntax.Expr, def *TypeName) (T Type) {
445 func (check *Checker) instantiatedType(x syntax.Expr, xlist []syntax.Expr, def *TypeName) (res Type…
519 func (check *Checker) arrayLength(e syntax.Expr) int64 {
567 func (check *Checker) typeList(list []syntax.Expr) []Type {
Dcall.go132 …cker) instantiateSignature(pos syntax.Pos, expr syntax.Expr, typ *Signature, targs []Type, xlist […
331 func (check *Checker) exprList(elist []syntax.Expr) (xlist []*operand) {
353 func (check *Checker) genericExprList(elist []syntax.Expr) (resList []*operand, targsList [][]Type,…
456 …lExpr, sig *Signature, targs []Type, xlist []syntax.Expr, args []*operand, atargs [][]Type, atxlis…
929 func (check *Checker) use(args ...syntax.Expr) bool { return check.useN(args, false) }
934 func (check *Checker) useLHS(args ...syntax.Expr) bool { return check.useN(args, true) }
936 func (check *Checker) useN(args []syntax.Expr, lhs bool) bool {
946 func (check *Checker) use1(e syntax.Expr, lhs bool) bool {
/aosp_15_r20/external/pytorch/torch/_inductor/codegen/
H A Dsimd.py86 var_ranges: Dict[sympy.Symbol, sympy.Expr],
87 numel: sympy.Expr,
114 numel: sympy.Expr,
187 def construct_entries(self, lengths: List[sympy.Expr]):
195 def construct(self, lengths: List[sympy.Expr]):
198 def vars_and_sizes(self, index: sympy.Expr):
234 divisor: sympy.Expr,
235 length: sympy.Expr,
236 expr: sympy.Expr,
346 def simplify_indexing(index: sympy.Expr):
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/rustversion/src/
Dexpr.rs10 pub enum Expr { enum
23 impl Expr { implementation
52 pub fn parse(iter: Iter) -> Result<Expr> { in parse()
71 fn parse_nightly(iter: Iter) -> Result<Expr> { in parse_nightly()
85 fn parse_stable(iter: Iter) -> Result<Expr> { in parse_stable()
99 fn parse_since(introducer: &Ident, iter: Iter) -> Result<Expr> { in parse_since()
110 fn parse_before(introducer: &Ident, iter: Iter) -> Result<Expr> { in parse_before()
121 fn parse_not(introducer: &Ident, iter: Iter) -> Result<Expr> { in parse_not()
132 fn parse_any(introducer: &Ident, iter: Iter) -> Result<Expr> { in parse_any()
141 fn parse_all(introducer: &Ident, iter: Iter) -> Result<Expr> { in parse_all()
[all …]
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/rustversion-1.0.15/src/
H A Dexpr.rs10 pub enum Expr { enum
23 impl Expr { implementation
52 pub fn parse(iter: Iter) -> Result<Expr> { in parse()
71 fn parse_nightly(iter: Iter) -> Result<Expr> { in parse_nightly()
85 fn parse_stable(iter: Iter) -> Result<Expr> { in parse_stable()
99 fn parse_since(introducer: &Ident, iter: Iter) -> Result<Expr> { in parse_since()
110 fn parse_before(introducer: &Ident, iter: Iter) -> Result<Expr> { in parse_before()
121 fn parse_not(introducer: &Ident, iter: Iter) -> Result<Expr> { in parse_not()
132 fn parse_any(introducer: &Ident, iter: Iter) -> Result<Expr> { in parse_any()
141 fn parse_all(introducer: &Ident, iter: Iter) -> Result<Expr> { in parse_all()
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/go/types/
Dexpr.go90 func opName(e ast.Expr) string {
229 func (check *Checker) updateExprType(x ast.Expr, typ Type, final bool) {
233 func (check *Checker) updateExprType0(parent, x ast.Expr, typ Type, final bool) {
347 func (check *Checker) updateExprVal(x ast.Expr, val constant.Value) {
616 func (check *Checker) shift(x, y *operand, e ast.Expr, op token.Token) {
782 func (check *Checker) binary(x *operand, e ast.Expr, lhs, rhs ast.Expr, op token.Token, opPos token…
971 func (check *Checker) rawExpr(T *target, x *operand, e ast.Expr, hint Type, allowGeneric bool) expr…
1053 func (check *Checker) exprInternal(T *target, x *operand, e ast.Expr, hint Type) exprKind {
1529 func (check *Checker) typeAssertion(e ast.Expr, x *operand, T Type, typeSwitch bool) {
1548 func (check *Checker) expr(T *target, x *operand, e ast.Expr) {
[all …]
Dcall.go134 …*Checker) instantiateSignature(pos token.Pos, expr ast.Expr, typ *Signature, targs []Type, xlist […
334 func (check *Checker) exprList(elist []ast.Expr) (xlist []*operand) {
356 func (check *Checker) genericExprList(elist []ast.Expr) (resList []*operand, targsList [][]Type, xl…
459 …CallExpr, sig *Signature, targs []Type, xlist []ast.Expr, args []*operand, atargs [][]Type, atxlis…
978 func (check *Checker) use(args ...ast.Expr) bool { return check.useN(args, false) }
983 func (check *Checker) useLHS(args ...ast.Expr) bool { return check.useN(args, true) }
985 func (check *Checker) useN(args []ast.Expr, lhs bool) bool {
995 func (check *Checker) use1(e ast.Expr, lhs bool) bool {
Dtypexpr.go158 func (check *Checker) typ(e ast.Expr) Type {
165 func (check *Checker) varType(e ast.Expr) Type {
173 func (check *Checker) validVarType(e ast.Expr, typ Type) {
200 func (check *Checker) definedType(e ast.Expr, def *TypeName) Type {
214 func (check *Checker) genericType(e ast.Expr, cause *string) Type {
236 func (check *Checker) typInternal(e0 ast.Expr, def *TypeName) (T Type) {
509 func (check *Checker) arrayLength(e ast.Expr) int64 {
557 func (check *Checker) typeList(list []ast.Expr) []Type {
/aosp_15_r20/external/pytorch/test/cpp/tensorexpr/
H A Dtest_expr.cpp28 TEST(Expr, BasicValueTest) { in TEST() argument
35 TEST(Expr, BasicValueTest02) { in TEST() argument
45 TEST(Expr, IsChannelsLastContiguous) { in TEST() argument
172 TEST(Expr, LetTest01) { in TEST() argument
180 TEST(Expr, LetTest02) { in TEST() argument
191 TEST(Expr, LetStmtTest01) { in TEST() argument
214 TEST(Expr, IntTest) { in TEST() argument
222 TEST(Expr, FloatTest) { in TEST() argument
230 TEST(Expr, ByteTest) { in TEST() argument
239 TEST(Expr, CharTest) { in TEST() argument
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/go/printer/
Dnodes.go126 func (p *printer) exprList(prev0 token.Pos, list []ast.Expr, depth int, mode exprListMode, next0 to…
406 func combinesWithName(x ast.Expr) bool {
423 func isTypeElem(x ast.Expr) bool {
718 func diffPrec(expr ast.Expr, prec int) int {
810 func isBinary(expr ast.Expr) bool {
815 func (p *printer) expr1(expr ast.Expr, prec1, depth int) {
1149 func (p *printer) possibleSelectorExpr(expr ast.Expr, prec1, depth int) bool {
1176 func (p *printer) expr0(x ast.Expr, depth int) {
1180 func (p *printer) expr(x ast.Expr) {
1238 func isTypeName(x ast.Expr) bool {
[all …]
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/nom-7.1.3/tests/
H A Darithmetic_ast.rs16 pub enum Expr { enum
33 impl Display for Expr { implementation
47 impl Debug for Expr { implementation
61 fn parens(i: &str) -> IResult<&str, Expr> { in parens() argument
69 fn factor(i: &str) -> IResult<&str, Expr> { in factor() argument
79 fn fold_exprs(initial: Expr, remainder: Vec<(Oper, Expr)>) -> Expr { in fold_exprs() argument
91 fn term(i: &str) -> IResult<&str, Expr> { in term() argument
107 fn expr(i: &str) -> IResult<&str, Expr> { in expr() argument
/aosp_15_r20/external/rust/android-crates-io/crates/nom/tests/
Darithmetic_ast.rs16 pub enum Expr { enum
33 impl Display for Expr { implementation
47 impl Debug for Expr { implementation
61 fn parens(i: &str) -> IResult<&str, Expr> { in parens() argument
69 fn factor(i: &str) -> IResult<&str, Expr> { in factor() argument
79 fn fold_exprs(initial: Expr, remainder: Vec<(Oper, Expr)>) -> Expr { in fold_exprs() argument
91 fn term(i: &str) -> IResult<&str, Expr> { in term() argument
107 fn expr(i: &str) -> IResult<&str, Expr> { in expr() argument
/aosp_15_r20/prebuilts/go/linux-x86/src/go/build/constraint/
Dexpr.go25 type Expr interface { interface
77 func not(x Expr) Expr { return &NotExpr{x} }
97 func andArg(x Expr) string {
105 func and(x, y Expr) Expr {
127 func orArg(x Expr) string {
135 func or(x, y Expr) Expr {
473 func PlusBuildLines(x Expr) ([]string, error) {
538 func pushNot(x Expr, not bool) Expr {
578 func appendSplitAnd(list []Expr, x Expr) []Expr {
589 func appendSplitOr(list []Expr, x Expr) []Expr {
/aosp_15_r20/bootable/deprecated-ota/edify/include/edify/
H A Dexpr.h74 struct Expr { struct
77 std::vector<std::unique_ptr<Expr>> argv; argument
80 Expr(Function fn, const std::string& name, int start, int end) : in Expr() argument
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/cgo/
Dgcc.go1026 func (p *Package) needsPointerCheck(f *File, t ast.Expr, arg ast.Expr) bool {
1042 func (p *Package) hasPointer(f *File, t ast.Expr, top bool) bool {
1132 func (p *Package) mangle(f *File, arg *ast.Expr, addPosition bool) (ast.Expr, bool) {
1198 func (p *Package) checkIndex(sb, sbCheck *bytes.Buffer, arg ast.Expr, i int) bool {
1255 func (p *Package) checkAddr(sb, sbCheck *bytes.Buffer, arg ast.Expr, i int) bool {
1299 func (p *Package) checkSlice(sb, sbCheck *bytes.Buffer, arg ast.Expr, i int) bool {
1333 func (p *Package) checkUnsafeStringData(arg ast.Expr) bool {
1353 func (p *Package) isType(t ast.Expr) bool {
1399 func (p *Package) isUnsafeData(x ast.Expr, onlyStringData bool) bool {
1418 func (p *Package) isVariable(x ast.Expr) bool {
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/pest_meta/src/
Dast.rs60 pub enum Expr { enum
102 impl Expr { implementation
111 F: FnMut(Expr) -> Expr, in map_top_down()
113 fn map_internal<F>(expr: Expr, f: &mut F) -> Expr in map_top_down()
115 F: FnMut(Expr) -> Expr, in map_top_down()
185 F: FnMut(Expr) -> Expr, in map_bottom_up()
187 fn map_internal<F>(expr: Expr, f: &mut F) -> Expr in map_bottom_up()
189 F: FnMut(Expr) -> Expr, in map_bottom_up()
257 impl core::fmt::Display for Expr { implementation
349 fn iterate_expr(&mut self, expr: Expr) { in iterate_expr()
/aosp_15_r20/external/rust/android-crates-io/crates/winnow/examples/arithmetic/
Dparser_ast.rs16 pub enum Expr { enum
25 impl Expr { implementation
38 impl Display for Expr { implementation
52 pub fn expr(i: &mut &str) -> PResult<Expr> { in expr()
69 fn term(i: &mut &str) -> PResult<Expr> { in term()
86 fn factor(i: &mut &str) -> PResult<Expr> { in factor()
95 fn parens(i: &mut &str) -> PResult<Expr> { in parens()
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/Analysis/
H A DScalarEvolutionExpressions.h763 const SCEV *visitPtrToIntExpr(const SCEVPtrToIntExpr *Expr) { in visitPtrToIntExpr()
770 const SCEV *visitTruncateExpr(const SCEVTruncateExpr *Expr) { in visitTruncateExpr()
777 const SCEV *visitZeroExtendExpr(const SCEVZeroExtendExpr *Expr) { in visitZeroExtendExpr()
784 const SCEV *visitSignExtendExpr(const SCEVSignExtendExpr *Expr) { in visitSignExtendExpr()
791 const SCEV *visitAddExpr(const SCEVAddExpr *Expr) { in visitAddExpr()
801 const SCEV *visitMulExpr(const SCEVMulExpr *Expr) { in visitMulExpr()
811 const SCEV *visitUDivExpr(const SCEVUDivExpr *Expr) { in visitUDivExpr()
818 const SCEV *visitAddRecExpr(const SCEVAddRecExpr *Expr) { in visitAddRecExpr()
830 const SCEV *visitSMaxExpr(const SCEVSMaxExpr *Expr) { in visitSMaxExpr()
840 const SCEV *visitUMaxExpr(const SCEVUMaxExpr *Expr) { in visitUMaxExpr()
[all …]
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/syn-2.0.55/tests/
H A Dtest_precedence.rs184 fn librustc_parse_and_rewrite(input: &str) -> Option<P<ast::Expr>> { in librustc_parse_and_rewrite()
188 fn librustc_parenthesize(mut librustc_expr: P<ast::Expr>) -> P<ast::Expr> { in librustc_parenthesize()
244 fn noop_visit_expr<T: MutVisitor>(e: &mut Expr, vis: &mut T) { in librustc_parenthesize()
270 fn visit_expr(&mut self, e: &mut P<Expr>) { in librustc_parenthesize()
385 fn syn_parenthesize(syn_expr: syn::Expr) -> syn::Expr { in syn_parenthesize()
391 fn parenthesize(expr: Expr) -> Expr { in syn_parenthesize()
420 fn fold_expr(&mut self, expr: Expr) -> Expr { in syn_parenthesize()
471 fn make_parens_invisible(expr: syn::Expr) -> syn::Expr { in make_parens_invisible()
478 fn fold_expr(&mut self, mut expr: Expr) -> Expr { in make_parens_invisible()
510 fn collect_exprs(file: syn::File) -> Vec<syn::Expr> { in collect_exprs()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/syn/tests/
Dtest_precedence.rs184 fn librustc_parse_and_rewrite(input: &str) -> Option<P<ast::Expr>> { in librustc_parse_and_rewrite()
188 fn librustc_parenthesize(mut librustc_expr: P<ast::Expr>) -> P<ast::Expr> { in librustc_parenthesize()
244 fn noop_visit_expr<T: MutVisitor>(e: &mut Expr, vis: &mut T) { in librustc_parenthesize()
270 fn visit_expr(&mut self, e: &mut P<Expr>) { in librustc_parenthesize()
385 fn syn_parenthesize(syn_expr: syn::Expr) -> syn::Expr { in syn_parenthesize()
391 fn parenthesize(expr: Expr) -> Expr { in syn_parenthesize()
420 fn fold_expr(&mut self, expr: Expr) -> Expr { in syn_parenthesize()
471 fn make_parens_invisible(expr: syn::Expr) -> syn::Expr { in make_parens_invisible()
478 fn fold_expr(&mut self, mut expr: Expr) -> Expr { in make_parens_invisible()
510 fn collect_exprs(file: syn::File) -> Vec<syn::Expr> { in collect_exprs()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/winnow/examples/s_expression/
Dparser.rs19 pub fn eval_from_str(src: &str) -> Result<Expr, String> { in eval_from_str()
39 pub enum Expr { enum
73 fn parse_expr(i: &mut &'_ str) -> PResult<Expr> { in parse_expr()
82 fn parse_constant(i: &mut &'_ str) -> PResult<Expr> { in parse_constant()
169 fn parse_application(i: &mut &'_ str) -> PResult<Expr> { in parse_application()
182 fn parse_if(i: &mut &'_ str) -> PResult<Expr> { in parse_if()
210 fn parse_quote(i: &mut &'_ str) -> PResult<Expr> { in parse_quote()
249 fn eval_expression(e: Expr) -> Option<Expr> { in eval_expression()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/clang/ASTMatchers/
DASTMatchers.h729 AST_MATCHER_P(FieldDecl, hasInClassInitializer, internal::Matcher<Expr>, in AST_MATCHER_P()
893 AST_MATCHER_P(Expr, ignoringImplicit, internal::Matcher<Expr>, in AST_MATCHER_P() argument
923 AST_MATCHER_P(Expr, ignoringImpCasts, in AST_MATCHER_P() argument
924 internal::Matcher<Expr>, InnerMatcher) { in AST_MATCHER_P()
945 AST_MATCHER_P(Expr, ignoringParenCasts, internal::Matcher<Expr>, InnerMatcher) { in AST_MATCHER_P() argument
970 AST_MATCHER_P(Expr, ignoringParenImpCasts, in AST_MATCHER_P() argument
971 internal::Matcher<Expr>, InnerMatcher) { in AST_MATCHER_P()
1021 AST_MATCHER(Expr, isInstantiationDependent) { in AST_MATCHER() argument
1037 AST_MATCHER(Expr, isTypeDependent) { return Node.isTypeDependent(); } in AST_MATCHER() argument
1048 AST_MATCHER(Expr, isValueDependent) { return Node.isValueDependent(); } in AST_MATCHER() argument
[all …]

12345678910>>...48