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

References

include/llvm/IR/Metadata.h
  591   if (auto *V = dyn_cast_or_null<ConstantAsMetadata>(MD))
lib/Analysis/MemorySSAUpdater.cpp
  456     MemoryAccess *NewDef = dyn_cast_or_null<MemoryAccess>(Var);
  600               dyn_cast_or_null<Instruction>(VMap.lookup(Insn))) {
lib/Analysis/ScopedNoAliasAA.cpp
   71     return dyn_cast_or_null<MDNode>(Node->getOperand(1));
lib/Analysis/TypeBasedAliasAnalysis.cpp
  169     MDNodeTy *P = dyn_cast_or_null<MDNodeTy>(Node->getOperand(1));
  222     return dyn_cast_or_null<MDNode>(Node->getOperand(0));
  226     return dyn_cast_or_null<MDNode>(Node->getOperand(1));
  322         MDNode *P = dyn_cast_or_null<MDNode>(Node->getOperand(1));
  351     MDNode *P = dyn_cast_or_null<MDNode>(Node->getOperand(TheIdx));
lib/Bitcode/Reader/MetadataLoader.cpp
  488           if (auto *SP = dyn_cast_or_null<DISubprogram>(Op))
  505                     dyn_cast_or_null<DIGlobalVariable>(GVs->getOperand(I))) {
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 9469   return dyn_cast_or_null<ConstantSDNode>(
 9475   return dyn_cast_or_null<ConstantSDNode>(getSplatValue(UndefElements));
 9481   return dyn_cast_or_null<ConstantFPSDNode>(
 9487   return dyn_cast_or_null<ConstantFPSDNode>(getSplatValue(UndefElements));
 9494           dyn_cast_or_null<ConstantFPSDNode>(getSplatValue(UndefElements))) {
lib/IR/AsmWriter.cpp
 1072           if (auto *V = dyn_cast_or_null<MetadataAsValue>(Op))
 1206     if (const MDNode *Op = dyn_cast_or_null<MDNode>(N->getOperand(i)))
 4274           if (auto *V = dyn_cast_or_null<MetadataAsValue>(Op))
lib/IR/AutoUpgrade.cpp
 3842       MDString *ID = dyn_cast_or_null<MDString>(Op->getOperand(0));
 3990     MDString *ID = dyn_cast_or_null<MDString>(Op->getOperand(1));
 4017       if (auto *Value = dyn_cast_or_null<MDString>(Op->getOperand(2))) {
 4082   auto *S = dyn_cast_or_null<MDString>(T->getOperand(0));
 4106   auto *OldTag = dyn_cast_or_null<MDString>(T->getOperand(0));
lib/IR/DIBuilder.cpp
  996       if (auto *N = dyn_cast_or_null<MDNode>(O))
lib/IR/DebugInfo.cpp
  582       if (auto *MDN = dyn_cast_or_null<MDNode>(I))
  657               if (auto *Loc = dyn_cast_or_null<DILocation>(T->getOperand(N)))
lib/IR/Metadata.cpp
  629     auto *N = dyn_cast_or_null<MDNode>(Op);
lib/IR/Module.cpp
  298         dyn_cast_or_null<MDString>(Flag->getOperand(1))) {
lib/IR/ProfileSummary.cpp
  149   if (isKeyValuePair(dyn_cast_or_null<MDTuple>(FormatMD), "ProfileFormat",
  152   else if (isKeyValuePair(dyn_cast_or_null<MDTuple>(FormatMD), "ProfileFormat",
  155   else if (isKeyValuePair(dyn_cast_or_null<MDTuple>(FormatMD), "ProfileFormat",
lib/IR/Verifier.cpp
 1334     Assert(dyn_cast_or_null<MDString>(N->getOperand(0)),
 1352     Assert(dyn_cast_or_null<MDString>(N->getOperand(0)),
 1408   MDString *ID = dyn_cast_or_null<MDString>(Op->getOperand(1));
 1491   auto Node = dyn_cast_or_null<MDNode>(MDO);
 1495   auto Count = dyn_cast_or_null<ConstantAsMetadata>(Node->getOperand(2));
 2367           VisitDebugLoc(I, dyn_cast_or_null<MDNode>(MD->getOperand(i)));
 5352   auto *Parent = dyn_cast_or_null<MDNode>(MD->getOperand(1));
 5421   MDNode *Parent = dyn_cast_or_null<MDNode>(Type->getOperand(0));
 5441   MDNode *BaseNode = dyn_cast_or_null<MDNode>(MD->getOperand(0));
 5442   MDNode *AccessType = dyn_cast_or_null<MDNode>(MD->getOperand(1));
lib/Target/AMDGPU/R600OpenCLImageTypeLoweringPass.cpp
  107     MDNode *ArgNode = dyn_cast_or_null<MDNode>(Node->getOperand(i + 1));
lib/Target/Mips/MipsISelLowering.cpp
 2995               dyn_cast_or_null<const GlobalAddressSDNode>(TargetAddr)) {
 2999                    dyn_cast_or_null<const ExternalSymbolSDNode>(TargetAddr)) {
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
  230       if (auto *AssocVM = dyn_cast_or_null<ValueAsMetadata>(MD->getOperand(0)))
lib/Transforms/Scalar/IndVarSimplify.cpp
 3098             dyn_cast_or_null<Instruction>(DeadInsts.pop_back_val()))
lib/Transforms/Utils/CloneFunction.cpp
  616     auto *I = dyn_cast_or_null<Instruction>(VMap.lookup(OrigV));
lib/Transforms/Utils/InlineFunction.cpp
 1518         if (auto *CI = dyn_cast_or_null<CallInst>(Entry.second))
unittests/Support/Casting.cpp
  402   EXPECT_TRUE(dyn_cast_or_null<pointer_wrappers::Derived>(CN) == nullptr);
  404   EXPECT_TRUE(dyn_cast_or_null<pointer_wrappers::Derived>(CB) == nullptr);
  406   EXPECT_TRUE(dyn_cast_or_null<pointer_wrappers::Derived>(CD) == &D);