diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2014-03-10 02:45:14 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2014-03-10 02:45:14 +0000 |
commit | 436906ab3cbe991826a8967f2c3c14850d267cbf (patch) | |
tree | abbb50957f8a22f9cd77651503dfb12bc0256cbd /include/llvm/Analysis | |
parent | 804ff192731d217fc82d4e63070dda060de02ebe (diff) | |
download | llvm-436906ab3cbe991826a8967f2c3c14850d267cbf.tar.gz llvm-436906ab3cbe991826a8967f2c3c14850d267cbf.tar.bz2 llvm-436906ab3cbe991826a8967f2c3c14850d267cbf.tar.xz |
[TTI] There is actually no realistic way to pop TTI implementations off
the stack of the analysis group because they are all immutable passes.
This is made clear by Craig's recent work to use override
systematically -- we weren't overriding anything for 'finalizePass'
because there is no such thing.
This is kind of a lame restriction on the API -- we can no longer push
and pop things, we just set up the stack and run. However, I'm not
invested in building some better solution on top of the existing
(terrifying) immutable pass and legacy pass manager.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203437 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r-- | include/llvm/Analysis/TargetTransformInfo.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/llvm/Analysis/TargetTransformInfo.h b/include/llvm/Analysis/TargetTransformInfo.h index 03ef8004c1..178d55305e 100644 --- a/include/llvm/Analysis/TargetTransformInfo.h +++ b/include/llvm/Analysis/TargetTransformInfo.h @@ -59,11 +59,6 @@ protected: /// group's stack. void pushTTIStack(Pass *P); - /// All pass subclasses must in their finalizePass routine call popTTIStack - /// to update the pointers tracking the previous TTI instance in the analysis - /// group's stack, and the top of the analysis group's stack. - void popTTIStack(); - /// All pass subclasses must call TargetTransformInfo::getAnalysisUsage. virtual void getAnalysisUsage(AnalysisUsage &AU) const; |