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

References

include/llvm/IR/DebugInfoMetadata.h
  330       return CountType(cast<ConstantInt>(MD->getValue()));
  855       if (auto *CI = dyn_cast_or_null<ConstantInt>(CM->getValue()))
  863       return C->getValue();
  870       return C->getValue();
  876       return C->getValue();
include/llvm/IR/Metadata.h
  533     return isa<X>(V->getValue());
  549   return cast<X>(cast<ConstantAsMetadata>(MD)->getValue());
  566     return cast<X>(V->getValue());
  579     return dyn_cast<X>(V->getValue());
  592     return dyn_cast<X>(V->getValue());
lib/Analysis/ModuleSummaryAnalysis.cpp
  559             cast<ConstantAsMetadata>(Type->getOperand(0))->getValue())
lib/Analysis/TargetLibraryInfo.cpp
 1611     return cast<ConstantInt>(ShortWChar->getValue())->getZExtValue();
lib/Bitcode/Reader/MetadataLoader.cpp
 1576         if (auto *F = dyn_cast<Function>(CMD->getValue())) {
 1739         if (auto *GV = dyn_cast<GlobalVariable>(CMD->getValue())) {
 1742         } else if (auto *CI = dyn_cast<ConstantInt>(CMD->getValue())) {
lib/Bitcode/Writer/ValueEnumerator.cpp
  684     EnumerateValue(C->getValue());
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
  346                          ->getValue()
lib/IR/AbstractCallSite.cpp
   87         cast<ConstantInt>(CBCalleeIdxAsCM->getValue())->getZExtValue();
  112     int64_t Idx = cast<ConstantInt>(OpAsCM->getValue())->getSExtValue();
  128   if (VarArgFlagAsCM->getValue()->isNullValue())
lib/IR/Core.cpp
  979     return wrap(C->getValue());
lib/IR/LLVMContextImpl.h
  343             cast<ConstantInt>(MD->getValue())->getSExtValue())
  351       return hash_combine(cast<ConstantInt>(MD->getValue())->getSExtValue(),
lib/IR/MDBuilder.cpp
  131       cast<ConstantInt>(NewCBCalleeIdxAsCM->getValue())->getZExtValue();
  143       cast<ConstantInt>(OldCBCalleeIdxAsCM->getValue())->getZExtValue();
lib/IR/Metadata.cpp
 1457           cast<ConstantAsMetadata>(MD.second->getOperand(0))->getValue());
 1510                        cast<ConstantAsMetadata>(MD->getOperand(0))->getValue())
lib/IR/Module.cpp
  458   return cast<ConstantInt>(Val->getValue())->getZExtValue();
  465   return cast<ConstantInt>(Val->getValue())->getZExtValue();
  472   return cast<ConstantInt>(Val->getValue())->getZExtValue();
  495       cast<ConstantInt>(Val->getValue())->getZExtValue());
  509       cast<ConstantInt>(Val->getValue())->getZExtValue());
  523       cast<ConstantInt>(Val->getValue())->getZExtValue());
  552   return Val && (cast<ConstantInt>(Val->getValue())->getZExtValue() > 0);
  577   auto *Arr = dyn_cast_or_null<ConstantDataArray>(CM->getValue());
lib/IR/ProfileSummary.cpp
   95   Val = cast<ConstantInt>(ValMD->getValue())->getZExtValue();
  135     Summary.emplace_back(cast<ConstantInt>(Op0->getValue())->getZExtValue(),
  136                          cast<ConstantInt>(Op1->getValue())->getZExtValue(),
  137                          cast<ConstantInt>(Op2->getValue())->getZExtValue());
lib/IR/TypeFinder.cpp
  164       incorporateValue(C->getValue());
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
  239       if (auto *I = cast<ConstantInt>(MD->getValue()))
  298         cast<ConstantAsMetadata>(Idx->getOperand(0))->getValue()));
lib/Transforms/IPO/GlobalDCE.cpp
  166       (cast<ConstantInt>(LTOPostLinkMD->getValue())->getZExtValue() != 0);
  182               cast<ConstantAsMetadata>(Type->getOperand(0))->getValue())
lib/Transforms/IPO/GlobalSplit.cpp
   93               cast<ConstantAsMetadata>(Type->getOperand(0))->getValue())
lib/Transforms/IPO/LowerTypeTests.cpp
  565               cast<ConstantAsMetadata>(Type->getOperand(0))->getValue())
  697               cast<ConstantAsMetadata>(Type->getOperand(0))->getValue())
 1185   auto OffsetInt = dyn_cast<ConstantInt>(OffsetConstMD->getValue());
 1858                 ->getValue()
 2150                     ->getValue()
 2155                                   ->getValue()
lib/Transforms/IPO/WholeProgramDevirt.cpp
  804               cast<ConstantAsMetadata>(Type->getOperand(0))->getValue())
lib/Transforms/Utils/ValueMapper.cpp
  523       assert((!*MappedOp || M.getVM().count(CMD->getValue()) ||
  561   if (CMD.getValue() == MappedV)
  577     return wrapConstantAsMetadata(*CMD, M.getVM().lookup(CMD->getValue()));
  795     return wrapConstantAsMetadata(*CMD, mapValue(CMD->getValue()));
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 4258       return cast<llvm::ConstantInt>(V->getValue())->getZExtValue();
unittests/IR/MetadataTest.cpp
 2578   ValueAsMetadata::handleDeletion(CI->getValue());
unittests/Transforms/Utils/ValueMapperTest.cpp
  261   EXPECT_EQ(F2.get(), cast<ConstantAsMetadata>(F2MD)->getValue());