|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
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/MC/MCAsmBackend.h 220 bool relaxFragment(MCPaddingFragment *PF, MCAsmLayout &Layout);
include/llvm/MC/MCAssembler.h 195 bool relaxPaddingFragment(MCAsmLayout &Layout, MCPaddingFragment &PF);
include/llvm/MC/MCCodePadder.h 26 typedef SmallVector<const MCPaddingFragment *, 8> MCPFRange;
50 MCPaddingFragment *CurrHandledInstFragment;
56 DenseMap<MCPaddingFragment *, MCPFRange> FragmentToJurisdiction;
61 DenseMap<MCPaddingFragment *, uint64_t> FragmentToMaxWindowSize;
62 uint64_t getMaxWindowSize(MCPaddingFragment *Fragment, MCAsmLayout &Layout);
121 bool relaxFragment(MCPaddingFragment *Fragment, MCAsmLayout &Layout);
164 uint64_t getFragmentInstByte(const MCPaddingFragment *Fragment,
166 uint64_t computeWindowEndAddress(const MCPaddingFragment *Fragment,
include/llvm/MC/MCObjectStreamer.h 87 MCPaddingFragment *getOrCreatePaddingFragment();
include/llvm/Support/Casting.h 58 return To::classof(&Val);
77 return isa_impl<To, From>::doit(Val);
92 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;
218 static typename cast_retty<To, From>::ret_type doit(From &Val) {
219 return cast_convert_val<To, SimpleFrom,
227 static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
228 typename cast_retty<To, FromTy>::ret_type Res2
248 typename cast_retty<X, const Y>::ret_type>::type
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;
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 };
lib/MC/MCAsmBackend.cpp 135 bool MCAsmBackend::relaxFragment(MCPaddingFragment *PF, MCAsmLayout &Layout) {
lib/MC/MCAssembler.cpp 317 return cast<MCPaddingFragment>(F).getSize();
939 MCPaddingFragment &PF) {
1089 RelaxedFrag = relaxPaddingFragment(Layout, *cast<MCPaddingFragment>(I));
lib/MC/MCCodePadder.cpp 46 uint64_t PoliciesMask = MCPaddingFragment::PFK_None;
50 MCPaddingFragment::PFK_None,
59 if (InsertionPoint || PoliciesMask != MCPaddingFragment::PFK_None) {
60 MCPaddingFragment *PaddingFragment = OS->getOrCreatePaddingFragment();
87 uint64_t PoliciesMask = MCPaddingFragment::PFK_None;
91 MCPaddingFragment::PFK_None,
105 if (InsertionPoint || PoliciesMask != MCPaddingFragment::PFK_None ||
159 MCPaddingFragment *CurrPaddingFragment =
160 dyn_cast<MCPaddingFragment>(CurrFragment);
183 uint64_t MCCodePadder::getMaxWindowSize(MCPaddingFragment *Fragment,
190 uint64_t JurisdictionMask = MCPaddingFragment::PFK_None;
191 for (const auto *Protege : Jurisdiction)
197 MCPaddingFragment::PFK_None)
207 bool MCCodePadder::relaxFragment(MCPaddingFragment *Fragment,
277 MCCodePaddingPolicy::getFragmentInstByte(const MCPaddingFragment *Fragment,
286 MCCodePaddingPolicy::computeWindowEndAddress(const MCPaddingFragment *Fragment,
298 for (const MCPaddingFragment *Fragment : Range) {
342 const MCPaddingFragment *PaddingNopFragment =
343 dyn_cast<MCPaddingFragment>(Fragment);
lib/MC/MCFragment.cpp 281 delete cast<MCPaddingFragment>(this);
428 const MCPaddingFragment *F = cast<MCPaddingFragment>(this);
428 const MCPaddingFragment *F = cast<MCPaddingFragment>(this);
lib/MC/MCObjectStreamer.cpp 170 MCPaddingFragment *MCObjectStreamer::getOrCreatePaddingFragment() {
171 MCPaddingFragment *F =
172 dyn_cast_or_null<MCPaddingFragment>(getCurrentFragment());
174 F = new MCPaddingFragment();
usr/include/c++/7.4.0/type_traits 1983 { typedef _Up type; };