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

Declarations

include/llvm/IR/Metadata.h
  358   static ValueAsMetadata *get(Value *V);

References

include/llvm/IR/Metadata.h
  361     return cast<ConstantAsMetadata>(get(C));
  365     return cast<LocalAsMetadata>(get(Local));
lib/AsmParser/LLParser.cpp
 5079   MD = ValueAsMetadata::get(V);
lib/Bitcode/Reader/MetadataLoader.cpp
 1179             ValueAsMetadata::get(ValueList.getValueFwdRef(Record[i + 1], Ty));
 1199         ValueAsMetadata::get(ValueList.getValueFwdRef(Record[1], Ty)),
lib/CodeGen/CodeGenPrepare.cpp
 2558         auto *MV = MetadataAsValue::get(Ctx, ValueAsMetadata::get(Inst));
lib/IR/Core.cpp
 1110   return wrap(ValueAsMetadata::get(V));
lib/IR/DIBuilder.cpp
  911   return MetadataAsValue::get(VMContext, ValueAsMetadata::get(V));
lib/Transforms/InstCombine/InstructionCombining.cpp
 3176                                     ValueAsMetadata::get(I->getOperand(0))));
 3193                                                 ValueAsMetadata::get(Undef)));
lib/Transforms/Instrumentation/AddressSanitizer.cpp
 2074     MDNode *MD = MDNode::get(M.getContext(), ValueAsMetadata::get(G));
lib/Transforms/Instrumentation/CGProfile.cpp
   90     Metadata *Vals[] = {ValueAsMetadata::get(E.first.first),
   91                         ValueAsMetadata::get(E.first.second),
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
 1306                             MDNode::get(*C, ValueAsMetadata::get(NewGV)));
 1399                      MDNode::get(*C, ValueAsMetadata::get(Note)));
lib/Transforms/Instrumentation/SanitizerCoverage.cpp
  660   MDNode *MD = MDNode::get(F.getContext(), ValueAsMetadata::get(&F));
lib/Transforms/Utils/LCSSA.cpp
  232         DVI->setOperand(0, MetadataAsValue::get(Ctx, ValueAsMetadata::get(V)));
lib/Transforms/Utils/Local.cpp
  495                                             ValueAsMetadata::get(Undef)));
 1474     auto PhiMAV = MetadataAsValue::get(C, ValueAsMetadata::get(PHI));
 1602   return MetadataAsValue::get(C, ValueAsMetadata::get(V));
lib/Transforms/Utils/LoopRotationUtils.cpp
  168                                                 ValueAsMetadata::get(NewVal)));
lib/Transforms/Utils/LoopUnroll.cpp
   81       return Wrapped ? MetadataAsValue::get(C, ValueAsMetadata::get(V)) : V;
lib/Transforms/Utils/ValueMapper.cpp
  386         return MetadataAsValue::get(V->getContext(), ValueAsMetadata::get(LV));
tools/polly/lib/CodeGen/IRBuilder.cpp
  132     Args.push_back(ValueAsMetadata::get(FalseValue));
unittests/IR/MetadataTest.cpp
 2532   auto *MD = ValueAsMetadata::get(GV0.get());
 2593   TypedTrackingMDRef<ValueAsMetadata> MD(ValueAsMetadata::get(GV0.get()));
 2610   TypedTrackingMDRef<ValueAsMetadata> MD(ValueAsMetadata::get(GV.get()));
unittests/Transforms/Utils/ValueMapperTest.cpp
  341   auto *MDA = MetadataAsValue::get(Context, ValueAsMetadata::get(&A));
  342   auto *MDC = MetadataAsValue::get(Context, ValueAsMetadata::get(&C));