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

Derived Classes

include/llvm/TableGen/Record.h
  483 class BitInit final : public TypedInit {
  513 class BitsInit final : public TypedInit, public FoldingSetNode,
  564 class IntInit : public TypedInit {
  594 class StringInit : public TypedInit {
  624 class CodeInit : public TypedInit {
  661 class ListInit final : public TypedInit, public FoldingSetNode,
  727 class OpInit : public TypedInit {
  923 class CondOpInit final : public TypedInit, public FoldingSetNode,
  998 class FoldOpInit : public TypedInit, public FoldingSetNode {
 1035 class IsAOpInit : public TypedInit, public FoldingSetNode {
 1068 class VarInit : public TypedInit {
 1105 class VarBitInit final : public TypedInit {
 1142 class VarListElementInit : public TypedInit {
 1174 class DefInit : public TypedInit {
 1209 class VarDefInit final : public TypedInit, public FoldingSetNode,
 1260 class FieldInit : public TypedInit {
 1302 class DagInit final : public TypedInit, public FoldingSetNode,

Declarations

include/llvm/TableGen/Record.h
   48 class TypedInit;

References

include/llvm/ADT/DenseMapInfo.h
   39   static inline T* getEmptyKey() {
   41     Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   45   static inline T* getTombstoneKey() {
   47     Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   51   static unsigned getHashValue(const T *PtrVal) {
   56   static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
   56   static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
include/llvm/Support/Casting.h
   57   static inline bool doit(const From &Val) {
   58     return To::classof(&Val);
  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/Support/PointerLikeTypeTraits.h
   56   static inline void *getAsVoidPointer(T *P) { return P; }
   57   static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
   59   enum { NumLowBitsAvailable = detail::ConstantLog2<alignof(T)>::value };
include/llvm/TableGen/Record.h
  433   TypedInit(const TypedInit &) = delete;
  434   TypedInit &operator=(const TypedInit &) = delete;
  434   TypedInit &operator=(const TypedInit &) = delete;
  483 class BitInit final : public TypedInit {
  513 class BitsInit final : public TypedInit, public FoldingSetNode,
  564 class IntInit : public TypedInit {
  594 class StringInit : public TypedInit {
  624 class CodeInit : public TypedInit {
  661 class ListInit final : public TypedInit, public FoldingSetNode,
  727 class OpInit : public TypedInit {
  824   static Init *getListConcat(TypedInit *lhs, Init *rhs);
  825   static Init *getListSplat(TypedInit *lhs, Init *rhs);
  923 class CondOpInit final : public TypedInit, public FoldingSetNode,
  998 class FoldOpInit : public TypedInit, public FoldingSetNode {
 1035 class IsAOpInit : public TypedInit, public FoldingSetNode {
 1068 class VarInit : public TypedInit {
 1105 class VarBitInit final : public TypedInit {
 1106   TypedInit *TI;
 1109   VarBitInit(TypedInit *T, unsigned B)
 1126   static VarBitInit *get(TypedInit *T, unsigned B);
 1142 class VarListElementInit : public TypedInit {
 1143   TypedInit *TI;
 1146   VarListElementInit(TypedInit *T, unsigned E)
 1162   static VarListElementInit *get(TypedInit *T, unsigned E);
 1164   TypedInit *getVariable() const { return TI; }
 1174 class DefInit : public TypedInit {
 1209 class VarDefInit final : public TypedInit, public FoldingSetNode,
 1260 class FieldInit : public TypedInit {
 1302 class DagInit final : public TypedInit, public FoldingSetNode,
lib/TableGen/Record.cpp
  868 Init *BinOpInit::getListConcat(TypedInit *LHS, Init *RHS) {
  878 Init *BinOpInit::getListSplat(TypedInit *LHS, Init *RHS) {
  923     TypedInit *Value = dyn_cast<TypedInit>(LHS);
  923     TypedInit *Value = dyn_cast<TypedInit>(LHS);
 1358   if (TypedInit *TI = dyn_cast<TypedInit>(Expr)) {
 1358   if (TypedInit *TI = dyn_cast<TypedInit>(Expr)) {
 1500 VarBitInit *VarBitInit::get(TypedInit *T, unsigned B) {
 1501   using Key = std::pair<TypedInit *, unsigned>;
 1524 VarListElementInit *VarListElementInit::get(TypedInit *T,
 1526   using Key = std::pair<TypedInit *, unsigned>;
 1548   if (NewTI != TI && isa<TypedInit>(NewTI))
 1549     return VarListElementInit::get(cast<TypedInit>(NewTI), getElementNum());
 2036   const TypedInit *TypedName = cast<const TypedInit>(Name);
 2036   const TypedInit *TypedName = cast<const TypedInit>(Name);
 2089         if (TypedInit *VRT = dyn_cast<TypedInit>(VR))
 2089         if (TypedInit *VRT = dyn_cast<TypedInit>(VR))
lib/TableGen/TGParser.cpp
  216     else if (TypedInit *TI = dyn_cast<TypedInit>(V))
  216     else if (TypedInit *TI = dyn_cast<TypedInit>(V))
  670                                TypedInit *FirstItem) {
  959       TypedInit *LHSt = dyn_cast<TypedInit>(LHS);
  959       TypedInit *LHSt = dyn_cast<TypedInit>(LHS);
  988           TypedInit *Itemt = dyn_cast<TypedInit>(Item);
  988           TypedInit *Itemt = dyn_cast<TypedInit>(Item);
 1150       RecTy *ListType = cast<TypedInit>(InitList.back())->getType();
 1231       Type = cast<TypedInit>(InitList.front())->getType()->getListTy();
 1292     TypedInit *MHSt = dyn_cast<TypedInit>(MHS);
 1292     TypedInit *MHSt = dyn_cast<TypedInit>(MHS);
 1353       TypedInit *RHSt = dyn_cast<TypedInit>(RHS);
 1353       TypedInit *RHSt = dyn_cast<TypedInit>(RHS);
 1427       TypedInit *MHSt = dyn_cast<TypedInit>(MHS);
 1427       TypedInit *MHSt = dyn_cast<TypedInit>(MHS);
 1438       TypedInit *RHSt = dyn_cast<TypedInit>(RHS);
 1438       TypedInit *RHSt = dyn_cast<TypedInit>(RHS);
 1460       if (TypedInit *MHSt = dyn_cast<TypedInit>(MHS))
 1460       if (TypedInit *MHSt = dyn_cast<TypedInit>(MHS))
 1467       if (TypedInit *RHSt = dyn_cast<TypedInit>(RHS))
 1467       if (TypedInit *RHSt = dyn_cast<TypedInit>(RHS))
 1494       TypedInit *RHSt = dyn_cast<TypedInit>(RHS);
 1494       TypedInit *RHSt = dyn_cast<TypedInit>(RHS);
 1522     TypedInit *Start = dyn_cast<TypedInit>(StartUntyped);
 1522     TypedInit *Start = dyn_cast<TypedInit>(StartUntyped);
 1539     TypedInit *List = dyn_cast<TypedInit>(ListUntyped);
 1539     TypedInit *List = dyn_cast<TypedInit>(ListUntyped);
 1612     TypedInit *Expr = dyn_cast<TypedInit>(ExprUntyped);
 1612     TypedInit *Expr = dyn_cast<TypedInit>(ExprUntyped);
 1722     if (TypedInit *Vt = dyn_cast<TypedInit>(V))
 1722     if (TypedInit *Vt = dyn_cast<TypedInit>(V))
 1856         if (TypedInit *TI = dyn_cast<TypedInit>(Args[i])) {
 1856         if (TypedInit *TI = dyn_cast<TypedInit>(Args[i])) {
 1979       TypedInit *TArg = dyn_cast<TypedInit>(V);
 1979       TypedInit *TArg = dyn_cast<TypedInit>(V);
 2178       TypedInit *LHS = dyn_cast<TypedInit>(Result);
 2178       TypedInit *LHS = dyn_cast<TypedInit>(Result);
 2204         auto CastLHS = dyn_cast<TypedInit>(
 2215       TypedInit *RHS = nullptr;
 2232         RHS = dyn_cast<TypedInit>(RHSResult);
 2239           auto CastRHS = dyn_cast<TypedInit>(
 2471     TypedInit *TI = dyn_cast<TypedInit>(I);
 2471     TypedInit *TI = dyn_cast<TypedInit>(I);
lib/TableGen/TGParser.h
  194                        TypedInit *FirstItem = nullptr);
usr/include/c++/7.4.0/type_traits
 1983     { typedef _Up     type; };
utils/TableGen/FixedLenDecoderEmitter.cpp
 1767 static std::string findOperandDecoderMethod(TypedInit *TI) {
 2020     TypedInit *TI = cast<TypedInit>(Op.first);
 2020     TypedInit *TI = cast<TypedInit>(Op.first);
utils/TableGen/SearchableTableEmitter.cpp
  600       auto TI = dyn_cast<TypedInit>(EntryRec->getValueInit(Field.Name));