Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Guard the listeners list. Unfortunately, this requires a real static rather | Owen Anderson | 2009-06-24 | 1 | -0/+5 | |
| | | | | | | | than a managed static because other managed statics can (and do) access this list in their destructors. Yes, I know it's horrible. llvm-svn: 74029 | |||||
* | Move the memory fences out of the path for single-threaded mode. | Owen Anderson | 2009-06-19 | 1 | -5/+6 | |
| | | | | llvm-svn: 73775 | |||||
* | Move Threading.[h|cpp] from Support to System. | Owen Anderson | 2009-06-18 | 1 | -1/+1 | |
| | | | | llvm-svn: 73707 | |||||
* | As pointed out by Duncan, I accidentally dropped the first MemoryFence of the | Owen Anderson | 2009-06-18 | 1 | -4/+8 | |
| | | | | | | double-checked locking pattern here. llvm-svn: 73701 | |||||
* | Add braces to clarify if/else structure and remove warning. | Nick Lewycky | 2009-06-18 | 1 | -1/+2 | |
| | | | | llvm-svn: 73673 | |||||
* | We need to use double-checked locking for lazy initialization in this case ↵ | Owen Anderson | 2009-06-17 | 1 | -1/+15 | |
| | | | | | | when running multithreaded. llvm-svn: 73636 | |||||
* | Rename getAnalysisToUpdate to getAnalysisIfAvailable. | Duncan Sands | 2009-01-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 63198 | |||||
* | Speed up the passmgr by avoiding heap thrashing on vectors. | Chris Lattner | 2008-08-08 | 1 | -2/+3 | |
| | | | | llvm-svn: 54515 | |||||
* | fix some warnings when assertions are disabled. | Chris Lattner | 2008-06-21 | 1 | -1/+1 | |
| | | | | llvm-svn: 52587 | |||||
* | Add #includes to make some dependencies explicit. | Dan Gohman | 2008-05-23 | 1 | -0/+1 | |
| | | | | llvm-svn: 51496 | |||||
* | Change class' public PassInfo variables to by initialized with the | Dan Gohman | 2008-05-13 | 1 | -21/+16 | |
| | | | | | | | | | | | address of the PassInfo directly instead of calling getPassInfo. This eliminates a bunch of dynamic initializations of static data. Also, fold RegisterPassBase into PassInfo, make a bunch of its data members const, and rearrange some code to initialize data members in constructors instead of using setter member functions. llvm-svn: 51022 | |||||
* | Don't include <map> in Pass.h, which doesn't need it. This requires | Dan Gohman | 2008-03-21 | 1 | -0/+1 | |
| | | | | | | adding <map> to many files that actually do need it. llvm-svn: 48667 | |||||
* | Update comments; getPassName no longer uses RTTI. | Dan Gohman | 2008-03-14 | 1 | -2/+4 | |
| | | | | llvm-svn: 48369 | |||||
* | Remove unused runPass methods. | Dan Gohman | 2008-03-08 | 1 | -14/+0 | |
| | | | | llvm-svn: 48044 | |||||
* | Fix 80-col violations. | Dan Gohman | 2008-01-29 | 1 | -1/+2 | |
| | | | | llvm-svn: 46510 | |||||
* | Remove attribution from file headers, per discussion on llvmdev. | Chris Lattner | 2007-12-29 | 1 | -2/+2 | |
| | | | | llvm-svn: 45418 | |||||
* | Reduce reliance on rtti info | Chris Lattner | 2007-10-18 | 1 | -2/+1 | |
| | | | | llvm-svn: 43130 | |||||
* | Re-install patch to enable use of PassID. | Devang Patel | 2007-05-02 | 1 | -15/+14 | |
| | | | | | | | I am preparing another patch to address the failure that prompted Chris to revert this patch earlier. llvm-svn: 36649 | |||||
* | revert enough of devang's recent patches to get the tree basically working again | Chris Lattner | 2007-05-02 | 1 | -15/+16 | |
| | | | | llvm-svn: 36638 | |||||
* | disable this assertion as a hack to get the build more unbroken :( | Chris Lattner | 2007-05-02 | 1 | -1/+1 | |
| | | | | llvm-svn: 36637 | |||||
* | Do not use typeinfo to identify pass in pass manager. | Devang Patel | 2007-05-01 | 1 | -15/+14 | |
| | | | | llvm-svn: 36632 | |||||
* | Move ~Pass() from Pass.h into Pass.cpp | Devang Patel | 2007-04-26 | 1 | -0/+5 | |
| | | | | llvm-svn: 36498 | |||||
* | Fix a bug that prevented the JIT from working correctly after llvm_shutdown. | Chris Lattner | 2007-04-21 | 1 | -6/+16 | |
| | | | | | | | Pass info objects are initialized by static ctors, so deleting them at llvm_shutdown time prevents resurrection from working. llvm-svn: 36292 | |||||
* | Unbreak VC++ build. | Jeff Cohen | 2007-03-05 | 1 | -0/+1 | |
| | | | | llvm-svn: 34917 | |||||
* | For PR1136: Rename GlobalVariable::isExternal as isDeclaration to avoid | Reid Spencer | 2007-01-30 | 1 | -2/+2 | |
| | | | | | | confusion with external linkage types. llvm-svn: 33663 | |||||
* | 1) Remove old AnalysisResolver. | Devang Patel | 2007-01-05 | 1 | -8/+1 | |
| | | | | | | 2) Rename AnalysisResolver_New as AnalysisResolver llvm-svn: 32938 | |||||
* | Remove old pass manager. | Devang Patel | 2007-01-05 | 1 | -175/+0 | |
| | | | | llvm-svn: 32927 | |||||
* | ModulePass and ImmutablePass. Force out of line virtual method. | Devang Patel | 2006-12-22 | 1 | -0/+6 | |
| | | | | llvm-svn: 32748 | |||||
* | Using PDL as a prefix for PassDebugLevel enums is not a good idea. | Devang Patel | 2006-12-13 | 1 | -4/+4 | |
| | | | | | | Fix it. llvm-svn: 32562 | |||||
* | Move enum PassDebugLevel from PassManagerT.h to Pass.h. | Devang Patel | 2006-12-13 | 1 | -4/+4 | |
| | | | | | | | Use PDL as the prefix for these enums. Define and use PassDebugging_New in new PassManager. llvm-svn: 32554 | |||||
* | Add #ifdef switch toggle between old and new pass manager. However, | Devang Patel | 2006-12-13 | 1 | -2/+16 | |
| | | | | | | | continue to use old pass manager at the moment. To use new manager remove #define USE_OLD_PASSMANAGER 1 from Pass.h llvm-svn: 32525 | |||||
* | fix PR1039 by making timing info be destroyed by llvm_shutdown, not by | Chris Lattner | 2006-12-10 | 1 | -2/+2 | |
| | | | | | | static dtors. llvm-svn: 32411 | |||||
* | Removing even more <iostream> includes. | Bill Wendling | 2006-12-07 | 1 | -22/+21 | |
| | | | | llvm-svn: 32320 | |||||
* | Switch analysis groups to be unregistered when llvm_shutdown is called. | Chris Lattner | 2006-12-01 | 1 | -55/+36 | |
| | | | | llvm-svn: 32110 | |||||
* | Start moving pass registration over to using the ManagedStatic mechanism. | Chris Lattner | 2006-12-01 | 1 | -39/+52 | |
| | | | | | | | This fixes issues where passes get unregistered before llvm_shutdown is called, and is generally cleaner and simpler. Analysis groups up next. llvm-svn: 32108 | |||||
* | move 'cfgonly' pass tracking into PassInfo, instead of handling it with | Chris Lattner | 2006-12-01 | 1 | -37/+26 | |
| | | | | | | yet-another global data structure. llvm-svn: 32102 | |||||
* | Add explicit doInitialization/doFinalization methods instead of making | Chris Lattner | 2006-09-04 | 1 | -1/+14 | |
| | | | | | | the FunctionPassManager redo this for each function. llvm-svn: 30079 | |||||
* | We no longer care whether something is an opt vs analysis pass, only whether | Chris Lattner | 2006-08-27 | 1 | -3/+3 | |
| | | | | | | something is a pass vs an analysis group now. Simplify interfaces. llvm-svn: 29920 | |||||
* | Change the ModuleProvider interface to not throw exceptions. | Chris Lattner | 2006-07-06 | 1 | -6/+2 | |
| | | | | llvm-svn: 29024 | |||||
* | For PR780: | Reid Spencer | 2006-06-07 | 1 | -3/+0 | |
| | | | | | | | | | Break the "IncludeFile" mechanism into its own header file and adjust other files accordingly. Use this facility for the IntrinsicInst problem which was the subject of PR800. More to follow on this. llvm-svn: 28709 | |||||
* | Speedup and simplify pass registration by the observation that there is | Chris Lattner | 2006-01-23 | 1 | -20/+17 | |
| | | | | | | | | | exactly one PassInfo object per RegisterPass object and that their lifetimes are the same. As such, there is no reason for the RegisterPass object to dynamically allocate the PassInfo object at compiler startup time: just inline the object by-value. This should reduce codesize, heap size, and startup time. Yaay. llvm-svn: 25521 | |||||
* | Patch #6's in Saem's refactor-the-passmanager patch series. From him: | Chris Lattner | 2006-01-04 | 1 | -8/+8 | |
| | | | | | | | This sanitises the world, blows away the specialisations and adds traits per passmanager type -- seemed most natural. llvm-svn: 25085 | |||||
* | Older compilers won't like the inline virtual destructor in the header file | Reid Spencer | 2005-04-25 | 1 | -0/+3 | |
| | | | | | | so we put the destructor in Pass.cpp and make it non-inline. llvm-svn: 21520 | |||||
* | Remove trailing whitespace | Misha Brukman | 2005-04-21 | 1 | -10/+10 | |
| | | | | llvm-svn: 21427 | |||||
* | For PR387:\ | Reid Spencer | 2004-12-07 | 1 | -1/+1 | |
| | | | | | | | Make only one print method to avoid overloaded virtual warnings when \ compiled with -Woverloaded-virtual llvm-svn: 18589 | |||||
* | 'Pass' should now not be derived from by clients. Instead, they should derive | Chris Lattner | 2004-09-20 | 1 | -10/+19 | |
| | | | | | | | | | | from ModulePass. Instead of implementing Pass::run, then should implement ModulePass::runOnModule. Also, fix some undefined behavior, expecting | on booleans to evaluate left-to-right. llvm-svn: 16435 | |||||
* | Changes For Bug 352 | Reid Spencer | 2004-09-01 | 1 | -2/+2 | |
| | | | | | | | | Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137 | |||||
* | Give the -time-passes tool option a global storage location so that its | Reid Spencer | 2004-08-24 | 1 | -3/+4 | |
| | | | | | | value can be discovered by the various LLVM tools. llvm-svn: 16032 | |||||
* | There is no error message to print out, end sentence with `!' | Misha Brukman | 2004-07-07 | 1 | -1/+1 | |
| | | | | llvm-svn: 14678 | |||||
* | Fix for bug 391. | Reid Spencer | 2004-07-07 | 1 | -1/+9 | |
| | | | | | | Improve exeception handling around bcreader invocations. llvm-svn: 14674 |