Lines Matching refs:Scope
269 Metadata *Scope;
273 MDNodeKeyImpl(unsigned Line, unsigned Column, Metadata *Scope,
275 : Line(Line), Column(Column), Scope(Scope), InlinedAt(InlinedAt),
278 : Line(L->getLine()), Column(L->getColumn()), Scope(L->getRawScope()),
283 Scope == RHS->getRawScope() && InlinedAt == RHS->getRawInlinedAt() &&
288 return hash_combine(Line, Column, Scope, InlinedAt, ImplicitCode);
479 Metadata *Scope;
490 Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits,
494 : Tag(Tag), Name(Name), File(File), Line(Line), Scope(Scope),
500 Line(N->getLine()), Scope(N->getRawScope()),
509 Scope == RHS->getRawScope() && BaseType == RHS->getRawBaseType() &&
523 if (auto *CT = dyn_cast_or_null<DICompositeType>(Scope))
525 return hash_combine(Name, Scope);
531 return hash_combine(Tag, Name, File, Line, Scope, BaseType, Flags);
539 return isODRMember(LHS.Tag, LHS.Scope, LHS.Name, RHS);
550 static bool isODRMember(unsigned Tag, const Metadata *Scope,
556 auto *CT = dyn_cast_or_null<DICompositeType>(Scope);
562 Scope == RHS->getRawScope();
571 Metadata *Scope;
590 Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits,
597 : Tag(Tag), Name(Name), File(File), Line(Line), Scope(Scope),
607 Line(N->getLine()), Scope(N->getRawScope()),
622 Scope == RHS->getRawScope() && BaseType == RHS->getRawBaseType() &&
643 return hash_combine(Name, File, Line, BaseType, Scope, Elements,
695 Metadata *Scope;
715 MDNodeKeyImpl(Metadata *Scope, MDString *Name, MDString *LinkageName,
723 : Scope(Scope), Name(Name), LinkageName(LinkageName), File(File),
731 : Scope(N->getRawScope()), Name(N->getRawName()),
746 return Scope == RHS->getRawScope() && Name == RHS->getRawName() &&
770 if (auto *CT = dyn_cast_or_null<DICompositeType>(Scope))
772 return hash_combine(LinkageName, Scope);
778 return hash_combine(Name, Scope, File, Type, Line);
786 return isDeclarationOfODRMember(LHS.isDefinition(), LHS.Scope,
798 static bool isDeclarationOfODRMember(bool IsDefinition, const Metadata *Scope,
803 if (IsDefinition || !Scope || !LinkageName)
806 auto *CT = dyn_cast_or_null<DICompositeType>(Scope);
816 return IsDefinition == RHS->isDefinition() && Scope == RHS->getRawScope() &&
823 Metadata *Scope;
828 MDNodeKeyImpl(Metadata *Scope, Metadata *File, unsigned Line, unsigned Column)
829 : Scope(Scope), File(File), Line(Line), Column(Column) {}
831 : Scope(N->getRawScope()), File(N->getRawFile()), Line(N->getLine()),
835 return Scope == RHS->getRawScope() && File == RHS->getRawFile() &&
840 return hash_combine(Scope, File, Line, Column);
845 Metadata *Scope;
849 MDNodeKeyImpl(Metadata *Scope, Metadata *File, unsigned Discriminator)
850 : Scope(Scope), File(File), Discriminator(Discriminator) {}
852 : Scope(N->getRawScope()), File(N->getRawFile()),
856 return Scope == RHS->getRawScope() && File == RHS->getRawFile() &&
861 return hash_combine(Scope, File, Discriminator);
866 Metadata *Scope;
870 MDNodeKeyImpl(Metadata *Scope, MDString *Name, bool ExportSymbols)
871 : Scope(Scope), Name(Name), ExportSymbols(ExportSymbols) {}
873 : Scope(N->getRawScope()), Name(N->getRawName()),
877 return Scope == RHS->getRawScope() && Name == RHS->getRawName() &&
881 unsigned getHashValue() const { return hash_combine(Scope, Name); }
885 Metadata *Scope;
891 MDNodeKeyImpl(Metadata *Scope, Metadata *Decl, MDString *Name, Metadata *File,
893 : Scope(Scope), Decl(Decl), Name(Name), File(File), LineNo(LineNo) {}
895 : Scope(N->getRawScope()), Decl(N->getRawDecl()), Name(N->getRawName()),
899 return Scope == RHS->getRawScope() && Decl == RHS->getRawDecl() &&
905 return hash_combine(Scope, Decl, Name, File, LineNo);
911 Metadata *Scope;
919 MDNodeKeyImpl(Metadata *File, Metadata *Scope, MDString *Name,
922 : File(File), Scope(Scope), Name(Name),
926 : File(N->getRawFile()), Scope(N->getRawScope()), Name(N->getRawName()),
933 return Scope == RHS->getRawScope() && Name == RHS->getRawName() &&
942 return hash_combine(Scope, Name, ConfigurationMacros, IncludePath);
991 Metadata *Scope;
1004 MDNodeKeyImpl(Metadata *Scope, MDString *Name, MDString *LinkageName,
1009 : Scope(Scope), Name(Name), LinkageName(LinkageName), File(File),
1016 : Scope(N->getRawScope()), Name(N->getRawName()),
1025 return Scope == RHS->getRawScope() && Name == RHS->getRawName() &&
1045 return hash_combine(Scope, Name, LinkageName, File, Line, Type,
1052 Metadata *Scope;
1062 MDNodeKeyImpl(Metadata *Scope, MDString *Name, Metadata *File, unsigned Line,
1065 : Scope(Scope), Name(Name), File(File), Line(Line), Type(Type), Arg(Arg),
1068 : Scope(N->getRawScope()), Name(N->getRawName()), File(N->getRawFile()),
1074 return Scope == RHS->getRawScope() && Name == RHS->getRawName() &&
1089 return hash_combine(Scope, Name, File, Line, Type, Arg, Flags, Annotations);
1094 Metadata *Scope;
1099 MDNodeKeyImpl(Metadata *Scope, MDString *Name, Metadata *File, unsigned Line)
1100 : Scope(Scope), Name(Name), File(File), Line(Line) {}
1102 : Scope(N->getRawScope()), Name(N->getRawName()), File(N->getRawFile()),
1106 return Scope == RHS->getRawScope() && Name == RHS->getRawName() &&
1111 unsigned getHashValue() const { return hash_combine(Scope, Name, Line); }
1180 Metadata *Scope;
1187 MDNodeKeyImpl(unsigned Tag, Metadata *Scope, Metadata *Entity, Metadata *File,
1189 : Tag(Tag), Scope(Scope), Entity(Entity), File(File), Line(Line),
1192 : Tag(N->getTag()), Scope(N->getRawScope()), Entity(N->getRawEntity()),
1197 return Tag == RHS->getTag() && Scope == RHS->getRawScope() &&
1204 return hash_combine(Tag, Scope, Entity, File, Line, Name, Elements);