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*,
  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;
lib/Target/ARM/ARMAsmPrinter.cpp
 1409       ARMMCExpr::createLower16(MCBinaryExpr::createSub(GVSymExpr,
 1442         ARMMCExpr::createUpper16(MCBinaryExpr::createSub(GVSymExpr,
lib/Target/ARM/ARMMCInstLower.cpp
   54     Expr = ARMMCExpr::createLower16(Expr, OutContext);
   59     Expr = ARMMCExpr::createUpper16(Expr, OutContext);
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
  400   bool parsePrefix(ARMMCExpr::VariantKind &RefKind);
 1236       const ARMMCExpr *ARM16Expr = dyn_cast<ARMMCExpr>(getImm());
 1236       const ARMMCExpr *ARM16Expr = dyn_cast<ARMMCExpr>(getImm());
 1237       return (!ARM16Expr || (ARM16Expr->getKind() != ARMMCExpr::VK_ARM_HI16 &&
 1238                              ARM16Expr->getKind() != ARMMCExpr::VK_ARM_LO16));
 6086     ARMMCExpr::VariantKind RefKind;
 6094     const MCExpr *ExprVal = ARMMCExpr::create(RefKind, SubExprVal,
 6120 bool ARMAsmParser::parsePrefix(ARMMCExpr::VariantKind &RefKind) {
 6122   RefKind = ARMMCExpr::VK_ARM_None;
 6145     ARMMCExpr::VariantKind VariantKind;
 6148     { "lower16", ARMMCExpr::VK_ARM_LO16, COFF | ELF | MACHO },
 6149     { "upper16", ARMMCExpr::VK_ARM_HI16, COFF | ELF | MACHO },
 7769     const ARMMCExpr *ARM16Expr = dyn_cast<ARMMCExpr>(E);
 7769     const ARMMCExpr *ARM16Expr = dyn_cast<ARMMCExpr>(E);
 7770     if (!ARM16Expr || (ARM16Expr->getKind() != ARMMCExpr::VK_ARM_HI16 &&
 7771                        ARM16Expr->getKind() != ARMMCExpr::VK_ARM_LO16))
lib/Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp
 1208     const ARMMCExpr *ARM16Expr = cast<ARMMCExpr>(E);
 1208     const ARMMCExpr *ARM16Expr = cast<ARMMCExpr>(E);
 1217       case ARMMCExpr::VK_ARM_HI16:
 1219       case ARMMCExpr::VK_ARM_LO16:
 1227     case ARMMCExpr::VK_ARM_HI16:
 1231     case ARMMCExpr::VK_ARM_LO16:
lib/Target/ARM/MCTargetDesc/ARMMCExpr.cpp
   16 const ARMMCExpr*
   19   return new (Ctx) ARMMCExpr(Kind, Expr);
lib/Target/ARM/MCTargetDesc/ARMMCExpr.h
   35   static const ARMMCExpr *create(VariantKind Kind, const MCExpr *Expr,
   38   static const ARMMCExpr *createUpper16(const MCExpr *Expr, MCContext &Ctx) {
   42   static const ARMMCExpr *createLower16(const MCExpr *Expr, MCContext &Ctx) {
lib/Target/ARM/MCTargetDesc/ARMMachORelocationInfo.cpp
   27       return ARMMCExpr::createUpper16(SubExpr, Ctx);
   29       return ARMMCExpr::createLower16(SubExpr, Ctx);