Searched refs:MMRAMetadata (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | MemoryModelRelaxationAnnotations.cpp | 20 MMRAMetadata::MMRAMetadata(const Instruction &I) in MMRAMetadata() function in MMRAMetadata 21 : MMRAMetadata(I.getMetadata(LLVMContext::MD_mmra)) {} in MMRAMetadata() 23 MMRAMetadata::MMRAMetadata(MDNode *MD) { in MMRAMetadata() function in MMRAMetadata 50 bool MMRAMetadata::isTagMD(const Metadata *MD) { in isTagMD() 59 MDTuple *MMRAMetadata::getTagMD(LLVMContext &Ctx, StringRef Prefix, in getTagMD() 65 MDTuple *MMRAMetadata::getMD(LLVMContext &Ctx, in getMD() 66 ArrayRef<MMRAMetadata::TagT> Tags) { in getMD() 79 MDNode *MMRAMetadata::combine(LLVMContext &Ctx, const MMRAMetadata &A, in combine() 80 const MMRAMetadata &B) { in combine() 102 bool MMRAMetadata::hasTag(StringRef Prefix, StringRef Suffix) const { in hasTag() [all …]
|
H A D | Verifier.cpp | 4908 if (MMRAMetadata::isTagMD(MD)) in visitMMRAMetadata() 4913 Check(MMRAMetadata::isTagMD(MDOp.get()), in visitMMRAMetadata()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | MemoryModelRelaxationAnnotations.h | 46 class MMRAMetadata { 54 MMRAMetadata() = default; 55 MMRAMetadata(const Instruction &I); 56 MMRAMetadata(MDNode *MD); 64 static MDNode *combine(LLVMContext &Ctx, const MMRAMetadata &A, 65 const MMRAMetadata &B); 91 return MMRAMetadata(A).isCompatibleWith(B); in checkCompatibility() 95 bool isCompatibleWith(const MMRAMetadata &Other) const; 116 bool operator==(const MMRAMetadata &Other) const { 119 bool operator!=(const MMRAMetadata &Other) const {
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | VectorUtils.cpp | 859 MD = MMRAMetadata::combine(Inst->getContext(), MD, IMD); in propagateMetadata()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SimplifyCFG.cpp | 1680 MMRAMetadata(*I1) != MMRAMetadata(*I2))) in hoistCommonCodeFromSuccessors() 1965 const auto I0MMRA = MMRAMetadata(*I0); in canSinkInstructions() 1980 if (MMRAMetadata(*I) != I0MMRA) in canSinkInstructions()
|
H A D | Local.cpp | 3347 MMRAMetadata::combine(K->getContext(), JMMRA, KMMRA)); in combineMetadata()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SIMemoryLegalizer.cpp | 733 auto MMRA = MMRAMetadata(MI.getMMRAMetadata()); in getFenceAddrSpaceMMRA()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGBuiltin.cpp | 18502 SmallVector<MMRAMetadata::TagT, 3> MMRAs; in AddAMDGPUFenceAddressSpaceMMRA() 18517 Inst->setMetadata(LLVMContext::MD_mmra, MMRAMetadata::getMD(Ctx, MMRAs)); in AddAMDGPUFenceAddressSpaceMMRA()
|