summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/LLVMContextImpl.h
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2015-12-19 08:29:51 +0000
committerVedant Kumar <vsk@apple.com>2015-12-19 08:29:51 +0000
commitd481752e682b401214af403d18aa5ad658de572a (patch)
tree9149b3e3cb168020db2991de65edadef847180ca /llvm/lib/IR/LLVMContextImpl.h
parent2ee5c4db1b8ba54798c42e9a0ff40695d9e83b17 (diff)
downloadbcm5719-llvm-d481752e682b401214af403d18aa5ad658de572a.tar.gz
bcm5719-llvm-d481752e682b401214af403d18aa5ad658de572a.zip
Reapply "[IR] Move optional data in llvm::Function into a hungoff uselist"
Make personality functions, prefix data, and prologue data hungoff operands of Function. This is based on the email thread "[RFC] Clean up the way we store optional Function data" on llvm-dev. Thanks to sanjoyd, majnemer, rnk, loladiro, and dexonsmith for feedback! Includes a fix to scrub value subclass data in dropAllReferences. Differential Revision: http://reviews.llvm.org/D13829 llvm-svn: 256093
Diffstat (limited to 'llvm/lib/IR/LLVMContextImpl.h')
-rw-r--r--llvm/lib/IR/LLVMContextImpl.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/llvm/lib/IR/LLVMContextImpl.h b/llvm/lib/IR/LLVMContextImpl.h
index ae987e65bcb..a24114d0a0a 100644
--- a/llvm/lib/IR/LLVMContextImpl.h
+++ b/llvm/lib/IR/LLVMContextImpl.h
@@ -1014,17 +1014,6 @@ public:
/// instructions in different blocks at the same location.
DenseMap<std::pair<const char *, unsigned>, unsigned> DiscriminatorTable;
- typedef DenseMap<const Function *, ReturnInst *> FunctionDataMapTy;
-
- /// \brief Mapping from a function to its prefix data, which is stored as the
- /// operand of an unparented ReturnInst so that the prefix data has a Use.
- FunctionDataMapTy PrefixDataMap;
-
- /// \brief Mapping from a function to its prologue data, which is stored as
- /// the operand of an unparented ReturnInst so that the prologue data has a
- /// Use.
- FunctionDataMapTy PrologueDataMap;
-
int getOrAddScopeRecordIdxEntry(MDNode *N, int ExistingIdx);
int getOrAddScopeInlinedAtIdxEntry(MDNode *Scope, MDNode *IA,int ExistingIdx);
OpenPOWER on IntegriCloud