Home
last modified time | relevance | path

Searched refs:cur_switch_ (Results 1 – 2 of 2) sorted by relevance

/external/bcc/src/cc/frontends/b/
Dcodegen_llvm.cc85 : old_sw_(cc->cur_switch_), cc_(cc) { in SwitchStack()
86 cc_->cur_switch_ = sw; in SwitchStack()
89 cc_->cur_switch_ = old_sw_; in ~SwitchStack()
220 if (!cur_switch_) return mkstatus_(n, "no valid switch instruction"); in visit_case_stmt_node()
227 Value *cond = B.CreateIntCast(pop_expr(), cur_switch_->getCondition()->getType(), false); in visit_case_stmt_node()
228 cur_switch_->addCase(cast<ConstantInt>(cond), dest); in visit_case_stmt_node()
230 dest = cur_switch_->getDefaultDest(); in visit_case_stmt_node()
Dcodegen_llvm.h126 llvm::SwitchInst *cur_switch_; variable