Home
last modified time | relevance | path

Searched refs:dyn_extract (Results 1 – 24 of 24) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DMemoryProfileInfoTest.cpp86 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 DNVPTXUtilities.cpp65 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 DSampleProfileProbe.cpp177 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 DAMDGPUPALMetadata.cpp59 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 DMisExpect.cpp141 mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(Idx)); in extractWeights()
H A DLocal.cpp311 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 DMemoryProfileInfo.cpp139 auto *StackId = mdconst::dyn_extract<ConstantInt>(MIBStackIter); in addCallStack()
H A DTypeBasedAliasAnalysis.cpp183 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 DBranchProbabilityInfo.cpp407 mdconst::dyn_extract<ConstantInt>(WeightsNode->getOperand(I)); in calcMetadataWeights()
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DInstrProf.cpp1059 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 DMachineModuleInfo.cpp214 mdconst::dyn_extract<ConstantInt>(LocInfo->getOperand(ErrorLine))) in getLocCookie()
H A DTargetLoweringObjectFileImpl.cpp347 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 DMachineInstr.cpp2037 mdconst::dyn_extract<ConstantInt>(LocMD->getOperand(0))) { in emitError()
/llvm-project-15.0.7/llvm/lib/IR/
H A DMetadata.cpp1510 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 DDiagnosticInfo.cpp57 mdconst::dyn_extract<ConstantInt>(SrcLoc->getOperand(0))) in DiagnosticInfoInlineAsm()
H A DVerifier.cpp3783 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 DInstructions.cpp625 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 DCFGPrinter.h276 mdconst::dyn_extract<ConstantInt>(WeightsNode->getOperand(OpNo));
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DR600OpenCLImageTypeLoweringPass.cpp85 auto F = mdconst::dyn_extract<Function>(Node->getOperand(0)); in GetFunctionFromMDNode()
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinterInlineAsm.cpp364 mdconst::dyn_extract<ConstantInt>(LocMD->getOperand(0))) { in emitInlineAsm()
H A DDwarfUnit.cpp1075 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 DIRForTarget.cpp136 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 DLoopVectorizationLegality.cpp291 const ConstantInt *C = mdconst::dyn_extract<ConstantInt>(Arg); in setHint()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DMetadata.h586 dyn_extract(Y &&MD) { in dyn_extract() function