Lines Matching refs:ID
27 llvm::FoldingSetNodeID &ID; member in __anon98c5552c0111::StmtProfiler
32 StmtProfiler(llvm::FoldingSetNodeID &ID, const ASTContext &Context, in StmtProfiler() argument
34 : ID(ID), Context(Context), Canonical(Canonical) { } in StmtProfiler()
71 ID.AddInteger(S->getStmtClass()); in VisitStmt()
76 ID.AddInteger(0); in VisitStmt()
162 ID.AddBoolean(S->isVolatile()); in VisitGCCAsmStmt()
163 ID.AddBoolean(S->isSimple()); in VisitGCCAsmStmt()
165 ID.AddInteger(S->getNumOutputs()); in VisitGCCAsmStmt()
167 ID.AddString(S->getOutputName(I)); in VisitGCCAsmStmt()
170 ID.AddInteger(S->getNumInputs()); in VisitGCCAsmStmt()
172 ID.AddString(S->getInputName(I)); in VisitGCCAsmStmt()
175 ID.AddInteger(S->getNumClobbers()); in VisitGCCAsmStmt()
200 ID.AddBoolean(S->isIfExists()); in VisitMSDependentExistsStmt()
231 ID.AddBoolean(S->hasEllipsis()); in VisitObjCAtCatchStmt()
544 ID.AddInteger(S->getIdentType()); in VisitPredefinedExpr()
549 S->getValue().Profile(ID); in VisitIntegerLiteral()
550 ID.AddInteger(S->getType()->castAs<BuiltinType>()->getKind()); in VisitIntegerLiteral()
555 ID.AddInteger(S->getKind()); in VisitCharacterLiteral()
556 ID.AddInteger(S->getValue()); in VisitCharacterLiteral()
561 S->getValue().Profile(ID); in VisitFloatingLiteral()
562 ID.AddBoolean(S->isExact()); in VisitFloatingLiteral()
563 ID.AddInteger(S->getType()->castAs<BuiltinType>()->getKind()); in VisitFloatingLiteral()
572 ID.AddString(S->getBytes()); in VisitStringLiteral()
573 ID.AddInteger(S->getKind()); in VisitStringLiteral()
586 ID.AddInteger(S->getOpcode()); in VisitUnaryOperator()
594 ID.AddInteger(ON.getKind()); in VisitOffsetOfExpr()
605 ID.AddPointer(ON.getFieldName()); in VisitOffsetOfExpr()
620 ID.AddInteger(S->getKind()); in VisitUnaryExprOrTypeTraitExpr()
638 ID.AddBoolean(S->isArrow()); in VisitMemberExpr()
643 ID.AddBoolean(S->isFileScope()); in VisitCompoundLiteralExpr()
652 ID.AddInteger(S->getValueKind()); in VisitImplicitCastExpr()
666 ID.AddInteger(S->getOpcode()); in VisitBinaryOperator()
723 ID.AddBoolean(S->usesGNUSyntax()); in VisitDesignatedInitExpr()
728 ID.AddInteger(0); in VisitDesignatedInitExpr()
734 ID.AddInteger(1); in VisitDesignatedInitExpr()
737 ID.AddInteger(2); in VisitDesignatedInitExpr()
739 ID.AddInteger(D->getFirstExprIndex()); in VisitDesignatedInitExpr()
762 ID.AddPointer(nullptr); in VisitGenericSelectionExpr()
780 ID.AddInteger(S->getOp()); in VisitAtomicExpr()
977 ID.AddInteger(SC); in VisitCXXOperatorCallExpr()
981 ID.AddInteger(UnaryOp); in VisitCXXOperatorCallExpr()
984 ID.AddInteger(BinaryOp); in VisitCXXOperatorCallExpr()
992 ID.AddInteger(S->getOperator()); in VisitCXXOperatorCallExpr()
1034 ID.AddBoolean(S->getValue()); in VisitCXXBoolLiteralExpr()
1065 ID.AddBoolean(S->isImplicit()); in VisitCXXThisExpr()
1091 ID.AddBoolean(S->isElidable()); in VisitCXXConstructExpr()
1109 ID.AddInteger(C->getCaptureKind()); in VisitLambdaExpr()
1116 ID.AddBoolean(C->isPackExpansion()); in VisitLambdaExpr()
1135 ID.AddBoolean(S->isGlobalDelete()); in VisitCXXDeleteExpr()
1136 ID.AddBoolean(S->isArrayForm()); in VisitCXXDeleteExpr()
1146 ID.AddBoolean(S->isArray()); in VisitCXXNewExpr()
1147 ID.AddInteger(S->getNumPlacementArgs()); in VisitCXXNewExpr()
1148 ID.AddBoolean(S->isGlobalNew()); in VisitCXXNewExpr()
1149 ID.AddBoolean(S->isParenTypeId()); in VisitCXXNewExpr()
1150 ID.AddInteger(S->getInitializationStyle()); in VisitCXXNewExpr()
1156 ID.AddBoolean(S->isArrow()); in VisitCXXPseudoDestructorExpr()
1158 ID.AddBoolean(S->getScopeTypeInfo() != nullptr); in VisitCXXPseudoDestructorExpr()
1161 ID.AddBoolean(S->getDestroyedTypeInfo() != nullptr); in VisitCXXPseudoDestructorExpr()
1165 ID.AddPointer(S->getDestroyedTypeIdentifier()); in VisitCXXPseudoDestructorExpr()
1172 ID.AddBoolean(S->hasExplicitTemplateArgs()); in VisitOverloadExpr()
1185 ID.AddInteger(S->getTrait()); in VisitTypeTraitExpr()
1186 ID.AddInteger(S->getNumArgs()); in VisitTypeTraitExpr()
1193 ID.AddInteger(S->getTrait()); in VisitArrayTypeTraitExpr()
1199 ID.AddInteger(S->getTrait()); in VisitExpressionTraitExpr()
1208 ID.AddBoolean(S->hasExplicitTemplateArgs()); in VisitDependentScopeDeclRefExpr()
1225 ID.AddBoolean(S->isImplicitAccess()); in VisitCXXDependentScopeMemberExpr()
1228 ID.AddBoolean(S->isArrow()); in VisitCXXDependentScopeMemberExpr()
1232 ID.AddBoolean(S->hasExplicitTemplateArgs()); in VisitCXXDependentScopeMemberExpr()
1238 ID.AddBoolean(S->isImplicitAccess()); in VisitUnresolvedMemberExpr()
1241 ID.AddBoolean(S->isArrow()); in VisitUnresolvedMemberExpr()
1245 ID.AddBoolean(S->hasExplicitTemplateArgs()); in VisitUnresolvedMemberExpr()
1279 ID.AddInteger(S->getNumExpansions()); in VisitFunctionParmPackExpr()
1291 ID.AddInteger(S->getOperator()); in VisitCXXFoldExpr()
1336 ID.AddBoolean(S->isArrow()); in VisitObjCIvarRefExpr()
1337 ID.AddBoolean(S->isFreeIvar()); in VisitObjCIvarRefExpr()
1349 ID.AddBoolean(S->isSuperReceiver()); in VisitObjCPropertyRefExpr()
1368 ID.AddBoolean(S->isArrow()); in VisitObjCIsaExpr()
1373 ID.AddBoolean(S->getValue()); in VisitObjCBoolLiteralExpr()
1379 ID.AddBoolean(S->shouldCopy()); in VisitObjCIndirectCopyRestoreExpr()
1384 ID.AddBoolean(S->getBridgeKind()); in VisitObjCBridgedCastExpr()
1388 ID.AddInteger(D? D->getKind() : 0); in VisitDecl()
1393 ID.AddInteger(NTTP->getDepth()); in VisitDecl()
1394 ID.AddInteger(NTTP->getIndex()); in VisitDecl()
1395 ID.AddBoolean(NTTP->isParameterPack()); in VisitDecl()
1409 ID.AddInteger(Parm->getFunctionScopeDepth()); in VisitDecl()
1410 ID.AddInteger(Parm->getFunctionScopeIndex()); in VisitDecl()
1416 ID.AddInteger(TTP->getDepth()); in VisitDecl()
1417 ID.AddInteger(TTP->getIndex()); in VisitDecl()
1418 ID.AddBoolean(TTP->isParameterPack()); in VisitDecl()
1424 ID.AddInteger(TTP->getDepth()); in VisitDecl()
1425 ID.AddInteger(TTP->getIndex()); in VisitDecl()
1426 ID.AddBoolean(TTP->isParameterPack()); in VisitDecl()
1431 ID.AddPointer(D? D->getCanonicalDecl() : nullptr); in VisitDecl()
1438 ID.AddPointer(T.getAsOpaquePtr()); in VisitType()
1442 ID.AddPointer(Name.getAsOpaquePtr()); in VisitName()
1448 ID.AddPointer(NNS); in VisitNestedNameSpecifier()
1455 Name.Profile(ID); in VisitTemplateName()
1460 ID.AddInteger(NumArgs); in VisitTemplateArguments()
1467 ID.AddInteger(Arg.getKind()); in VisitTemplateArgument()
1490 Arg.getAsIntegral().Profile(ID); in VisitTemplateArgument()
1505 void Stmt::Profile(llvm::FoldingSetNodeID &ID, const ASTContext &Context, in Profile() argument
1507 StmtProfiler Profiler(ID, Context, Canonical); in Profile()