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

References

include/llvm/IR/Metadata.h
  418     return cast<Constant>(ValueAsMetadata::getValue());
lib/Bitcode/Writer/BitcodeWriter.cpp
 1423   Value *V = MD->getValue();
lib/Bitcode/Writer/ValueEnumerator.cpp
  706   EnumerateValue(Local->getValue());
  999     assert(ValueMap.count(FnLocalMDVector[i]->getValue()) &&
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
  333     const Function *F = cast<Function>(V->getValue());
  529   auto *OtherGV = dyn_cast<GlobalValue>(VM->getValue());
lib/IR/AsmWriter.cpp
 1561       Value *V = MDV->getValue();
 2346   TypePrinter->print(V->getValue()->getType(), Out);
 2348   WriteAsOperandInternal(Out, V->getValue(), TypePrinter, Machine, Context);
lib/IR/Core.cpp
  988       return wrap(L->getValue());
 1181     *Dest = wrap(MDV->getValue());
lib/IR/IntrinsicInst.cpp
   46     return V->getValue();
lib/IR/Metadata.cpp
  383   assert(MD->getValue() == V && "Expected valid mapping");
  410   assert(MD->getValue() == From && "Expected valid mapping");
lib/IR/TypeFinder.cpp
  125       return incorporateValue(MDV->getValue());
lib/IR/Verifier.cpp
  827   Assert(MD.getValue(), "Expected valid value", &MD);
  828   Assert(!MD.getValue()->getType()->isMetadataTy(),
  829          "Unexpected metadata round-trip through values", &MD, MD.getValue());
  840   if (Instruction *I = dyn_cast<Instruction>(L->getValue())) {
  843   } else if (BasicBlock *BB = dyn_cast<BasicBlock>(L->getValue()))
  845   else if (Argument *A = dyn_cast<Argument>(L->getValue()))
 1488     Assert(F && isa<Function>(F->getValue()), "expected a Function or null",
lib/Target/X86/X86FrameLowering.cpp
 2544     ConstantInt *ValConst = dyn_cast_or_null<ConstantInt>(NodeVal->getValue());
lib/Transforms/IPO/CrossDSOCFI.cpp
   70   auto C = dyn_cast_or_null<ConstantInt>(TM->getValue());
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
  231         if (auto *AssocGO = dyn_cast<GlobalObject>(AssocVM->getValue()))
lib/Transforms/Utils/LoopUnroll.cpp
   75         Op = Unwrapped->getValue();
lib/Transforms/Utils/ValueMapper.cpp
  383       if (Value *LV = mapValue(LAM->getValue())) {
  384         if (V == LAM->getValue())
tools/clang/unittests/CodeGen/IRMatchers.h
  222         if (const auto *C = dyn_cast<ConstantInt>(MT->getValue()))
unittests/IR/MetadataTest.cpp
 2533   EXPECT_TRUE(MD->getValue() == GV0.get());
 2539   EXPECT_TRUE(MD->getValue() == GV1.get());
 2594   EXPECT_TRUE(MD->getValue() == GV0.get());
 2600   EXPECT_TRUE(MD->getValue() == GV1.get());
 2611   EXPECT_TRUE(MD->getValue() == GV.get());