Home | History | Annotate | Download | only in IR

Lines Matching refs:MDNode

193 // Provide a FoldingSetTrait::Equals specialization for MDNode that can use a
195 template<> struct FoldingSetTrait<MDNode> : DefaultFoldingSetTrait<MDNode> {
196 static bool Equals(const MDNode &X, const FoldingSetNodeID &ID,
198 assert(!X.isNotUniqued() && "Non-uniqued MDNode in FoldingSet?");
208 static unsigned ComputeHash(const MDNode &X, FoldingSetNodeID &) {
225 DebugRecVH(MDNode *n, LLVMContextImpl *ctx, int idx)
228 MDNode *get() const {
229 return cast_or_null<MDNode>(getValPtr());
265 FoldingSet<MDNode> MDNodeSet;
271 SmallPtrSet<MDNode*, 1> NonUniquedMDNodes;
337 typedef std::pair<unsigned, TrackingVH<MDNode> > MDPairTy;
344 /// ScopeRecordIdx - This is the index in ScopeRecords for an MDNode scope
346 DenseMap<MDNode*, int> ScopeRecordIdx;
350 /// the MDNode is RAUW'd.
355 DenseMap<std::pair<MDNode*, MDNode*>, int> ScopeInlinedAtIdx;
377 int getOrAddScopeRecordIdxEntry(MDNode *N, int ExistingIdx);
378 int getOrAddScopeInlinedAtIdxEntry(MDNode *Scope, MDNode *IA,int ExistingIdx);