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

References

include/llvm/Analysis/CFGPrinter.h
  156     MDNode *WeightsNode = TI->getMetadata(LLVMContext::MD_prof);
include/llvm/Analysis/InstructionSimplify.h
   67       return I->getMetadata(KindID);
include/llvm/IR/IRBuilder.h
 2318       MDNode *Prof = MDFrom->getMetadata(LLVMContext::MD_prof);
 2319       MDNode *Unpred = MDFrom->getMetadata(LLVMContext::MD_unpredictable);
include/llvm/IR/Instruction.h
  234     return getMetadata(KindID) != nullptr;
lib/Analysis/BranchProbabilityInfo.cpp
  260   MDNode *WeightsNode = TI->getMetadata(LLVMContext::MD_prof);
lib/Analysis/InstructionSimplify.cpp
 3228           *RHS_Instr->getMetadata(LLVMContext::MD_range));
 3230           *LHS_Instr->getMetadata(LLVMContext::MD_range));
lib/Analysis/LazyValueInfo.cpp
  583     if (MDNode *Ranges = BBI->getMetadata(LLVMContext::MD_range))
 1235       if (auto *Ranges = I->getMetadata(LLVMContext::MD_range))
lib/Analysis/LoopInfo.cpp
  497     MDNode *MD = TI->getMetadata(LLVMContext::MD_loop);
  565       if (MDNode *AccessGroup = I.getMetadata(LLVMContext::MD_access_group)) {
  591           I.getMetadata(LLVMContext::MD_mem_parallel_loop_access);
lib/Analysis/ModuleSummaryAnalysis.cpp
  375         if (auto *MD = I.getMetadata(LLVMContext::MD_callees)) {
lib/Analysis/ScalarEvolution.cpp
 5527     if (MDNode *MD = I->getMetadata(LLVMContext::MD_range))
lib/Analysis/ScopedNoAliasAA.cpp
  105                         Call->getMetadata(LLVMContext::MD_noalias)))
  108   if (!mayAliasInScopes(Call->getMetadata(LLVMContext::MD_alias_scope),
  121   if (!mayAliasInScopes(Call1->getMetadata(LLVMContext::MD_alias_scope),
  122                         Call2->getMetadata(LLVMContext::MD_noalias)))
  125   if (!mayAliasInScopes(Call2->getMetadata(LLVMContext::MD_alias_scope),
  126                         Call1->getMetadata(LLVMContext::MD_noalias)))
lib/Analysis/TypeBasedAliasAnalysis.cpp
  411   if (const MDNode *M = Call->getMetadata(LLVMContext::MD_tbaa))
  431     if (const MDNode *M = Call->getMetadata(LLVMContext::MD_tbaa))
  444   if (const MDNode *M1 = Call1->getMetadata(LLVMContext::MD_tbaa))
  445     if (const MDNode *M2 = Call2->getMetadata(LLVMContext::MD_tbaa))
  525         MDNode::getMostGenericTBAA(N.TBAA, getMetadata(LLVMContext::MD_tbaa));
  527     N.TBAA = getMetadata(LLVMContext::MD_tbaa);
  531         N.Scope, getMetadata(LLVMContext::MD_alias_scope));
  533     N.Scope = getMetadata(LLVMContext::MD_alias_scope);
  537         MDNode::intersect(N.NoAlias, getMetadata(LLVMContext::MD_noalias));
  539     N.NoAlias = getMetadata(LLVMContext::MD_noalias);
lib/Analysis/VectorUtils.cpp
  555     return Inst2->getMetadata(LLVMContext::MD_access_group);
  557     return Inst1->getMetadata(LLVMContext::MD_access_group);
  559   MDNode *MD1 = Inst1->getMetadata(LLVMContext::MD_access_group);
  560   MDNode *MD2 = Inst2->getMetadata(LLVMContext::MD_access_group);
  603     MDNode *MD = I0->getMetadata(Kind);
  607       MDNode *IMD = IJ->getMetadata(Kind);
lib/AsmParser/LLParser.cpp
  227     MDNode *MD = Inst->getMetadata(LLVMContext::MD_tbaa);
lib/Bitcode/Reader/BitcodeReader.cpp
 5274       MDNode *TBAA = I.getMetadata(LLVMContext::MD_tbaa);
lib/CodeGen/CodeGenPrepare.cpp
 5959   if (VectorCond || SI->getMetadata(LLVMContext::MD_unpredictable))
 7201     if (Br1->getMetadata(LLVMContext::MD_unpredictable))
lib/CodeGen/GlobalISel/CallLowering.cpp
   63       CS.getInstruction()->getMetadata(LLVMContext::MD_callees);
lib/CodeGen/GlobalISel/IRTranslator.cpp
  885       Regs.size() == 1 ? LI.getMetadata(LLVMContext::MD_range) : nullptr;
lib/CodeGen/ImplicitNullChecks.cpp
  466     BranchMD = BB->getTerminator()->getMetadata(LLVMContext::MD_make_implicit);
lib/CodeGen/MachinePipeliner.cpp
  275   MDNode *LoopID = TI->getMetadata(LLVMContext::MD_loop);
lib/CodeGen/MachineSink.cpp
  737       !PredBB->getTerminator()->getMetadata(LLVMContext::MD_make_implicit))
lib/CodeGen/SelectionDAG/FastISel.cpp
 2414   const MDNode *Ranges = I->getMetadata(LLVMContext::MD_range);
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 4032   const MDNode *Ranges = I.getMetadata(LLVMContext::MD_range);
 4463   const MDNode *Ranges = I.getMetadata(LLVMContext::MD_range);
 4506   const MDNode *Ranges = I.getMetadata(LLVMContext::MD_range);
 8579   const MDNode *Range = I.getMetadata(LLVMContext::MD_range);
lib/IR/BasicBlock.cpp
  482       TI->getMetadata(LLVMContext::MD_irr_loop)) {
lib/IR/Core.cpp
  866   if (auto *MD = I->getMetadata(KindID))
lib/IR/DebugInfo.cpp
  339     if (auto *LoopID = TermInst->getMetadata(LLVMContext::MD_loop)) {
lib/IR/Instruction.cpp
  692   MDNode *ProfileData = getMetadata(LLVMContext::MD_prof);
lib/IR/Instructions.cpp
  467   auto *ProfileData = getMetadata(LLVMContext::MD_prof);
 2439       cast<Instruction>(this)->getMetadata(LLVMContext::MD_fpmath);
 3893   if (MDNode *ProfileData = SI.getMetadata(LLVMContext::MD_prof))
lib/IR/Metadata.cpp
 1317   auto *ProfileData = getMetadata(LLVMContext::MD_prof);
 1345   auto *ProfileData = getMetadata(LLVMContext::MD_prof);
lib/IR/Value.cpp
  633     if (MDNode *MD = LI->getMetadata(LLVMContext::MD_dereferenceable)) {
  639               LI->getMetadata(LLVMContext::MD_dereferenceable_or_null)) {
  646     if (MDNode *MD = IP->getMetadata(LLVMContext::MD_dereferenceable)) {
  652               IP->getMetadata(LLVMContext::MD_dereferenceable_or_null)) {
  727     if (MDNode *MD = LI->getMetadata(LLVMContext::MD_align)) {
lib/IR/Verifier.cpp
 2365       if (auto MD = I.getMetadata(LLVMContext::MD_loop))
 3322   assert(Range && Range == I.getMetadata(LLVMContext::MD_range) &&
 4159   if (MDNode *MD = I.getMetadata(LLVMContext::MD_fpmath)) {
 4175   if (MDNode *Range = I.getMetadata(LLVMContext::MD_range)) {
 4181   if (I.getMetadata(LLVMContext::MD_nonnull)) {
 4190   if (MDNode *MD = I.getMetadata(LLVMContext::MD_dereferenceable))
 4193   if (MDNode *MD = I.getMetadata(LLVMContext::MD_dereferenceable_or_null))
 4196   if (MDNode *TBAA = I.getMetadata(LLVMContext::MD_tbaa))
 4199   if (MDNode *AlignMD = I.getMetadata(LLVMContext::MD_align)) {
 4215   if (MDNode *MD = I.getMetadata(LLVMContext::MD_prof))
lib/ProfileData/InstrProf.cpp
  981   MDNode *MD = Inst.getMetadata(LLVMContext::MD_prof);
lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
  549   MDNode *FPMath = FDiv.getMetadata(LLVMContext::MD_fpmath);
  948     if (auto *Range = WidenLoad->getMetadata(LLVMContext::MD_range)) {
lib/Target/BPF/BPFAbstractMemberAccess.cpp
  241     CInfo.Metadata = Call->getMetadata(LLVMContext::MD_preserve_access_index);
  250     CInfo.Metadata = Call->getMetadata(LLVMContext::MD_preserve_access_index);
  259     CInfo.Metadata = Call->getMetadata(LLVMContext::MD_preserve_access_index);
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
  428               PBB->getTerminator()->getMetadata(LLVMContext::MD_loop)) {
lib/Target/NVPTX/NVVMIntrRange.cpp
   68   if (C->getMetadata(LLVMContext::MD_range))
lib/Transforms/IPO/LowerTypeTests.cpp
  786                            Br->getMetadata(LLVMContext::MD_prof));
lib/Transforms/InstCombine/InstCombineCalls.cpp
  170   if (MDNode *M = MI->getMetadata(LLVMContext::MD_tbaa)) {
  172   } else if (MDNode *M = MI->getMetadata(LLVMContext::MD_tbaa_struct)) {
  193     MI->getMetadata(LLVMContext::MD_mem_parallel_loop_access);
  196   MDNode *AccessGroupMD = MI->getMetadata(LLVMContext::MD_access_group);
 1246   if (IT && IT->getBitWidth() != 1 && !II.getMetadata(LLVMContext::MD_range)) {
 1283   if (IT->getBitWidth() != 1 && !II.getMetadata(LLVMContext::MD_range)) {
lib/Transforms/InstCombine/InstCombinePHI.cpp
  615     NewLI->setMetadata(ID, FirstLI->getMetadata(ID));
lib/Transforms/InstCombine/InstCombineSelect.cpp
 2482           if (MDNode *MD = SI.getMetadata(LLVMContext::MD_prof)) {
lib/Transforms/Instrumentation/ControlHeightReduction.cpp
  666   if (!checkMDProf(BI->getMetadata(LLVMContext::MD_prof),
  696   if (!checkMDProf(SI->getMetadata(LLVMContext::MD_prof),
lib/Transforms/Instrumentation/ThreadSanitizer.cpp
  300   if (MDNode *Tag = I->getMetadata(LLVMContext::MD_tbaa))
lib/Transforms/ObjCARC/ObjCARCOpts.cpp
  935         !Inst->getMetadata(MDKindCache.get(ARCMDKindID::ImpreciseRelease)))
lib/Transforms/ObjCARC/PtrState.cpp
  193       I->getMetadata(Cache.get(ARCMDKindID::ImpreciseRelease));
  358       Release->getMetadata(Cache.get(ARCMDKindID::ImpreciseRelease));
lib/Transforms/Scalar/GVN.cpp
 1256     if (auto *MD = LI->getMetadata(LLVMContext::MD_invariant_load))
 1258     if (auto *InvGroupMD = LI->getMetadata(LLVMContext::MD_invariant_group))
 1260     if (auto *RangeMD = LI->getMetadata(LLVMContext::MD_range))
lib/Transforms/Scalar/InferAddressSpaces.cpp
  789   MDNode *TBAA = MI->getMetadata(LLVMContext::MD_tbaa);
  790   MDNode *ScopeMD = MI->getMetadata(LLVMContext::MD_alias_scope);
  791   MDNode *NoAliasMD = MI->getMetadata(LLVMContext::MD_noalias);
  810       MDNode *TBAAStruct = MTI->getMetadata(LLVMContext::MD_tbaa_struct);
lib/Transforms/Scalar/JumpThreading.cpp
 2148   MDNode *WeightsNode = TI->getMetadata(LLVMContext::MD_prof);
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
  486   if (SI->getMetadata(LLVMContext::MD_nontemporal))
lib/Transforms/Scalar/LoopVersioningLICM.cpp
  556           MDNode::concatenate(Inst.getMetadata(LLVMContext::MD_noalias),
  561           MDNode::concatenate(Inst.getMetadata(LLVMContext::MD_alias_scope),
lib/Transforms/Scalar/MemCpyOptimizer.cpp
  543   if (SI->getMetadata(LLVMContext::MD_nontemporal))
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
 2466     if (MDNode *Tag = I.getMetadata(LLVMContext::MD_tbaa)) {
lib/Transforms/Scalar/SROA.cpp
 2535       if (MDNode *N = LI.getMetadata(LLVMContext::MD_nonnull))
lib/Transforms/Scalar/StructurizeCFG.cpp
  975         if (!Br->getMetadata(UniformMDKindID)) {
lib/Transforms/Utils/FunctionComparator.cpp
  554     return cmpRangeMetadata(LI->getMetadata(LLVMContext::MD_range),
  555         cast<LoadInst>(R)->getMetadata(LLVMContext::MD_range));
  584     return cmpRangeMetadata(L->getMetadata(LLVMContext::MD_range),
  585                             R->getMetadata(LLVMContext::MD_range));
lib/Transforms/Utils/GuardUtils.cpp
   44   if (auto *MD = Guard->getMetadata(LLVMContext::MD_make_implicit))
lib/Transforms/Utils/InlineFunction.cpp
  773     CS.getInstruction()->getMetadata(LLVMContext::MD_mem_parallel_loop_access);
  775       CS.getInstruction()->getMetadata(LLVMContext::MD_access_group);
  790               NI->getMetadata(LLVMContext::MD_mem_parallel_loop_access)) {
  800           NI->getMetadata(LLVMContext::MD_access_group), CallAccessGroup);
  824       if (const MDNode *M = J.getMetadata(LLVMContext::MD_alias_scope))
  826       if (const MDNode *M = J.getMetadata(LLVMContext::MD_noalias))
  884     if (MDNode *M = NI->getMetadata(LLVMContext::MD_alias_scope)) {
  890               CS.getInstruction()->getMetadata(LLVMContext::MD_alias_scope))
  895               CS.getInstruction()->getMetadata(LLVMContext::MD_alias_scope))
  899     if (MDNode *M = NI->getMetadata(LLVMContext::MD_noalias)) {
  905               CS.getInstruction()->getMetadata(LLVMContext::MD_noalias))
  909       if (MDNode *M = CS.getInstruction()->getMetadata(LLVMContext::MD_noalias))
 1107                             NI->getMetadata(LLVMContext::MD_noalias),
 1133             MDNode::concatenate(NI->getMetadata(LLVMContext::MD_alias_scope),
 1413       if (MDNode *LoopID = BI->getMetadata(LLVMContext::MD_loop)) {
lib/Transforms/Utils/Local.cpp
  183         MDNode *MD = SI->getMetadata(LLVMContext::MD_prof);
  275       MDNode *MD = SI->getMetadata(LLVMContext::MD_prof);
  290       MDNode *MakeImplicitMD = SI->getMetadata(LLVMContext::MD_make_implicit);
 1050     if (MDNode *LoopMD = TI->getMetadata(LoopMDKind))
 2289     MDNode *JMD = J->getMetadata(Kind);
 2358   if (auto *JMD = J->getMetadata(LLVMContext::MD_invariant_group))
lib/Transforms/Utils/LoopSimplify.cpp
  448       LoopMD = TI->getMetadata(LoopMDKind);
lib/Transforms/Utils/LoopVersioning.cpp
  238             VersionedInst->getMetadata(LLVMContext::MD_alias_scope),
  247               VersionedInst->getMetadata(LLVMContext::MD_noalias),
lib/Transforms/Utils/MisExpect.cpp
   97   if (auto *MisExpectData = I->getMetadata(LLVMContext::MD_misexpect)) {
  148   if (auto *MD = I.getMetadata(LLVMContext::MD_prof)) {
lib/Transforms/Utils/PromoteMemoryToRegister.cpp
  400     if (AC && LI->getMetadata(LLVMContext::MD_nonnull) &&
  493       if (AC && LI->getMetadata(LLVMContext::MD_nonnull) &&
  949       if (AC && LI->getMetadata(LLVMContext::MD_nonnull) &&
lib/Transforms/Utils/SimplifyCFG.cpp
  957   MDNode *ProfMD = I->getMetadata(LLVMContext::MD_prof);
  970   MDNode *MD = TI->getMetadata(LLVMContext::MD_prof);
 2861     if (MDNode *LoopMD = BI->getMetadata(LLVMContext::MD_loop))
lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
  740         if (ST->getMetadata(LLVMContext::MD_nontemporal)) {
  756         if (LD->getMetadata(LLVMContext::MD_nontemporal)) {
unittests/IR/IRBuilderTest.cpp
  347   EXPECT_EQ(Weights, TI->getMetadata(LLVMContext::MD_prof));