|
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;
tools/clang/include/clang/StaticAnalyzer/Checkers/SValExplainer.h 155 std::string VisitAllocaRegion(const AllocaRegion *R) {
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h 1299 const AllocaRegion *getAllocaRegion(const Expr *Ex, unsigned Cnt,
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h 613 const REGION* getRegionAs() const {
614 return dyn_cast<REGION>(getRegion());
tools/clang/lib/StaticAnalyzer/Checkers/BuiltinFunctionChecker.cpp 82 const AllocaRegion* R =
tools/clang/lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp 202 return isa<AllocaRegion>(Arg) || isa<BlockDataRegion>(Arg) ||
tools/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp 1807 if (isa<AllocaRegion>(R))
tools/clang/lib/StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp 83 } else if (const auto *AR = dyn_cast<AllocaRegion>(R)) {
83 } else if (const auto *AR = dyn_cast<AllocaRegion>(R)) {
tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp 2045 } else if (L->getRegionAs<AllocaRegion>())
tools/clang/lib/StaticAnalyzer/Core/MemRegion.cpp 83 RegionTy* MemRegionManager::getSubRegion(const Arg1Ty arg1, const Arg2Ty arg2,
86 RegionTy::ProfileRegion(ID, arg1, arg2, superRegion);
88 auto *R = cast_or_null<RegionTy>(Regions.FindNodeOrInsertPos(ID, InsertPos));
88 auto *R = cast_or_null<RegionTy>(Regions.FindNodeOrInsertPos(ID, InsertPos));
91 R = A.Allocate<RegionTy>();
92 new (R) RegionTy(arg1, arg2, superRegion);
1120 const AllocaRegion*
1125 return getSubRegion<AllocaRegion>(E, cnt, getStackLocalsRegion(STC));
tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp 1147 if (isa<AllocaRegion>(baseR) || isa<SymbolicRegion>(baseR)) {
tools/clang/lib/StaticAnalyzer/Core/SymbolManager.cpp 447 if (isa<AllocaRegion>(MR))