1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-28 06:22:51 +01:00
llvm-mirror/include/llvm
Duncan Sands 0338e9f60d 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.

llvm-svn: 55604
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 Use C-style comments :) 2008-03-23 13:44:17 +00:00
Debugger Fix more -Wshorten-64-to-32 warnings. 2008-05-05 18:30:58 +00:00
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 Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
Argument.h Fix a missing #include. Patch by Andrew John Hughes. 2008-08-28 00:20:07 +00:00
AutoUpgrade.h Enable first-class aggregates support. 2008-07-23 00:34:11 +00:00
BasicBlock.h Switch the asmprinter (.ll) and all the stuff it requires over to 2008-08-23 22:23:09 +00:00
CallGraphSCCPass.h PassInfo keep tracks whether a pass is an analysis pass or not. 2008-03-19 21:56:59 +00:00
CallingConv.h Tidy a doxygen comment. 2008-07-16 15:59:56 +00:00
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 Remove unused parameter. Some clients might use -Werror when compiling and 2008-06-05 07:24:08 +00:00
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 Rename instance variables, parameter argument names to eliminate a bunch of compilation warnings with -Wshadow. 2008-07-24 00:08:56 +00:00
Instruction.def Enable first-class aggregates support. 2008-07-23 00:34:11 +00:00
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 - Re-apply 52748 and friends with fix. GetConstantStringInfo() returns an empty string for ConstantAggregateZero case which surprises selectiondag. 2008-06-30 07:31:25 +00:00
Intrinsics.h add missing #include 2008-04-30 04:56:14 +00:00
Intrinsics.td Added support for overloading intrinsics (atomics) based on pointers 2008-07-30 04:36:53 +00:00
IntrinsicsARM.td remove attribution from a variety of miscellaneous files. 2007-12-29 22:59:10 +00:00
IntrinsicsCellSPU.td Final de-tabification. 2008-02-27 06:33:05 +00:00
IntrinsicsPowerPC.td Implement __sync_synchronize on ppc32. Patch by Gary Benson. 2008-08-22 17:20:54 +00:00
IntrinsicsX86.td SSE codegen for vsetcc nodes 2008-07-17 16:51:19 +00:00
LinkAllPasses.h Add a small pass that sets the readnone/readonly 2008-09-01 11:40:11 +00:00
LinkAllVMCore.h prune unneeded #includes 2008-04-01 04:00:45 +00:00
Linker.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
Module.h Switch the asmprinter (.ll) and all the stuff it requires over to 2008-08-23 22:23:09 +00:00
ModuleProvider.h Remove warnings about unused parameters and shadowed variables. 2008-05-19 20:15:12 +00:00
OperandTraits.h 80col 2008-07-05 22:41:37 +00:00
ParameterAttributes.h The inline keyword goes before the return type. This fixes a compiler warning. 2008-06-19 16:16:06 +00:00
Pass.h Add dom info verifier. 2008-07-01 17:44:24 +00:00
PassAnalysisSupport.h Speed up the passmgr by avoiding heap thrashing on vectors. 2008-08-08 05:33:04 +00:00
PassManager.h allow updating the MPM, so that you can use one FunctionPAssManager with 2008-06-26 22:26:45 +00:00
PassManagers.h Use SmallVector instead of std::vector 2008-08-12 15:44:31 +00:00
PassSupport.h Correct a comment. 2008-06-24 17:46:48 +00:00
SymbolTableListTraits.h Fold the useful features of alist and alist_node into ilist, and 2008-07-28 21:51:04 +00:00
Type.h remove dead method. 2008-08-23 22:43:21 +00:00
TypeSymbolTable.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
Use.h Tidy SDNode::use_iterator, and complete the transition to have it 2008-07-27 20:43:25 +00:00
User.h Move some documentation from the header file into ProgrammersManual. About to improve. 2008-06-16 21:06:12 +00:00
Value.h we should use 'class' for non-pod types instead of 'struct' to 2008-08-24 18:38:56 +00:00
ValueSymbolTable.h implement some fixme's by making "autorenaming" in the value symbol table not 2008-06-27 21:26:26 +00:00