llvm-6502/lib
Chris Lattner 504e8fb74e Implement a bunch of symbolic constant folding opportunities. This implements
testcase test/Regression/Assembler/ConstantExprFold.llx

Note that these kinds of things only rarely show up in source code, but are
exceedingly common in the intermediate stages of algorithms like SCCP.  By
folding things (especially relational operators) that use symbolic constants,
we are able to speculatively fold more conditional branches, which can
lead to some big simplifications.

It would be easy to add a lot more special cases here, so if you notice
SCCP missing anything "obvious", you know what to make smarter.  :)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10812 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-13 05:51:55 +00:00
..
Analysis Remove use of ConstantHandling itf 2004-01-12 20:13:04 +00:00
Archive * finegrainify namespacification of ArchiveReader.cpp 2004-01-10 19:00:15 +00:00
AsmParser Don't use ConstantExpr::getShift anymore 2004-01-12 19:08:43 +00:00
Bytecode Don't use ConstantExpr::getShift anymore 2004-01-12 19:08:43 +00:00
CodeGen Make LiveVariables::HandlePhysRegUse and 2004-01-11 09:18:45 +00:00
Debugger Fix some typos and copy-and-paste-os in comments, and doxygenify. 2004-01-05 17:22:52 +00:00
ExecutionEngine Add new ExecutionEngine::getGlobalValueAtAddress method, which can efficiently 2003-12-31 20:21:04 +00:00
Linker Remove use of ConstantExpr::getShift 2004-01-12 19:10:58 +00:00
Support Remove use of ConstantHandling itf 2004-01-12 20:13:04 +00:00
Target Eliminate use of ConstantHandling itf 2004-01-12 18:08:18 +00:00
Transforms Clean up #includes 2004-01-12 19:56:36 +00:00
VMCore Implement a bunch of symbolic constant folding opportunities. This implements 2004-01-13 05:51:55 +00:00
Makefile Add new dir 2004-01-05 05:25:59 +00:00