History log of /external/llvm/lib/VMCore/ConstantFold.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7fc52e2d95ffa543288a2fef7ef1346ce14b1a61 19-Jul-2011 Jay Foad <jay.foad@gmail.com> Convert ConstantFoldGetElementPtr to use ArrayRef.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135483 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
db125cfaf57cc83e7dd7453de2d509bc8efd0e5e 18-Jul-2011 Chris Lattner <sabre@nondot.org> land David Blaikie's patch to de-constify Type, with a few tweaks.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135375 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
fc6d3a49867cd38954dc40936a88f1907252c6d2 13-Jul-2011 Jay Foad <jay.foad@gmail.com> Convert InsertValueInst and ExtractValueInst APIs to use ArrayRef.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135040 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
25052d8d64f18a85d6a84e0e010f6ba3eba0760d 14-Jan-2011 Jay Foad <jay.foad@gmail.com> Remove casts between Value** and Constant**, which won't work if a
static_cast from Constant* to Value* has to adjust the "this" pointer.
This is groundwork for PR889.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123435 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
b29d596072d2ba32a0bb59241baf7a1c0ff5ed94 01-Feb-2010 Chris Lattner <sabre@nondot.org> eliminate a bunch of pointless LLVMContext arguments.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95001 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
33c06adcf10d3ef7bbfc70f09f4966eec2e6c85e 20-Sep-2009 Nick Lewycky <nicholas@mxc.ca> Value* were never meant to be const. Removing constness from the constant
folder removes a lot of const_casting and requires no changes to clang or
llvm-gcc.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82349 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
3bfbc4587a7e79f08f8c126a9e62c3475fb90f8b 11-Sep-2009 Dan Gohman <gohman@apple.com> Teach lib/VMCore/ConstantFold.cpp how to set the inbounds keyword and
how to fold notionally-out-of-bounds array getelementptr indices instead
of just doing these in lib/Analysis/ConstantFolding.cpp, because it can
be done in a fairly general way without TargetData, and because not all
constants are visited by lib/Analysis/ConstantFolding.cpp. This enables
more constant folding.

Also, set the "inbounds" flag when the getelementptr indices are
one-past-the-end.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81483 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
12ddd409535b52a7fa5157ded9a4cedd161fedb6 11-Aug-2009 Benjamin Kramer <benny.kra@googlemail.com> Make LLVMContext and LLVMContextImpl classes instead of structs.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78690 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
48b2f3e4850cd27d54224cd42da8a160d6b95984 05-Aug-2009 Owen Anderson <resistor@mac.com> Factor some of the constants+context related code out into a separate header, to make LLVMContextImpl.h
not hideous. Also, fix some MSVC compile errors.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78115 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
0a5372ed3e8cda10d724feda3c1a1c998db05ca0 13-Jul-2009 Owen Anderson <resistor@mac.com> Begin the painful process of tearing apart the rat'ss nest that is Constants.cpp and ConstantFold.cpp.
This involves temporarily hard wiring some parts to use the global context. This isn't ideal, but it's
the only way I could figure out to make this process vaguely incremental.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75445 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
ac7087ecf08e79efbf131a7a5abad9ebb541245b 20-Jun-2009 Owen Anderson <resistor@mac.com> Forgot this file.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73802 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
430444b10237abd37eb8157c3f84509a7d9636f8 20-Jun-2009 Owen Anderson <resistor@mac.com> Fix a serious bug that would cause deadlock during abstract type refinement. The constant creation
gets involved, and we end up trying to recursively acquire a writer lock. The fix for this is slightly horrible,
and involves passing a boolean "locked" parameter around in Constants.cpp, but it's better than having locked and
unlocked versions of most of the code.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73790 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
58921feaa9340fb32e2a01ef3cdca6caf8b71e1c 01-Aug-2008 Duncan Sands <baldrick@free.fr> Fix comment typos.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54266 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
6e68f59b78d8dcb3940469351a08d5884f190223 03-Jun-2008 Dan Gohman <gohman@apple.com> Constant folding for insertvalue and extractvalue.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51889 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
041e2eb51721bcfecee5d9c9fc409ff185526e47 15-May-2008 Dan Gohman <gohman@apple.com> IR support for extractvalue and insertvalue instructions. Also, begin
moving toward making structs and arrays first-class types.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51157 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
4ee451de366474b9c228b4e5fa573795a715216d 29-Dec-2007 Chris Lattner <sabre@nondot.org> Remove attribution from file headers, per discussion on llvmdev.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45418 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
ac72058dd6afcb41ddf8b19c4ec2093999b34282 22-Oct-2007 Dan Gohman <gohman@apple.com> The #include <iterator> isn't needed in this header.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43232 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
b8f74793b9d161bc666fe27fc92fe112b6ec169b 04-Sep-2007 David Greene <greened@obbligato.org> Update GEP constructors to use an iterator interface to fix
GLIBCXX_DEBUG issues.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41697 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
2b9a5daf7c4dc39b46662a69e95e610e7b2cd4ba 31-Jan-2007 Chris Lattner <sabre@nondot.org> Revise APIs for creating constantexpr GEPs to not require the use of vectors.
This allows us to eliminate many temporary vectors, and theirassociated malloc/free pairs.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33692 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
b913bbaa415299b732d72239566e203fe57761d6 24-Dec-2006 Reid Spencer <rspencer@reidspencer.com> Cleanup ConstantFoldCompareInstruction:
1. Make the arguments const like the other ConstantFold* functions.
2. Clean up evaluateFCmpRelation so it makes sense for floating point.
3. Implement the use of evaluateFCmpRelation to fold floating point CEs
4. Shorten a variable name so more things fit on one line.
5. Fix various comments.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32759 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
e4d87aa2de6e52952dca73716386db09aad5a8fd 23-Dec-2006 Reid Spencer <rspencer@reidspencer.com> For PR950:
This patch removes the SetCC instructions and replaces them with the ICmp
and FCmp instructions. The SetCondInst instruction has been removed and
been replaced with ICmpInst and FCmpInst.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32751 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
2f8bbf5d65cf7514cdc0821f14a81f4cf2b0a3ac 04-Dec-2006 Reid Spencer <rspencer@reidspencer.com> For PR950: Implement a stub for folding ICmp and FCmp instructions


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32169 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
3da59db637a887474c1b1346c1f3ccf53b6c4663 27-Nov-2006 Reid Spencer <rspencer@reidspencer.com> For PR950:
The long awaited CAST patch. This introduces 12 new instructions into LLVM
to replace the cast instruction. Corresponding changes throughout LLVM are
provided. This passes llvm-test, llvm/test, and SPEC CPUINT2000 with the
exception of 175.vpr which fails only on a slight floating point output
difference.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31931 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
00f1023cf8b30c74dc219525f518a80c45b6e7ba 08-Apr-2006 Chris Lattner <sabre@nondot.org> Add shufflevector support, todo, implement better constant folding.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27510 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
c152f9cd26e7cb32352c513389a18ffd892ecaec 17-Jan-2006 Robert Bocchino <bocchino@illinois.edu> VMCore support for the insertelement operation.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25408 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
bb90a7aa7bf71311046ccc9f277e5f76cc082722 10-Jan-2006 Robert Bocchino <bocchino@illinois.edu> Added constant folding support for the extractelement operation.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25187 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
fd93908ae8b9684fe71c239e3c6cfe13ff6a2663 22-Apr-2005 Misha Brukman <brukman+llvm@gmail.com> Remove trailing whitespace


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21427 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
1fca5ff62bb2ecb5bfc8974f4dbfc56e9d3ca721 27-Oct-2004 Chris Lattner <sabre@nondot.org> Convert 'struct' to 'class' in various places to adhere to the coding standards
and work better with VC++. Patch contributed by Morten Ofstad!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17281 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
7fa6e666ece60455cf9d75eff6e6915bebf05cbc 12-Oct-2004 Chris Lattner <sabre@nondot.org> Allow creation of GEP constantexprs with a vector of value* operands as
well as a vector of constant*'s. It turns out that this is more efficient
and all of the clients want to do that, so we should cater to them.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16923 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
82d55902c6ccd051680d6c77ed1a27a0f9ee9eec 08-Jun-2004 Chris Lattner <sabre@nondot.org> Fix a link error using VS8.0


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14071 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
647f82be070a0993031094b21130aed5fadf1a67 12-Mar-2004 Chris Lattner <sabre@nondot.org> Add new function


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12322 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
cbfd40654177d6c2b7fcb94272c3a8064d5b8297 12-Jan-2004 Chris Lattner <sabre@nondot.org> Rename ConstantHandling.* -> ConstantFolding.*
Move a bunch of (now) private stuff from ConstantFolding.h into
ConstantFolding.cpp.

This _finally_ gets us to a place where we have a sane constant folder. The
rules are:

1. LLVM clients now use ConstantExpr::get* methods to fold constants. If they
cannot be folded, a constantexpr is created, so these methods always return
valid Constant*'s.
2. The implementation of ConstantExpr::get* uses the functions exposed by
ConstantFolding.h to try to fold constants. If they cannot be folded,
they should return a null pointer.
3. The implementation of ConstantFolding can do whatever it wants, and only
has one client (Constants.cpp)

This cuts down on the wierd dependencies, and eliminates the two interfaces.
The old constanthandling interface was especially bad for clients to use
because almost none of them took the failure condition into consideration,
thus leading to obscure problems.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10807 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
8b0f0cb9088a7746fea2ba23821e50d87cef4a56 12-Jan-2004 Chris Lattner <sabre@nondot.org> Remove a whole bunch more ugliness. This is actually getting to the point of
this whole refactoring: allow constant folding methods to return something
other than predefined classes, allow them to return generic Constant*'s.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10806 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
6b7b91ab038eb468431725993dfe246726bc9743 12-Jan-2004 Chris Lattner <sabre@nondot.org> Move ConstantHandling.h into lib/VMCore and out of include/llvm


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10805 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
731ba7f032966d41110e92e1f319fbf8e5e07170 12-Jan-2004 Chris Lattner <sabre@nondot.org> Eliminate a lot of out-of-date comments, and all of the wierd overloaded
operator constant folding stuff.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10803 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
c4a15098296e08f05216a73822145485f2e3e11b 12-Jan-2004 Chris Lattner <sabre@nondot.org> Move prototype of llvm::ConstantFoldInstruction


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10786 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
5d5a714b24f1e31ca98f697dc02ff9b554e258cc 17-Nov-2003 Chris Lattner <sabre@nondot.org> Implement == and != correctly. Before they would incorrectly return !=
for some constant exprs when they could really be the same value


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10058 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
0dc396909e01c5fb27e2a5a192131a5d79c3f0e9 17-Nov-2003 Chris Lattner <sabre@nondot.org> Constant folding shalt not be built on annotations


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10052 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
8b70b78ba489b090d9866e6a4084ab1e8613b527 16-Nov-2003 Chris Lattner <sabre@nondot.org> Fixes for PR114: Thanks to Reid Spencer!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10029 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
d0fde30ce850b78371fd1386338350591f9ff494 11-Nov-2003 Brian Gaeke <gaeke@uiuc.edu> Put all LLVM code into the llvm namespace, as per bug 109.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9903 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
d5e4918fa77bf413b020735fa81fc160b43a5d0c 05-Nov-2003 Chris Lattner <sabre@nondot.org> Fix spello
Add negate overload


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9709 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
6fbcc26f1460eaee4e0eb8b426fc1ff0c7af11be 20-Oct-2003 John Criswell <criswell@uiuc.edu> Added LLVM copyright header (for lack of a better term).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9304 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
48486893f46d2e12e926682a3ecb908716bc66c4 30-Sep-2003 Chris Lattner <sabre@nondot.org> Standardize header file comments


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8782 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
30780ccf15fd098afe5c47ae8e013dd832ed2dde 23-Jul-2003 Chris Lattner <sabre@nondot.org> Add support for ~ operator on constants


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7258 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
3889a2cb05c36f30050941679d5fd55d45e6a3ed 22-Jun-2003 Chris Lattner <sabre@nondot.org> Remove a ton of extraneous #includes


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6842 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
be583b914d8156b99d3da264d5adca37fee8dbc9 11-Jun-2003 John Criswell <criswell@uiuc.edu> Included assert.h so that the code compiles under newer versions of GCC.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6682 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
eca8e8f11168fee606e5c89fe30ea6399c2db53b 25-Apr-2003 Chris Lattner <sabre@nondot.org> *** Huge: Make constantexprs be handled correctly, conservatively


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5923 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
fd73cf895c8e83c8f016f8e67f8d96544e316343 17-Apr-2003 Chris Lattner <sabre@nondot.org> Don't force a ConstantPointer to be returned


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5799 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
ce8a14915d2971039b576e03a32e0ba7c421dba7 03-Sep-2002 Chris Lattner <sabre@nondot.org> - Renamed Type::isIntegral() to Type::isInteger()
- Added new method Type::isIntegral() that is the same as isInteger, but
also accepts bool.
SCVS: ----------------------------------------------------------------------


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3572 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
f4e3c006acae5ccdad021c93046f049cb3543368 14-Aug-2002 Chris Lattner <sabre@nondot.org> Remove constant propogation support for NOT instruction


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3321 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
e56096aa415f2983ff1aae19be2647630295c1df 30-Jul-2002 Chris Lattner <sabre@nondot.org> Implement constant propogation of logical (and, or, xor) expressions.
Fixes testcase: test/Regression/Transforms/ConstProp/logicaltest.ll


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3153 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
a803899af5646af94ebdf6b1f03525c5b91351fd 06-May-2002 Chris Lattner <sabre@nondot.org> Move a bunch of code to a .cpp file, don't #include Instruction.h


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2499 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
4c1061f58c7149e884c81851b8a8f61483264560 06-May-2002 Chris Lattner <sabre@nondot.org> Implement constant propogation of shift instructions


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2471 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
bdd15ad565d5881251f84a9fd13bf89f81d340ec 03-May-2002 Chris Lattner <sabre@nondot.org> Implement remainder


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2463 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
31bcdb822fe9133b1973de51519d34e5813a6184 28-Apr-2002 Chris Lattner <sabre@nondot.org> Split ConstantVals.h into Constant.h and Constants.h


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2378 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
66160427de7b88815f2f9847ec60c6ef85577b6b 08-Apr-2002 Chris Lattner <sabre@nondot.org> Minor change to reflect that ConstantHandling is now part of VMCore


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2163 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
05c05ea9cad7d8836e161db674b041a0485fe39f 07-Apr-2002 Chris Lattner <sabre@nondot.org> Implement constant propogation of multiply and divide instructions!!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2134 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
c4edcb3a17165e4cbd994671221e84053c68e7db 21-Jan-2002 Chris Lattner <sabre@nondot.org> Pull stuff out of opt namespace


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1511 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
e9bb2df410f7a22decad9a883f7139d5857c1520 03-Dec-2001 Chris Lattner <sabre@nondot.org> Rename ConstPoolVal -> Constant
Rename ConstPool* -> Constant*
Rename ConstPoolVals.h -> ConstantVals.h


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1407 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
89279732832f587136f66004d76eb08153d0df98 26-Nov-2001 Chris Lattner <sabre@nondot.org> Be more const correct


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1332 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
76ac1a45b40a96d1e583e2576c04d19b7d23a99e 01-Nov-2001 Chris Lattner <sabre@nondot.org> Implement constant propogation of null pointer values.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1078 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
37aabf28b3ae64356b58d7e0bed2c6764bc52334 31-Oct-2001 Chris Lattner <sabre@nondot.org> Implemented constant propogation of cast instructions


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1064 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
0b693fb1251bd39f123f9f88ac43d86152f29720 13-Oct-2001 Chris Lattner <sabre@nondot.org> not is a keyword in Ansi C++. Avoid it


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@748 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
78914e772f4988dd5e521b49e2e9b208fa1b02ab 09-Sep-2001 Chris Lattner <sabre@nondot.org> Convert ConstRules to use annotations to clean it up.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@514 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
539a4bf4b587e7aa334888bfb1145f1c7adf63f3 07-Sep-2001 Chris Lattner <sabre@nondot.org> You no longer have to delete constants! They are located in a global
constant pool instead of in local ones.

Change bool handling to prevent modification of bool values


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@436 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
7e314d204256632c04834222fbbf4a6cad095467 21-Jul-2001 Chris Lattner <sabre@nondot.org> Add support for casting operators


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
a137f870513d59ba4759ef5e6069a075f4934898 20-Jul-2001 Chris Lattner <sabre@nondot.org> Add multiply as a supported constant propogation operation
Include the LevelChange.h header in AllOpts.h


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
0908309e3c4b4f423e88d8d8fe8060cb10eaa1c9 08-Jul-2001 Chris Lattner <sabre@nondot.org> Neg instruction removed. Cast instruction implemented.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
50d0b7ec3f58d13ea5613dde60a15b07532de56e 30-Jun-2001 Chris Lattner <sabre@nondot.org> Split AllOpts.h into lots of little .h files.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
6bb09d96a05f9cfab4b0ef4a2b834d6ff4e6caa5 28-Jun-2001 Chris Lattner <sabre@nondot.org> Add instructions to fold unary and binary instructions.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@87 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h
009505452b713ed2e3a8e99c5545a6e721c65495 06-Jun-2001 Chris Lattner <sabre@nondot.org> Initial revision


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/VMCore/ConstantFold.h