| /llvm-project-15.0.7/llvm/unittests/Analysis/ |
| H A D | MemoryProfileInfoTest.cpp | 86 auto *StackId = mdconst::dyn_extract<ConstantInt>(Op); in TEST_F() 174 auto *StackId = mdconst::dyn_extract<ConstantInt>(StackMD->getOperand(0)); in TEST_F() 176 StackId = mdconst::dyn_extract<ConstantInt>(StackMD->getOperand(1)); in TEST_F() 230 auto *StackId = mdconst::dyn_extract<ConstantInt>(StackMD->getOperand(0)); in TEST_F() 232 StackId = mdconst::dyn_extract<ConstantInt>(StackMD->getOperand(1)); in TEST_F() 350 auto *StackId = mdconst::dyn_extract<ConstantInt>(StackMD->getOperand(0)); in TEST_F() 352 StackId = mdconst::dyn_extract<ConstantInt>(StackMD->getOperand(1)); in TEST_F()
|
| /llvm-project-15.0.7/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXUtilities.cpp | 65 ConstantInt *Val = mdconst::dyn_extract<ConstantInt>(md->getOperand(i + 1)); in cacheAnnotationFromMD() 312 mdconst::dyn_extract<ConstantInt>(alignNode->getOperand(i))) { in getAlign()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | SampleProfileProbe.cpp | 177 mdconst::dyn_extract<ConstantInt>(MD->getOperand(0))->getZExtValue(); in PseudoProbeManager() 179 mdconst::dyn_extract<ConstantInt>(MD->getOperand(1))->getZExtValue(); in PseudoProbeManager()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/Utils/ |
| H A D | AMDGPUPALMetadata.cpp | 59 auto Key = mdconst::dyn_extract<ConstantInt>(Tuple->getOperand(I)); in readFromIR() 60 auto Val = mdconst::dyn_extract<ConstantInt>(Tuple->getOperand(I + 1)); in readFromIR()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | MisExpect.cpp | 141 mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(Idx)); in extractWeights()
|
| H A D | Local.cpp | 311 mdconst::dyn_extract<ConstantInt>(MD->getOperand(2)); in ConstantFoldTerminator() 313 mdconst::dyn_extract<ConstantInt>(MD->getOperand(1)); in ConstantFoldTerminator()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | MemoryProfileInfo.cpp | 139 auto *StackId = mdconst::dyn_extract<ConstantInt>(MIBStackIter); in addCallStack()
|
| H A D | TypeBasedAliasAnalysis.cpp | 183 ConstantInt *CI = mdconst::dyn_extract<ConstantInt>(Node->getOperand(2)); in isTypeImmutable() 247 ConstantInt *CI = mdconst::dyn_extract<ConstantInt>(Node->getOperand(OpNo)); in isTypeImmutable()
|
| H A D | BranchProbabilityInfo.cpp | 407 mdconst::dyn_extract<ConstantInt>(WeightsNode->getOperand(I)); in calcMetadataWeights()
|
| /llvm-project-15.0.7/llvm/lib/ProfileData/ |
| H A D | InstrProf.cpp | 1059 ConstantInt *KindInt = mdconst::dyn_extract<ConstantInt>(MD->getOperand(1)); in getValueProfDataFromInst() 1066 ConstantInt *TotalCInt = mdconst::dyn_extract<ConstantInt>(MD->getOperand(2)); in getValueProfDataFromInst() 1076 ConstantInt *Value = mdconst::dyn_extract<ConstantInt>(MD->getOperand(I)); in getValueProfDataFromInst() 1078 mdconst::dyn_extract<ConstantInt>(MD->getOperand(I + 1)); in getValueProfDataFromInst()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | MachineModuleInfo.cpp | 214 mdconst::dyn_extract<ConstantInt>(LocInfo->getOperand(ErrorLine))) in getLocCookie()
|
| H A D | TargetLoweringObjectFileImpl.cpp | 347 auto *GUID = mdconst::dyn_extract<ConstantInt>(MD->getOperand(0)); in emitModuleMetadata() 348 auto *Hash = mdconst::dyn_extract<ConstantInt>(MD->getOperand(1)); in emitModuleMetadata()
|
| H A D | MachineInstr.cpp | 2037 mdconst::dyn_extract<ConstantInt>(LocMD->getOperand(0))) { in emitError()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Metadata.cpp | 1510 auto *CITrue = mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(1)); in extractProfMetadata() 1511 auto *CIFalse = mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(2)); in extractProfMetadata() 1541 auto *V = mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(i)); in extractProfTotalWeight() 1549 TotalVal = mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(2)) in extractProfTotalWeight()
|
| H A D | DiagnosticInfo.cpp | 57 mdconst::dyn_extract<ConstantInt>(SrcLoc->getOperand(0))) in DiagnosticInfoInlineAsm()
|
| H A D | Verifier.cpp | 3783 mdconst::dyn_extract<ConstantInt>(Range->getOperand(2 * i)); in visitRangeMetadata() 3786 mdconst::dyn_extract<ConstantInt>(Range->getOperand(2 * i + 1)); in visitRangeMetadata() 3808 mdconst::dyn_extract<ConstantInt>(Range->getOperand(0))->getValue(); in visitRangeMetadata() 3810 mdconst::dyn_extract<ConstantInt>(Range->getOperand(1))->getValue(); in visitRangeMetadata() 4442 ConstantInt *CI = mdconst::dyn_extract<ConstantInt>(MD->getOperand(0)); in visitDereferenceableMetadata() 4487 Check(mdconst::dyn_extract<ConstantInt>(MDO), in visitProfMetadata() 4775 ConstantInt *CI = mdconst::dyn_extract<ConstantInt>(AlignMD->getOperand(0)); in visitInstruction() 6446 auto *Offset = mdconst::dyn_extract<ConstantInt>(MD->getOperand(2)); in IsScalarTBAANodeImpl()
|
| H A D | Instructions.cpp | 625 APInt Val(128, mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(1)) in updateProfWeight() 637 mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(i + 1)) in updateProfWeight()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | CFGPrinter.h | 276 mdconst::dyn_extract<ConstantInt>(WeightsNode->getOperand(OpNo));
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | R600OpenCLImageTypeLoweringPass.cpp | 85 auto F = mdconst::dyn_extract<Function>(Node->getOperand(0)); in GetFunctionFromMDNode()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | AsmPrinterInlineAsm.cpp | 364 mdconst::dyn_extract<ConstantInt>(LocMD->getOperand(0))) { in emitInlineAsm()
|
| H A D | DwarfUnit.cpp | 1075 if (ConstantInt *CI = mdconst::dyn_extract<ConstantInt>(Val)) in constructTemplateValueParameterDIE() 1077 else if (GlobalValue *GV = mdconst::dyn_extract<GlobalValue>(Val)) { in constructTemplateValueParameterDIE()
|
| /llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | IRForTarget.cpp | 136 mdconst::dyn_extract<ConstantInt>(metadata_node->getOperand(1)); in DeclForGlobal() 1032 mdconst::dyn_extract<ConstantInt>(alloc_md->getOperand(0)); in RewritePersistentAlloc()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorizationLegality.cpp | 291 const ConstantInt *C = mdconst::dyn_extract<ConstantInt>(Arg); in setHint()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Metadata.h | 586 dyn_extract(Y &&MD) { in dyn_extract() function
|