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

Declarations

include/llvm/IR/Metadata.def
   78 HANDLE_METADATA_LEAF(LocalAsMetadata)
lib/Bitcode/Writer/ValueEnumerator.h
   34 class LocalAsMetadata;

References

include/llvm/IR/Metadata.h
  364   static LocalAsMetadata *getLocal(Value *Local) {
  365     return cast<LocalAsMetadata>(get(Local));
  374   static LocalAsMetadata *getLocalIfExists(Value *Local) {
  375     return cast_or_null<LocalAsMetadata>(getIfExists(Local));
  435   static LocalAsMetadata *get(Value *Local) {
  439   static LocalAsMetadata *getIfExists(Value *Local) {
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,
  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) {
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  265   return cast_convert_val<X, Y*,
  305 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
  309   return cast<X>(Val);
  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/Bitcode/Reader/MetadataLoader.cpp
 1159         LocalAsMetadata::get(ValueList.getValueFwdRef(Record[1], Ty)),
 2043         if (isa<LocalAsMetadata>(Node))
lib/Bitcode/Writer/ValueEnumerator.cpp
  411           if (isa<LocalAsMetadata>(MD->getMetadata()))
  575     const Function &F, const LocalAsMetadata *Local) {
  692     unsigned F, const LocalAsMetadata *Local) {
  979   SmallVector<LocalAsMetadata *, 8> FnLocalMDVector;
  985           if (auto *Local = dyn_cast<LocalAsMetadata>(MD->getMetadata()))
  985           if (auto *Local = dyn_cast<LocalAsMetadata>(MD->getMetadata()))
lib/Bitcode/Writer/ValueEnumerator.h
  289                                       const LocalAsMetadata *Local);
  290   void EnumerateFunctionLocalMetadata(unsigned F, const LocalAsMetadata *Local);
lib/IR/Core.cpp
 1088       return wrap(MetadataAsValue::get(Context, LocalAsMetadata::get(V)));
lib/IR/Metadata.cpp
  361       Entry = new LocalAsMetadata(V);
  413   if (isa<LocalAsMetadata>(MD)) {
lib/IR/Verifier.cpp
  831   auto *L = dyn_cast<LocalAsMetadata>(&MD);
lib/Target/AArch64/AArch64StackTagging.cpp
  684           MetadataAsValue::get(F->getContext(), LocalAsMetadata::get(Info.AI)));
lib/Transforms/IPO/Inliner.cpp
  224       if (auto *L = LocalAsMetadata::getIfExists(AI))
  224       if (auto *L = LocalAsMetadata::getIfExists(AI))
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
 1218                   0, MetadataAsValue::get(*C, LocalAsMetadata::get(NewAI)));
lib/Transforms/Utils/Local.cpp
 1497   auto *L = LocalAsMetadata::getIfExists(V);
 1497   auto *L = LocalAsMetadata::getIfExists(V);
 1519   if (auto *L = LocalAsMetadata::getIfExists(V))
 1519   if (auto *L = LocalAsMetadata::getIfExists(V))
 1532   if (auto *L = LocalAsMetadata::getIfExists(V))
 1532   if (auto *L = LocalAsMetadata::getIfExists(V))
 1591   if (auto *L = LocalAsMetadata::getIfExists(AI))
 1591   if (auto *L = LocalAsMetadata::getIfExists(AI))
lib/Transforms/Utils/ValueMapper.cpp
  381     if (auto *LAM = dyn_cast<LocalAsMetadata>(MD)) {
unittests/IR/MetadataTest.cpp
  214   Metadata *const V = LocalAsMetadata::get(I);
unittests/Transforms/Utils/ValueMapperTest.cpp
  276   auto *LAM = LocalAsMetadata::get(&A);
  276   auto *LAM = LocalAsMetadata::get(&A);
  293   auto *LAM = LocalAsMetadata::get(&A);
  293   auto *LAM = LocalAsMetadata::get(&A);