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;
include/llvm/TableGen/Record.h
  177   static StringRecTy Shared;
  186   static StringRecTy *get() { return &Shared; }
  598       : TypedInit(IK_StringInit, StringRecTy::get()), Value(V) {}
lib/TableGen/Record.cpp
   56 StringRecTy StringRecTy::Shared;
  543   if (isa<StringRecTy>(Ty))
  554   if (isa<StringRecTy>(Ty))
  715     if (isa<StringRecTy>(getType())) {
  857   return BinOpInit::get(BinOpInit::STRCONCAT, I0, I1, StringRecTy::get());
 2037   if (!isa<StringRecTy>(TypedName->getType()))
lib/TableGen/TGParser.cpp
  267         VarInit::get(QualifiedNameOfImplicitName(*CurRec), StringRecTy::get());
  336       VarInit::get(QualifiedNameOfImplicitName(CurMC), StringRecTy::get()));
  511   Init *Name = ParseValue(CurRec, StringRecTy::get(), ParseNameMode);
  520       Name = BinOpInit::getStrConcat(VarInit::get(NameStr, StringRecTy::get()),
  800   case tgtok::String: Lex.Lex(); return StringRecTy::get();
  868       return VarInit::get(TemplateArgName, StringRecTy::get());
  966         StringRecTy *SType = dyn_cast<StringRecTy>(LHSt->getType());
  966         StringRecTy *SType = dyn_cast<StringRecTy>(LHSt->getType());
 1124       Type = StringRecTy::get();
 1125       ArgType = StringRecTy::get();
 1192               !ArgType->typeIsConvertibleTo(StringRecTy::get())) {
 1443       if (RHSt && StringRecTy::get()->getListTy() != RHSt->getType()) {
 2203       if (LHS->getType() != StringRecTy::get()) {
 2205             UnOpInit::get(UnOpInit::CAST, LHS, StringRecTy::get())
 2238         if (RHS->getType() != StringRecTy::get()) {
 2240               UnOpInit::get(UnOpInit::CAST, RHS, StringRecTy::get())
 3051                        StringRecTy::get()),
utils/TableGen/DFAEmitter.cpp
  346     } else if (isa<StringRecTy>(SymbolV->getType()) ||
utils/TableGen/SearchableTableEmitter.cpp
  148     if (isa<StringRecTy>(Field.RecType)) {
  260       if (isa<StringRecTy>(Field.RecType)) {
  345         if (isa<StringRecTy>(Field.RecType))
  410     if (isa<StringRecTy>(Field.RecType)) {
  425     if (isa<StringRecTy>(Field.RecType)) {
  557   if (EarlyOut && isa<StringRecTy>(Index->Fields[0].RecType)) {
utils/TableGen/WebAssemblyDisassemblerEmitter.cpp
   49         Def.getValue("StackBased")->getValue()->getCastTo(StringRecTy::get());