Home
last modified time | relevance | path

Searched refs:DefaultStmt (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenStmt.cpp443 assert((isa<CaseStmt, DefaultStmt>(stmt)) && in emitCaseDefaultCascade()
461 if (isa<DefaultStmt>(sub) && isa<CaseStmt>(stmt)) { in emitCaseDefaultCascade()
464 } else if (isa<CaseStmt>(sub) && isa<DefaultStmt, CaseStmt>(stmt)) { in emitCaseDefaultCascade()
509 result = emitDefaultStmt(*cast<DefaultStmt>(sub), condType, in emitCaseDefaultCascade()
545 mlir::LogicalResult CIRGenFunction::emitDefaultStmt(const clang::DefaultStmt &s, in emitDefaultStmt()
562 return emitDefaultStmt(cast<DefaultStmt>(s), condTypeStack.back(), in emitSwitchCase()
H A DCIRGenFunction.h943 mlir::LogicalResult emitDefaultStmt(const clang::DefaultStmt &s,
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DProgramPoint.cpp289 assert(isa<DefaultStmt>(Label)); in printJson()
H A DCFG.cpp609 CFGBlock *VisitDefaultStmt(DefaultStmt *D);
2391 return VisitDefaultStmt(cast<DefaultStmt>(S)); in Visit()
4649 CFGBlock *CFGBuilder::VisitDefaultStmt(DefaultStmt *Terminator) { in VisitDefaultStmt()
6074 } else if (isa<DefaultStmt>(Label)) in print_block()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmt.cpp534 EmitDefaultStmt(cast<DefaultStmt>(*S), Attrs); in EmitSimpleStmt()
1964 void CodeGenFunction::EmitDefaultStmt(const DefaultStmt &S, in EmitDefaultStmt()
2173 const DefaultStmt *DefaultCase = nullptr; in FindCaseStatementsForValue()
2178 if (const DefaultStmt *DS = dyn_cast<DefaultStmt>(Case)) { in FindCaseStatementsForValue()
2361 if (isa<DefaultStmt>(Case)) in EmitSwitchStmt()
H A DCodeGenPGO.cpp105 DefaultStmt, enumerator
509 return PGOHash::DefaultStmt; in DEFINE_NESTABLE_TRAVERSAL()
H A DCoverageMappingGen.cpp1921 HasDefaultCase = HasDefaultCase || isa<DefaultStmt>(Case); in VisitSwitchStmt()
H A DCodeGenFunction.h3607 void EmitDefaultStmt(const DefaultStmt &S, ArrayRef<const Attr *> Attrs);
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DJumpDiagnostics.cpp732 else if (DefaultStmt *DS = dyn_cast<DefaultStmt>(SC)) in VerifyJumps()
H A DSemaStmt.cpp592 DefaultStmt *DS = new (Context) DefaultStmt(DefaultLoc, ColonLoc, SubStmt); in ActOnDefaultStmt()
1370 DefaultStmt *TheDefaultStmt = nullptr; in ActOnFinishSwitchStmt()
1380 if (DefaultStmt *DS = dyn_cast<DefaultStmt>(SC)) { in ActOnFinishSwitchStmt()
H A DAnalysisBasedWarnings.cpp1121 Range = cast<DefaultStmt>(Term)->getDefaultLoc(); in DiagUninitUse()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmt.h2081 class DefaultStmt : public SwitchCase {
2085 DefaultStmt(SourceLocation DL, SourceLocation CL, Stmt *substmt)
2089 explicit DefaultStmt(EmptyShell Empty)
2119 else if (const auto *DS = dyn_cast<DefaultStmt>(this))
2127 else if (auto *DS = dyn_cast<DefaultStmt>(this))
H A DRecursiveASTVisitor.h2473 DEF_TRAVERSE_STMT(DefaultStmt, {})
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td25 def DefaultStmt : StmtNode<SwitchCase>;
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DPtrTypesSemantics.cpp612 bool VisitDefaultStmt(const DefaultStmt *DS) { return VisitChildren(DS); } in VisitDefaultStmt()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DCompiler.h231 bool visitDefaultStmt(const DefaultStmt *S);
H A DCompiler.cpp5288 return visitDefaultStmt(cast<DefaultStmt>(S)); in visitStmt()
5746 bool Compiler<Emitter>::visitDefaultStmt(const DefaultStmt *S) { in visitDefaultStmt()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp948 const internal::VariadicDynCastAllOfMatcher<Stmt, DefaultStmt> defaultStmt;
/freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp1446 bool WalkUpFromDefaultStmt(DefaultStmt *S) { in WalkUpFromDefaultStmt()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp183 void ASTStmtReader::VisitDefaultStmt(DefaultStmt *S) { in VisitDefaultStmt()
3068 S = new (Context) DefaultStmt(Empty); in ReadStmtFromStream()
H A DASTWriterStmt.cpp176 void ASTStmtWriter::VisitDefaultStmt(DefaultStmt *S) { in VisitDefaultStmt()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DStmtProfile.cpp269 void StmtProfiler::VisitDefaultStmt(const DefaultStmt *S) { in VisitDefaultStmt()
H A DStmtPrinter.cpp289 void StmtPrinter::VisitDefaultStmt(DefaultStmt *Node) { in VisitDefaultStmt()
H A DASTImporter.cpp589 ExpectedStmt VisitDefaultStmt(DefaultStmt *S);
7230 ExpectedStmt ASTNodeImporter::VisitDefaultStmt(DefaultStmt *S) { in VisitDefaultStmt()
7239 return new (Importer.getToContext()) DefaultStmt( in VisitDefaultStmt()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h2407 extern const internal::VariadicDynCastAllOfMatcher<Stmt, DefaultStmt>

12