Lines Matching refs:ID

70   llvm::FoldingSetNodeID ID;  in getSubRegion()  local
71 RegionTy::ProfileRegion(ID, arg1, superRegion); in getSubRegion()
73 auto *R = cast_or_null<RegionTy>(Regions.FindNodeOrInsertPos(ID, InsertPos)); in getSubRegion()
87 llvm::FoldingSetNodeID ID; in getSubRegion() local
88 RegionTy::ProfileRegion(ID, arg1, arg2, superRegion); in getSubRegion()
90 auto *R = cast_or_null<RegionTy>(Regions.FindNodeOrInsertPos(ID, InsertPos)); in getSubRegion()
106 llvm::FoldingSetNodeID ID; in getSubRegion() local
107 RegionTy::ProfileRegion(ID, arg1, arg2, arg3, superRegion); in getSubRegion()
109 auto *R = cast_or_null<RegionTy>(Regions.FindNodeOrInsertPos(ID, InsertPos)); in getSubRegion()
214 void MemSpaceRegion::Profile(llvm::FoldingSetNodeID &ID) const { in Profile()
215 ID.AddInteger(static_cast<unsigned>(getKind())); in Profile()
218 void StackSpaceRegion::Profile(llvm::FoldingSetNodeID &ID) const { in Profile()
219 ID.AddInteger(static_cast<unsigned>(getKind())); in Profile()
220 ID.AddPointer(getStackFrame()); in Profile()
223 void StaticGlobalSpaceRegion::Profile(llvm::FoldingSetNodeID &ID) const { in Profile()
224 ID.AddInteger(static_cast<unsigned>(getKind())); in Profile()
225 ID.AddPointer(getCodeRegion()); in Profile()
228 void StringRegion::ProfileRegion(llvm::FoldingSetNodeID &ID, in ProfileRegion() argument
231 ID.AddInteger(static_cast<unsigned>(StringRegionKind)); in ProfileRegion()
232 ID.AddPointer(Str); in ProfileRegion()
233 ID.AddPointer(superRegion); in ProfileRegion()
236 void ObjCStringRegion::ProfileRegion(llvm::FoldingSetNodeID &ID, in ProfileRegion() argument
239 ID.AddInteger(static_cast<unsigned>(ObjCStringRegionKind)); in ProfileRegion()
240 ID.AddPointer(Str); in ProfileRegion()
241 ID.AddPointer(superRegion); in ProfileRegion()
244 void AllocaRegion::ProfileRegion(llvm::FoldingSetNodeID& ID, in ProfileRegion() argument
247 ID.AddInteger(static_cast<unsigned>(AllocaRegionKind)); in ProfileRegion()
248 ID.AddPointer(Ex); in ProfileRegion()
249 ID.AddInteger(cnt); in ProfileRegion()
250 ID.AddPointer(superRegion); in ProfileRegion()
253 void AllocaRegion::Profile(llvm::FoldingSetNodeID& ID) const { in Profile()
254 ProfileRegion(ID, Ex, Cnt, superRegion); in Profile()
257 void CompoundLiteralRegion::Profile(llvm::FoldingSetNodeID& ID) const { in Profile()
258 CompoundLiteralRegion::ProfileRegion(ID, CL, superRegion); in Profile()
261 void CompoundLiteralRegion::ProfileRegion(llvm::FoldingSetNodeID& ID, in ProfileRegion() argument
264 ID.AddInteger(static_cast<unsigned>(CompoundLiteralRegionKind)); in ProfileRegion()
265 ID.AddPointer(CL); in ProfileRegion()
266 ID.AddPointer(superRegion); in ProfileRegion()
269 void CXXThisRegion::ProfileRegion(llvm::FoldingSetNodeID &ID, in ProfileRegion() argument
272 ID.AddInteger(static_cast<unsigned>(CXXThisRegionKind)); in ProfileRegion()
273 ID.AddPointer(PT); in ProfileRegion()
274 ID.AddPointer(sRegion); in ProfileRegion()
277 void CXXThisRegion::Profile(llvm::FoldingSetNodeID &ID) const { in Profile()
278 CXXThisRegion::ProfileRegion(ID, ThisPointerTy, superRegion); in Profile()
281 void FieldRegion::Profile(llvm::FoldingSetNodeID &ID) const { in Profile()
282 ProfileRegion(ID, getDecl(), superRegion); in Profile()
285 void ObjCIvarRegion::ProfileRegion(llvm::FoldingSetNodeID& ID, in ProfileRegion() argument
288 ID.AddInteger(static_cast<unsigned>(ObjCIvarRegionKind)); in ProfileRegion()
289 ID.AddPointer(ivd); in ProfileRegion()
290 ID.AddPointer(superRegion); in ProfileRegion()
293 void ObjCIvarRegion::Profile(llvm::FoldingSetNodeID &ID) const { in Profile()
294 ProfileRegion(ID, getDecl(), superRegion); in Profile()
297 void NonParamVarRegion::ProfileRegion(llvm::FoldingSetNodeID &ID, in ProfileRegion() argument
300 ID.AddInteger(static_cast<unsigned>(NonParamVarRegionKind)); in ProfileRegion()
301 ID.AddPointer(VD); in ProfileRegion()
302 ID.AddPointer(superRegion); in ProfileRegion()
305 void NonParamVarRegion::Profile(llvm::FoldingSetNodeID &ID) const { in Profile()
306 ProfileRegion(ID, getDecl(), superRegion); in Profile()
309 void ParamVarRegion::ProfileRegion(llvm::FoldingSetNodeID &ID, const Expr *OE, in ProfileRegion() argument
311 ID.AddInteger(static_cast<unsigned>(ParamVarRegionKind)); in ProfileRegion()
312 ID.AddPointer(OE); in ProfileRegion()
313 ID.AddInteger(Idx); in ProfileRegion()
314 ID.AddPointer(SReg); in ProfileRegion()
317 void ParamVarRegion::Profile(llvm::FoldingSetNodeID &ID) const { in Profile()
318 ProfileRegion(ID, getOriginExpr(), getIndex(), superRegion); in Profile()
321 void SymbolicRegion::ProfileRegion(llvm::FoldingSetNodeID& ID, SymbolRef sym, in ProfileRegion() argument
323 ID.AddInteger(static_cast<unsigned>(MemRegion::SymbolicRegionKind)); in ProfileRegion()
324 ID.Add(sym); in ProfileRegion()
325 ID.AddPointer(sreg); in ProfileRegion()
328 void SymbolicRegion::Profile(llvm::FoldingSetNodeID& ID) const { in Profile()
329 SymbolicRegion::ProfileRegion(ID, sym, getSuperRegion()); in Profile()
332 void ElementRegion::ProfileRegion(llvm::FoldingSetNodeID& ID, in ProfileRegion() argument
335 ID.AddInteger(MemRegion::ElementRegionKind); in ProfileRegion()
336 ID.Add(ElementType); in ProfileRegion()
337 ID.AddPointer(superRegion); in ProfileRegion()
338 Idx.Profile(ID); in ProfileRegion()
341 void ElementRegion::Profile(llvm::FoldingSetNodeID& ID) const { in Profile()
342 ElementRegion::ProfileRegion(ID, ElementType, Index, superRegion); in Profile()
345 void FunctionCodeRegion::ProfileRegion(llvm::FoldingSetNodeID& ID, in ProfileRegion() argument
348 ID.AddInteger(MemRegion::FunctionCodeRegionKind); in ProfileRegion()
349 ID.AddPointer(FD); in ProfileRegion()
352 void FunctionCodeRegion::Profile(llvm::FoldingSetNodeID& ID) const { in Profile()
353 FunctionCodeRegion::ProfileRegion(ID, FD, superRegion); in Profile()
356 void BlockCodeRegion::ProfileRegion(llvm::FoldingSetNodeID& ID, in ProfileRegion() argument
360 ID.AddInteger(MemRegion::BlockCodeRegionKind); in ProfileRegion()
361 ID.AddPointer(BD); in ProfileRegion()
364 void BlockCodeRegion::Profile(llvm::FoldingSetNodeID& ID) const { in Profile()
365 BlockCodeRegion::ProfileRegion(ID, BD, locTy, AC, superRegion); in Profile()
368 void BlockDataRegion::ProfileRegion(llvm::FoldingSetNodeID& ID, in ProfileRegion() argument
373 ID.AddInteger(MemRegion::BlockDataRegionKind); in ProfileRegion()
374 ID.AddPointer(BC); in ProfileRegion()
375 ID.AddPointer(LC); in ProfileRegion()
376 ID.AddInteger(BlkCount); in ProfileRegion()
377 ID.AddPointer(sReg); in ProfileRegion()
380 void BlockDataRegion::Profile(llvm::FoldingSetNodeID& ID) const { in Profile()
381 BlockDataRegion::ProfileRegion(ID, BC, LC, BlockCount, getSuperRegion()); in Profile()
384 void CXXTempObjectRegion::ProfileRegion(llvm::FoldingSetNodeID &ID, in ProfileRegion() argument
387 ID.AddPointer(Ex); in ProfileRegion()
388 ID.AddPointer(sReg); in ProfileRegion()
391 void CXXTempObjectRegion::Profile(llvm::FoldingSetNodeID &ID) const { in Profile()
392 ProfileRegion(ID, Ex, getSuperRegion()); in Profile()
395 void CXXBaseObjectRegion::ProfileRegion(llvm::FoldingSetNodeID &ID, in ProfileRegion() argument
399 ID.AddPointer(RD); in ProfileRegion()
400 ID.AddBoolean(IsVirtual); in ProfileRegion()
401 ID.AddPointer(SReg); in ProfileRegion()
404 void CXXBaseObjectRegion::Profile(llvm::FoldingSetNodeID &ID) const { in Profile()
405 ProfileRegion(ID, getDecl(), isVirtual(), superRegion); in Profile()
408 void CXXDerivedObjectRegion::ProfileRegion(llvm::FoldingSetNodeID &ID, in ProfileRegion() argument
411 ID.AddPointer(RD); in ProfileRegion()
412 ID.AddPointer(SReg); in ProfileRegion()
415 void CXXDerivedObjectRegion::Profile(llvm::FoldingSetNodeID &ID) const { in Profile()
416 ProfileRegion(ID, getDecl(), superRegion); in Profile()
531 if (const IdentifierInfo *ID = VD->getIdentifier()) in dumpToStream() local
532 os << ID->getName(); in dumpToStream()
586 if (const IdentifierInfo *ID = PVD->getIdentifier()) { in dumpToStream() local
587 os << ID->getName(); in dumpToStream()
1124 llvm::FoldingSetNodeID ID; in getElementRegion() local
1125 ElementRegion::ProfileRegion(ID, T, Idx, superRegion); in getElementRegion()
1128 MemRegion* data = Regions.FindNodeOrInsertPos(ID, InsertPos); in getElementRegion()