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);
   66   static inline bool doit(const From &) { return true; }
  104   static inline bool doit(const From *Val) {
  106     return isa_impl<To, From>::doit(*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) {
  263 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*,
  265   return cast_convert_val<X, Y*,
  266                           typename simplify_type<Y*>::SimpleType>::doit(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) {
  342 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
 1075   VarInit(const VarInit &) = delete;
 1076   VarInit &operator=(const VarInit &) = delete;
 1076   VarInit &operator=(const VarInit &) = delete;
 1082   static VarInit *get(StringRef VN, RecTy *T);
 1083   static VarInit *get(Init *VN, RecTy *T);
lib/TableGen/JSONBackend.cpp
   83   } else if (auto *Var = dyn_cast<VarInit>(&I)) {
   88     if (auto *Var = dyn_cast<VarInit>(VarBit->getBitVar())) {
   88     if (auto *Var = dyn_cast<VarInit>(VarBit->getBitVar())) {
lib/TableGen/Record.cpp
 1132     VarInit *LHSv = dyn_cast<VarInit>(LHS);
 1132     VarInit *LHSv = dyn_cast<VarInit>(LHS);
 1136     VarInit *MHSv = dyn_cast<VarInit>(MHS);
 1136     VarInit *MHSv = dyn_cast<VarInit>(MHS);
 1140     VarInit *RHSv = dyn_cast<VarInit>(RHS);
 1140     VarInit *RHSv = dyn_cast<VarInit>(RHS);
 1153       return VarInit::get(Val, getType());
 1466 VarInit *VarInit::get(StringRef VN, RecTy *T) {
 1468   return VarInit::get(Value, T);
 1471 VarInit *VarInit::get(Init *VN, RecTy *T) {
 1473   static DenseMap<Key, VarInit*> ThePool;
 1477   VarInit *&I = ThePool[TheKey];
 1479     I = new(Allocator) VarInit(VN, T);
lib/TableGen/TGParser.cpp
   77       if (auto VI = dyn_cast<VarInit>(VBI->getBitVar())) {
   81     } else if (isa<VarInit>(Bit)) {
  174     if (VarInit *VI = dyn_cast<VarInit>(V))
  174     if (VarInit *VI = dyn_cast<VarInit>(V))
  267         VarInit::get(QualifiedNameOfImplicitName(*CurRec), StringRecTy::get());
  336       VarInit::get(QualifiedNameOfImplicitName(CurMC), StringRecTy::get()));
  520       Name = BinOpInit::getStrConcat(VarInit::get(NameStr, StringRecTy::get()),
  851       return VarInit::get(Name, RV->getType());
  866       return VarInit::get(TemplateArgName, RV->getType());
  868       return VarInit::get(TemplateArgName, StringRecTy::get());
  874     VarInit *IterVar = dyn_cast<VarInit>(L->IterVar);
  874     VarInit *IterVar = dyn_cast<VarInit>(L->IterVar);
 1910       if (VarInit *VI = dyn_cast<VarInit>(Vals[i])) {
 1910       if (VarInit *VI = dyn_cast<VarInit>(Vals[i])) {
 2434 VarInit *TGParser::ParseForeachDeclaration(Init *&ForeachListValue) {
 2509   return VarInit::get(DeclName, IterType);
 2777   VarInit *IterName = ParseForeachDeclaration(ListValue);
 3050           VarInit::get(QualifiedNameOfImplicitName(CurMultiClass),
lib/TableGen/TGParser.h
   61     VarInit *IterVar;
   67     ForeachLoop(SMLoc Loc, VarInit *IVar, Init *LValue)
  174   VarInit *ParseForeachDeclaration(Init *&ForeachListValue);
usr/include/c++/7.4.0/type_traits
 1983     { typedef _Up     type; };
utils/TableGen/CodeEmitterGen.cpp
   69     if (VarInit *VI = dyn_cast<VarInit>(VBI->getBitVar()))
   69     if (VarInit *VI = dyn_cast<VarInit>(VBI->getBitVar()))
   72   } else if (VarInit *VI = dyn_cast<VarInit>(BI->getBit(bit))) {
   72   } else if (VarInit *VI = dyn_cast<VarInit>(BI->getBit(bit))) {
utils/TableGen/FixedLenDecoderEmitter.cpp
 1877         VarInit *Var = nullptr;
 1880           Var = dyn_cast<VarInit>(BI->getBitVar());
 1882           Var = dyn_cast<VarInit>(Bits.getBit(bi));
 1899         VarInit *Var = nullptr;
 1902           Var = dyn_cast<VarInit>(BI->getBitVar());
 1904           Var = dyn_cast<VarInit>(Bits.getBit(bi));
 2051       VarInit *Var = nullptr;
 2054         Var = dyn_cast<VarInit>(BI->getBitVar());
 2056         Var = dyn_cast<VarInit>(Bits.getBit(bi));