Home
last modified time | relevance | path

Searched refs:SwitchStack (Results 1 – 16 of 16) sorted by relevance

/external/bcc/src/cc/frontends/b/
Dcodegen_llvm.h51 class SwitchStack; variable
59 friend class SwitchStack; variable
Dcodegen_llvm.cc82 class SwitchStack { class
84 explicit SwitchStack(CodegenLLVM *cc, SwitchInst *sw) in SwitchStack() function in ebpf::cc::SwitchStack
88 ~SwitchStack() { in ~SwitchStack()
208 SwitchStack sstack(this, switch_inst); in visit_switch_stmt_node()
/external/clang/lib/Sema/
DScopeInfo.cpp41 SwitchStack.clear(); in Clear()
DSemaStmtAttr.cpp41 if (FnScope->SwitchStack.empty()) { in handleFallThroughAttr()
DSemaStmt.cpp381 if (getCurFunction()->SwitchStack.empty()) { in ActOnCaseStmt()
391 getCurFunction()->SwitchStack.back()->getCond()) { in ActOnCaseStmt()
433 getCurFunction()->SwitchStack.back()->addSwitchCase(CS); in ActOnCaseStmt()
450 if (getCurFunction()->SwitchStack.empty()) { in ActOnDefaultStmt()
456 getCurFunction()->SwitchStack.back()->addSwitchCase(DS); in ActOnDefaultStmt()
675 getCurFunction()->SwitchStack.push_back(SS); in ActOnStartOfSwitchStmt()
742 assert(SS == getCurFunction()->SwitchStack.back() && in ActOnFinishSwitchStmt()
745 getCurFunction()->SwitchStack.pop_back(); in ActOnFinishSwitchStmt()
DSemaCodeComplete.cpp1723 if (!SemaRef.getCurFunction()->SwitchStack.empty()) { in AddOrdinaryNameResults()
3845 if (getCurFunction()->SwitchStack.empty() || !CodeCompleter) in CodeCompleteCase()
3848 SwitchStmt *Switch = getCurFunction()->SwitchStack.back(); in CodeCompleteCase()
DSemaLookup.cpp4436 if (!SemaRef.getCurFunction()->SwitchStack.empty()) { in AddKeywordsToConsumer()
/external/llvm-project/clang/lib/Sema/
DScopeInfo.cpp51 SwitchStack.clear(); in Clear()
DSemaStmt.cpp449 if (getCurFunction()->SwitchStack.empty()) in ActOnCaseExpr()
454 getCurFunction()->SwitchStack.back().getPointer()->getCond(); in ActOnCaseExpr()
500 if (getCurFunction()->SwitchStack.empty()) { in ActOnCaseStmt()
506 getCurFunction()->SwitchStack.back().setInt(true); in ActOnCaseStmt()
512 getCurFunction()->SwitchStack.back().getPointer()->addSwitchCase(CS); in ActOnCaseStmt()
524 if (getCurFunction()->SwitchStack.empty()) { in ActOnDefaultStmt()
530 getCurFunction()->SwitchStack.back().getPointer()->addSwitchCase(DS); in ActOnDefaultStmt()
800 getCurFunction()->SwitchStack.push_back( in ActOnStartOfSwitchStmt()
900 bool CaseListIsIncomplete = getCurFunction()->SwitchStack.back().getInt(); in ActOnFinishSwitchStmt()
901 assert(SS == getCurFunction()->SwitchStack.back().getPointer() && in ActOnFinishSwitchStmt()
[all …]
DSemaStmtAttr.cpp39 if (FnScope->SwitchStack.empty()) { in handleFallThroughAttr()
DSemaCodeComplete.cpp2228 !SemaRef.getCurFunction()->SwitchStack.empty()) { in AddOrdinaryNameResults()
5420 if (getCurFunction()->SwitchStack.empty() || !CodeCompleter) in CodeCompleteCase()
5423 SwitchStmt *Switch = getCurFunction()->SwitchStack.back().getPointer(); in CodeCompleteCase()
DSemaLookup.cpp4751 !SemaRef.getCurFunction()->SwitchStack.empty()) { in AddKeywordsToConsumer()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_exec.h418 struct tgsi_switch_record SwitchStack[TGSI_EXEC_MAX_SWITCH_NESTING]; member
Dtgsi_exec.c3539 mach->SwitchStack[mach->SwitchStackTop++] = mach->Switch; in exec_switch()
3554 uint prevMask = mach->SwitchStack[mach->SwitchStackTop - 1].mask; in exec_case()
3584 uint prevMask = mach->SwitchStack[mach->SwitchStackTop - 1].mask; in exec_default()
3594 mach->Switch = mach->SwitchStack[--mach->SwitchStackTop]; in exec_endswitch()
5516 mach->SwitchStack[mach->SwitchStackTop++] = mach->Switch; in exec_instruction()
5561 mach->Switch = mach->SwitchStack[mach->SwitchStackTop]; in exec_instruction()
5786 mach->Switch = mach->SwitchStack[mach->SwitchStackTop]; in exec_instruction()
/external/clang/include/clang/Sema/
DScopeInfo.h148 SmallVector<SwitchStmt*, 8> SwitchStack; variable
/external/llvm-project/clang/include/clang/Sema/
DScopeInfo.h191 SmallVector<SwitchInfo, 8> SwitchStack; variable