llvm-6502/include/llvm
Owen Anderson 081c34b725 Get rid of static constructors for pass registration. Instead, every pass exposes an initializeMyPassFunction(), which
must be called in the pass's constructor.  This function uses static dependency declarations to recursively initialize
the pass's dependencies.

Clients that only create passes through the createFooPass() APIs will require no changes.  Clients that want to use the
CommandLine options for passes will need to manually call the appropriate initialization functions in PassInitialization.h
before parsing commandline arguments.

I have tested this with all standard configurations of clang and llvm-gcc on Darwin.  It is possible that there are problems
with the static dependencies that will only be visible with non-standard options.  If you encounter any crash in pass
registration/creation, please send the testcase to me directly.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116820 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-19 17:21:58 +00:00
..
ADT add uadd_ov/usub_ov to apint, consolidate constant folding 2010-10-14 00:05:07 +00:00
Analysis Get rid of static constructors for pass registration. Instead, every pass exposes an initializeMyPassFunction(), which 2010-10-19 17:21:58 +00:00
Assembly lets get crazy and name the header file the exact class name, 2010-09-02 23:09:42 +00:00
Bitcode Remove tabs. 2010-10-06 07:19:18 +00:00
CodeGen Get rid of static constructors for pass registration. Instead, every pass exposes an initializeMyPassFunction(), which 2010-10-19 17:21:58 +00:00
CompilerDriver llvmc: Allow multiple output languages. 2010-09-21 14:59:42 +00:00
Config First step to allowing the resource directory of Clang to be adjusted for 2010-10-19 08:21:25 +00:00
ExecutionEngine
MC Move the definition of this to the source file to anchor the vtable. 2010-10-19 00:37:30 +00:00
Support Add TypeBasedAliasAnalysis to the standard pass lists. Note that it 2010-10-18 18:50:27 +00:00
System Clang's #include handling apparently doesn't work for libstdc++'s 2010-10-11 22:30:59 +00:00
Target Revert r116781 "- Add a hook for target to determine whether an instruction def 2010-10-19 17:14:24 +00:00
Transforms Get rid of static constructors for pass registration. Instead, every pass exposes an initializeMyPassFunction(), which 2010-10-19 17:21:58 +00:00
AbstractTypeUser.h
Argument.h
Attributes.h Avoid warnings about implicit conversions to `bool' in MSVC. This time 2010-09-25 20:27:36 +00:00
AutoUpgrade.h Auto-upgrade the magic ".llvm.eh.catch.all.value" global to 2010-09-10 18:51:56 +00:00
BasicBlock.h
CallGraphSCCPass.h
CallingConv.h Add ret instruction to PTX backend 2010-09-25 07:46:17 +00:00
CMakeLists.txt
Constant.h Remove apparently unnecessary forward declaration. 2010-09-14 01:18:15 +00:00
Constants.h Prune includes. 2010-09-14 20:49:00 +00:00
DerivedTypes.h fix a bug I introduced back in the hayday of version #2. 2010-09-20 03:58:32 +00:00
Function.h
GlobalAlias.h
GlobalValue.h
GlobalVariable.h GlobalOpt: EvaluateFunction() must not evaluate stores to weak_odr globals. 2010-10-19 16:47:23 +00:00
GVMaterializer.h
InitializePasses.h Get rid of static constructors for pass registration. Instead, every pass exposes an initializeMyPassFunction(), which 2010-10-19 17:21:58 +00:00
InlineAsm.h Added skeleton for inline asm multiple alternative constraint support. 2010-09-13 18:15:37 +00:00
InstrTypes.h
Instruction.def
Instruction.h
Instructions.h Remove compatibilty code for old-style multiple return values. 2010-10-06 16:59:24 +00:00
IntrinsicInst.h Add convenience class for working with eh.exception calls. 2010-09-01 09:26:00 +00:00
Intrinsics.h
Intrinsics.td Add "pointer to x86mmx" type to the intrinsics. 2010-09-17 00:33:03 +00:00
IntrinsicsAlpha.td
IntrinsicsARM.td Replace NEON vabdl, vaba, and vabal intrinsics with combinations of the 2010-09-03 01:35:08 +00:00
IntrinsicsCellSPU.td
IntrinsicsPowerPC.td
IntrinsicsX86.td The pshufw instruction came about in MMX2 when SSE was introduced. Don't place 2010-10-04 20:24:01 +00:00
IntrinsicsXCore.td
LinkAllPasses.h Make AliasSetTracker TBAA-aware, enabling TBAA-enabled LICM. 2010-10-18 20:44:50 +00:00
LinkAllVMCore.h
Linker.h Remove obsolete comments about throwing exceptions. 2010-09-02 22:14:51 +00:00
LLVMContext.h Remove the experimental AliasAnalysis::getDependency interface, which 2010-09-14 21:25:10 +00:00
Metadata.h After Dan's recent commit this is no longer true. 2010-09-14 20:32:58 +00:00
Module.h
OperandTraits.h
Operator.h Avoid warnings about implicit conversions to `bool' in MSVC. This time 2010-09-25 20:27:36 +00:00
Pass.h
PassAnalysisSupport.h
PassManager.h
PassManagers.h Constify. 2010-10-12 00:12:29 +00:00
PassRegistry.h Do not expose the locking for the PassRegistry in the header. Be careful to 2010-09-16 23:32:35 +00:00
PassSupport.h Get rid of static constructors for pass registration. Instead, every pass exposes an initializeMyPassFunction(), which 2010-10-19 17:21:58 +00:00
SymbolTableListTraits.h
Type.h Add x86MMX a few more places. 2010-09-15 00:52:23 +00:00
TypeSymbolTable.h Add missing include. 2010-09-14 21:25:38 +00:00
Use.h
User.h
Value.h remove unions from LLVM IR. They are severely buggy and not 2010-08-28 04:09:24 +00:00
ValueSymbolTable.h