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

References

lib/Analysis/TypeBasedAliasAnalysis.cpp
  230     return mdconst::extract<ConstantInt>(Node->getOperand(2))->getZExtValue();
  319                            : mdconst::extract<ConstantInt>(Node->getOperand(2))
  336       uint64_t Cur = mdconst::extract<ConstantInt>(Node->getOperand(Idx + 1))
  348     uint64_t Cur = mdconst::extract<ConstantInt>(Node->getOperand(TheIdx + 1))
lib/Analysis/ValueTracking.cpp
  449         mdconst::extract<ConstantInt>(Ranges.getOperand(2 * i + 0));
  451         mdconst::extract<ConstantInt>(Ranges.getOperand(2 * i + 1));
 1984         mdconst::extract<ConstantInt>(Ranges->getOperand(2 * i + 0));
 1986         mdconst::extract<ConstantInt>(Ranges->getOperand(2 * i + 1));
lib/CodeGen/MachinePipeliner.cpp
  297           mdconst::extract<ConstantInt>(MD->getOperand(1))->getZExtValue();
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
   77       Version = mdconst::extract<ConstantInt>(MFE.Val)->getZExtValue();
   83       Flags |= mdconst::extract<ConstantInt>(MFE.Val)->getZExtValue();
lib/IR/BasicBlock.cpp
  485       auto *CI = mdconst::extract<ConstantInt>(MDIrrLoopHeader->getOperand(1));
lib/IR/ConstantRange.cpp
 1499   auto *FirstLow = mdconst::extract<ConstantInt>(Ranges.getOperand(0));
 1500   auto *FirstHigh = mdconst::extract<ConstantInt>(Ranges.getOperand(1));
 1505     auto *Low = mdconst::extract<ConstantInt>(Ranges.getOperand(2 * i + 0));
 1506     auto *High = mdconst::extract<ConstantInt>(Ranges.getOperand(2 * i + 1));
lib/IR/Function.cpp
 1552         ConstantInt *CI = mdconst::extract<ConstantInt>(MD->getOperand(1));
 1561         ConstantInt *CI = mdconst::extract<ConstantInt>(MD->getOperand(1));
 1575           R.insert(mdconst::extract<ConstantInt>(MD->getOperand(i))
lib/IR/Instructions.cpp
 2442   ConstantFP *Accuracy = mdconst::extract<ConstantFP>(MD->getOperand(0));
 3930     ConstantInt *C = mdconst::extract<ConstantInt>(ProfileData->getOperand(CI));
 4008       return mdconst::extract<ConstantInt>(ProfileData->getOperand(idx + 1))
lib/IR/MDBuilder.cpp
  282   uint64_t Offset = mdconst::extract<ConstantInt>(OffsetNode)->getZExtValue();
  293   if (!mdconst::extract<ConstantInt>(ImmutabilityFlagNode)->getValue())
  301   uint64_t Size = mdconst::extract<ConstantInt>(SizeNode)->getZExtValue();
lib/IR/Metadata.cpp
  933   APFloat AVal = mdconst::extract<ConstantFP>(A->getOperand(0))->getValueAPF();
  934   APFloat BVal = mdconst::extract<ConstantFP>(B->getOperand(0))->getValueAPF();
  996     ConstantInt *ALow = mdconst::extract<ConstantInt>(A->getOperand(2 * AI));
  997     ConstantInt *BLow = mdconst::extract<ConstantInt>(B->getOperand(2 * BI));
 1001                mdconst::extract<ConstantInt>(A->getOperand(2 * AI + 1)));
 1005                mdconst::extract<ConstantInt>(B->getOperand(2 * BI + 1)));
 1010     addRange(EndPoints, mdconst::extract<ConstantInt>(A->getOperand(2 * AI)),
 1011              mdconst::extract<ConstantInt>(A->getOperand(2 * AI + 1)));
 1015     addRange(EndPoints, mdconst::extract<ConstantInt>(B->getOperand(2 * BI)),
 1016              mdconst::extract<ConstantInt>(B->getOperand(2 * BI + 1)));
 1053   ConstantInt *AVal = mdconst::extract<ConstantInt>(A->getOperand(0));
 1054   ConstantInt *BVal = mdconst::extract<ConstantInt>(B->getOperand(0));
lib/IR/Value.cpp
  634       ConstantInt *CI = mdconst::extract<ConstantInt>(MD->getOperand(0));
  640         ConstantInt *CI = mdconst::extract<ConstantInt>(MD->getOperand(0));
  647       ConstantInt *CI = mdconst::extract<ConstantInt>(MD->getOperand(0));
  653         ConstantInt *CI = mdconst::extract<ConstantInt>(MD->getOperand(0));
  728       ConstantInt *CI = mdconst::extract<ConstantInt>(MD->getOperand(0));
lib/IR/Verifier.cpp
 5392         mdconst::extract<ConstantInt>(BaseNode->getOperand(Idx + 1));
 5402           mdconst::extract<ConstantInt>(BaseNode->getOperand(PrevIdx + 1));
 5409   auto *LastOffsetEntryCI = mdconst::extract<ConstantInt>(
lib/Linker/IRMover.cpp
 1213     ConstantInt *Behavior = mdconst::extract<ConstantInt>(Op->getOperand(0));
 1228         mdconst::extract<ConstantInt>(SrcOp->getOperand(0));
 1254         mdconst::extract<ConstantInt>(DstOp->getOperand(0));
 1322           mdconst::extract<ConstantInt>(DstOp->getOperand(2));
 1324           mdconst::extract<ConstantInt>(SrcOp->getOperand(2));
lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
  950         mdconst::extract<ConstantInt>(Range->getOperand(0));
lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
  206     Dims.push_back(mdconst::extract<ConstantInt>(Op)->getZExtValue());
  278       mdconst::extract<ConstantInt>(Op0->getOperand(0))->getZExtValue());
  280       mdconst::extract<ConstantInt>(Op0->getOperand(1))->getZExtValue());
  293         mdconst::extract<ConstantInt>(Node->getOperand(1))->getZExtValue());
  648         uint64_t(mdconst::extract<ConstantInt>(Op)->getZExtValue())));
  685       mdconst::extract<ConstantInt>(Op0->getOperand(0))->getZExtValue()));
  687       mdconst::extract<ConstantInt>(Op0->getOperand(1))->getZExtValue()));
  702             mdconst::extract<ConstantInt>(Node->getOperand(1))->getZExtValue()),
lib/Target/AMDGPU/AMDGPULowerKernelAttributes.cpp
  202               = mdconst::extract<ConstantInt>(MD->getOperand(I));
  225     ConstantInt *KnownSize = mdconst::extract<ConstantInt>(MD->getOperand(I));
lib/Target/AMDGPU/AMDGPUSubtarget.cpp
  471             MinSize = MaxSize = mdconst::extract<ConstantInt>(
lib/Target/AMDGPU/AMDGPUUnifyMetadata.cpp
   66         auto CMajor = mdconst::extract<ConstantInt>(VersionMD->getOperand(0));
   68         auto CMinor = mdconst::extract<ConstantInt>(VersionMD->getOperand(1));
lib/Target/RISCV/RISCVTargetObjectFile.cpp
   94       SSThreshold = mdconst::extract<ConstantInt>(MFE.Val)->getZExtValue();
lib/Transforms/InstCombine/InstCombineCalls.cpp
  175         mdconst::extract<ConstantInt>(M->getOperand(0))->isZero() &&
  178         mdconst::extract<ConstantInt>(M->getOperand(1))->getValue() ==
lib/Transforms/Instrumentation/AddressSanitizer.cpp
 1117   LineNo = mdconst::extract<ConstantInt>(MDN->getOperand(1))->getLimitedValue();
 1119       mdconst::extract<ConstantInt>(MDN->getOperand(2))->getLimitedValue();
 1147     ConstantInt *IsDynInit = mdconst::extract<ConstantInt>(MDN->getOperand(3));
 1150         mdconst::extract<ConstantInt>(MDN->getOperand(4));
lib/Transforms/Instrumentation/ControlHeightReduction.cpp
  615   ConstantInt *TrueWeight = mdconst::extract<ConstantInt>(MD->getOperand(1));
  616   ConstantInt *FalseWeight = mdconst::extract<ConstantInt>(MD->getOperand(2));
lib/Transforms/Scalar/LoopDistribute.cpp
  949     IsForced = mdconst::extract<ConstantInt>(*Op)->getZExtValue();
lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp
  136         mdconst::extract<ConstantInt>(MD->getOperand(1))->getZExtValue();
lib/Transforms/Scalar/LoopUnrollPass.cpp
  696         mdconst::extract<ConstantInt>(MD->getOperand(1))->getZExtValue();
lib/Transforms/Utils/FunctionComparator.cpp
  161     ConstantInt *LLow = mdconst::extract<ConstantInt>(L->getOperand(I));
  162     ConstantInt *RLow = mdconst::extract<ConstantInt>(R->getOperand(I));
lib/Transforms/Utils/Local.cpp
  192             auto *CI = mdconst::extract<ConstantInt>(MD->getOperand(MD_i));
lib/Transforms/Utils/SimplifyCFG.cpp
  973     ConstantInt *CI = mdconst::extract<ConstantInt>(MD->getOperand(i));
tools/opt/Debugify.cpp
  221     return mdconst::extract<ConstantInt>(NMD->getOperand(Idx)->getOperand(0))
unittests/IR/MDBuilderTest.cpp
   40   ConstantFP *Val = mdconst::extract<ConstantFP>(Op);
   54   ConstantInt *C0 = mdconst::extract<ConstantInt>(R1->getOperand(0));
   55   ConstantInt *C1 = mdconst::extract<ConstantInt>(R1->getOperand(1));
  104   EXPECT_EQ(mdconst::extract<ConstantInt>(N2->getOperand(2))->getZExtValue(),