| /NextBSD/contrib/llvm/tools/clang/lib/Sema/ |
| HD | JumpDiagnostics.cpp | 305 if (VarDecl *Var = cast<SwitchStmt>(S)->getConditionVariable()) { in BuildScopeInformation() 546 SwitchStmt *SS = cast<SwitchStmt>(Jump); in VerifyJumps()
|
| HD | SemaStmt.cpp | 661 SwitchStmt *SS = new (Context) SwitchStmt(Context, ConditionVar, Cond); in ActOnStartOfSwitchStmt() 730 SwitchStmt *SS = cast<SwitchStmt>(Switch); in ActOnFinishSwitchStmt()
|
| HD | AnalysisBasedWarnings.cpp | 950 if (Term && isa<SwitchStmt>(Term)) in checkFallThroughIntoBlock() 1015 bool VisitSwitchStmt(SwitchStmt *S) { in VisitSwitchStmt()
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/Sema/ |
| HD | ScopeInfo.h | 41 class SwitchStmt; variable 138 SmallVector<SwitchStmt*, 8> SwitchStack;
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| HD | CoreEngine.h | 525 const SwitchStmt *getSwitch() const { in getSwitch() 526 return cast<SwitchStmt>(Src->getTerminator()); in getSwitch()
|
| /NextBSD/contrib/llvm/tools/clang/lib/CodeGen/ |
| HD | CodeGenPGO.cpp | 119 SwitchStmt, enumerator 207 return PGOHash::SwitchStmt; in getHashType() 491 void VisitSwitchStmt(const SwitchStmt *S) { in VisitSwitchStmt()
|
| HD | CGStmt.cpp | 138 case Stmt::SwitchStmtClass: EmitSwitchStmt(cast<SwitchStmt>(*S)); break; in EmitStmt() 1460 static bool FindCaseStatementsForValue(const SwitchStmt &S, in FindCaseStatementsForValue() 1513 void CodeGenFunction::EmitSwitchStmt(const SwitchStmt &S) { in EmitSwitchStmt()
|
| HD | CodeGenFunction.cpp | 970 if (isa<SwitchStmt>(S)) in ContainsLabel() 990 if (isa<SwitchStmt>(S) || isa<WhileStmt>(S) || isa<DoStmt>(S) || in containsBreak()
|
| HD | CoverageMappingGen.cpp | 753 void VisitSwitchStmt(const SwitchStmt *S) { in VisitSwitchStmt()
|
| HD | CGStmtOpenMP.cpp | 1260 auto *SwitchStmt = CGF.Builder.CreateSwitch( in EmitSections() local 1267 SwitchStmt->addCase(CGF.Builder.getInt32(CaseNumber), CaseBB); in EmitSections()
|
| /NextBSD/contrib/llvm/tools/clang/lib/AST/ |
| HD | ParentMap.cpp | 193 return DirectChild == cast<SwitchStmt>(P)->getCond(); in isConsumedExpr()
|
| HD | Stmt.cpp | 944 SwitchStmt::SwitchStmt(const ASTContext &C, VarDecl *Var, Expr *cond) in SwitchStmt() function in SwitchStmt 951 VarDecl *SwitchStmt::getConditionVariable() const { in getConditionVariable() 959 void SwitchStmt::setConditionVariable(const ASTContext &C, VarDecl *V) { in setConditionVariable()
|
| HD | StmtProfile.cpp | 121 void StmtProfiler::VisitSwitchStmt(const SwitchStmt *S) { in VisitSwitchStmt()
|
| HD | ASTImporter.cpp | 185 Stmt *VisitSwitchStmt(SwitchStmt *S); 4715 Stmt *ASTNodeImporter::VisitSwitchStmt(SwitchStmt *S) { in VisitSwitchStmt() 4726 SwitchStmt *ToStmt = new (Importer.getToContext()) SwitchStmt( in VisitSwitchStmt()
|
| /NextBSD/contrib/llvm/tools/clang/lib/ARCMigrate/ |
| HD | TransProtectedScope.cpp | 63 bool VisitSwitchStmt(SwitchStmt *S) { in VisitSwitchStmt()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Analysis/ |
| HD | CFG.cpp | 407 CFGBlock *VisitSwitchStmt(SwitchStmt *S); 1551 return VisitSwitchStmt(cast<SwitchStmt>(S)); in Visit() 2987 CFGBlock *CFGBuilder::VisitSwitchStmt(SwitchStmt *Terminator) { in VisitSwitchStmt() 3879 if (const SwitchStmt *S = in FilterEdge() 3880 dyn_cast_or_null<SwitchStmt>(From->getTerminator().getStmt())) { in FilterEdge() 3945 cast<SwitchStmt>(stmt)->getConditionVariable(); in StmtPrinterHelper() 4059 void VisitSwitchStmt(SwitchStmt *Terminator) { in VisitSwitchStmt() 4510 E = cast<SwitchStmt>(Terminator)->getCond(); in getTerminatorCondition()
|
| HD | ReachableCode.cpp | 255 if (isa<SwitchStmt>(Term)) in shouldTreatSuccessorsAsReachable()
|
| HD | UninitializedValues.cpp | 652 if (isa<SwitchStmt>(Term)) { in getUninitUse()
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/Basic/ |
| HD | StmtNodes.td | 17 def SwitchStmt : Stmt;
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/AST/ |
| HD | Stmt.h | 48 class SwitchStmt; variable 951 class SwitchStmt : public Stmt { 962 SwitchStmt(const ASTContext &C, VarDecl *Var, Expr *cond); 965 explicit SwitchStmt(EmptyShell Empty) : Stmt(SwitchStmtClass, Empty) { } in SwitchStmt() function
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/ASTMatchers/ |
| HD | ASTMatchers.h | 1284 const internal::VariadicDynCastAllOfMatcher<Stmt, SwitchStmt> switchStmt; 4029 AST_MATCHER_P(SwitchStmt, forEachSwitchCase, internal::Matcher<SwitchCase>, in AST_MATCHER_P() argument
|
| /NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
| HD | CoreEngine.cpp | 439 SwitchNodeBuilder builder(Pred, B, cast<SwitchStmt>(Term)->getCond(), in HandleBlockExit()
|
| HD | ExprEngine.cpp | 1828 const SwitchStmt *SS = builder.getSwitch(); in processSwitch() 2547 if (isa<SwitchStmt>(T)) { in getNodeLabel()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Frontend/Rewrite/ |
| HD | RewriteObjC.cpp | 4588 if (isa<SwitchStmt>(S) || isa<WhileStmt>(S) || in RewriteFunctionBodyOrGlobalInitializer() 4754 if (isa<SwitchStmt>(S) || isa<WhileStmt>(S) || in RewriteFunctionBodyOrGlobalInitializer() 4757 assert ((isa<SwitchStmt>(Stmts.back()) || isa<WhileStmt>(Stmts.back()) || in RewriteFunctionBodyOrGlobalInitializer()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Serialization/ |
| HD | ASTReaderStmt.cpp | 195 void ASTStmtReader::VisitSwitchStmt(SwitchStmt *S) { in VisitSwitchStmt() 2387 S = new (Context) SwitchStmt(Empty); in ReadStmtFromStream()
|