From: Devang Patel Date: Fri, 18 Feb 2011 23:28:53 +0000 (+0000) Subject: Provide enums to build complex address calucation expressions. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=dc8c3fdcf15a6fff6251a63869de718527c91940;p=oota-llvm.git Provide enums to build complex address calucation expressions. (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 --- diff --git a/include/llvm/Analysis/DIBuilder.h b/include/llvm/Analysis/DIBuilder.h index 7916934d4a6..bd221344e5f 100644 --- a/include/llvm/Analysis/DIBuilder.h +++ b/include/llvm/Analysis/DIBuilder.h @@ -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.