| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | ExprOpenMP.h | 47 Stmt *SubExprs[END_EXPR]; variable 70 SubExprs[BASE] = Base; in OMPArraySectionExpr() 71 SubExprs[LOWER_BOUND] = LowerBound; in OMPArraySectionExpr() 72 SubExprs[LENGTH] = Length; in OMPArraySectionExpr() 82 Expr *getBase() { return cast<Expr>(SubExprs[BASE]); } in getBase() 83 const Expr *getBase() const { return cast<Expr>(SubExprs[BASE]); } in getBase() 85 void setBase(Expr *E) { SubExprs[BASE] = E; } in setBase() 93 return cast_or_null<Expr>(SubExprs[LOWER_BOUND]); in getLowerBound() 96 void setLowerBound(Expr *E) { SubExprs[LOWER_BOUND] = E; } in setLowerBound() 102 void setLength(Expr *E) { SubExprs[LENGTH] = E; } in setLength() [all …]
|
| H A D | StmtCXX.h | 132 Stmt *SubExprs[END]; variable 145 Stmt *getInit() { return SubExprs[INIT]; } in getInit() 162 Stmt *getBody() { return SubExprs[BODY]; } in getBody() 165 return cast<DeclStmt>(SubExprs[RANGE]); in getRangeStmt() 174 return cast_or_null<Expr>(SubExprs[COND]); in getCond() 177 return cast_or_null<Expr>(SubExprs[INC]); in getInc() 180 return cast<DeclStmt>(SubExprs[LOOPVAR]); in getLoopVarStmt() 184 void setInit(Stmt *S) { SubExprs[INIT] = S; } in setInit() 192 void setBody(Stmt *S) { SubExprs[BODY] = S; } in setBody() 201 return SubExprs[BODY]->getEndLoc(); in getEndLoc() [all …]
|
| H A D | StmtObjC.h | 35 Stmt *getElement() { return SubExprs[ELEM]; } in getElement() 37 return reinterpret_cast<Expr*>(SubExprs[COLLECTION]); in getCollection() 39 Stmt *getBody() { return SubExprs[BODY]; } in getBody() 41 const Stmt *getElement() const { return SubExprs[ELEM]; } in getElement() 43 return reinterpret_cast<Expr*>(SubExprs[COLLECTION]); in getCollection() 45 const Stmt *getBody() const { return SubExprs[BODY]; } in getBody() 47 void setElement(Stmt *S) { SubExprs[ELEM] = S; } in setElement() 49 SubExprs[COLLECTION] = reinterpret_cast<Stmt*>(E); in setCollection() 51 void setBody(Stmt *S) { SubExprs[BODY] = S; } in setBody() 60 return SubExprs[BODY]->getEndLoc(); in getEndLoc() [all …]
|
| H A D | Expr.h | 2383 return child_range(&SubExprs[0], &SubExprs[0]+END_EXPR); in children() 3454 return child_range(&SubExprs[0], &SubExprs[0]+END_EXPR); in children() 3648 return child_range(&SubExprs[0], &SubExprs[0]+END_EXPR); in children() 3736 return child_range(SubExprs, SubExprs + NUM_SUBEXPRS); in children() 3909 return child_range(&SubExprs[0], &SubExprs[0]+NumExprs); in children() 4049 return child_range(&SubExprs[0], &SubExprs[0]+END_EXPR); in children() 4849 return child_range(SubExprs, SubExprs + 2); in children() 4852 return const_child_range(SubExprs, SubExprs + 2); in children() 5102 return child_range(SubExprs, SubExprs+END_EXPR+NumAssocs); in children() 5540 return child_range(SubExprs, SubExprs+NumSubExprs); in children() [all …]
|
| H A D | ExprCXX.h | 847 SubExprs[IDX_EXPR] = Idx; in MSPropertySubscriptExpr() 879 return child_range(&SubExprs[0], &SubExprs[0] + NUM_SUBEXPRS); in children() 4273 Stmt *SubExprs[2]; variable 4285 SubExprs[0] = LHS; in CXXFoldExpr() 4286 SubExprs[1] = RHS; in CXXFoldExpr() 4320 child_range children() { return child_range(SubExprs, SubExprs + 2); } in children() 4409 return child_range(SubExprs, SubExprs + SubExpr::Count); in children() 4459 Stmt *SubExprs[2]; variable 4473 SubExprs[0] = Op; in DependentCoawaitExpr() 4474 SubExprs[1] = OpCoawait; in DependentCoawaitExpr() [all …]
|
| H A D | Stmt.h | 2187 Stmt *SubExprs[END_EXPR]; variable 2205 return reinterpret_cast<Expr *>(SubExprs[COND]); in getCond() 2210 Stmt *getBody() { return SubExprs[BODY]; } in getBody() 2211 const Stmt *getBody() const { return SubExprs[BODY]; } in getBody() 2212 void setBody(Stmt *Body) { SubExprs[BODY] = Body; } in setBody() 2230 return child_range(&SubExprs[0], &SubExprs[0] + END_EXPR); in children() 2250 Stmt *getInit() { return SubExprs[INIT]; } in getInit() 2271 Stmt *getBody() { return SubExprs[BODY]; } in getBody() 2278 void setInit(Stmt *S) { SubExprs[INIT] = S; } in setInit() 2281 void setBody(Stmt *S) { SubExprs[BODY] = S; } in setBody() [all …]
|
| H A D | ExprObjC.h | 811 Stmt* SubExprs[END_EXPR]; 833 SubExprs[BASE] = base; SubExprs[KEY] = key; 843 return SubExprs[BASE]->getBeginLoc(); 848 Expr *getBaseExpr() const { return cast<Expr>(SubExprs[BASE]); } 849 void setBaseExpr(Stmt *S) { SubExprs[BASE] = S; } 851 Expr *getKeyExpr() const { return cast<Expr>(SubExprs[KEY]); } 852 void setKeyExpr(Stmt *S) { SubExprs[KEY] = S; } 867 return child_range(SubExprs, SubExprs+END_EXPR);
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | StmtCXX.cpp | 56 SubExprs[INIT] = Init; in CXXForRangeStmt() 57 SubExprs[RANGE] = Range; in CXXForRangeStmt() 58 SubExprs[BEGINSTMT] = BeginStmt; in CXXForRangeStmt() 59 SubExprs[ENDSTMT] = EndStmt; in CXXForRangeStmt() 60 SubExprs[COND] = Cond; in CXXForRangeStmt() 61 SubExprs[INC] = Inc; in CXXForRangeStmt() 62 SubExprs[LOOPVAR] = LoopVar; in CXXForRangeStmt() 63 SubExprs[BODY] = Body; in CXXForRangeStmt()
|
| H A D | StmtObjC.cpp | 25 SubExprs[ELEM] = Elem; in ObjCForCollectionStmt() 26 SubExprs[COLLECTION] = Collect; in ObjCForCollectionStmt() 27 SubExprs[BODY] = Body; in ObjCForCollectionStmt()
|
| H A D | Stmt.cpp | 894 SubExprs[INIT] = Init; in ForStmt() 896 SubExprs[COND] = Cond; in ForStmt() 897 SubExprs[INC] = Inc; in ForStmt() 898 SubExprs[BODY] = Body; in ForStmt() 903 if (!SubExprs[CONDVAR]) in getConditionVariable() 906 auto *DS = cast<DeclStmt>(SubExprs[CONDVAR]); in getConditionVariable() 912 SubExprs[CONDVAR] = nullptr; in setConditionVariable() 917 SubExprs[CONDVAR] = new (C) DeclStmt(DeclGroupRef(V), VarRange.getBegin(), in setConditionVariable()
|
| H A D | Expr.cpp | 3755 SubExprs = new (C) Stmt*[args.size()]; in ShuffleVectorExpr() 3766 SubExprs[i] = args[i]; in ShuffleVectorExpr() 3771 if (SubExprs) C.Deallocate(SubExprs); in setExprs() 3774 SubExprs = new (C) Stmt*[NumExprs]; in setExprs() 3775 memcpy(SubExprs, Exprs.data(), sizeof(Expr *) * Exprs.size()); in setExprs() 3795 SubExprs(new (Context) Stmt*[END_EXPR+AssocExprs.size()]), in GenericSelectionExpr() 3798 SubExprs[CONTROLLING] = ControllingExpr; in GenericSelectionExpr() 3801 std::copy(AssocExprs.begin(), AssocExprs.end(), SubExprs+END_EXPR); in GenericSelectionExpr() 3820 SubExprs(new (Context) Stmt*[END_EXPR+AssocExprs.size()]), in GenericSelectionExpr() 3823 SubExprs[CONTROLLING] = ControllingExpr; in GenericSelectionExpr() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/ |
| H A D | ASTReaderStmt.cpp | 467 for (auto &SubExpr: E->SubExprs) in VisitCoawaitExpr() 476 for (auto &SubExpr: E->SubExprs) in VisitCoyieldExpr() 484 for (auto &SubExpr: E->SubExprs) in VisitDependentCoawaitExpr() 807 E->SubExprs[ConditionalOperator::LHS] = Record.readSubExpr(); in VisitConditionalOperator() 808 E->SubExprs[ConditionalOperator::RHS] = Record.readSubExpr(); in VisitConditionalOperator() 950 E->SubExprs[0] = Record.readSubExpr(); in VisitArrayInitLoopExpr() 951 E->SubExprs[1] = Record.readSubExpr(); in VisitArrayInitLoopExpr() 1028 E->SubExprs = in VisitGenericSelectionExpr() 1064 E->SubExprs[I] = Record.readSubExpr(); in VisitAtomicExpr() 1810 E->SubExprs[0] = Record.readSubExpr(); in VisitCXXFoldExpr() [all …]
|
| H A D | ASTWriterStmt.cpp | 887 Record.AddStmt(E->SubExprs[0]); in VisitArrayInitLoopExpr() 888 Record.AddStmt(E->SubExprs[1]); in VisitArrayInitLoopExpr() 1771 Record.AddStmt(E->SubExprs[0]); in VisitCXXFoldExpr() 1772 Record.AddStmt(E->SubExprs[1]); in VisitCXXFoldExpr()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 4703 SmallVector<Expr*, 5> SubExprs; in SemaAtomicOpsOverloaded() local 4704 SubExprs.push_back(Ptr); in SemaAtomicOpsOverloaded() 4708 SubExprs.push_back(TheCall->getArg(1)); // Val1 in SemaAtomicOpsOverloaded() 4718 SubExprs.push_back(TheCall->getArg(1)); // Val1 in SemaAtomicOpsOverloaded() 4723 SubExprs.push_back(TheCall->getArg(1)); // Val1 in SemaAtomicOpsOverloaded() 4724 SubExprs.push_back(TheCall->getArg(2)); // Val2 in SemaAtomicOpsOverloaded() 4728 SubExprs.push_back(TheCall->getArg(1)); // Val1 in SemaAtomicOpsOverloaded() 4741 if (SubExprs.size() >= 2 && Form != Init) { in SemaAtomicOpsOverloaded() 4745 Diag(SubExprs[1]->getBeginLoc(), in SemaAtomicOpsOverloaded() 4747 << SubExprs[1]->getSourceRange(); in SemaAtomicOpsOverloaded() [all …]
|
| H A D | TreeTransform.h | 2418 MultiExprArg SubExprs, in RebuildParenListExpr() argument 3122 MultiExprArg SubExprs, in RebuildShuffleVectorExpr() argument 3241 MultiExprArg SubExprs, in RebuildAtomicExpr() argument 12180 SmallVector<Expr*, 8> SubExprs; in TransformShuffleVectorExpr() local 12181 SubExprs.reserve(E->getNumSubExprs()); in TransformShuffleVectorExpr() 12183 SubExprs, &ArgumentChanged)) in TransformShuffleVectorExpr() 12191 SubExprs, in TransformShuffleVectorExpr() 12305 SmallVector<Expr*, 8> SubExprs; in TransformAtomicExpr() local 12306 SubExprs.reserve(E->getNumSubExprs()); in TransformAtomicExpr() 12308 SubExprs, &ArgumentChanged)) in TransformAtomicExpr() [all …]
|