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,
  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*,
lib/Target/AVR/AVRMCInstLower.cpp
   44       Expr = AVRMCExpr::create(AVRMCExpr::VK_AVR_PM_LO8, Expr, IsNegated, Ctx);
   44       Expr = AVRMCExpr::create(AVRMCExpr::VK_AVR_PM_LO8, Expr, IsNegated, Ctx);
   46       Expr = AVRMCExpr::create(AVRMCExpr::VK_AVR_LO8, Expr, IsNegated, Ctx);
   46       Expr = AVRMCExpr::create(AVRMCExpr::VK_AVR_LO8, Expr, IsNegated, Ctx);
   51       Expr = AVRMCExpr::create(AVRMCExpr::VK_AVR_PM_HI8, Expr, IsNegated, Ctx);
   51       Expr = AVRMCExpr::create(AVRMCExpr::VK_AVR_PM_HI8, Expr, IsNegated, Ctx);
   53       Expr = AVRMCExpr::create(AVRMCExpr::VK_AVR_HI8, Expr, IsNegated, Ctx);
   53       Expr = AVRMCExpr::create(AVRMCExpr::VK_AVR_HI8, Expr, IsNegated, Ctx);
lib/Target/AVR/AsmParser/AVRAsmParser.cpp
  421   AVRMCExpr::VariantKind ModifierKind = AVRMCExpr::VK_AVR_None;
  421   AVRMCExpr::VariantKind ModifierKind = AVRMCExpr::VK_AVR_None;
  457   ModifierKind = AVRMCExpr::getKindByName(ModifierName.str().c_str());
  459   if (ModifierKind != AVRMCExpr::VK_AVR_None) {
  465       ModifierKind = AVRMCExpr::getKindByName(GSModName.c_str());
  466       if (ModifierKind != AVRMCExpr::VK_AVR_None)
  494   MCExpr const *Expression = AVRMCExpr::create(ModifierKind, InnerExpression,
  654             AVRMCExpr::VK_AVR_None);
  661     AVRMCExpr::VariantKind ModifierKind =
  662         AVRMCExpr::getKindByName(ModifierName.str().c_str());
  663     if (ModifierKind != AVRMCExpr::VK_AVR_None) {
lib/Target/AVR/MCTargetDesc/AVRMCCodeEmitter.cpp
  186     if (isa<AVRMCExpr>(MO.getExpr())) {
  234     AVRMCExpr const *AVRExpr = cast<AVRMCExpr>(Expr);
  234     AVRMCExpr const *AVRExpr = cast<AVRMCExpr>(Expr);
lib/Target/AVR/MCTargetDesc/AVRMCELFStreamer.cpp
   25     AVRMCExpr::VariantKind ModifierKind) {
   27   if (ModifierKind == AVRMCExpr::VK_AVR_None) {
   33   } else if (ModifierKind == AVRMCExpr::VK_AVR_LO8)
   35   else if (ModifierKind == AVRMCExpr::VK_AVR_HI8)
   37   else if (ModifierKind == AVRMCExpr::VK_AVR_HH8)
lib/Target/AVR/MCTargetDesc/AVRMCELFStreamer.h
   46       AVRMCExpr::VariantKind ModifierKind = AVRMCExpr::VK_AVR_None);
   46       AVRMCExpr::VariantKind ModifierKind = AVRMCExpr::VK_AVR_None);
lib/Target/AVR/MCTargetDesc/AVRMCExpr.cpp
   23   AVRMCExpr::VariantKind VariantKind;
   25     {"lo8", AVRMCExpr::VK_AVR_LO8},       {"hi8", AVRMCExpr::VK_AVR_HI8},
   25     {"lo8", AVRMCExpr::VK_AVR_LO8},       {"hi8", AVRMCExpr::VK_AVR_HI8},
   26     {"hh8", AVRMCExpr::VK_AVR_HH8}, // synonym with hlo8
   27     {"hlo8", AVRMCExpr::VK_AVR_HH8},      {"hhi8", AVRMCExpr::VK_AVR_HHI8},
   27     {"hlo8", AVRMCExpr::VK_AVR_HH8},      {"hhi8", AVRMCExpr::VK_AVR_HHI8},
   29     {"pm_lo8", AVRMCExpr::VK_AVR_PM_LO8}, {"pm_hi8", AVRMCExpr::VK_AVR_PM_HI8},
   29     {"pm_lo8", AVRMCExpr::VK_AVR_PM_LO8}, {"pm_hi8", AVRMCExpr::VK_AVR_PM_HI8},
   30     {"pm_hh8", AVRMCExpr::VK_AVR_PM_HH8},
   32     {"lo8_gs", AVRMCExpr::VK_AVR_LO8_GS}, {"hi8_gs", AVRMCExpr::VK_AVR_HI8_GS},
   32     {"lo8_gs", AVRMCExpr::VK_AVR_LO8_GS}, {"hi8_gs", AVRMCExpr::VK_AVR_HI8_GS},
   33     {"gs", AVRMCExpr::VK_AVR_GS},
   38 const AVRMCExpr *AVRMCExpr::create(VariantKind Kind, const MCExpr *Expr,
   40   return new (Ctx) AVRMCExpr(Kind, Expr, Negated);
  103   case AVRMCExpr::VK_AVR_LO8:
  106   case AVRMCExpr::VK_AVR_HI8:
  110   case AVRMCExpr::VK_AVR_HH8:
  114   case AVRMCExpr::VK_AVR_HHI8:
  118   case AVRMCExpr::VK_AVR_PM_LO8:
  119   case AVRMCExpr::VK_AVR_LO8_GS:
  123   case AVRMCExpr::VK_AVR_PM_HI8:
  124   case AVRMCExpr::VK_AVR_HI8_GS:
  129   case AVRMCExpr::VK_AVR_PM_HH8:
  134   case AVRMCExpr::VK_AVR_GS:
  138   case AVRMCExpr::VK_AVR_None:
  202 AVRMCExpr::VariantKind AVRMCExpr::getKindByName(StringRef Name) {
lib/Target/AVR/MCTargetDesc/AVRMCExpr.h
   41   static const AVRMCExpr *create(VariantKind Kind, const MCExpr *Expr,