Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXUtilities.cpp58 ConstantInt *Val = mdconst::dyn_extract<ConstantInt>(md->getOperand(i + 1)); in cacheAnnotationFromMD()
303 mdconst::dyn_extract<ConstantInt>(alignNode->getOperand(i))) { in getAlign()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleProfileProbe.cpp178 mdconst::dyn_extract<ConstantInt>(MD->getOperand(0))->getZExtValue(); in PseudoProbeManager()
180 mdconst::dyn_extract<ConstantInt>(MD->getOperand(1))->getZExtValue(); in PseudoProbeManager()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DTypeBasedAliasAnalysis.cpp184 ConstantInt *CI = mdconst::dyn_extract<ConstantInt>(Node->getOperand(2)); in isTypeImmutable()
248 ConstantInt *CI = mdconst::dyn_extract<ConstantInt>(Node->getOperand(OpNo)); in isTypeImmutable()
H A DBranchProbabilityInfo.cpp335 mdconst::dyn_extract<ConstantInt>(WeightsNode->getOperand(I)); in calcMetadataWeights()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProf.cpp1024 ConstantInt *KindInt = mdconst::dyn_extract<ConstantInt>(MD->getOperand(1)); in getValueProfDataFromInst()
1031 ConstantInt *TotalCInt = mdconst::dyn_extract<ConstantInt>(MD->getOperand(2)); in getValueProfDataFromInst()
1041 ConstantInt *Value = mdconst::dyn_extract<ConstantInt>(MD->getOperand(I)); in getValueProfDataFromInst()
1043 mdconst::dyn_extract<ConstantInt>(MD->getOperand(I + 1)); in getValueProfDataFromInst()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DMetadata.cpp1410 auto *CITrue = mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(1)); in extractProfMetadata()
1411 auto *CIFalse = mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(2)); in extractProfMetadata()
1441 auto *V = mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(i)); in extractProfTotalWeight()
1449 TotalVal = mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(2)) in extractProfTotalWeight()
H A DDiagnosticInfo.cpp61 mdconst::dyn_extract<ConstantInt>(SrcLoc->getOperand(0))) in DiagnosticInfoInlineAsm()
H A DVerifier.cpp3650 mdconst::dyn_extract<ConstantInt>(Range->getOperand(2 * i)); in visitRangeMetadata()
3653 mdconst::dyn_extract<ConstantInt>(Range->getOperand(2 * i + 1)); in visitRangeMetadata()
3675 mdconst::dyn_extract<ConstantInt>(Range->getOperand(0))->getValue(); in visitRangeMetadata()
3677 mdconst::dyn_extract<ConstantInt>(Range->getOperand(1))->getValue(); in visitRangeMetadata()
4293 ConstantInt *CI = mdconst::dyn_extract<ConstantInt>(MD->getOperand(0)); in visitDereferenceableMetadata()
4336 Assert(mdconst::dyn_extract<ConstantInt>(MDO), in visitProfMetadata()
4498 ConstantInt *CI = mdconst::dyn_extract<ConstantInt>(AlignMD->getOperand(0)); in visitInstruction()
5965 auto *Offset = mdconst::dyn_extract<ConstantInt>(MD->getOperand(2)); in IsScalarTBAANodeImpl()
H A DInstructions.cpp593 APInt Val(128, mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(1)) in updateProfWeight()
605 mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(i + 1)) in updateProfWeight()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DCFGPrinter.h276 mdconst::dyn_extract<ConstantInt>(WeightsNode->getOperand(OpNo));
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600OpenCLImageTypeLoweringPass.cpp85 auto F = mdconst::dyn_extract<Function>(Node->getOperand(0)); in GetFunctionFromMDNode()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineModuleInfo.cpp390 mdconst::dyn_extract<ConstantInt>(LocInfo->getOperand(ErrorLine))) in getLocCookie()
H A DTargetLoweringObjectFileImpl.cpp348 auto *GUID = mdconst::dyn_extract<ConstantInt>(MD->getOperand(0)); in emitModuleMetadata()
349 auto *Hash = mdconst::dyn_extract<ConstantInt>(MD->getOperand(1)); in emitModuleMetadata()
H A DMachineInstr.cpp2093 mdconst::dyn_extract<ConstantInt>(LocMD->getOperand(0))) { in emitError()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinterInlineAsm.cpp493 mdconst::dyn_extract<ConstantInt>(LocMD->getOperand(0))) { in emitInlineAsm()
H A DDwarfUnit.cpp1024 if (ConstantInt *CI = mdconst::dyn_extract<ConstantInt>(Val)) in constructTemplateValueParameterDIE()
1026 else if (GlobalValue *GV = mdconst::dyn_extract<GlobalValue>(Val)) { in constructTemplateValueParameterDIE()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DIRForTarget.cpp134 mdconst::dyn_extract<ConstantInt>(metadata_node->getOperand(1)); in DeclForGlobal()
1071 mdconst::dyn_extract<ConstantInt>(alloc_md->getOperand(0)); in RewritePersistentAlloc()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp271 const ConstantInt *C = mdconst::dyn_extract<ConstantInt>(Arg); in setHint()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DMetadata.h585 dyn_extract(Y &&MD) { in dyn_extract() function
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLocal.cpp314 mdconst::dyn_extract<ConstantInt>(MD->getOperand(2)); in ConstantFoldTerminator()
316 mdconst::dyn_extract<ConstantInt>(MD->getOperand(1)); in ConstantFoldTerminator()