|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/Support/Allocator.h 81 template <typename T> T *Allocate(size_t Num = 1) {
82 return static_cast<T *>(Allocate(Num * sizeof(T), alignof(T)));
82 return static_cast<T *>(Allocate(Num * sizeof(T), alignof(T)));
include/llvm/Support/Casting.h 58 return To::classof(&Val);
106 return isa_impl<To, From>::doit(*Val);
122 return isa_impl_wrap<To, SimpleFrom,
132 return isa_impl_cl<To,FromTy>::doit(Val);
142 return isa_impl_wrap<X, const Y,
172 using ret_type = To *; // Pointer arg case, return Ty*
176 using ret_type = const To *; // Constant pointer arg case, return const Ty*
198 using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
204 using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
210 To, From, typename simplify_type<From>::SimpleType>::ret_type;
227 static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
228 typename cast_retty<To, FromTy>::ret_type Res2
256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
265 return cast_convert_val<X, Y*,
305 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
309 return cast<X>(Val);
337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
343 return isa<X>(Val) ? cast<X>(Val) : nullptr;
343 return isa<X>(Val) ? cast<X>(Val) : nullptr;
366 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
368 return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
368 return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
tools/clang/include/clang/StaticAnalyzer/Checkers/SValExplainer.h 198 std::string VisitObjCIvarRegion(const ObjCIvarRegion *R) {
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h 1359 const ObjCIvarRegion *getObjCIvarRegion(const ObjCIvarDecl *ivd,
tools/clang/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp 143 const ObjCIvarRegion *getIvarRegionForIvarSymbol(SymbolRef IvarSym) const;
309 const ObjCIvarRegion *
311 return dyn_cast_or_null<ObjCIvarRegion>(IvarSym->getOriginRegion());
319 const ObjCIvarRegion *IvarRegion = getIvarRegionForIvarSymbol(IvarSym);
515 const ObjCIvarRegion *IvarRegion = cast<ObjCIvarRegion>(TVR);
515 const ObjCIvarRegion *IvarRegion = cast<ObjCIvarRegion>(TVR);
857 const ObjCIvarRegion *RemovedRegion = getIvarRegionForIvarSymbol(Value);
869 const ObjCIvarRegion *UnreleasedRegion = getIvarRegionForIvarSymbol(Sym);
tools/clang/lib/StaticAnalyzer/Checkers/MacOSXAPIChecker.cpp 35 static const ObjCIvarRegion *getParentIvarRegion(const MemRegion *R);
53 const ObjCIvarRegion *
57 if (const ObjCIvarRegion *IR = dyn_cast<ObjCIvarRegion>(SR))
57 if (const ObjCIvarRegion *IR = dyn_cast<ObjCIvarRegion>(SR))
113 } else if (const ObjCIvarRegion *IVR = getParentIvarRegion(R)) {
tools/clang/lib/StaticAnalyzer/Checkers/ObjCSuperDeallocChecker.cpp 158 auto *IvarRegion = dyn_cast_or_null<ObjCIvarRegion>(PriorSubRegion);
tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp 293 if (!Sym || !dyn_cast_or_null<ObjCIvarRegion>(Sym->getOriginRegion()))
tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp 563 if (const auto *IvarR = dyn_cast<ObjCIvarRegion>(RegionOfInterest)) {
563 if (const auto *IvarR = dyn_cast<ObjCIvarRegion>(RegionOfInterest)) {
tools/clang/lib/StaticAnalyzer/Core/MemRegion.cpp 66 RegionTy* MemRegionManager::getSubRegion(const Arg1Ty arg1,
69 RegionTy::ProfileRegion(ID, arg1, superRegion);
71 auto *R = cast_or_null<RegionTy>(Regions.FindNodeOrInsertPos(ID, InsertPos));
71 auto *R = cast_or_null<RegionTy>(Regions.FindNodeOrInsertPos(ID, InsertPos));
74 R = A.Allocate<RegionTy>();
75 new (R) RegionTy(arg1, superRegion);
1037 const ObjCIvarRegion*
1040 return getSubRegion<ObjCIvarRegion>(d, superRegion);
tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp 567 SVal getBindingForObjCIvar(RegionBindingsConstRef B, const ObjCIvarRegion *R);
1532 if (const ObjCIvarRegion *IVR = dyn_cast<ObjCIvarRegion>(R)) {
1532 if (const ObjCIvarRegion *IVR = dyn_cast<ObjCIvarRegion>(R)) {
1963 const ObjCIvarRegion* R) {