• Home
  • Raw
  • Download

Lines Matching refs:Reader

31     ASTReader &Reader;  member in clang::ASTStmtReader
38 return Reader.ReadToken(F, R, I); in ReadToken()
42 return Reader.ReadSourceLocation(F, R, I); in ReadSourceLocation()
46 return Reader.ReadSourceRange(F, R, I); in ReadSourceRange()
50 return Reader.ReadString(R, I); in ReadString()
54 return Reader.GetTypeSourceInfo(F, R, I); in GetTypeSourceInfo()
58 return Reader.ReadDeclID(F, R, I); in ReadDeclID()
62 return Reader.ReadDecl(F, R, I); in ReadDecl()
67 return Reader.ReadDeclAs<T>(F, R, I); in ReadDeclAs()
72 Reader.ReadDeclarationNameLoc(F, DNLoc, Name, R, I); in ReadDeclarationNameLoc()
77 Reader.ReadDeclarationNameInfo(F, NameInfo, R, I); in ReadDeclarationNameInfo()
81 ASTStmtReader(ASTReader &Reader, ModuleFile &F, in ASTStmtReader() argument
84 : Reader(Reader), F(F), DeclsCursor(Cursor), Record(Record), Idx(Idx) { } in ASTStmtReader()
117 Reader.ReadTemplateArgumentLoc(F, Record, Idx)); in ReadTemplateKWAndArgsInfo()
136 Stmts.push_back(Reader.ReadSubStmt()); in VisitCompoundStmt()
137 S->setStmts(Reader.getContext(), Stmts); in VisitCompoundStmt()
144 Reader.RecordSwitchCaseID(S, Record[Idx++]); in VisitSwitchCase()
151 S->setLHS(Reader.ReadSubExpr()); in VisitCaseStmt()
152 S->setRHS(Reader.ReadSubExpr()); in VisitCaseStmt()
153 S->setSubStmt(Reader.ReadSubStmt()); in VisitCaseStmt()
159 S->setSubStmt(Reader.ReadSubStmt()); in VisitDefaultStmt()
167 S->setSubStmt(Reader.ReadSubStmt()); in VisitLabelStmt()
175 Reader.ReadAttributes(F, Attrs, Record, Idx); in VisitAttributedStmt()
180 S->SubStmt = Reader.ReadSubStmt(); in VisitAttributedStmt()
186 S->setConditionVariable(Reader.getContext(), in VisitIfStmt()
188 S->setCond(Reader.ReadSubExpr()); in VisitIfStmt()
189 S->setThen(Reader.ReadSubStmt()); in VisitIfStmt()
190 S->setElse(Reader.ReadSubStmt()); in VisitIfStmt()
197 S->setConditionVariable(Reader.getContext(), in VisitSwitchStmt()
199 S->setCond(Reader.ReadSubExpr()); in VisitSwitchStmt()
200 S->setBody(Reader.ReadSubStmt()); in VisitSwitchStmt()
207 SwitchCase *SC = Reader.getSwitchCaseWithID(Record[Idx]); in VisitSwitchStmt()
219 S->setConditionVariable(Reader.getContext(), in VisitWhileStmt()
222 S->setCond(Reader.ReadSubExpr()); in VisitWhileStmt()
223 S->setBody(Reader.ReadSubStmt()); in VisitWhileStmt()
229 S->setCond(Reader.ReadSubExpr()); in VisitDoStmt()
230 S->setBody(Reader.ReadSubStmt()); in VisitDoStmt()
238 S->setInit(Reader.ReadSubStmt()); in VisitForStmt()
239 S->setCond(Reader.ReadSubExpr()); in VisitForStmt()
240 S->setConditionVariable(Reader.getContext(), in VisitForStmt()
242 S->setInc(Reader.ReadSubExpr()); in VisitForStmt()
243 S->setBody(Reader.ReadSubStmt()); in VisitForStmt()
260 S->setTarget(Reader.ReadSubExpr()); in VisitIndirectGotoStmt()
275 S->setRetValue(Reader.ReadSubExpr()); in VisitReturnStmt()
293 S->setDeclGroup(DeclGroupRef(DeclGroup::Create(Reader.getContext(), in VisitDeclStmt()
312 S->setAsmString(cast_or_null<StringLiteral>(Reader.ReadSubStmt())); in VisitGCCAsmStmt()
323 Names.push_back(Reader.GetIdentifierInfo(F, Record, Idx)); in VisitGCCAsmStmt()
324 Constraints.push_back(cast_or_null<StringLiteral>(Reader.ReadSubStmt())); in VisitGCCAsmStmt()
325 Exprs.push_back(Reader.ReadSubStmt()); in VisitGCCAsmStmt()
331 Clobbers.push_back(cast_or_null<StringLiteral>(Reader.ReadSubStmt())); in VisitGCCAsmStmt()
333 S->setOutputsAndInputsAndClobbers(Reader.getContext(), in VisitGCCAsmStmt()
375 Exprs.push_back(cast<Expr>(Reader.ReadSubStmt())); in VisitMSAsmStmt()
380 S->initialize(Reader.getContext(), AsmStr, AsmToks, in VisitMSAsmStmt()
415 *I = Reader.ReadSubExpr(); in VisitCapturedStmt()
418 S->setCapturedStmt(Reader.ReadSubStmt()); in VisitCapturedStmt()
432 E->setType(Reader.readType(F, Record, Idx)); in VisitExpr()
446 E->FnName = cast_or_null<StringLiteral>(Reader.ReadSubExpr()); in VisitPredefinedExpr()
463 = Reader.ReadNestedNameSpecifierLoc(F, Record, Idx); in VisitDeclRefExpr()
480 E->setValue(Reader.getContext(), Reader.ReadAPInt(Record, Idx)); in VisitIntegerLiteral()
487 E->setValue(Reader.getContext(), in VisitFloatingLiteral()
488 Reader.ReadAPFloat(Record, E->getSemantics(), Idx)); in VisitFloatingLiteral()
494 E->setSubExpr(Reader.ReadSubExpr()); in VisitImaginaryLiteral()
509 E->setString(Reader.getContext(), Str, kind, isPascal); in VisitStringLiteral()
528 E->setSubExpr(Reader.ReadSubExpr()); in VisitParenExpr()
534 E->Exprs = new (Reader.getContext()) Stmt*[NumExprs]; in VisitParenListExpr()
536 E->Exprs[i] = Reader.ReadSubStmt(); in VisitParenListExpr()
544 E->setSubExpr(Reader.ReadSubExpr()); in VisitUnaryOperator()
575 Reader.GetIdentifierInfo(F, Record, Idx), in VisitOffsetOfExpr()
580 CXXBaseSpecifier *Base = new (Reader.getContext()) CXXBaseSpecifier(); in VisitOffsetOfExpr()
581 *Base = Reader.ReadCXXBaseSpecifier(F, Record, Idx); in VisitOffsetOfExpr()
589 E->setIndexExpr(I, Reader.ReadSubExpr()); in VisitOffsetOfExpr()
596 E->setArgument(Reader.ReadSubExpr()); in VisitUnaryExprOrTypeTraitExpr()
607 E->setLHS(Reader.ReadSubExpr()); in VisitArraySubscriptExpr()
608 E->setRHS(Reader.ReadSubExpr()); in VisitArraySubscriptExpr()
614 E->setBase(Reader.ReadSubExpr()); in VisitOMPArraySectionExpr()
615 E->setLowerBound(Reader.ReadSubExpr()); in VisitOMPArraySectionExpr()
616 E->setLength(Reader.ReadSubExpr()); in VisitOMPArraySectionExpr()
623 E->setNumArgs(Reader.getContext(), Record[Idx++]); in VisitCallExpr()
625 E->setCallee(Reader.ReadSubExpr()); in VisitCallExpr()
627 E->setArg(I, Reader.ReadSubExpr()); in VisitCallExpr()
642 E->setBase(Reader.ReadSubExpr()); in VisitObjCIsaExpr()
651 E->Operand = Reader.ReadSubExpr(); in VisitObjCIndirectCopyRestoreExpr()
666 E->setSubExpr(Reader.ReadSubExpr()); in VisitCastExpr()
670 CXXBaseSpecifier *BaseSpec = new (Reader.getContext()) CXXBaseSpecifier; in VisitCastExpr()
671 *BaseSpec = Reader.ReadCXXBaseSpecifier(F, Record, Idx); in VisitCastExpr()
678 E->setLHS(Reader.ReadSubExpr()); in VisitBinaryOperator()
679 E->setRHS(Reader.ReadSubExpr()); in VisitBinaryOperator()
687 E->setComputationLHSType(Reader.readType(F, Record, Idx)); in VisitCompoundAssignOperator()
688 E->setComputationResultType(Reader.readType(F, Record, Idx)); in VisitCompoundAssignOperator()
693 E->SubExprs[ConditionalOperator::COND] = Reader.ReadSubExpr(); in VisitConditionalOperator()
694 E->SubExprs[ConditionalOperator::LHS] = Reader.ReadSubExpr(); in VisitConditionalOperator()
695 E->SubExprs[ConditionalOperator::RHS] = Reader.ReadSubExpr(); in VisitConditionalOperator()
703 E->OpaqueValue = cast<OpaqueValueExpr>(Reader.ReadSubExpr()); in VisitBinaryConditionalOperator()
704 E->SubExprs[BinaryConditionalOperator::COMMON] = Reader.ReadSubExpr(); in VisitBinaryConditionalOperator()
705 E->SubExprs[BinaryConditionalOperator::COND] = Reader.ReadSubExpr(); in VisitBinaryConditionalOperator()
706 E->SubExprs[BinaryConditionalOperator::LHS] = Reader.ReadSubExpr(); in VisitBinaryConditionalOperator()
707 E->SubExprs[BinaryConditionalOperator::RHS] = Reader.ReadSubExpr(); in VisitBinaryConditionalOperator()
731 E->setInitializer(Reader.ReadSubExpr()); in VisitCompoundLiteralExpr()
737 E->setBase(Reader.ReadSubExpr()); in VisitExtVectorElementExpr()
738 E->setAccessor(Reader.GetIdentifierInfo(F, Record, Idx)); in VisitExtVectorElementExpr()
744 if (InitListExpr *SyntForm = cast_or_null<InitListExpr>(Reader.ReadSubStmt())) in VisitInitListExpr()
751 filler = Reader.ReadSubExpr(); in VisitInitListExpr()
757 E->reserveInits(Reader.getContext(), NumInits); in VisitInitListExpr()
760 Expr *init = Reader.ReadSubExpr(); in VisitInitListExpr()
761 E->updateInit(Reader.getContext(), I, init ? init : filler); in VisitInitListExpr()
765 E->updateInit(Reader.getContext(), I, Reader.ReadSubExpr()); in VisitInitListExpr()
776 E->setSubExpr(I, Reader.ReadSubExpr()); in VisitDesignatedInitExpr()
796 const IdentifierInfo *Name = Reader.GetIdentifierInfo(F, Record, Idx); in VisitDesignatedInitExpr()
829 E->setDesignators(Reader.getContext(), in VisitDesignatedInitExpr()
835 E->setBase(Reader.ReadSubExpr()); in VisitDesignatedInitUpdateExpr()
836 E->setUpdater(Reader.ReadSubExpr()); in VisitDesignatedInitUpdateExpr()
849 E->setSubExpr(Reader.ReadSubExpr()); in VisitVAArgExpr()
867 E->setSubStmt(cast_or_null<CompoundStmt>(Reader.ReadSubStmt())); in VisitStmtExpr()
872 E->setCond(Reader.ReadSubExpr()); in VisitChooseExpr()
873 E->setLHS(Reader.ReadSubExpr()); in VisitChooseExpr()
874 E->setRHS(Reader.ReadSubExpr()); in VisitChooseExpr()
890 Exprs.push_back(Reader.ReadSubExpr()); in VisitShuffleVectorExpr()
891 E->setExprs(Reader.getContext(), Exprs); in VisitShuffleVectorExpr()
901 E->SrcExpr = Reader.ReadSubExpr(); in VisitConvertVectorExpr()
912 E->AssocTypes = new (Reader.getContext()) TypeSourceInfo*[E->NumAssocs]; in VisitGenericSelectionExpr()
914 new(Reader.getContext()) Stmt*[GenericSelectionExpr::END_EXPR+E->NumAssocs]; in VisitGenericSelectionExpr()
916 E->SubExprs[GenericSelectionExpr::CONTROLLING] = Reader.ReadSubExpr(); in VisitGenericSelectionExpr()
919 E->SubExprs[GenericSelectionExpr::END_EXPR+I] = Reader.ReadSubExpr(); in VisitGenericSelectionExpr()
935 E->getSubExprsBuffer()[0] = Reader.ReadSubExpr(); in VisitPseudoObjectExpr()
939 Expr *subExpr = Reader.ReadSubExpr(); in VisitPseudoObjectExpr()
949 E->SubExprs[I] = Reader.ReadSubExpr(); in VisitAtomicExpr()
959 E->setString(cast<StringLiteral>(Reader.ReadSubStmt())); in VisitObjCStringLiteral()
966 E->SubExpr = Reader.ReadSubStmt(); in VisitObjCBoxedExpr()
977 Elements[I] = Reader.ReadSubExpr(); in VisitObjCArrayLiteral()
991 KeyValues[I].Key = Reader.ReadSubExpr(); in VisitObjCDictionaryLiteral()
992 KeyValues[I].Value = Reader.ReadSubExpr(); in VisitObjCDictionaryLiteral()
1011 E->setSelector(Reader.ReadSelector(F, Record, Idx)); in VisitObjCSelectorExpr()
1029 E->setBase(Reader.ReadSubExpr()); in VisitObjCIvarRefExpr()
1050 E->setBase(Reader.ReadSubExpr()); in VisitObjCPropertyRefExpr()
1053 E->setSuperReceiver(Reader.readType(F, Record, Idx)); in VisitObjCPropertyRefExpr()
1064 E->setBaseExpr(Reader.ReadSubExpr()); in VisitObjCSubscriptRefExpr()
1065 E->setKeyExpr(Reader.ReadSubExpr()); in VisitObjCSubscriptRefExpr()
1082 E->setInstanceReceiver(Reader.ReadSubExpr()); in VisitObjCMessageExpr()
1091 QualType T = Reader.readType(F, Record, Idx); in VisitObjCMessageExpr()
1103 E->setSelector(Reader.ReadSelector(F, Record, Idx)); in VisitObjCMessageExpr()
1109 E->setArg(I, Reader.ReadSubExpr()); in VisitObjCMessageExpr()
1118 S->setElement(Reader.ReadSubStmt()); in VisitObjCForCollectionStmt()
1119 S->setCollection(Reader.ReadSubExpr()); in VisitObjCForCollectionStmt()
1120 S->setBody(Reader.ReadSubStmt()); in VisitObjCForCollectionStmt()
1127 S->setCatchBody(Reader.ReadSubStmt()); in VisitObjCAtCatchStmt()
1135 S->setFinallyBody(Reader.ReadSubStmt()); in VisitObjCAtFinallyStmt()
1141 S->setSubStmt(Reader.ReadSubStmt()); in VisitObjCAutoreleasePoolStmt()
1150 S->setTryBody(Reader.ReadSubStmt()); in VisitObjCAtTryStmt()
1152 S->setCatchStmt(I, cast_or_null<ObjCAtCatchStmt>(Reader.ReadSubStmt())); in VisitObjCAtTryStmt()
1155 S->setFinallyStmt(Reader.ReadSubStmt()); in VisitObjCAtTryStmt()
1161 S->setSynchExpr(Reader.ReadSubStmt()); in VisitObjCAtSynchronizedStmt()
1162 S->setSynchBody(Reader.ReadSubStmt()); in VisitObjCAtSynchronizedStmt()
1168 S->setThrowExpr(Reader.ReadSubStmt()); in VisitObjCAtThrowStmt()
1186 S->HandlerBlock = Reader.ReadSubStmt(); in VisitCXXCatchStmt()
1194 S->getStmts()[0] = Reader.ReadSubStmt(); in VisitCXXTryStmt()
1196 S->getStmts()[i + 1] = Reader.ReadSubStmt(); in VisitCXXTryStmt()
1205 S->setRangeStmt(Reader.ReadSubStmt()); in VisitCXXForRangeStmt()
1206 S->setBeginEndStmt(Reader.ReadSubStmt()); in VisitCXXForRangeStmt()
1207 S->setCond(Reader.ReadSubExpr()); in VisitCXXForRangeStmt()
1208 S->setInc(Reader.ReadSubExpr()); in VisitCXXForRangeStmt()
1209 S->setLoopVarStmt(Reader.ReadSubStmt()); in VisitCXXForRangeStmt()
1210 S->setBody(Reader.ReadSubStmt()); in VisitCXXForRangeStmt()
1217 S->QualifierLoc = Reader.ReadNestedNameSpecifierLoc(F, Record, Idx); in VisitMSDependentExistsStmt()
1219 S->SubStmt = Reader.ReadSubStmt(); in VisitMSDependentExistsStmt()
1225 E->Range = Reader.ReadSourceRange(F, Record, Idx); in VisitCXXOperatorCallExpr()
1233 E->Args = new (Reader.getContext()) Stmt*[E->NumArgs]; in VisitCXXConstructExpr()
1235 E->setArg(I, Reader.ReadSubExpr()); in VisitCXXConstructExpr()
1268 *C = Reader.ReadSubExpr(); in VisitLambdaExpr()
1285 E->SubExpr = Reader.ReadSubExpr(); in VisitCXXStdInitializerListExpr()
1345 E->setExprOperand(Reader.ReadSubExpr()); in VisitCXXTypeidExpr()
1357 E->Op = Reader.ReadSubExpr(); in VisitCXXThrowExpr()
1378 E->setTemporary(Reader.ReadCXXTemporary(F, Record, Idx)); in VisitCXXBindTemporaryExpr()
1379 E->setSubExpr(Reader.ReadSubExpr()); in VisitCXXBindTemporaryExpr()
1402 E->AllocateArgsArray(Reader.getContext(), isArray, NumPlacementArgs, in VisitCXXNewExpr()
1408 *I = Reader.ReadSubStmt(); in VisitCXXNewExpr()
1418 E->Argument = Reader.ReadSubExpr(); in VisitCXXDeleteExpr()
1425 E->Base = Reader.ReadSubExpr(); in VisitCXXPseudoDestructorExpr()
1428 E->QualifierLoc = Reader.ReadNestedNameSpecifierLoc(F, Record, Idx); in VisitCXXPseudoDestructorExpr()
1433 IdentifierInfo *II = Reader.GetIdentifierInfo(F, Record, Idx); in VisitCXXPseudoDestructorExpr()
1448 E->SubExpr = Reader.ReadSubExpr(); in VisitExprWithCleanups()
1459 E->Base = Reader.ReadSubExpr(); in VisitCXXDependentScopeMemberExpr()
1460 E->BaseType = Reader.readType(F, Record, Idx); in VisitCXXDependentScopeMemberExpr()
1463 E->QualifierLoc = Reader.ReadNestedNameSpecifierLoc(F, Record, Idx); in VisitCXXDependentScopeMemberExpr()
1476 E->QualifierLoc = Reader.ReadNestedNameSpecifierLoc(F, Record, Idx); in VisitDependentScopeDeclRefExpr()
1486 E->setArg(I, Reader.ReadSubExpr()); in VisitCXXUnresolvedConstructExpr()
1506 E->initializeResults(Reader.getContext(), Decls.begin(), Decls.end()); in VisitOverloadExpr()
1509 E->QualifierLoc = Reader.ReadNestedNameSpecifierLoc(F, Record, Idx); in VisitOverloadExpr()
1516 E->Base = Reader.ReadSubExpr(); in VisitUnresolvedMemberExpr()
1517 E->BaseType = Reader.readType(F, Record, Idx); in VisitUnresolvedMemberExpr()
1557 E->QueriedExpression = Reader.ReadSubExpr(); in VisitExpressionTraitExpr()
1566 E->Operand = Reader.ReadSubExpr(); in VisitCXXNoexceptExpr()
1573 E->Pattern = Reader.ReadSubExpr(); in VisitPackExpansionExpr()
1582 E->Pack = Reader.ReadDeclAs<NamedDecl>(F, Record, Idx); in VisitSizeOfPackExpr()
1588 new (I) TemplateArgument(Reader.ReadTemplateArgument(F, Record, Idx)); in VisitSizeOfPackExpr()
1599 E->Replacement = Reader.ReadSubExpr(); in VisitSubstNonTypeTemplateParmExpr()
1606 TemplateArgument ArgPack = Reader.ReadTemplateArgument(F, Record, Idx); in VisitSubstNonTypeTemplateParmPackExpr()
1627 E->State = Reader.ReadSubExpr(); in VisitMaterializeTemporaryExpr()
1638 E->SubExprs[0] = Reader.ReadSubExpr(); in VisitCXXFoldExpr()
1639 E->SubExprs[1] = Reader.ReadSubExpr(); in VisitCXXFoldExpr()
1645 E->SourceExpr = Reader.ReadSubExpr(); in VisitOpaqueValueExpr()
1659 E->BaseExpr = Reader.ReadSubExpr(); in VisitMSPropertyRefExpr()
1660 E->QualifierLoc = Reader.ReadNestedNameSpecifierLoc(F, Record, Idx); in VisitMSPropertyRefExpr()
1667 E->setBase(Reader.ReadSubExpr()); in VisitMSPropertySubscriptExpr()
1668 E->setIdx(Reader.ReadSubExpr()); in VisitMSPropertySubscriptExpr()
1682 E->setExprOperand(Reader.ReadSubExpr()); in VisitCXXUuidofExpr()
1693 S->Children[SEHExceptStmt::FILTER_EXPR] = Reader.ReadSubStmt(); in VisitSEHExceptStmt()
1694 S->Children[SEHExceptStmt::BLOCK] = Reader.ReadSubStmt(); in VisitSEHExceptStmt()
1700 S->Block = Reader.ReadSubStmt(); in VisitSEHFinallyStmt()
1707 S->Children[SEHTryStmt::TRY] = Reader.ReadSubStmt(); in VisitSEHTryStmt()
1708 S->Children[SEHTryStmt::HANDLER] = Reader.ReadSubStmt(); in VisitSEHTryStmt()
1717 E->setConfig(cast<CallExpr>(Reader.ReadSubExpr())); in VisitCUDAKernelCallExpr()
1727 E->SrcExpr = Reader.ReadSubExpr(); in VisitAsTypeExpr()
1736 ASTStmtReader *Reader; member in clang::OMPClauseReader
1743 : Reader(R), Context(C), Record(Record), Idx(Idx) { } in OMPClauseReader()
1876 C->setLocStart(Reader->ReadSourceLocation(Record, Idx)); in readClause()
1877 C->setLocEnd(Reader->ReadSourceLocation(Record, Idx)); in readClause()
1884 C->setNameModifierLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPIfClause()
1885 C->setColonLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPIfClause()
1886 C->setCondition(Reader->Reader.ReadSubExpr()); in VisitOMPIfClause()
1887 C->setLParenLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPIfClause()
1891 C->setCondition(Reader->Reader.ReadSubExpr()); in VisitOMPFinalClause()
1892 C->setLParenLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPFinalClause()
1896 C->setNumThreads(Reader->Reader.ReadSubExpr()); in VisitOMPNumThreadsClause()
1897 C->setLParenLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPNumThreadsClause()
1901 C->setSafelen(Reader->Reader.ReadSubExpr()); in VisitOMPSafelenClause()
1902 C->setLParenLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPSafelenClause()
1906 C->setSimdlen(Reader->Reader.ReadSubExpr()); in VisitOMPSimdlenClause()
1907 C->setLParenLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPSimdlenClause()
1911 C->setNumForLoops(Reader->Reader.ReadSubExpr()); in VisitOMPCollapseClause()
1912 C->setLParenLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPCollapseClause()
1918 C->setLParenLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPDefaultClause()
1919 C->setDefaultKindKwLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPDefaultClause()
1925 C->setLParenLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPProcBindClause()
1926 C->setProcBindKindKwLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPProcBindClause()
1932 C->setChunkSize(Reader->Reader.ReadSubExpr()); in VisitOMPScheduleClause()
1933 C->setHelperChunkSize(Reader->Reader.ReadSubExpr()); in VisitOMPScheduleClause()
1934 C->setLParenLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPScheduleClause()
1935 C->setScheduleKindLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPScheduleClause()
1936 C->setCommaLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPScheduleClause()
1940 C->setNumForLoops(Reader->Reader.ReadSubExpr()); in VisitOMPOrderedClause()
1941 C->setLParenLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPOrderedClause()
1967 C->setLParenLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPPrivateClause()
1972 Vars.push_back(Reader->Reader.ReadSubExpr()); in VisitOMPPrivateClause()
1976 Vars.push_back(Reader->Reader.ReadSubExpr()); in VisitOMPPrivateClause()
1981 C->setLParenLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPFirstprivateClause()
1986 Vars.push_back(Reader->Reader.ReadSubExpr()); in VisitOMPFirstprivateClause()
1990 Vars.push_back(Reader->Reader.ReadSubExpr()); in VisitOMPFirstprivateClause()
1994 Vars.push_back(Reader->Reader.ReadSubExpr()); in VisitOMPFirstprivateClause()
1999 C->setLParenLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPLastprivateClause()
2004 Vars.push_back(Reader->Reader.ReadSubExpr()); in VisitOMPLastprivateClause()
2008 Vars.push_back(Reader->Reader.ReadSubExpr()); in VisitOMPLastprivateClause()
2012 Vars.push_back(Reader->Reader.ReadSubExpr()); in VisitOMPLastprivateClause()
2016 Vars.push_back(Reader->Reader.ReadSubExpr()); in VisitOMPLastprivateClause()
2020 Vars.push_back(Reader->Reader.ReadSubExpr()); in VisitOMPLastprivateClause()
2025 C->setLParenLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPSharedClause()
2030 Vars.push_back(Reader->Reader.ReadSubExpr()); in VisitOMPSharedClause()
2035 C->setLParenLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPReductionClause()
2036 C->setColonLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPReductionClause()
2038 Reader->Reader.ReadNestedNameSpecifierLoc(Reader->F, Record, Idx); in VisitOMPReductionClause()
2040 Reader->ReadDeclarationNameInfo(DNI, Record, Idx); in VisitOMPReductionClause()
2048 Vars.push_back(Reader->Reader.ReadSubExpr()); in VisitOMPReductionClause()
2052 Vars.push_back(Reader->Reader.ReadSubExpr()); in VisitOMPReductionClause()
2056 Vars.push_back(Reader->Reader.ReadSubExpr()); in VisitOMPReductionClause()
2060 Vars.push_back(Reader->Reader.ReadSubExpr()); in VisitOMPReductionClause()
2064 Vars.push_back(Reader->Reader.ReadSubExpr()); in VisitOMPReductionClause()
2069 C->setLParenLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPLinearClause()
2070 C->setColonLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPLinearClause()
2072 C->setModifierLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPLinearClause()
2077 Vars.push_back(Reader->Reader.ReadSubExpr()); in VisitOMPLinearClause()
2081 Vars.push_back(Reader->Reader.ReadSubExpr()); in VisitOMPLinearClause()
2085 Vars.push_back(Reader->Reader.ReadSubExpr()); in VisitOMPLinearClause()
2089 Vars.push_back(Reader->Reader.ReadSubExpr()); in VisitOMPLinearClause()
2093 Vars.push_back(Reader->Reader.ReadSubExpr()); in VisitOMPLinearClause()
2095 C->setStep(Reader->Reader.ReadSubExpr()); in VisitOMPLinearClause()
2096 C->setCalcStep(Reader->Reader.ReadSubExpr()); in VisitOMPLinearClause()
2100 C->setLParenLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPAlignedClause()
2101 C->setColonLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPAlignedClause()
2106 Vars.push_back(Reader->Reader.ReadSubExpr()); in VisitOMPAlignedClause()
2108 C->setAlignment(Reader->Reader.ReadSubExpr()); in VisitOMPAlignedClause()
2112 C->setLParenLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPCopyinClause()
2117 Exprs.push_back(Reader->Reader.ReadSubExpr()); in VisitOMPCopyinClause()
2121 Exprs.push_back(Reader->Reader.ReadSubExpr()); in VisitOMPCopyinClause()
2125 Exprs.push_back(Reader->Reader.ReadSubExpr()); in VisitOMPCopyinClause()
2129 Exprs.push_back(Reader->Reader.ReadSubExpr()); in VisitOMPCopyinClause()
2134 C->setLParenLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPCopyprivateClause()
2139 Exprs.push_back(Reader->Reader.ReadSubExpr()); in VisitOMPCopyprivateClause()
2143 Exprs.push_back(Reader->Reader.ReadSubExpr()); in VisitOMPCopyprivateClause()
2147 Exprs.push_back(Reader->Reader.ReadSubExpr()); in VisitOMPCopyprivateClause()
2151 Exprs.push_back(Reader->Reader.ReadSubExpr()); in VisitOMPCopyprivateClause()
2156 C->setLParenLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPFlushClause()
2161 Vars.push_back(Reader->Reader.ReadSubExpr()); in VisitOMPFlushClause()
2166 C->setLParenLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPDependClause()
2168 C->setDependencyLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPDependClause()
2169 C->setColonLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPDependClause()
2174 Vars.push_back(Reader->Reader.ReadSubExpr()); in VisitOMPDependClause()
2179 C->setDevice(Reader->Reader.ReadSubExpr()); in VisitOMPDeviceClause()
2180 C->setLParenLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPDeviceClause()
2184 C->setLParenLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPMapClause()
2189 C->setMapLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPMapClause()
2190 C->setColonLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPMapClause()
2195 Vars.push_back(Reader->Reader.ReadSubExpr()); in VisitOMPMapClause()
2201 C->setNumTeams(Reader->Reader.ReadSubExpr()); in VisitOMPNumTeamsClause()
2202 C->setLParenLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPNumTeamsClause()
2206 C->setThreadLimit(Reader->Reader.ReadSubExpr()); in VisitOMPThreadLimitClause()
2207 C->setLParenLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPThreadLimitClause()
2211 C->setPriority(Reader->Reader.ReadSubExpr()); in VisitOMPPriorityClause()
2212 C->setLParenLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPPriorityClause()
2216 C->setGrainsize(Reader->Reader.ReadSubExpr()); in VisitOMPGrainsizeClause()
2217 C->setLParenLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPGrainsizeClause()
2221 C->setNumTasks(Reader->Reader.ReadSubExpr()); in VisitOMPNumTasksClause()
2222 C->setLParenLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPNumTasksClause()
2226 C->setHint(Reader->Reader.ReadSubExpr()); in VisitOMPHintClause()
2227 C->setLParenLoc(Reader->ReadSourceLocation(Record, Idx)); in VisitOMPHintClause()
2236 OMPClauseReader ClauseReader(this, Reader.getContext(), Record, Idx); in VisitOMPExecutableDirective()
2242 E->setAssociatedStmt(Reader.ReadSubStmt()); in VisitOMPExecutableDirective()
2250 D->setIterationVariable(Reader.ReadSubExpr()); in VisitOMPLoopDirective()
2251 D->setLastIteration(Reader.ReadSubExpr()); in VisitOMPLoopDirective()
2252 D->setCalcLastIteration(Reader.ReadSubExpr()); in VisitOMPLoopDirective()
2253 D->setPreCond(Reader.ReadSubExpr()); in VisitOMPLoopDirective()
2254 D->setCond(Reader.ReadSubExpr()); in VisitOMPLoopDirective()
2255 D->setInit(Reader.ReadSubExpr()); in VisitOMPLoopDirective()
2256 D->setInc(Reader.ReadSubExpr()); in VisitOMPLoopDirective()
2258 D->setIsLastIterVariable(Reader.ReadSubExpr()); in VisitOMPLoopDirective()
2259 D->setLowerBoundVariable(Reader.ReadSubExpr()); in VisitOMPLoopDirective()
2260 D->setUpperBoundVariable(Reader.ReadSubExpr()); in VisitOMPLoopDirective()
2261 D->setStrideVariable(Reader.ReadSubExpr()); in VisitOMPLoopDirective()
2262 D->setEnsureUpperBound(Reader.ReadSubExpr()); in VisitOMPLoopDirective()
2263 D->setNextLowerBound(Reader.ReadSubExpr()); in VisitOMPLoopDirective()
2264 D->setNextUpperBound(Reader.ReadSubExpr()); in VisitOMPLoopDirective()
2270 Sub.push_back(Reader.ReadSubExpr()); in VisitOMPLoopDirective()
2274 Sub.push_back(Reader.ReadSubExpr()); in VisitOMPLoopDirective()
2278 Sub.push_back(Reader.ReadSubExpr()); in VisitOMPLoopDirective()
2282 Sub.push_back(Reader.ReadSubExpr()); in VisitOMPLoopDirective()
2286 Sub.push_back(Reader.ReadSubExpr()); in VisitOMPLoopDirective()
2411 D->setX(Reader.ReadSubExpr()); in VisitOMPAtomicDirective()
2412 D->setV(Reader.ReadSubExpr()); in VisitOMPAtomicDirective()
2413 D->setExpr(Reader.ReadSubExpr()); in VisitOMPAtomicDirective()
2414 D->setUpdateExpr(Reader.ReadSubExpr()); in VisitOMPAtomicDirective()
2514 ASTStmtReader Reader(*this, F, Cursor, Record, Idx); in ReadStmtFromStream() local
3350 Reader.Visit(S); in ReadStmtFromStream()