Searched refs:Stmt (Results 126 - 150 of 320) sorted by relevance

1234567891011>>

/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTRecordWriter.h33 SmallVector<Stmt *, 16> StmtsToEmit;
118 void AddStmt(Stmt *S) {
121 void writeStmtRef(const Stmt *S) {
122 AddStmt(const_cast<Stmt*>(S));
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DByteCodeStmtGen.h60 bool visitStmt(const Stmt *S);
H A DContext.h27 class Stmt;
H A DByteCodeEmitter.h58 bool bail(const Stmt *S) { return bail(S->getBeginLoc()); }
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DCallGraph.cpp19 #include "clang/AST/Stmt.h"
53 void VisitStmt(Stmt *S) { VisitChildren(S); }
131 void VisitChildren(Stmt *S) {
132 for (Stmt *SubStmt : S->children())
186 if (Stmt *Body = D->getBody())
H A DBodyFarm.cpp61 CompoundStmt *makeCompound(ArrayRef<Stmt*>);
132 CompoundStmt *ASTMaker::makeCompound(ArrayRef<Stmt *> Stmts) {
245 typedef Stmt *(*FunctionFarmer)(ASTContext &C, const FunctionDecl *D);
316 static Stmt *create_call_once(ASTContext &C, const FunctionDecl *D) {
477 static Stmt *create_dispatch_once(ASTContext &C, const FunctionDecl *D) {
535 Stmt *Stmts[] = { B, CE };
560 static Stmt *create_dispatch_sync(ASTContext &C, const FunctionDecl *D) {
586 static Stmt *create_OSAtomicCompareAndSwap(ASTContext &C, const FunctionDecl *D)
636 Stmt *Stmts[2];
655 Stmt *Els
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DRDFDeadCode.cpp84 if (!DFG.IsCode<NodeAttrs::Stmt>(IA))
162 if (DFG.IsCode<NodeAttrs::Stmt>(IA))
197 if (Kind == NodeAttrs::Stmt || Kind == NodeAttrs::Phi) {
234 if (!DFG.IsCode<NodeAttrs::Stmt>(IA))
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DASTImporter.h46 class Stmt;
273 llvm::DenseMap<Stmt *, Stmt *> ImportedStmts;
429 llvm::Expected<Stmt *> Import(Stmt *FromS);
/freebsd-13-stable/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp60 // nodes (\c Stmt and \c Decl, but not \c QualType or \c TypeLoc).
105 // actually be Decl, Stmt, or Type):
117 else if (const Stmt *S = DynNode.get<Stmt>())
149 Stmt *getStmtToTraverse(Stmt *StmtNode) {
150 Stmt *StmtToTraverse = StmtNode;
169 bool TraverseStmt(Stmt *StmtNode, DataRecursionQueue *Queue = nullptr) {
175 Stmt *StmtToTraverse = getStmtToTraverse(StmtNode);
287 bool baseTraverse(const Stmt
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Index/
H A DIndexBody.cpp22 SmallVector<Stmt*, 16> StmtStack;
26 Stmt *getParentStmt() const {
36 bool dataTraverseStmtPre(Stmt *S) {
41 bool dataTraverseStmtPost(Stmt *S) {
73 const Stmt *Parent = *It;
232 Stmt *Containing = getParentStmt();
408 for (Stmt *SubStmt : Form->children()) {
471 void IndexingContext::indexBody(const Stmt *S, const NamedDecl *Parent,
478 BodyIndexer(*this, Parent, DC).TraverseStmt(const_cast<Stmt*>(S));
H A DIndexingContext.h30 class Stmt;
118 void indexBody(const Stmt *S, const NamedDecl *Parent,
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocChecker.cpp143 const Stmt *S;
148 RefState(Kind k, const Stmt *s, AllocationFamily family)
160 const Stmt *getStmt() const { return S; }
166 static RefState getAllocated(AllocationFamily family, const Stmt *s) {
173 static RefState getReleased(AllocationFamily family, const Stmt *s) {
176 static RefState getRelinquished(AllocationFamily family, const Stmt *s) {
330 void checkLocation(SVal l, bool isLoad, const Stmt *S,
640 bool checkUseAfterFree(SymbolRef Sym, CheckerContext &C, const Stmt *S) const;
645 const Stmt *S) const;
773 const Stmt *Stm
772 isAllocated(const RefState *RSCurr, const RefState *RSPrev, const Stmt *Stmt) argument
783 isReleased(const RefState *RSCurr, const RefState *RSPrev, const Stmt *Stmt) argument
794 isRelinquished(const RefState *RSCurr, const RefState *RSPrev, const Stmt *Stmt) argument
807 hasReallocFailed(const RefState *RSCurr, const RefState *RSPrev, const Stmt *Stmt) argument
[all...]
H A DObjCUnusedIVarsChecker.cpp32 static void Scan(IvarUsageMap& M, const Stmt *S) {
59 for (const Stmt *SubStmt : S->children())
H A DNumberObjectConversionChecker.cpp66 (Result.Nodes.getNodeAs<Stmt>("pedantic") != nullptr);
102 const Stmt *Conv = Result.Nodes.getNodeAs<Stmt>("conv");
116 (Result.Nodes.getNodeAs<Stmt>("comparison") != nullptr);
H A DObjCSelfInitChecker.cpp74 void checkLocation(SVal location, bool isLoad, const Stmt *S,
76 void checkBind(SVal loc, SVal val, const Stmt *S, CheckerContext &C) const;
301 const Stmt *S,
316 void ObjCSelfInitChecker::checkBind(SVal loc, SVal val, const Stmt *S,
H A DPointerIterationChecker.cpp40 const auto *MarkedStmt = Match.getNodeAs<Stmt>(WarnAtNode);
H A DDynamicTypeChecker.cpp60 const MemRegion *Reg, const Stmt *ReportedNode,
71 const Stmt *ReportedNode,
106 const Stmt *S = N->getStmtForDiagnostics();
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExplodedGraph.h50 class Stmt;
177 SVal getSVal(const Stmt *S) const {
276 const Stmt *getStmtForDiagnostics() const;
282 const Stmt *getNextStmtForDiagnostics() const;
288 const Stmt *getPreviousStmtForDiagnostics() const;
294 const Stmt *getCurrentOrPreviousStmtForDiagnostics() const;
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DExprObjC.cpp339 Stmt::child_range ObjCMessageExpr::children() {
340 Stmt **begin;
342 begin = reinterpret_cast<Stmt **>(getTrailingObjects<void *>());
344 begin = reinterpret_cast<Stmt **>(getArgs());
346 reinterpret_cast<Stmt **>(getArgs() + getNumArgs()));
349 Stmt::const_child_range ObjCMessageExpr::children() const {
H A DExternalASTSource.cpp83 Stmt *ExternalASTSource::GetExternalDeclStmt(uint64_t Offset) {
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTStructExtractor.cpp19 #include "clang/AST/Stmt.h"
54 Stmt *body_stmt = F->getBody();
67 Stmt *curr_stmt = *bi;
/freebsd-13-stable/contrib/llvm-project/clang/lib/Parse/
H A DParseAST.cpp17 #include "clang/AST/Stmt.h"
118 Stmt::EnableStatistics();
186 Stmt::PrintStats();
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DScopeInfo.h58 class Stmt;
89 llvm::TinyPtrVector<const Stmt*> Stmts;
92 ArrayRef<const Stmt *> Stmts)
200 llvm::SmallMapVector<ParmVarDecl *, Stmt *, 4> CoroutineParameterMoves;
203 std::pair<Stmt *, Stmt *> CoroutineSuspends;
494 void setCoroutineSuspends(Stmt *Initial, Stmt *Final) {
/freebsd-13-stable/contrib/llvm-project/lldb/tools/lldb-instr/
H A DInstrument.cpp139 bool VisitReturnStmt(ReturnStmt *Stmt) { argument
140 Expr *E = Stmt->getRetValue();
175 Stmt *Body = Decl->getBody();
279 Stmt *Body = Decl->getBody();
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporterVisitors.h32 class Stmt;
119 const Expr *getDerefExpr(const Stmt *S);
209 static const Expr *getNilReceiver(const Stmt *S, const ExplodedNode *N);
239 VisitTerminator(const Stmt *Term, const ExplodedNode *N,

Completed in 297 milliseconds

1234567891011>>