History log of /external/llvm/include/llvm/Support/ConstantFolder.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
dab3d29605a5c83db41b28176273ef55961120c1 21-Jul-2011 Jay Foad <jay.foad@gmail.com> Convert ConstantExpr::getGetElementPtr and
ConstantExpr::getInBoundsGetElementPtr to use ArrayRef.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135673 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ConstantFolder.h
12fc16f1950796486988dc91ba69797efa5bdb64 21-Jul-2011 Jay Foad <jay.foad@gmail.com> Convert ConstantFolder APIs to use ArrayRef.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135671 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ConstantFolder.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/include/llvm/Support/ConstantFolder.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/include/llvm/Support/ConstantFolder.h
c12d4c93f94e271d32e60fae1d521c4fca39ae1e 03-Apr-2011 Frits van Bommel <fvbommel@gmail.com> Remove the LLVMContext& arguments from *Folder constructors, as they don't seem to be used anywhere.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128793 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ConstantFolder.h
81baf14fdfa29c22a08d609144c285169e23a247 10-Feb-2011 Chris Lattner <sabre@nondot.org> switch the constantexpr, target folder, and IRBuilder interfaces
for NSW/NUW binops to follow the pattern of exact binops. This
allows someone to use Builder.CreateAdd(x, y, "tmp", MaybeNUW);


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125270 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ConstantFolder.h
413c3bd9fd820a0969cd0e84124f3a3fadc5cc61 09-Feb-2011 Chris Lattner <sabre@nondot.org> enrich folder interfaces around exactness.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125191 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ConstantFolder.h
1dbf0df996bba398a70abccc714b1a9652330014 07-Feb-2011 Duncan Sands <baldrick@free.fr> Add IRBuilder methods for creating an exact udiv, like for exact sdiv.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125002 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ConstantFolder.h
8991d51ddcea31e198aff1fd01c05af2679ee8f8 02-Feb-2010 Duncan Sands <baldrick@free.fr> Adding missing methods for creating Add, Mul, Neg and Sub with NUW.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95086 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ConstantFolder.h
411984810e4a66591123e1b16873e5f19ae18817 18-Dec-2009 Dan Gohman <gohman@apple.com> Add utility routines for NSW multiply.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91664 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ConstantFolder.h
bdc46c6af5ffcf3596a72df75880fe8703436060 18-Dec-2009 Dan Gohman <gohman@apple.com> Add utility routines for creating integer negation operators with NSW set.
Integer negation only overflows with INT_MIN, but that's an important case.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91662 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ConstantFolder.h
e5db7c4166957e13a7df84570be0b9ddc2ef07fe 05-Nov-2009 Dan Gohman <gohman@apple.com> InstrTypes.h includes Instruction.h, so it's not necessary to include both.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86162 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ConstantFolder.h
131b0d2fcfa72de250f0add965f6f12aea943bf3 05-Nov-2009 Douglas Gregor <dgregor@apple.com> Make two more LLVM headers standalone

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86131 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ConstantFolder.h
3548ea8e905269e819fdd4c7fab42142b745c6c5 26-Sep-2009 Duncan Sands <baldrick@free.fr> For the NSWSub support in the builder to actually be useable,
there need to be corresponding changes to the constant folders,
done in this patch.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82862 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ConstantFolder.h
6e7ad958683f34bf6c014c88fef723e5a2d741be 04-Sep-2009 Dan Gohman <gohman@apple.com> Revert 80959. It isn't sufficient to solve the full problem. And it
introduced regressions in the Ocaml bindings tests.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80969 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ConstantFolder.h
e56a94ef91009ddb8d8b68783ff1650bcad3b326 04-Sep-2009 Dan Gohman <gohman@apple.com> Remove the API for creating ConstantExprs with the nsw, nuw, inbounds,
and exact flags. Because ConstantExprs are uniqued, creating an
expression with this flag causes all expressions with the same operands
to have the same flag, which may not be safe. Add, sub, mul, and sdiv
ConstantExprs are usually folded anyway, so the main interesting flag
here is inbounds, and the constant folder already knows how to set the
inbounds flag automatically in most cases, so there isn't an urgent need
for the API support.

This can be reconsidered in the future, but for now just removing these
API bits eliminates a source of potential trouble with little downside.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80959 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ConstantFolder.h
02904d5d848a12be0d5857fc7a25261fb162e0ed 16-Aug-2009 Erick Tryzelaar <idadesub@users.sourceforge.net> Add more casts to the IRBuilder.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79158 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ConstantFolder.h
d6474fa1f19224e62e5095a6373bed0c69bdb215 11-Aug-2009 Dan Gohman <gohman@apple.com> Add convenience functions for creating nsw add operators.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78707 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ConstantFolder.h
e2574d3215c412a15763d26aee9aa5d856764c2c 11-Aug-2009 Dan Gohman <gohman@apple.com> Add convenience functions for creating inbounds GEPs.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78695 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ConstantFolder.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/include/llvm/Support/ConstantFolder.h
754bdacf4675a75031ece44aa23f82c000cd1be8 11-Aug-2009 Benjamin Kramer <benny.kra@googlemail.com> Fix struct/class mismatch.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78686 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ConstantFolder.h
59c4f5c2fc82af14b0f4f332709aac62921c6177 11-Aug-2009 Dan Gohman <gohman@apple.com> Add convenience functions for creating exact sdiv operators, and
use them in CreatePtrDiff.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78682 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ConstantFolder.h
7f4151bc69e02a22862752742ad1cb637d90ded0 11-Aug-2009 Dan Gohman <gohman@apple.com> ConstantFolder and NoFolder no longer require their Context members.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78673 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ConstantFolder.h
baf3c404409d5e47b13984a7f95bfbd6d1f2e79e 29-Jul-2009 Owen Anderson <resistor@mac.com> Move ConstantExpr to 2.5 API.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77494 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ConstantFolder.h
45524c58fd5f77b6a3f6e77d43fba85b36ec0b08 10-Jul-2009 Owen Anderson <resistor@mac.com> Finish pushing LLVMContext through the IRBuilder/ConstantFolder interface.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75213 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ConstantFolder.h
7f6aa2b162e5daaf7b9ccf05d749597d3d7cf460 08-Jul-2009 Nick Lewycky <nicholas@mxc.ca> Remove the vicmp and vfcmp instructions. Because we never had a release with
these instructions, no autoupgrade or backwards compatibility support is
provided.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74991 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ConstantFolder.h
ae3a0be92e33bc716722aa600983fc1535acb122 05-Jun-2009 Dan Gohman <gohman@apple.com> Split the Add, Sub, and Mul instruction opcodes into separate
integer and floating-point opcodes, introducing
FAdd, FSub, and FMul.

For now, the AsmParser, BitcodeReader, and IRBuilder all preserve
backwards compatability, and the Core LLVM APIs preserve backwards
compatibility for IR producers. Most front-ends won't need to change
immediately.

This implements the first step of the plan outlined here:
http://nondot.org/sabre/LLVMNotes/IntegerOverflow.txt


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72897 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ConstantFolder.h
fe24bd3a89c44f9a16e3cbcf60c119dac88fad40 12-Aug-2008 Duncan Sands <baldrick@free.fr> Add a NullFolder class that doesn't fold constants.
This may be used as the second IRBuilder template
parameter, the idea being that people learning LLVM
may find it helpful (several people asked on IRC
if it was possible to turn off constant folding
because it made it hard for them to see what was
going on). Compiles, but otherwise completely
untested.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54698 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ConstantFolder.h
20df07ba22c0b7e907c1a7912b5d3d1d2fb948db 12-Aug-2008 Duncan Sands <baldrick@free.fr> Point people to ConstantExpr and ConstantFolding,
in case they get the wrong idea. Fit in 80 columns.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54676 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ConstantFolder.h
1e7f7865ebd3b47c93dc8867abe5baae0df0ebce 11-Aug-2008 Duncan Sands <baldrick@free.fr> Make it possible to use different constant
folding policies with IRBuilder. The default,
provided by ConstantFolder, is to do minimal
folding like now: what ConstantExpr provides.
An alternative is to use TargetFolder, which
uses target information to fold constants more.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54640 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ConstantFolder.h