llvm-6502/lib
Bob Wilson 53624a2df5 Refactor and check "onlyReadsMemory" before optimizing builtins.
This patch is mostly just refactoring a bunch of copy-and-pasted code, but
it also adds a check that the call instructions are readnone or readonly.
That check was already present for sin, cos, sqrt, log2, and exp2 calls, but
it was missing for the rest of the builtins being handled in this code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161282 91177308-0d34-0410-b5e6-96231b3b80d8
2012-08-03 23:29:17 +00:00
..
Analysis Implement the block_iterator of Region based on df_iterator. 2012-08-02 14:20:02 +00:00
Archive Include cstdio in a few place that depended on getting it transitively through StringExtras.h 2012-03-23 11:35:30 +00:00
AsmParser Extend the IL for selecting TLS models (PR9788) 2012-06-23 11:37:03 +00:00
Bitcode Remove tabs. 2012-07-19 00:15:11 +00:00
CodeGen Refactor and check "onlyReadsMemory" before optimizing builtins. 2012-08-03 23:29:17 +00:00
DebugInfo DebugInfo library: add support for fetching absolute paths to source files 2012-07-19 07:03:58 +00:00
ExecutionEngine JIT::runFunction(): add a fast path for functions with a single argument that is a pointer. 2012-08-02 12:09:32 +00:00
Linker Move the "findUsedStructTypes" functionality outside of the Module class. 2012-08-03 00:30:35 +00:00
MC Keep empty assembly macro argument values in the middle of the list. 2012-07-30 22:44:17 +00:00
Object Reverting r 160419. 2012-07-19 21:43:55 +00:00
Support Initial commit of new FileOutputBuffer support class. 2012-08-01 02:29:50 +00:00
TableGen TableGen: Allow use of #NAME# outside of 'def' names. 2012-08-02 18:46:42 +00:00
Target 1. Redo mips16 instructions to avoid multiple opcodes for same instruction. 2012-08-03 22:57:02 +00:00
Transforms Move the "findUsedStructTypes" functionality outside of the Module class. 2012-08-03 00:30:35 +00:00
VMCore Move the "findUsedStructTypes" functionality outside of the Module class. 2012-08-03 00:30:35 +00:00
CMakeLists.txt
LLVMBuild.txt LLVMBuild: Introduce a common section which currently has a list of the 2011-12-12 22:45:54 +00:00
Makefile