Lines Matching full:scope
319 Metadata *Scope;
323 MDNodeKeyImpl(unsigned Line, unsigned Column, Metadata *Scope,
325 : Line(Line), Column(Column), Scope(Scope), InlinedAt(InlinedAt),
328 : Line(L->getLine()), Column(L->getColumn()), Scope(L->getRawScope()),
333 Scope == RHS->getRawScope() && InlinedAt == RHS->getRawInlinedAt() &&
338 return hash_combine(Line, Column, Scope, InlinedAt, ImplicitCode);
538 Metadata *Scope;
550 Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits,
555 : Tag(Tag), Name(Name), File(File), Line(Line), Scope(Scope),
562 Line(N->getLine()), Scope(N->getRawScope()),
572 Scope == RHS->getRawScope() && BaseType == RHS->getRawBaseType() &&
587 if (auto *CT = dyn_cast_or_null<DICompositeType>(Scope))
589 return hash_combine(Name, Scope);
595 return hash_combine(Tag, Name, File, Line, Scope, BaseType, Flags);
603 return isODRMember(LHS.Tag, LHS.Scope, LHS.Name, RHS);
614 static bool isODRMember(unsigned Tag, const Metadata *Scope,
620 auto *CT = dyn_cast_or_null<DICompositeType>(Scope);
626 Scope == RHS->getRawScope();
635 Metadata *Scope;
654 Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits,
661 : Tag(Tag), Name(Name), File(File), Line(Line), Scope(Scope),
671 Line(N->getLine()), Scope(N->getRawScope()),
686 Scope == RHS->getRawScope() && BaseType == RHS->getRawBaseType() &&
707 return hash_combine(Name, File, Line, BaseType, Scope, Elements,
758 Metadata *Scope;
778 MDNodeKeyImpl(Metadata *Scope, MDString *Name, MDString *LinkageName,
786 : Scope(Scope), Name(Name), LinkageName(LinkageName), File(File),
794 : Scope(N->getRawScope()), Name(N->getRawName()),
809 return Scope == RHS->getRawScope() && Name == RHS->getRawName() &&
829 // Use the Scope's linkage name instead of using the scope directly, as the
830 // scope may be a temporary one which can replaced, which would produce a
833 if (auto *CT = dyn_cast_or_null<DICompositeType>(Scope))
841 isa_and_nonnull<DICompositeType>(Scope))
856 return isDeclarationOfODRMember(LHS.isDefinition(), LHS.Scope,
868 static bool isDeclarationOfODRMember(bool IsDefinition, const Metadata *Scope,
873 if (IsDefinition || !Scope || !LinkageName)
876 auto *CT = dyn_cast_or_null<DICompositeType>(Scope);
886 return IsDefinition == RHS->isDefinition() && Scope == RHS->getRawScope() &&
893 Metadata *Scope;
898 MDNodeKeyImpl(Metadata *Scope, Metadata *File, unsigned Line, unsigned Column)
899 : Scope(Scope), File(File), Line(Line), Column(Column) {}
901 : Scope(N->getRawScope()), File(N->getRawFile()), Line(N->getLine()),
905 return Scope == RHS->getRawScope() && File == RHS->getRawFile() &&
910 return hash_combine(Scope, File, Line, Column);
915 Metadata *Scope;
919 MDNodeKeyImpl(Metadata *Scope, Metadata *File, unsigned Discriminator)
920 : Scope(Scope), File(File), Discriminator(Discriminator) {}
922 : Scope(N->getRawScope()), File(N->getRawFile()),
926 return Scope == RHS->getRawScope() && File == RHS->getRawFile() &&
931 return hash_combine(Scope, File, Discriminator);
936 Metadata *Scope;
940 MDNodeKeyImpl(Metadata *Scope, MDString *Name, bool ExportSymbols)
941 : Scope(Scope), Name(Name), ExportSymbols(ExportSymbols) {}
943 : Scope(N->getRawScope()), Name(N->getRawName()),
947 return Scope == RHS->getRawScope() && Name == RHS->getRawName() &&
951 unsigned getHashValue() const { return hash_combine(Scope, Name); }
955 Metadata *Scope;
961 MDNodeKeyImpl(Metadata *Scope, Metadata *Decl, MDString *Name, Metadata *File,
963 : Scope(Scope), Decl(Decl), Name(Name), File(File), LineNo(LineNo) {}
965 : Scope(N->getRawScope()), Decl(N->getRawDecl()), Name(N->getRawName()),
969 return Scope == RHS->getRawScope() && Decl == RHS->getRawDecl() &&
975 return hash_combine(Scope, Decl, Name, File, LineNo);
981 Metadata *Scope;
989 MDNodeKeyImpl(Metadata *File, Metadata *Scope, MDString *Name,
992 : File(File), Scope(Scope), Name(Name),
996 : File(N->getRawFile()), Scope(N->getRawScope()), Name(N->getRawName()),
1003 return Scope == RHS->getRawScope() && Name == RHS->getRawName() &&
1012 return hash_combine(Scope, Name, ConfigurationMacros, IncludePath);
1061 Metadata *Scope;
1074 MDNodeKeyImpl(Metadata *Scope, MDString *Name, MDString *LinkageName,
1079 : Scope(Scope), Name(Name), LinkageName(LinkageName), File(File),
1086 : Scope(N->getRawScope()), Name(N->getRawName()),
1095 return Scope == RHS->getRawScope() && Name == RHS->getRawName() &&
1115 return hash_combine(Scope, Name, LinkageName, File, Line, Type,
1122 Metadata *Scope;
1132 MDNodeKeyImpl(Metadata *Scope, MDString *Name, Metadata *File, unsigned Line,
1135 : Scope(Scope), Name(Name), File(File), Line(Line), Type(Type), Arg(Arg),
1138 : Scope(N->getRawScope()), Name(N->getRawName()), File(N->getRawFile()),
1144 return Scope == RHS->getRawScope() && Name == RHS->getRawName() &&
1159 return hash_combine(Scope, Name, File, Line, Type, Arg, Flags, Annotations);
1164 Metadata *Scope;
1169 MDNodeKeyImpl(Metadata *Scope, MDString *Name, Metadata *File, unsigned Line)
1170 : Scope(Scope), Name(Name), File(File), Line(Line) {}
1172 : Scope(N->getRawScope()), Name(N->getRawName()), File(N->getRawFile()),
1176 return Scope == RHS->getRawScope() && Name == RHS->getRawName() &&
1181 unsigned getHashValue() const { return hash_combine(Scope, Name, Line); }
1250 Metadata *Scope;
1257 MDNodeKeyImpl(unsigned Tag, Metadata *Scope, Metadata *Entity, Metadata *File,
1259 : Tag(Tag), Scope(Scope), Entity(Entity), File(File), Line(Line),
1262 : Tag(N->getTag()), Scope(N->getRawScope()), Entity(N->getRawEntity()),
1267 return Tag == RHS->getTag() && Scope == RHS->getRawScope() &&
1274 return hash_combine(Tag, Scope, Entity, File, Line, Name, Elements);
1656 /// synchronization scope names to their respective synchronization scope IDs.
1659 /// getOrInsertSyncScopeID - Maps synchronization scope name to
1660 /// synchronization scope ID. Every synchronization scope registered with
1665 /// synchronization scope names registered with LLVMContext. Synchronization
1666 /// scope names are ordered by increasing synchronization scope IDs.