reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
58 return To::classof(&Val); 77 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, 168 using ret_type = const To &; // Normal 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) { 258 return cast_convert_val<X, Y, 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/Hexagon/AsmParser/HexagonAsmParser.cpp
390 HexagonMCExpr *Expr = 391 const_cast<HexagonMCExpr *>(cast<HexagonMCExpr>(getImm())); 398 HexagonMCExpr *NewExpr = HexagonMCExpr::create( 398 HexagonMCExpr *NewExpr = HexagonMCExpr::create( 537 NewInst.addOperand(MCOperand::createExpr(HexagonMCExpr::create( 540 if (I.isExpr() && cast<HexagonMCExpr>(I.getExpr())->signMismatch() && 685 Subsection = HexagonMCExpr::create( 1083 Expr = HexagonMCExpr::create(Expr, getContext()); 1200 Expr = HexagonMCExpr::create(Expr, Context); 1344 MO.setExpr(HexagonMCExpr::create( 1368 MO.setExpr(HexagonMCExpr::create( 1537 TmpInst.addOperand(MCOperand::createExpr(HexagonMCExpr::create( 1551 HexagonMCExpr::create(MCConstantExpr::create(sVal, Context), Context))); 1565 MCOperand imm(MCOperand::createExpr(HexagonMCExpr::create( 1567 auto Expr = HexagonMCExpr::create( 1574 MCOperand imm(MCOperand::createExpr(HexagonMCExpr::create( 1621 Imm6.setExpr(HexagonMCExpr::create( 1641 Imm6.setExpr(HexagonMCExpr::create( 1661 Imm6.setExpr(HexagonMCExpr::create( 1692 Imm.setExpr(HexagonMCExpr::create( 1718 Imm.setExpr(HexagonMCExpr::create( 1756 Imm.setExpr(HexagonMCExpr::create( 1868 Imm.setExpr(HexagonMCExpr::create( 1900 Imm.setExpr(HexagonMCExpr::create( 1916 HexagonMCExpr::create(MCConstantExpr::create(-1, Context), Context)));lib/Target/Hexagon/HexagonAsmPrinter.cpp
256 const auto *HE = static_cast<const HexagonMCExpr*>(ImmOp.getExpr()); 259 auto *NewHE = HexagonMCExpr::create(NewCE, Ctx); 259 auto *NewHE = HexagonMCExpr::create(NewCE, Ctx); 354 TmpInst.addOperand(MCOperand::createExpr(HexagonMCExpr::create( 445 MCOperand::createExpr(HexagonMCExpr::create(Sub, OutContext))); 481 MCOperand::createExpr(HexagonMCExpr::create(Sub, OutContext))); 508 MCOperand::createExpr(HexagonMCExpr::create(Sub, OutContext))); 525 const HexagonMCExpr *E = HexagonMCExpr::create(MOne, OutContext); 525 const HexagonMCExpr *E = HexagonMCExpr::create(MOne, OutContext); 529 const HexagonMCExpr *E = HexagonMCExpr::create(Zero, OutContext); 529 const HexagonMCExpr *E = HexagonMCExpr::create(Zero, OutContext); 586 Imm.setExpr(HexagonMCExpr::create(lib/Target/Hexagon/HexagonMCInstLower.cpp
91 ME = HexagonMCExpr::create(ME, MC); 133 auto Expr = HexagonMCExpr::create( 142 auto Expr = HexagonMCExpr::create( 151 Expr = HexagonMCExpr::create(Expr, AP.OutContext);lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp
587 if (isa<HexagonMCExpr>(ME))
lib/Target/Hexagon/MCTargetDesc/HexagonMCExpr.cpp22 HexagonMCExpr *HexagonMCExpr::create(MCExpr const *Expr, MCContext &Ctx) { 23 return new (Ctx) HexagonMCExpr(Expr);lib/Target/Hexagon/MCTargetDesc/HexagonMCExpr.h
18 static HexagonMCExpr *create(MCExpr const *Expr, MCContext &Ctx);
lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.cpp279 const auto &HExpr = cast<HexagonMCExpr>(Expr); 279 const auto &HExpr = cast<HexagonMCExpr>(Expr); 500 if (isa<HexagonMCExpr>(MO.getExpr()) && 516 if (isa<HexagonMCExpr>(MO.getExpr()) && 777 HexagonMCExpr &HExpr = const_cast<HexagonMCExpr &>(cast<HexagonMCExpr>(Expr)); 777 HexagonMCExpr &HExpr = const_cast<HexagonMCExpr &>(cast<HexagonMCExpr>(Expr)); 782 HexagonMCExpr const &HExpr = cast<HexagonMCExpr>(Expr); 782 HexagonMCExpr const &HExpr = cast<HexagonMCExpr>(Expr); 786 HexagonMCExpr &HExpr = const_cast<HexagonMCExpr &>(cast<HexagonMCExpr>(Expr)); 786 HexagonMCExpr &HExpr = const_cast<HexagonMCExpr &>(cast<HexagonMCExpr>(Expr)); 790 HexagonMCExpr const &HExpr = cast<HexagonMCExpr>(Expr); 790 HexagonMCExpr const &HExpr = cast<HexagonMCExpr>(Expr); 794 HexagonMCExpr &HExpr = 795 const_cast<HexagonMCExpr &>(*cast<HexagonMCExpr>(&Expr)); 799 HexagonMCExpr const *HExpr = dyn_cast<HexagonMCExpr>(&Expr); 799 HexagonMCExpr const *HExpr = dyn_cast<HexagonMCExpr>(&Expr);