reference, declarationdefinition
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*,
  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
  118   std::string VisitSymIntExpr(const SymIntExpr *S) {
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConstraintManager.h
  170       if (const SymIntExpr *SIE = dyn_cast<SymIntExpr>(BSE)) {
  170       if (const SymIntExpr *SIE = dyn_cast<SymIntExpr>(BSE)) {
  277       if (const SymIntExpr *SIE = dyn_cast<SymIntExpr>(BSE))
  277       if (const SymIntExpr *SIE = dyn_cast<SymIntExpr>(BSE))
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConv.h
  384     if (const SymIntExpr *SIE = dyn_cast<SymIntExpr>(BSE)) {
  384     if (const SymIntExpr *SIE = dyn_cast<SymIntExpr>(BSE)) {
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h
  517   const SymIntExpr *getSymIntExpr(const SymExpr *lhs, BinaryOperator::Opcode op,
  520   const SymIntExpr *getSymIntExpr(const SymExpr &lhs, BinaryOperator::Opcode op,
tools/clang/lib/StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp
   88     if (const SymIntExpr *SIE = dyn_cast<SymIntExpr>(SymVal->getSymbol())) {
   88     if (const SymIntExpr *SIE = dyn_cast<SymIntExpr>(SymVal->getSymbol())) {
tools/clang/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp
  423   if (auto *SIE = dyn_cast<SymIntExpr>(CondBSE)) {
tools/clang/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp
  359   Optional<std::string> VisitSymIntExpr(const SymIntExpr *S) {
tools/clang/lib/StaticAnalyzer/Checkers/IteratorChecker.cpp
  802       if(const auto *SIE = dyn_cast<SymIntExpr>(CData.getBegin()))
  802       if(const auto *SIE = dyn_cast<SymIntExpr>(CData.getBegin()))
  807       if(const auto *SIE = dyn_cast<SymIntExpr>(CData.getEnd()))
  807       if(const auto *SIE = dyn_cast<SymIntExpr>(CData.getEnd()))
 2062     return assumeNoOverflow(NewState, cast<SymIntExpr>(CompSym)->getLHS(), 2);
tools/clang/lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp
  522   if (auto *SIE = dyn_cast<SymIntExpr>(CondBSE)) {
tools/clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
  341     if (const SymIntExpr *SIE = dyn_cast<SymIntExpr>(SE)) {
  341     if (const SymIntExpr *SIE = dyn_cast<SymIntExpr>(SE)) {
  455     const SymIntExpr* SIE) {
  509   if (const SymIntExpr* SIE = dyn_cast<SymIntExpr>(Sym))
  509   if (const SymIntExpr* SIE = dyn_cast<SymIntExpr>(Sym))
tools/clang/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp
   31   } else if (const SymIntExpr *SIE = dyn_cast<SymIntExpr>(Sym)) {
   31   } else if (const SymIntExpr *SIE = dyn_cast<SymIntExpr>(Sym)) {
  187   if (const SymIntExpr *SE = dyn_cast<SymIntExpr>(Sym)) {
  187   if (const SymIntExpr *SE = dyn_cast<SymIntExpr>(Sym)) {
tools/clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp
  357   if (const auto *SymInt = dyn_cast<SymIntExpr>(Sym))
  357   if (const auto *SymInt = dyn_cast<SymIntExpr>(Sym))
  664       if (const SymIntExpr *symIntExpr = dyn_cast<SymIntExpr>(Sym)) {
  664       if (const SymIntExpr *symIntExpr = dyn_cast<SymIntExpr>(Sym)) {
 1273     SVal VisitSymIntExpr(const SymIntExpr *S) {
tools/clang/lib/StaticAnalyzer/Core/SymbolManager.cpp
  152       itr.push_back(cast<SymIntExpr>(SE)->getLHS());
  269 const SymIntExpr *SymbolManager::getSymIntExpr(const SymExpr *lhs,
  274   SymIntExpr::Profile(ID, lhs, op, v, t);
  279     data = (SymIntExpr*) BPAlloc.Allocate<SymIntExpr>();
  280     new (data) SymIntExpr(lhs, op, v, t);
  284   return cast<SymIntExpr>(data);
  490     KnownLive = isLive(cast<SymIntExpr>(sym)->getLHS());