Provide enums to build complex address calucation expressions.
authorDevang Patel <dpatel@apple.com>
Fri, 18 Feb 2011 23:28:53 +0000 (23:28 +0000)
committerDevang Patel <dpatel@apple.com>
Fri, 18 Feb 2011 23:28:53 +0000 (23:28 +0000)
(This is infact direct copy from DIFactory, which is disappearing soon.)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125989 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/DIBuilder.h

index 7916934d4a6d15333a0d4d2f2ce08f49cb195625..bd221344e5fa88f0a24c9a477b3e9ddfd09b1019 100644 (file)
@@ -56,6 +56,7 @@ namespace llvm {
     public:
     explicit DIBuilder(Module &M);
     const MDNode *getCU() { return TheCU; }
+    enum ComplexAddrKind { OpPlus=1, OpDeref };
 
     /// CreateCompileUnit - A CompileUnit provides an anchor for all debugging
     /// information generated during this instance of compilation.