Searched refs:mdconst (Results 1 - 25 of 29) sorted by relevance

12

/external/llvm/unittests/IR/
H A DMDBuilderTest.cpp40 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/llvm/lib/Analysis/
H A DTypeBasedAliasAnalysis.cpp169 ConstantInt *CI = mdconst::dyn_extract<ConstantInt>(Node->getOperand(2));
196 return mdconst::extract<ConstantInt>(Node->getOperand(2))->getZExtValue();
204 ConstantInt *CI = mdconst::dyn_extract<ConstantInt>(Node->getOperand(3));
237 : mdconst::extract<ConstantInt>(Node->getOperand(2))
250 uint64_t Cur = mdconst::extract<ConstantInt>(Node->getOperand(Idx + 1))
262 uint64_t Cur = mdconst::extract<ConstantInt>(Node->getOperand(TheIdx + 1))
H A DValueTracking.cpp381 mdconst::extract<ConstantInt>(Ranges.getOperand(2 * i + 0));
383 mdconst::extract<ConstantInt>(Ranges.getOperand(2 * i + 1));
1590 ConstantInt *CI = mdconst::extract<ConstantInt>(MD->getOperand(0));
1883 mdconst::extract<ConstantInt>(Ranges->getOperand(2 * i + 0));
1885 mdconst::extract<ConstantInt>(Ranges->getOperand(2 * i + 1));
3142 ConstantInt *CI = mdconst::extract<ConstantInt>(MD->getOperand(0));
3148 ConstantInt *CI = mdconst::extract<ConstantInt>(MD->getOperand(0));
4086 auto *FirstLow = mdconst::extract<ConstantInt>(Ranges.getOperand(0));
4087 auto *FirstHigh = mdconst::extract<ConstantInt>(Ranges.getOperand(1));
4092 auto *Low = mdconst
[all...]
H A DBranchProbabilityInfo.cpp209 mdconst::dyn_extract<ConstantInt>(WeightsNode->getOperand(i));
/external/llvm/lib/IR/
H A DMetadata.cpp842 APFloat AVal = mdconst::extract<ConstantFP>(A->getOperand(0))->getValueAPF();
843 APFloat BVal = mdconst::extract<ConstantFP>(B->getOperand(0))->getValueAPF();
905 ConstantInt *ALow = mdconst::extract<ConstantInt>(A->getOperand(2 * AI));
906 ConstantInt *BLow = mdconst::extract<ConstantInt>(B->getOperand(2 * BI));
910 mdconst::extract<ConstantInt>(A->getOperand(2 * AI + 1)));
914 mdconst::extract<ConstantInt>(B->getOperand(2 * BI + 1)));
919 addRange(EndPoints, mdconst::extract<ConstantInt>(A->getOperand(2 * AI)),
920 mdconst::extract<ConstantInt>(A->getOperand(2 * AI + 1)));
924 addRange(EndPoints, mdconst::extract<ConstantInt>(B->getOperand(2 * BI)),
925 mdconst
[all...]
H A DModule.cpp284 if (ConstantInt *Behavior = mdconst::dyn_extract_or_null<ConstantInt>(MD)) {
363 assert(mdconst::hasa<ConstantInt>(Node->getOperand(0)) &&
H A DDiagnosticInfo.cpp104 mdconst::dyn_extract<ConstantInt>(SrcLoc->getOperand(0)))
H A DDebugInfo.cpp361 if (auto *Val = mdconst::dyn_extract_or_null<ConstantInt>(
H A DVerifier.cpp1155 mdconst::dyn_extract_or_null<ConstantInt>(Op->getOperand(0)),
2705 mdconst::dyn_extract<ConstantInt>(Range->getOperand(2 * i));
2708 mdconst::dyn_extract<ConstantInt>(Range->getOperand(2 * i + 1));
2730 mdconst::dyn_extract<ConstantInt>(Range->getOperand(0))->getValue();
2732 mdconst::dyn_extract<ConstantInt>(Range->getOperand(1))->getValue();
3126 ConstantInt *CI = mdconst::dyn_extract<ConstantInt>(MD->getOperand(0));
3228 mdconst::dyn_extract_or_null<ConstantFP>(MD->getOperand(0))) {
3264 ConstantInt *CI = mdconst::dyn_extract<ConstantInt>(AlignMD->getOperand(0));
H A DFunction.cpp1012 ConstantInt *CI = mdconst::extract<ConstantInt>(MD->getOperand(1));
/external/llvm/lib/Target/NVPTX/
H A DNVPTXUtilities.cpp55 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/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinterInlineAsm.cpp68 mdconst::dyn_extract<ConstantInt>(LocInfo->getOperand(ErrorLine)))
465 mdconst::dyn_extract<ConstantInt>(LocMD->getOperand(0))) {
H A DDwarfUnit.cpp1050 if (ConstantInt *CI = mdconst::dyn_extract<ConstantInt>(Val))
1052 else if (GlobalValue *GV = mdconst::dyn_extract<GlobalValue>(Val)) {
/external/llvm/lib/Target/AMDGPU/
H A DAMDGPUOpenCLImageTypeLoweringPass.cpp85 auto F = mdconst::dyn_extract<Function>(Node->getOperand(0));
/external/llvm/lib/Transforms/Utils/
H A DLocal.cpp151 mdconst::dyn_extract<ConstantInt>(MD->getOperand(MD_i));
222 mdconst::dyn_extract<ConstantInt>(MD->getOperand(2));
224 mdconst::dyn_extract<ConstantInt>(MD->getOperand(1));
H A DSimplifyCFG.cpp713 ConstantInt *CI = mdconst::extract<ConstantInt>(MD->getOperand(MD_i));
818 ConstantInt *CI = mdconst::extract<ConstantInt>(MD->getOperand(i));
2046 mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(1));
2048 mdconst::dyn_extract<ConstantInt>(ProfileData->getOperand(2));
/external/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp458 VersionVal = mdconst::extract<ConstantInt>(Val)->getZExtValue();
463 ImageInfoFlags |= mdconst::extract<ConstantInt>(Val)->getZExtValue();
/external/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp264 mdconst::extract<ConstantInt>(MDN->getOperand(1))->getLimitedValue();
266 mdconst::extract<ConstantInt>(MDN->getOperand(2))->getLimitedValue();
296 auto *GV = mdconst::extract_or_null<GlobalVariable>(MDN->getOperand(0));
307 mdconst::extract<ConstantInt>(MDN->getOperand(3));
310 mdconst::extract<ConstantInt>(MDN->getOperand(4));
/external/llvm/lib/Linker/
H A DIRMover.cpp1288 ConstantInt *Behavior = mdconst::extract<ConstantInt>(Op->getOperand(0));
1303 mdconst::extract<ConstantInt>(SrcOp->getOperand(0));
1329 mdconst::extract<ConstantInt>(DstOp->getOperand(0));
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp123 mdconst::hasa<ConstantInt>(M->getOperand(0)) &&
124 mdconst::extract<ConstantInt>(M->getOperand(0))->isNullValue() &&
126 mdconst::hasa<ConstantInt>(M->getOperand(1)) &&
127 mdconst::extract<ConstantInt>(M->getOperand(1))->getValue() ==
/external/llvm/lib/Target/ARM/
H A DARMAsmPrinter.cpp801 if (auto WCharWidthValue = mdconst::extract_or_null<ConstantInt>(
812 if (auto EnumWidthValue = mdconst::extract_or_null<ConstantInt>(
/external/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp560 ConstantInt* LLow = mdconst::extract<ConstantInt>(L->getOperand(I));
561 ConstantInt* RLow = mdconst::extract<ConstantInt>(R->getOperand(I));
/external/llvm/include/llvm/IR/
H A DMetadata.h391 /// auto *CI = mdconst::dyn_extract<ConstantInt>(N->getOperand(2));
396 /// mdconst::hasa <=> isa
397 /// mdconst::extract <=> cast
398 /// mdconst::extract_or_null <=> cast_or_null
399 /// mdconst::dyn_extract <=> dyn_cast
400 /// mdconst::dyn_extract_or_null <=> dyn_cast_or_null
403 namespace mdconst { namespace
501 } // end namespace mdconst
/external/llvm/lib/Transforms/Scalar/
H A DLoopUnrollPass.cpp753 mdconst::extract<ConstantInt>(MD->getOperand(1))->getZExtValue();
H A DRewriteStatepointsForGC.cpp2534 mdconst::extract<ConstantInt>(MD->getOperand(3))->getValue() == 1;
2542 mdconst::extract<ConstantInt>(MD->getOperand(2))->getZExtValue();

Completed in 530 milliseconds

12