reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

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;
  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;
include/llvm/TableGen/Record.h
  634   CodeInit &operator=(const StringInit &) = delete;
  640   static CodeInit *get(StringRef, const SMLoc &Loc);
lib/TableGen/JSONBackend.cpp
   62   } else if (auto *Code = dyn_cast<CodeInit>(&I)) {
lib/TableGen/Record.cpp
  517 CodeInit *CodeInit::get(StringRef V, const SMLoc &Loc) {
  524     return new (Allocator) CodeInit("", Loc);
  530   return new(Allocator) CodeInit(Entry.getKey(), Loc);
  546     return CodeInit::get(getValue(), SMLoc());
 2177   if (CodeInit *CI = dyn_cast<CodeInit>(R->getValue()))
 2177   if (CodeInit *CI = dyn_cast<CodeInit>(R->getValue()))
lib/TableGen/TGParser.cpp
 1807     R = CodeInit::get(Lex.getCurStrVal(), Lex.getLoc());
tools/clang/utils/TableGen/ClangOptionDocEmitter.cpp
  220       else if (auto *CV = dyn_cast_or_null<CodeInit>(V->getValue()))
  220       else if (auto *CV = dyn_cast_or_null<CodeInit>(V->getValue()))
utils/TableGen/AsmWriterEmitter.cpp
 1121       if (CodeInit *SI = dyn_cast<CodeInit>(MCOpPred)) {
 1121       if (CodeInit *SI = dyn_cast<CodeInit>(MCOpPred)) {
utils/TableGen/GICombinerEmitter.cpp
   72   const CodeInit *MatchingFixupCode = nullptr;
   82   const CodeInit *getMatchingFixupCode() const { return MatchingFixupCode; }
  172     if (const CodeInit *CodeI = dyn_cast<CodeInit>(Matchers->getArg(I))) {
  172     if (const CodeInit *CodeI = dyn_cast<CodeInit>(Matchers->getArg(I))) {
  323     if (const CodeInit *Code = dyn_cast<CodeInit>(Applyer->getArg(0))) {
  323     if (const CodeInit *Code = dyn_cast<CodeInit>(Applyer->getArg(0))) {
utils/TableGen/RISCVCompressInstEmitter.cpp
  752       if (CodeInit *SI = dyn_cast<CodeInit>(MCOpPred))
  752       if (CodeInit *SI = dyn_cast<CodeInit>(MCOpPred))
utils/TableGen/SearchableTableEmitter.cpp
  116     else if (CodeInit *CI = dyn_cast<CodeInit>(I))
  116     else if (CodeInit *CI = dyn_cast<CodeInit>(I))
  144     return isa<BitsInit>(I) || isa<CodeInit>(I) || isIntrinsic(I);