Lines Matching refs:ID
26 S->ProcessODRHash(ID, *this); in AddStmt()
31 ID.AddString(II->getName()); in AddIdentifierInfo()
49 ID.AddInteger(Result.first->second); in AddDeclarationNameImpl()
61 ID.AddInteger(Kind); in AddDeclarationNameImpl()
74 ID.AddInteger(NumArgs); in AddDeclarationNameImpl()
92 ID.AddInteger(Name.getCXXOverloadedOperator()); in AddDeclarationNameImpl()
120 ID.AddInteger(Kind); in AddNestedNameSpecifier()
143 ID.AddInteger(Kind); in AddTemplateName()
170 ID.AddInteger(Kind); in AddTemplateArgument()
182 ID.AddPointer(nullptr); in AddTemplateArgument()
187 TA.getAsIntegral().Profile(ID); in AddTemplateArgument()
202 ID.AddInteger(TA.pack_size()); in AddTemplateArgument()
213 ID.AddInteger(TPL->size()); in AddTemplateParameterList()
222 ID.clear(); in clear()
240 ID.AddInteger(value); in CalculateHash()
249 ID.AddInteger(value); in CalculateHash()
254 return ID.computeStableHash(); in CalculateHash()
262 llvm::FoldingSetNodeID &ID; member in __anonb4317f1a0111::ODRDeclVisitor
266 ODRDeclVisitor(llvm::FoldingSetNodeID &ID, ODRHash &Hash) in ODRDeclVisitor() argument
267 : ID(ID), Hash(Hash) {} in ODRDeclVisitor()
299 ID.AddInteger(D->getKind()); in Visit()
332 ID.AddInteger(D->getAccess()); in VisitAccessSpecDecl()
358 ID.AddInteger(D->getCanonicalAccessControl()); in VisitObjCIvarDecl()
363 ID.AddInteger(D->getPropertyAttributes()); in VisitObjCPropertyDecl()
364 ID.AddInteger(D->getPropertyImplementation()); in VisitObjCPropertyDecl()
373 ID.AddInteger(D->getODRHash()); in VisitFunctionDecl()
385 ID.AddInteger(Method->getDeclKind()); in VisitObjCMethodDecl()
394 ID.AddInteger(llvm::to_underlying(Method->getImplementationControl())); in VisitObjCMethodDecl()
395 ID.AddInteger(Method->getMethodFamily()); in VisitObjCMethodDecl()
399 ID.AddInteger(llvm::to_underlying(Cmd->getParameterKind())); in VisitObjCMethodDecl()
404 ID.AddInteger(llvm::to_underlying(Self->getParameterKind())); in VisitObjCMethodDecl()
411 ID.AddInteger(Method->param_size()); in VisitObjCMethodDecl()
431 ID.AddInteger(Decls.size()); in VisitObjCMethodDecl()
523 ID.AddInteger(D->getTemplatedDecl()->getODRHash()); in VisitFunctionTemplateDecl()
565 ODRDeclVisitor(ID, *this).Visit(D); in AddSubDecl()
595 ID.AddInteger(Decls.size()); in AddCXXRecordDecl()
606 ID.AddInteger(Record->getNumBases()); in AddCXXRecordDecl()
610 ID.AddInteger(Base.isVirtual()); in AddCXXRecordDecl()
611 ID.AddInteger(Base.getAccessSpecifierAsWritten()); in AddCXXRecordDecl()
628 ID.AddInteger(Decls.size()); in AddRecordDecl()
639 ID.AddInteger(SuperClass->getODRHash()); in AddObjCInterfaceDecl()
642 ID.AddInteger(IF->getReferencedProtocols().size()); in AddObjCInterfaceDecl()
655 ID.AddInteger(Decls.size()); in AddObjCInterfaceDecl()
683 ID.AddInteger(Function->getDeclKind()); in AddFunctionDecl()
688 ID.AddInteger(SpecializationArgs->size()); in AddFunctionDecl()
699 ID.AddInteger(Function->getStorageClass()); in AddFunctionDecl()
710 ID.AddString(DeletedMessage->getBytes()); in AddFunctionDecl()
716 ID.AddInteger(Function->param_size()); in AddFunctionDecl()
747 ID.AddInteger(Decls.size()); in AddFunctionDecl()
774 ID.AddInteger(Decls.size()); in AddEnumDecl()
785 ID.AddInteger(P->getReferencedProtocols().size()); in AddObjCProtocolDecl()
800 ID.AddInteger(Decls.size()); in AddObjCProtocolDecl()
813 ID.AddInteger(D->getKind()); in AddDecl()
824 ID.AddInteger(List.size()); in AddDecl()
835 llvm::FoldingSetNodeID &ID; member in __anonb4317f1a0211::ODRTypeVisitor
839 ODRTypeVisitor(llvm::FoldingSetNodeID &ID, ODRHash &Hash) in ODRTypeVisitor() argument
840 : ID(ID), Hash(Hash) {} in ODRTypeVisitor()
882 ID.AddInteger(Quals.getAsOpaqueValue()); in VisitQualifiers()
931 ID.AddInteger(T->getTypeClass()); in Visit()
951 ID.AddInteger(llvm::to_underlying(T->getSizeModifier())); in VisitArrayType()
956 T->getSize().Profile(ID); in VisitConstantArrayType()
979 ID.AddInteger(T->getAttrKind()); in VisitAttributedType()
991 ID.AddInteger(T->getKind()); in VisitBuiltinType()
1015 ID.AddInteger((unsigned)T->getKeyword()); in VisitAutoType()
1016 ID.AddInteger(T->isConstrained()); in VisitAutoType()
1019 ID.AddInteger(T->getTypeConstraintArguments().size()); in VisitAutoType()
1046 T->getExtInfo().Profile(ID); in VisitFunctionType()
1058 ID.AddInteger(T->getNumParams()); in VisitFunctionProtoType()
1085 ID.AddInteger(TypeArgs.size()); in VisitObjCObjectType()
1091 ID.AddInteger(Protocols.size()); in VisitObjCObjectType()
1109 ID.AddInteger(Protocols.size()); in VisitObjCTypeParamType()
1173 ID.AddInteger(T->template_arguments().size()); in VisitTemplateSpecializationType()
1182 ID.AddInteger(T->getDepth()); in VisitTemplateTypeParmType()
1183 ID.AddInteger(T->getIndex()); in VisitTemplateTypeParmType()
1205 ID.AddInteger(llvm::to_underlying(T->getKeyword())); in VisitTypeWithKeyword()
1219 ID.AddInteger(T->template_arguments().size()); in VisitDependentTemplateSpecializationType()
1245 ID.AddInteger(T->getNumElements()); in VisitVectorType()
1246 ID.AddInteger(llvm::to_underlying(T->getVectorKind())); in VisitVectorType()
1258 ODRTypeVisitor(ID, *this).Visit(T); in AddType()
1266 ID.AddInteger(split.Quals.getAsOpaqueValue()); in AddQualType()
1275 ID.AddInteger(Value.getKind()); in AddStructuralValue()
1285 ID.AddInteger(Value.getLValueOffset().getQuantity()); in AddStructuralValue()
1291 ID.AddInteger(Value.getLValueOffset().getQuantity()); in AddStructuralValue()
1305 ID.AddInteger(FD->getFieldIndex()); in AddStructuralValue()
1321 ID.AddInteger(Val); in AddStructuralValue()
1328 ID.AddInteger( in AddStructuralValue()
1333 Value.Profile(ID); in AddStructuralValue()