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

Declarations

include/llvm/MC/MCObjectStreamer.h
   23 class MCDataFragment;

References

include/llvm/MC/MCCodeView.h
  221   MCDataFragment *StrTabFragment = nullptr;
  224   MCDataFragment *getStringTableFragment();
include/llvm/MC/MCELFStreamer.h
   91   void mergeFragment(MCDataFragment *, MCDataFragment *);
   91   void mergeFragment(MCDataFragment *, MCDataFragment *);
   97   SmallVector<MCDataFragment *, 4> BundleGroups;
include/llvm/MC/MCObjectStreamer.h
   44     MCDataFragment *DF;
   45     PendingMCFixup(const MCSymbol *McSym, MCDataFragment *F, MCFixup McFixup)
   86   MCDataFragment *getOrCreateDataFragment(const MCSubtargetInfo* STI = nullptr);
include/llvm/MC/MCWasmStreamer.h
   80   void mergeFragment(MCDataFragment *, MCDataFragment *);
   80   void mergeFragment(MCDataFragment *, MCDataFragment *);
include/llvm/Support/Casting.h
   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&
  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) {
  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;
  366 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
  368   return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
  368   return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
lib/MC/MCAssembler.cpp
  292     return cast<MCDataFragment>(F).getContents().size();
  563     OS << cast<MCDataFragment>(F).getContents();
  682         const MCDataFragment &DF = cast<MCDataFragment>(F);
  682         const MCDataFragment &DF = cast<MCDataFragment>(F);
  770       new MCDataFragment(&Sec);
  821       if (auto *FragWithFixups = dyn_cast<MCDataFragment>(&Frag)) {
  821       if (auto *FragWithFixups = dyn_cast<MCDataFragment>(&Frag)) {
lib/MC/MCCodePadder.cpp
  124   if (MCDataFragment *InstDataFragment =
  125           dyn_cast_or_null<MCDataFragment>(InstFragment))
lib/MC/MCCodeView.cpp
  138 MCDataFragment *CodeViewContext::getStringTableFragment() {
  140     StrTabFragment = new MCDataFragment();
lib/MC/MCContext.cpp
  356   auto *F = new MCDataFragment();
  356   auto *F = new MCDataFragment();
  530   auto *F = new MCDataFragment();
  530   auto *F = new MCDataFragment();
  562   auto *F = new MCDataFragment();
  562   auto *F = new MCDataFragment();
lib/MC/MCELFStreamer.cpp
   52 void MCELFStreamer::mergeFragment(MCDataFragment *DF,
   53                                   MCDataFragment *EF) {
  541   MCDataFragment *DF;
  555       DF = new MCDataFragment();
  559       DF = cast<MCDataFragment>(getCurrentFragment());
  572       DF = new MCDataFragment();
  629     MCDataFragment *DF = new MCDataFragment();
  629     MCDataFragment *DF = new MCDataFragment();
  653     MCDataFragment *DF = BundleGroups.back();
lib/MC/MCFragment.cpp
  257       delete cast<MCDataFragment>(this);
  352     const MCDataFragment *DF = cast<MCDataFragment>(this);
  352     const MCDataFragment *DF = cast<MCDataFragment>(this);
  365       for (MCDataFragment::const_fixup_iterator it = DF->fixup_begin(),
lib/MC/MCMachOStreamer.cpp
  185     insert(new MCDataFragment());
  457   MCDataFragment *DF = getOrCreateDataFragment();
lib/MC/MCObjectStreamer.cpp
   49     F = new MCDataFragment();
  146 static bool CanReuseDataFragment(const MCDataFragment &F,
  160 MCDataFragment *
  162   MCDataFragment *F = dyn_cast_or_null<MCDataFragment>(getCurrentFragment());
  162   MCDataFragment *F = dyn_cast_or_null<MCDataFragment>(getCurrentFragment());
  164     F = new MCDataFragment();
  193   MCDataFragment *DF = getOrCreateDataFragment();
  240   auto *F = dyn_cast_or_null<MCDataFragment>(getCurrentFragment());
  240   auto *F = dyn_cast_or_null<MCDataFragment>(getCurrentFragment());
  253   auto *DF = dyn_cast_or_null<MCDataFragment>(F);
  253   auto *DF = dyn_cast_or_null<MCDataFragment>(F);
  520   MCDataFragment *DF = getOrCreateDataFragment();
  569   MCDataFragment *DF = getOrCreateDataFragment();
  579   MCDataFragment *DF = getOrCreateDataFragment();
  589   MCDataFragment *DF = getOrCreateDataFragment();
  599   MCDataFragment *DF = getOrCreateDataFragment();
  609   MCDataFragment *DF = getOrCreateDataFragment();
  619   MCDataFragment *DF = getOrCreateDataFragment();
  640   MCDataFragment *DF = getOrCreateDataFragment(&STI);
  668   MCDataFragment *DF = getOrCreateDataFragment();
  698   MCDataFragment *DF = getOrCreateDataFragment();
lib/MC/MCSection.cpp
   80     MCFragment *F = new MCDataFragment();
lib/MC/MCWasmStreamer.cpp
   39 void MCWasmStreamer::mergeFragment(MCDataFragment *DF, MCDataFragment *EF) {
   39 void MCWasmStreamer::mergeFragment(MCDataFragment *DF, MCDataFragment *EF) {
  183   MCDataFragment *DF = getOrCreateDataFragment();
lib/MC/MCWinCOFFStreamer.cpp
   53   MCDataFragment *DF = getOrCreateDataFragment();
  221   MCDataFragment *DF = getOrCreateDataFragment();
  231   MCDataFragment *DF = getOrCreateDataFragment();
  249   MCDataFragment *DF = getOrCreateDataFragment();
lib/MC/MCXCOFFStreamer.cpp
   55   auto *F = dyn_cast_or_null<MCDataFragment>(getCurrentFragment());
   55   auto *F = dyn_cast_or_null<MCDataFragment>(getCurrentFragment());
   80   MCDataFragment *DF = getOrCreateDataFragment(&STI);
lib/MC/WasmObjectWriter.cpp
  615       const auto &DataFrag = cast<MCDataFragment>(Frag);
  615       const auto &DataFrag = cast<MCDataFragment>(Frag);
 1540     const auto &DataFrag = cast<MCDataFragment>(Frag);
 1540     const auto &DataFrag = cast<MCDataFragment>(Frag);
lib/MC/WinCOFFObjectWriter.cpp
 1036     auto Frag = new MCDataFragment(AddrsigSection);
lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
  617       auto *DF = dyn_cast_or_null<MCDataFragment>(getCurrentFragment());
  617       auto *DF = dyn_cast_or_null<MCDataFragment>(getCurrentFragment());
 1235   MCDataFragment *Frag = getOrCreateDataFragment();
 1323   MCDataFragment *DF = getOrCreateDataFragment();
lib/Target/RISCV/MCTargetDesc/RISCVMCExpr.cpp
   60   const auto *DF = dyn_cast_or_null<MCDataFragment>(AUIPCSymbol->getFragment());
   60   const auto *DF = dyn_cast_or_null<MCDataFragment>(AUIPCSymbol->getFragment());
   67     DF = dyn_cast_or_null<MCDataFragment>(DF->getNextNode());