HomeSort by relevance Sort by last modified time
    Searched refs:mdconst (Results 1 - 25 of 87) sorted by null

1 2 3 4

  /external/llvm/unittests/IR/
MDBuilderTest.cpp 40 EXPECT_TRUE(mdconst::hasa<ConstantFP>(Op));
41 ConstantFP *Val = mdconst::extract<ConstantFP>(Op);
53 EXPECT_TRUE(mdconst::hasa<ConstantInt>(R1->getOperand(0)));
54 EXPECT_TRUE(mdconst::hasa<ConstantInt>(R1->getOperand(1)));
55 ConstantInt *C0 = mdconst::extract<ConstantInt>(R1->getOperand(0));
56 ConstantInt *C1 = mdconst::extract<ConstantInt>(R1->getOperand(1));
104 EXPECT_TRUE(mdconst::hasa<ConstantInt>(N2->getOperand(2)));
105 EXPECT_EQ(mdconst::extract<ConstantInt>(N2->getOperand(2))->getZExtValue(),
  /external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
MDBuilderTest.cpp 40 EXPECT_TRUE(mdconst::hasa<ConstantFP>(Op));
41 ConstantFP *Val = mdconst::extract<ConstantFP>(Op);
53 EXPECT_TRUE(mdconst::hasa<ConstantInt>(R1->getOperand(0)));
54 EXPECT_TRUE(mdconst::hasa<ConstantInt>(R1->getOperand(1)));
55 ConstantInt *C0 = mdconst::extract<ConstantInt>(R1->getOperand(0));
56 ConstantInt *C1 = mdconst::extract<ConstantInt>(R1->getOperand(1));
104 EXPECT_TRUE(mdconst::hasa<ConstantInt>(N2->getOperand(2)));
105 EXPECT_EQ(mdconst::extract<ConstantInt>(N2->getOperand(2))->getZExtValue(),
  /external/spirv-llvm/lib/SPIRV/
SPIRVMDWalker.h 101 V = mdconst::dyn_extract<ConstantInt>(M->getOperand(I++))
126 F = mdconst::dyn_extract<Function>(M->getOperand(I++));
TransOCLMD.cpp 160 Function *Kernel = mdconst::dyn_extract<Function>(KernelMD->getOperand(0));
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
AMDGPUUnifyMetadata.cpp 67 auto CMajor = mdconst::extract<ConstantInt>(VersionMD->getOperand(0));
69 auto CMinor = mdconst::extract<ConstantInt>(VersionMD->getOperand(1));
AMDGPULowerKernelAttributes.cpp 203 = mdconst::extract<ConstantInt>(MD->getOperand(I));
226 ConstantInt *KnownSize = mdconst::extract<ConstantInt>(MD->getOperand(I));
AMDGPUHSAMetadataStreamer.cpp 199 Dims.push_back(mdconst::extract<ConstantInt>(Op)->getZExtValue());
286 mdconst::extract<ConstantInt>(Op0->getOperand(0))->getZExtValue());
288 mdconst::extract<ConstantInt>(Op0->getOperand(1))->getZExtValue());
301 mdconst::extract<ConstantInt>(Node->getOperand(1))->getZExtValue());
  /external/llvm/lib/Analysis/
TypeBasedAliasAnalysis.cpp 168 ConstantInt *CI = mdconst::dyn_extract<ConstantInt>(Node->getOperand(2));
195 return mdconst::extract<ConstantInt>(Node->getOperand(2))->getZExtValue();
203 ConstantInt *CI = mdconst::dyn_extract<ConstantInt>(Node->getOperand(3));
236 : mdconst::extract<ConstantInt>(Node->getOperand(2))
249 uint64_t Cur = mdconst::extract<ConstantInt>(Node->getOperand(Idx + 1))
261 uint64_t Cur = mdconst::extract<ConstantInt>(Node->getOperand(TheIdx + 1))
  /external/llvm/lib/IR/
Metadata.cpp 907 APFloat AVal = mdconst::extract<ConstantFP>(A->getOperand(0))->getValueAPF();
908 APFloat BVal = mdconst::extract<ConstantFP>(B->getOperand(0))->getValueAPF();
970 ConstantInt *ALow = mdconst::extract<ConstantInt>(A->getOperand(2 * AI));
971 ConstantInt *BLow = mdconst::extract<ConstantInt>(B->getOperand(2 * BI));
975 mdconst::extract<ConstantInt>(A->getOperand(2 * AI + 1)));
979 mdconst::extract<ConstantInt>(B->getOperand(2 * BI + 1)));
984 addRange(EndPoints, mdconst::extract<ConstantInt>(A->getOperand(2 * AI)),
985 mdconst::extract<ConstantInt>(A->getOperand(2 * AI + 1)));
989 addRange(EndPoints, mdconst::extract<ConstantInt>(B->getOperand(2 * BI)),
990 mdconst::extract<ConstantInt>(B->getOperand(2 * BI + 1)))
    [all...]
Module.cpp 291 if (ConstantInt *Behavior = mdconst::dyn_extract_or_null<ConstantInt>(MD)) {
370 assert(mdconst::hasa<ConstantInt>(Node->getOperand(0)) &&
DebugInfo.cpp 291 if (auto *Val = mdconst::dyn_extract_or_null<ConstantInt>(
DiagnosticInfo.cpp 104 mdconst::dyn_extract<ConstantInt>(SrcLoc->getOperand(0)))
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
TypeBasedAliasAnalysis.cpp 183 ConstantInt *CI = mdconst::dyn_extract<ConstantInt>(Node->getOperand(2));
231 return mdconst::extract<ConstantInt>(Node->getOperand(2))->getZExtValue();
237 return mdconst::extract<ConstantInt>(Node->getOperand(3))->getZExtValue();
247 ConstantInt *CI = mdconst::dyn_extract<ConstantInt>(Node->getOperand(OpNo));
320 : mdconst::extract<ConstantInt>(Node->getOperand(2))
337 uint64_t Cur = mdconst::extract<ConstantInt>(Node->getOperand(Idx + 1))
349 uint64_t Cur = mdconst::extract<ConstantInt>(Node->getOperand(TheIdx + 1))
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
NVPTXUtilities.cpp 57 ConstantInt *Val = mdconst::dyn_extract<ConstantInt>(md->getOperand(i + 1));
81 mdconst::dyn_extract_or_null<GlobalValue>(elem->getOperand(0));
302 mdconst::dyn_extract<ConstantInt>(alignNode->getOperand(i))) {
NVVMReflect.cpp 163 if (auto *Flag = mdconst::extract_or_null<ConstantInt>(
  /external/mesa3d/src/gallium/state_trackers/clover/llvm/
metadata.hpp 53 using ::llvm::mdconst::dyn_extract;
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
Metadata.cpp 934 APFloat AVal = mdconst::extract<ConstantFP>(A->getOperand(0))->getValueAPF();
935 APFloat BVal = mdconst::extract<ConstantFP>(B->getOperand(0))->getValueAPF();
997 ConstantInt *ALow = mdconst::extract<ConstantInt>(A->getOperand(2 * AI));
998 ConstantInt *BLow = mdconst::extract<ConstantInt>(B->getOperand(2 * BI));
1002 mdconst::extract<ConstantInt>(A->getOperand(2 * AI + 1)));
1006 mdconst::extract<ConstantInt>(B->getOperand(2 * BI + 1)));
1011 addRange(EndPoints, mdconst::extract<ConstantInt>(A->getOperand(2 * AI)),
1012 mdconst::extract<ConstantInt>(A->getOperand(2 * AI + 1)));
1016 addRange(EndPoints, mdconst::extract<ConstantInt>(B->getOperand(2 * BI)),
1017 mdconst::extract<ConstantInt>(B->getOperand(2 * BI + 1)))
    [all...]
MDBuilder.cpp 239 uint64_t Offset = mdconst::extract<ConstantInt>(OffsetNode)->getZExtValue();
250 if (!mdconst::extract<ConstantInt>(ImmutabilityFlagNode)->getValue())
258 uint64_t Size = mdconst::extract<ConstantInt>(SizeNode)->getZExtValue();
Module.cpp 270 if (ConstantInt *Behavior = mdconst::dyn_extract_or_null<ConstantInt>(MD)) {
349 assert(mdconst::hasa<ConstantInt>(Node->getOperand(0)) &&
  /external/llvm/lib/Target/NVPTX/
NVVMReflect.cpp 208 if (auto *Flag = mdconst::extract_or_null<ConstantInt>(
NVPTXUtilities.cpp 55 ConstantInt *Val = mdconst::dyn_extract<ConstantInt>(md->getOperand(i + 1));
79 mdconst::dyn_extract_or_null<GlobalValue>(elem->getOperand(0));
323 mdconst::dyn_extract<ConstantInt>(alignNode->getOperand(i))) {
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
CFGPrinter.h 169 mdconst::dyn_extract<ConstantInt>(WeightsNode->getOperand(OpNo));
  /external/llvm/lib/CodeGen/AsmPrinter/
AsmPrinterInlineAsm.cpp 68 mdconst::dyn_extract<ConstantInt>(LocInfo->getOperand(ErrorLine)))
465 mdconst::dyn_extract<ConstantInt>(LocMD->getOperand(0))) {
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
AsmPrinterInlineAsm.cpp 67 mdconst::dyn_extract<ConstantInt>(LocInfo->getOperand(ErrorLine)))
495 mdconst::dyn_extract<ConstantInt>(LocMD->getOperand(0))) {
  /external/llvm/lib/ProfileData/
InstrProf.cpp 738 ConstantInt *KindInt = mdconst::dyn_extract<ConstantInt>(MD->getOperand(1));
745 ConstantInt *TotalCInt = mdconst::dyn_extract<ConstantInt>(MD->getOperand(2));
755 ConstantInt *Value = mdconst::dyn_extract<ConstantInt>(MD->getOperand(I));
757 mdconst::dyn_extract<ConstantInt>(MD->getOperand(I + 1));

Completed in 618 milliseconds

1 2 3 4