Home
last modified time | relevance | path

Searched refs:ExprNode (Results 1 – 9 of 9) sorted by relevance

/external/bcc/src/cc/frontends/b/
Dparser.yy57 ExprNode *expr;
176 { $$ = new ExprStmtNode(ExprNode::Ptr($1));
179 { $$ = new ExprStmtNode(ExprNode::Ptr($1));
182 { $$ = new ExprStmtNode(ExprNode::Ptr($1));
185 { $$ = new ExprStmtNode(ExprNode::Ptr($1));
190 { $$ = new ExprStmtNode(ExprNode::Ptr($1));
353 : expr { $$ = new ExprNodeList; $$->push_back(ExprNode::Ptr($1)); }
354 | init_args TCOMMA expr { $$->push_back(ExprNode::Ptr($3)); }
359 : init_arg_kv { $$ = new ExprNodeList; $$->push_back(ExprNode::Ptr($1)); }
360 | init_args_kv TCOMMA init_arg_kv { $$->push_back(ExprNode::Ptr($3)); }
[all …]
Dtype_check.cc68 if (n->cond_->typeof_ != ExprNode::INTEGER) in visit_switch_stmt_node()
80 if (n->value_->typeof_ != ExprNode::INTEGER) in visit_case_stmt_node()
92 n->typeof_ = ExprNode::UNKNOWN; in visit_ident_expr_node()
95 n->typeof_ = ExprNode::INTEGER; in visit_ident_expr_node()
97 n->flags_[ExprNode::WRITE] = true; in visit_ident_expr_node()
99 n->typeof_ = ExprNode::STRUCT; in visit_ident_expr_node()
103 n->flags_[ExprNode::PROTO] = true; in visit_ident_expr_node()
117 n->flags_[ExprNode::PROTO] = true; in visit_ident_expr_node()
130 n->typeof_ = ExprNode::INTEGER; in visit_ident_expr_node()
132 n->flags_[ExprNode::WRITE] = true; in visit_ident_expr_node()
[all …]
Dnode.h139 class ExprNode : public Node {
141 typedef unique_ptr<ExprNode> Ptr;
150 ExprNode() : typeof_(UNKNOWN), struct_type_(NULL), flags_(1 << READ) {} in ExprNode() function
151 void copy_type(const ExprNode& other) { in copy_type()
162 typedef vector<ExprNode::Ptr> ExprNodeList;
164 class IdentExprNode : public ExprNode {
222 class BitopExprNode : public ExprNode {
226 ExprNode::Ptr expr_;
235 class AssignExprNode : public ExprNode {
240 ExprNode::Ptr lhs_;
[all …]
Dparser.cc48 VariableDeclStmtNode *Parser::variable_add(vector<int> *types, VariableDeclStmtNode *decl, ExprNode in variable_add()
49 AssignExprNode::Ptr assign(new AssignExprNode(decl->id_->copy(), ExprNode::Ptr(init_expr))); in variable_add()
Dparser.h43 …VariableDeclStmtNode * variable_add(vector<int> *types, VariableDeclStmtNode *decl, ExprNode *init…
Dcodegen_llvm.cc325 if (n->lhs_->flags_[ExprNode::PROTO]) { in visit_assign_expr_node()
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorSyclConvertToDeviceExpression.h95 #define KERNELBROKERCONVERT(CVQual, Res, ExprNode)\ argument
97 struct ConvertToDeviceExpression<CVQual ExprNode<Expr> > \
98 : DeviceConvertor<ExprNode, Res, Expr>{};
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h2438 const Expr *ExprNode = Node.getImplicitObjectArgument() in AST_MATCHER_P() local
2440 return (ExprNode != nullptr && in AST_MATCHER_P()
2441 InnerMatcher.matches(*ExprNode, Finder, Builder)); in AST_MATCHER_P()
2559 const Expr *ExprNode = Node.getCallee(); in AST_MATCHER_P() local
2560 return (ExprNode != nullptr && in AST_MATCHER_P()
2561 InnerMatcher.matches(*ExprNode, Finder, Builder)); in AST_MATCHER_P()
2721 const Expr *ExprNode = Node.getImplicitObjectArgument(); in AST_MATCHER_P() local
2722 return (ExprNode != nullptr && in AST_MATCHER_P()
2723 InnerMatcher.matches(*ExprNode, Finder, Builder)); in AST_MATCHER_P()
/external/clang/lib/ASTMatchers/
DASTMatchFinder.cpp151 const Expr *ExprNode = dyn_cast_or_null<Expr>(StmtNode); in TraverseStmt() local
152 if (ExprNode) { in TraverseStmt()
153 StmtToTraverse = ExprNode->IgnoreParenImpCasts(); in TraverseStmt()