HomeSort by relevance Sort by last modified time
    Searched refs:STMT (Results 1 - 22 of 22) sorted by null

  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/lib/gcc/x86_64-w64-mingw32/4.8.3/plugin/include/
tree-ssa-operands.h 36 /* This represents the USE operands of a stmt. */
70 #define USE_STMT(USE) (USE)->loc.stmt
95 extern bool verify_ssa_operands (gimple stmt);
129 gimple stmt; member in struct:ssa_operand_iterator_d
147 /* This macro executes a loop over the operands of STMT specified in FLAG,
150 #define FOR_EACH_SSA_TREE_OPERAND(TREEVAR, STMT, ITER, FLAGS) \
151 for (TREEVAR = op_iter_init_tree (&(ITER), STMT, FLAGS); \
155 /* This macro executes a loop over the operands of STMT specified in FLAG,
158 #define FOR_EACH_SSA_USE_OPERAND(USEVAR, STMT, ITER, FLAGS) \
159 for (USEVAR = op_iter_init_use (&(ITER), STMT, FLAGS);
    [all...]
tree-flow.h 39 gimple stmt; variable
90 /* Map gimple stmt to tree label (or list of labels) for transaction
198 this marker node is uniquely identified by having null stmt *and* a
217 /* This node is inserted and used to mark the end of the uses for a stmt. */
233 /* Use this iterator to visit each stmt which has a use of SSAVAR. */
235 #define FOR_EACH_IMM_USE_STMT(STMT, ITER, SSAVAR) \
236 for ((STMT) = first_imm_use_stmt (&(ITER), (SSAVAR)); \
238 (void) ((STMT) = next_imm_use_stmt (&(ITER))))
251 get access to each occurrence of ssavar on the stmt returned by
254 FOR_EACH_IMM_USE_STMT (stmt, iter, var
    [all...]
  /external/clang/include/clang/AST/
ASTFwd.h 20 class Stmt;
21 #define STMT(DERIVED, BASE) class DERIVED;
StmtVisitor.h 1 //===--- StmtVisitor.h - Visitor for Stmt subclasses ------------*- C++ -*-===//
28 /// StmtVisitorBase - This class implements a simple visitor for Stmt
29 /// subclasses. Since Expr derives from Stmt, this also includes support for
39 RetTy Visit(PTR(Stmt) S) {
42 // optimizer (e.g. LLVM) will fold this comparison into the switch stmt
99 // Top switch stmt: dispatch to VisitFooStmt for each FooStmt.
101 default: llvm_unreachable("Unknown stmt kind!");
102 #define ABSTRACT_STMT(STMT)
103 #define STMT(CLASS, PARENT) \
104 case Stmt::CLASS ## Class: DISPATCH(CLASS, CLASS)
    [all...]
ASTTypeTraits.h 22 #include "clang/AST/Stmt.h"
88 #define STMT(DERIVED, BASE) NKI_##DERIVED,
135 KIND_TO_KIND_ID(Stmt)
139 #define STMT(DERIVED, BASE) KIND_TO_KIND_ID(DERIVED)
176 /// (like \c Stmt, \c Decl, \c Type and \c NestedNameSpecifier) the returned
209 /// only Stmt, Decl, Type and NestedNameSpecifier return memoization data).
291 Decl *, Stmt *, Type *, NestedNameSpecifier *, CXXCtorInitializer *>
305 T, typename std::enable_if<std::is_base_of<Stmt, T>::value>::type>
306 : public DynCastPtrConverter<T, Stmt> {};
351 } else if (ASTNodeKind::getFromNodeKind<Stmt>().isBaseOf(NodeKind))
    [all...]
DataRecursiveASTVisitor.h 28 #include "clang/AST/Stmt.h"
82 /// the node's dynamic type, until the top-most class (e.g. Stmt,
94 /// TraverseStmt(Stmt *x) and TraverseType(QualType x) work
158 bool TraverseStmt(Stmt *S);
265 // Declare Traverse*() for all concrete Stmt classes.
266 #define ABSTRACT_STMT(STMT)
267 #define STMT(CLASS, PARENT) bool Traverse##CLASS(CLASS *S);
269 // The above header #undefs ABSTRACT_STMT and STMT upon exit.
271 // Define WalkUpFrom*() and empty Visit*() for all Stmt classes.
272 bool WalkUpFromStmt(Stmt *S) { return getDerived().VisitStmt(S);
    [all...]
RecursiveASTVisitor.h 28 #include "clang/AST/Stmt.h"
78 /// the node's dynamic type, until the top-most class (e.g. Stmt,
90 /// TraverseStmt(Stmt *x) and TraverseType(QualType x) work
152 bool shouldUseDataRecursionFor(Stmt *S) const {
162 bool TraverseStmt(Stmt *S);
269 // Declare Traverse*() for all concrete Stmt classes.
270 #define ABSTRACT_STMT(STMT)
271 #define STMT(CLASS, PARENT) bool Traverse##CLASS(CLASS *S);
273 // The above header #undefs ABSTRACT_STMT and STMT upon exit.
275 // Define WalkUpFrom*() and empty Visit*() for all Stmt classes
    [all...]
Stmt.h 1 //===--- Stmt.h - Classes for representing statements -----------*- C++ -*-===//
10 // This file defines the Stmt interface and subclasses.
53 // ExprIterator - Iterators for iterating over Stmt* arrays that contain
54 // only Expr*. This is needed because AST nodes use Stmt* arrays to store
58 class Stmt;
62 Stmt** I;
64 ExprIterator(Stmt** i) : I(i) {}
81 const Stmt * const *I;
83 ConstExprIterator(const Stmt * const *i) : I(i) {}
102 /// Stmt - This represents one statement
    [all...]
  /external/clang/include/clang/StaticAnalyzer/Core/
Checker.h 85 template <typename STMT>
88 static void _checkStmt(void *checker, const Stmt *S, CheckerContext &C) {
89 ((const CHECKER *)checker)->checkPreStmt(cast<STMT>(S), C);
92 static bool _handlesStmt(const Stmt *S) {
93 return isa<STMT>(S);
104 template <typename STMT>
107 static void _checkStmt(void *checker, const Stmt *S, CheckerContext &C) {
108 ((const CHECKER *)checker)->checkPostStmt(cast<STMT>(S), C);
111 static bool _handlesStmt(const Stmt *S) {
112 return isa<STMT>(S)
    [all...]
  /external/clang/lib/AST/
ASTTypeTraits.cpp 34 { NKI_None, "Stmt" },
35 #define STMT(DERIVED, BASE) { NKI_##BASE, #DERIVED },
79 else if (const Stmt *S = get<Stmt>())
90 else if (const Stmt *S = get<Stmt>())
105 if (const Stmt *S = get<Stmt>())
Stmt.cpp 1 //===--- Stmt.cpp - Statement AST Node Implementation ---------------------===//
10 // This file implements the Stmt class and statement subclasses.
18 #include "clang/AST/Stmt.h"
34 } StmtClassInfo[Stmt::lastStmtConstant+1];
36 static StmtClassNameTable &getStmtInfoTableEntry(Stmt::StmtClass E) {
43 #define ABSTRACT_STMT(STMT)
44 #define STMT(CLASS, PARENT) \
45 StmtClassInfo[(unsigned)Stmt::CLASS##Class].Name = #CLASS; \
46 StmtClassInfo[(unsigned)Stmt::CLASS##Class].Size = sizeof(CLASS);
52 void *Stmt::operator new(size_t bytes, const ASTContext& C
    [all...]
ExprClassification.cpp 107 case Stmt::NoStmtClass:
109 #define STMT(Kind, Base) case Expr::Kind##Class:
StmtPrinter.cpp 1 //===--- StmtPrinter.cpp - Printing implementation for Stmt ASTs ----------===//
10 // This file implements the Stmt::dumpPretty/Stmt::printPretty methods, which
46 void PrintStmt(Stmt *S) {
50 void PrintStmt(Stmt *S, int SubIndent) {
53 // If this is an expr used in a stmt context, indent and newline it.
88 void Visit(Stmt* S) {
94 void VisitStmt(Stmt *Node) LLVM_ATTRIBUTE_UNUSED {
95 Indent() << "<<unknown stmt type>>\n";
103 #define STMT(CLASS, PARENT)
    [all...]
StmtProfile.cpp 1 //===---- StmtProfile.cpp - Profile implementation for Stmt ASTs ----------===//
10 // This file implements the Stmt::Profile method, which builds a unique bit
36 void VisitStmt(const Stmt *S);
38 #define STMT(Node, Base) void Visit##Node(const Node *S);
70 void StmtProfiler::VisitStmt(const Stmt *S) {
72 for (Stmt::const_child_range C = S->children(); C; ++C) {
645 static Stmt::StmtClass DecodeOperatorCall(const CXXOperatorCallExpr *S,
663 return Stmt::UnaryOperatorClass;
667 return Stmt::BinaryOperatorClass;
672 return Stmt::UnaryOperatorClass
    [all...]
Expr.cpp 172 // See also Stmt.cpp:{getLocStart(),getLocEnd()}.
195 case Stmt::NoStmtClass: llvm_unreachable("statement without class");
197 #define STMT(type, base) \
198 case Stmt::type##Class: llvm_unreachable(#type " is not an Expr"); break;
200 case Stmt::type##Class: return getExprLocImpl<type>(this, &type::getExprLoc);
    [all...]
ItaniumMangle.cpp     [all...]
ExprConstant.cpp 552 bool nextStep(const Stmt *S) {
    [all...]
  /external/clang/lib/Sema/
SemaExceptionSpec.cpp     [all...]
TreeTransform.h 24 #include "clang/AST/Stmt.h"
133 static inline StmtResult Owned(Stmt *S) { return S; }
318 StmtResult TransformStmt(Stmt *S);
550 StmtResult TransformSEHHandler(Stmt *Handler);
620 #define STMT(Node, Parent) \
626 #define ABSTRACT_STMT(Stmt)
    [all...]
  /external/clang/lib/CodeGen/
CGStmt.cpp 10 // This contains code to emit Stmt nodes as LLVM code.
35 void CodeGenFunction::EmitStopPoint(const Stmt *S) {
45 void CodeGenFunction::EmitStmt(const Stmt *S) {
75 case Stmt::NoStmtClass:
76 case Stmt::CXXCatchStmtClass:
77 case Stmt::SEHExceptStmtClass:
78 case Stmt::SEHFinallyStmtClass:
79 case Stmt::MSDependentExistsStmtClass:
81 case Stmt::NullStmtClass:
82 case Stmt::CompoundStmtClass
    [all...]
  /external/clang/lib/Serialization/
ASTReaderStmt.cpp 1 //===--- ASTReaderStmt.cpp - Stmt/Expr Deserialization ----------*- C++ -*-===//
86 /// \brief The number of record fields required for the Stmt class
101 void VisitStmt(Stmt *S);
102 #define STMT(Type, Base) \
121 void ASTStmtReader::VisitStmt(Stmt *S) {
133 SmallVector<Stmt *, 16> Stmts;
321 SmallVector<Stmt*, 16> Exprs;
464 E->setRawSemantics(static_cast<Stmt::APFloatSemantics>(Record[Idx++]));
513 E->Exprs = new (Reader.getContext()) Stmt*[NumExprs];
606 assert(E->getStmtClass() == Stmt::MemberExprClass &
    [all...]
ASTWriterStmt.cpp 45 void VisitStmt(Stmt *S);
46 #define STMT(Type, Base) \
61 void ASTStmtWriter::VisitStmt(Stmt *S) {
    [all...]

Completed in 867 milliseconds