summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenTBAA.h
diff options
context:
space:
mode:
authorIvan A. Kosarev <ikosarev@accesssoftek.com>2017-10-02 11:10:04 +0000
committerIvan A. Kosarev <ikosarev@accesssoftek.com>2017-10-02 11:10:04 +0000
commit5c8e7596e6e886544cf99a9e9ee62d9bf0fc9ba3 (patch)
tree41294d0c4ccba0b3e11699a30ec1141edfdceb15 /clang/lib/CodeGen/CodeGenTBAA.h
parent3ccd23e1166ff7d79eb89579c0cd5056934a8f6c (diff)
downloadbcm5719-llvm-5c8e7596e6e886544cf99a9e9ee62d9bf0fc9ba3.tar.gz
bcm5719-llvm-5c8e7596e6e886544cf99a9e9ee62d9bf0fc9ba3.zip
[CodeGen] Have a special function to get TBAA info for may-alias accesses
This is part of D37826 reworked to be a separate patch to simplify review. Differential Revision: https://reviews.llvm.org/D38408 llvm-svn: 314660
Diffstat (limited to 'clang/lib/CodeGen/CodeGenTBAA.h')
-rw-r--r--clang/lib/CodeGen/CodeGenTBAA.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenTBAA.h b/clang/lib/CodeGen/CodeGenTBAA.h
index 9ff9e881d93..71c53d43f79 100644
--- a/clang/lib/CodeGen/CodeGenTBAA.h
+++ b/clang/lib/CodeGen/CodeGenTBAA.h
@@ -116,6 +116,10 @@ public:
/// Get the scalar tag MDNode for a given scalar type.
llvm::MDNode *getTBAAScalarTagInfo(llvm::MDNode *AccessNode);
+
+ /// getMayAliasTypeInfo - Get TBAA information that represents may-alias
+ /// accesses.
+ llvm::MDNode *getMayAliasTypeInfo();
};
} // end namespace CodeGen
OpenPOWER on IntegriCloud