llvm-6502/include/llvm
Duncan Sands 3cd652d530 Add a small pass that sets the readnone/readonly
attributes on functions, based on the result of
alias analysis.  It's not hardwired to use
GlobalsModRef even though this is the only (AFAIK)
alias analysis that results in this pass actually
doing something.  Enable as follows:
  opt ... -globalsmodref-aa -markmodref ...
Advantages of this pass: (1) records the result
of globalsmodref in the bitcode, meaning it is
available for use by later passes (currently
the pass manager isn't smart enough to magically
make an advanced alias analysis available to all
later passes), which may expose more optimization
opportunities; (2) hopefully speeds up compilation
when code is optimized twice, for example when a
file is compiled to bitcode, then later LTO is done
on it: marking functions readonly/readnone when
producing the initial bitcode should speed up alias
analysis during LTO; (3) good for discovering that
globalsmodref doesn't work very well :)
Not currently turned on by default.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55604 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-01 11:40:11 +00:00
..
ADT Add DenseMap::lookup: 2008-08-29 00:48:44 +00:00
Analysis rename destroy -> releaseMemory to properly hook into passmgr. 2008-08-28 22:56:53 +00:00
Assembly we should use 'class' for non-pod types instead of 'struct' to 2008-08-24 18:38:56 +00:00
Bitcode Rename some GC classes so that their roll will hopefully be clearer. 2008-08-17 18:44:35 +00:00
CodeGen Fix an issue where a use might be selected before a def, and then we didn't respect the pre-chosen vreg 2008-08-30 00:38:46 +00:00
Config
Debugger
ExecutionEngine Add new parameter Fast to createJIT to enable the fast codegen path. 2008-08-08 08:11:34 +00:00
Support Add DebugInfoBuilder. Patch by Talin! 2008-08-27 06:51:14 +00:00
System add a helper method to sys::Path for clang, patch by 2008-08-11 23:39:47 +00:00
Target fix some 80-col violations 2008-08-30 10:09:02 +00:00
Transforms Add a small pass that sets the readnone/readonly 2008-09-01 11:40:11 +00:00
AbstractTypeUser.h
Argument.h Fix a missing #include. Patch by Andrew John Hughes. 2008-08-28 00:20:07 +00:00
AutoUpgrade.h
BasicBlock.h Switch the asmprinter (.ll) and all the stuff it requires over to 2008-08-23 22:23:09 +00:00
CallGraphSCCPass.h
CallingConv.h
Constant.h Switch the asmprinter (.ll) and all the stuff it requires over to 2008-08-23 22:23:09 +00:00
Constants.h Add a new ConstantExpr::getWithOperands that takes any array of operands 2008-08-20 22:27:40 +00:00
DerivedTypes.h
Function.h Add GlobalValue::{removeFromParent,eraseFromParent} 2008-08-29 07:30:15 +00:00
GlobalAlias.h Add GlobalValue::{removeFromParent,eraseFromParent} 2008-08-29 07:30:15 +00:00
GlobalValue.h Add GlobalValue::{removeFromParent,eraseFromParent} 2008-08-29 07:30:15 +00:00
GlobalVariable.h Add GlobalValue::{removeFromParent,eraseFromParent} 2008-08-29 07:30:15 +00:00
InlineAsm.h Switch the asmprinter (.ll) and all the stuff it requires over to 2008-08-23 22:23:09 +00:00
InstrTypes.h
Instruction.def
Instruction.h Switch the asmprinter (.ll) and all the stuff it requires over to 2008-08-23 22:23:09 +00:00
Instructions.h Add a GetElementPtrInst::getIndexedType that accepts uint64_t's instead of just Value*'s. 2008-07-29 08:46:11 +00:00
IntrinsicInst.h
Intrinsics.h
Intrinsics.td Added support for overloading intrinsics (atomics) based on pointers 2008-07-30 04:36:53 +00:00
IntrinsicsARM.td
IntrinsicsCellSPU.td
IntrinsicsPowerPC.td Implement __sync_synchronize on ppc32. Patch by Gary Benson. 2008-08-22 17:20:54 +00:00
IntrinsicsX86.td
LinkAllPasses.h Add a small pass that sets the readnone/readonly 2008-09-01 11:40:11 +00:00
LinkAllVMCore.h
Linker.h
Module.h Switch the asmprinter (.ll) and all the stuff it requires over to 2008-08-23 22:23:09 +00:00
ModuleProvider.h
OperandTraits.h
ParameterAttributes.h
Pass.h
PassAnalysisSupport.h Speed up the passmgr by avoiding heap thrashing on vectors. 2008-08-08 05:33:04 +00:00
PassManager.h
PassManagers.h Use SmallVector instead of std::vector 2008-08-12 15:44:31 +00:00
PassSupport.h
SymbolTableListTraits.h
Type.h remove dead method. 2008-08-23 22:43:21 +00:00
TypeSymbolTable.h
Use.h
User.h
Value.h we should use 'class' for non-pod types instead of 'struct' to 2008-08-24 18:38:56 +00:00
ValueSymbolTable.h