Home
last modified time | relevance | path

Searched refs:IntegerExprNode (Results 1 – 5 of 5) sorted by relevance

/external/bcc/src/cc/frontends/b/
Dnode.h62 EXPAND(IntegerExprNode, integer_expr_node) \
273 class IntegerExprNode : public ExprNode {
275 DECLARE(IntegerExprNode)
279 IntegerExprNode(string* val, string* bits) in IntegerExprNode() function
284 explicit IntegerExprNode(string* val) in IntegerExprNode() function
288 explicit IntegerExprNode(const string& val) : bits_(0), val_(val) {} in IntegerExprNode() function
289 explicit IntegerExprNode(const string& val, size_t bits) : bits_(bits), val_(val) {} in IntegerExprNode() function
422 IntegerExprNode::Ptr value_;
424 CaseStmtNode(IntegerExprNode::Ptr value, BlockStmtNode::Ptr block) in CaseStmtNode()
Dparser.yy61 IntegerExprNode *numeric;
412 { $$ = new CaseStmtNode(IntegerExprNode::Ptr($2), BlockStmtNode::Ptr($3));
421 { $$ = new IntegerExprNode($1);
424 { $$ = new IntegerExprNode($1);
427 { $$ = new IntegerExprNode($1, $3);
430 { $$ = new IntegerExprNode($1, $3);
433 { $$ = new IntegerExprNode(new string("1"), new string("1"));
436 { $$ = new IntegerExprNode(new string("0"), new string("1"));
Dtype_check.cc178 StatusTuple TypeCheck::visit_integer_expr_node(IntegerExprNode *n) { in visit_integer_expr_node()
393 … n->init_.push_back(make_unique<AssignExprNode>(move(id), make_unique<IntegerExprNode>("0"))); in visit_struct_variable_decl_stmt_node()
432 …push_back(make_unique<AssignExprNode>(offset_var->id_->copy(), make_unique<IntegerExprNode>("0"))); in visit_state_decl_stmt_node()
449 … make_unique<IntegerExprNode>(std::to_string(p->bit_width_ >> 3), 64)); in visit_state_decl_stmt_node()
570 …sh_back(make_unique<AssignExprNode>(parsed_bytes->id_->copy(), make_unique<IntegerExprNode>("0"))); in visit()
Dprinter.cc111 StatusTuple Printer::visit_integer_expr_node(IntegerExprNode* n) { in visit_integer_expr_node()
Dcodegen_llvm.cc413 StatusTuple CodegenLLVM::visit_integer_expr_node(IntegerExprNode *n) { in visit_integer_expr_node()