Home
last modified time | relevance | path

Searched refs:MD_range (Results 1 – 25 of 70) sorted by relevance

123

/external/llvm-project/llvm/lib/Target/NVPTX/
DNVVMIntrRange.cpp70 if (C->getMetadata(LLVMContext::MD_range)) in addRangeMetadata()
78 C->setMetadata(LLVMContext::MD_range, MDNode::get(Context, LowAndHigh)); in addRangeMetadata()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVVMIntrRange.cpp70 if (C->getMetadata(LLVMContext::MD_range)) in addRangeMetadata()
78 C->setMetadata(LLVMContext::MD_range, MDNode::get(Context, LowAndHigh)); in addRangeMetadata()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DFixedMetadataKinds.def17 LLVM_FIXED_MD_KIND(MD_range, "range", 4)
/external/llvm-project/llvm/include/llvm/IR/
DFixedMetadataKinds.def17 LLVM_FIXED_MD_KIND(MD_range, "range", 4)
/external/llvm/lib/Target/AMDGPU/
DAMDGPUPromoteAlloca.cpp241 LocalSizeY->setMetadata(LLVMContext::MD_range, MaxWorkGroupSizeRange); in getLocalSizeYZ()
242 LocalSizeZ->setMetadata(LLVMContext::MD_range, MaxWorkGroupSizeRange); in getLocalSizeYZ()
307 LoadZU->setMetadata(LLVMContext::MD_range, MaxWorkGroupSizeRange); in getLocalSizeYZ()
338 CI->setMetadata(LLVMContext::MD_range, MaxWorkGroupSizeRange); in getWorkitemID()
/external/llvm/lib/Target/NVPTX/
DNVVMIntrRange.cpp73 C->setMetadata(LLVMContext::MD_range, MDNode::get(Context, LowAndHigh)); in addRangeMetadata()
/external/llvm/include/llvm/IR/
DLLVMContext.h56 MD_range = 4, // "range" enumerator
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DLLVMContext.h63 MD_range = 4, // "range" enumerator
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPULateCodeGenPrepare.cpp176 NewLd->setMetadata(LLVMContext::MD_range, nullptr); in visitLoadInst()
DAMDGPUCodeGenPrepare.cpp1303 if (auto *Range = WidenLoad->getMetadata(LLVMContext::MD_range)) { in visitLoadInst()
1308 WidenLoad->setMetadata(LLVMContext::MD_range, nullptr); in visitLoadInst()
1316 WidenLoad->setMetadata(LLVMContext::MD_range, in visitLoadInst()
DAMDGPUSubtarget.cpp528 I->setMetadata(LLVMContext::MD_range, MaxWorkGroupSizeRange); in makeLIDRangeMetadata()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DFunctionComparator.cpp554 return cmpRangeMetadata(LI->getMetadata(LLVMContext::MD_range), in cmpOperations()
555 cast<LoadInst>(R)->getMetadata(LLVMContext::MD_range)); in cmpOperations()
584 return cmpRangeMetadata(L->getMetadata(LLVMContext::MD_range), in cmpOperations()
585 R->getMetadata(LLVMContext::MD_range)); in cmpOperations()
DLocal.cpp2329 case LLVMContext::MD_range: in combineMetadata()
2384 LLVMContext::MD_noalias, LLVMContext::MD_range, in combineMetadataForCSE()
2437 case LLVMContext::MD_range: in copyMetadataForLoad()
2469 LLVMContext::MD_noalias, LLVMContext::MD_range, in patchReplacementInstruction()
2579 NewLI.setMetadata(LLVMContext::MD_range, in copyNonnullMetadata()
/external/llvm-project/llvm/lib/Transforms/Utils/
DFunctionComparator.cpp574 LI->getMetadata(LLVMContext::MD_range), in cmpOperations()
575 cast<LoadInst>(R)->getMetadata(LLVMContext::MD_range)); in cmpOperations()
604 return cmpRangeMetadata(L->getMetadata(LLVMContext::MD_range), in cmpOperations()
605 R->getMetadata(LLVMContext::MD_range)); in cmpOperations()
DLocal.cpp2463 case LLVMContext::MD_range: in combineMetadata()
2518 LLVMContext::MD_noalias, LLVMContext::MD_range, in combineMetadataForCSE()
2571 case LLVMContext::MD_range: in copyMetadataForLoad()
2603 LLVMContext::MD_noalias, LLVMContext::MD_range, in patchReplacementInstruction()
2716 NewLI.setMetadata(LLVMContext::MD_range, in copyNonnullMetadata()
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp952 return cmpRangeMetadata(LI->getMetadata(LLVMContext::MD_range), in cmpOperations()
953 cast<LoadInst>(R)->getMetadata(LLVMContext::MD_range)); in cmpOperations()
979 CI->getMetadata(LLVMContext::MD_range), in cmpOperations()
980 cast<CallInst>(R)->getMetadata(LLVMContext::MD_range)); in cmpOperations()
992 II->getMetadata(LLVMContext::MD_range), in cmpOperations()
993 cast<InvokeInst>(R)->getMetadata(LLVMContext::MD_range)); in cmpOperations()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp370 NewLoad->setMetadata(LLVMContext::MD_range, in combineLoadToNewType()
381 case LLVMContext::MD_range: in combineLoadToNewType()
431 case LLVMContext::MD_range: in combineStoreToNewValue()
830 LLVMContext::MD_noalias, LLVMContext::MD_range, in visitLoadInst()
/external/llvm/lib/IR/
DLLVMContext.cpp58 assert(RangeID == MD_range && "range kind id drifted"); in LLVMContext()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp949 if (auto *Range = WidenLoad->getMetadata(LLVMContext::MD_range)) { in visitLoadInst()
954 WidenLoad->setMetadata(LLVMContext::MD_range, nullptr); in visitLoadInst()
962 WidenLoad->setMetadata(LLVMContext::MD_range, in visitLoadInst()
DAMDGPUSubtarget.cpp489 I->setMetadata(LLVMContext::MD_range, MaxWorkGroupSizeRange); in makeLIDRangeMetadata()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DSCCP.cpp1132 if (MDNode *Ranges = I->getMetadata(LLVMContext::MD_range)) in getValueFromMetadata()
2124 if (CB->getMetadata(LLVMContext::MD_range)) in runIPSCCP()
2131 CB->setMetadata(LLVMContext::MD_range, MDNode::get(Context, RangeMD)); in runIPSCCP()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp471 if (IT && IT->getBitWidth() != 1 && !II.getMetadata(LLVMContext::MD_range)) { in foldCttzCtlz()
475 II.setMetadata(LLVMContext::MD_range, in foldCttzCtlz()
526 if (IT->getBitWidth() != 1 && !II.getMetadata(LLVMContext::MD_range)) { in foldCtpop()
530 II.setMetadata(LLVMContext::MD_range, in foldCtpop()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp1252 if (IT && IT->getBitWidth() != 1 && !II.getMetadata(LLVMContext::MD_range)) { in foldCttzCtlz()
1256 II.setMetadata(LLVMContext::MD_range, in foldCttzCtlz()
1289 if (IT->getBitWidth() != 1 && !II.getMetadata(LLVMContext::MD_range)) { in foldCtpop()
1293 II.setMetadata(LLVMContext::MD_range, in foldCtpop()
3434 if (!II->getMetadata(LLVMContext::MD_range)) { in visitCallInst()
3440 II->setMetadata(LLVMContext::MD_range, MDNode::get(II->getContext(), M)); in visitCallInst()
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp1574 if (auto *RangeMD = LI->getMetadata(LLVMContext::MD_range)) in PerformLoadPRE()
1575 NewLoad->setMetadata(LLVMContext::MD_range, RangeMD); in PerformLoadPRE()
1759 LLVMContext::MD_noalias, LLVMContext::MD_range, in patchReplacementInstruction()
/external/llvm-project/llvm/lib/Analysis/
DLazyValueInfo.cpp560 if (MDNode *Ranges = BBI->getMetadata(LLVMContext::MD_range)) in getFromRangeMetadata()
1110 if (auto *Ranges = I->getMetadata(LLVMContext::MD_range)) in getValueFromSimpleICmpCondition()

123