2867c85a3754320f96e36afb63325bb76269caa4 |
|
16-Apr-2012 |
Duncan Sands <baldrick@free.fr> |
Remove support for the special 'fast' value for fpmath accuracy for the moment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154850 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Operator.h
|
8883c43ddc13e5f92ba8dfe00f2116a153a570d5 |
|
16-Apr-2012 |
Duncan Sands <baldrick@free.fr> |
Make it possible to indicate relaxed floating point requirements at the IR level through the use of 'fpmath' metadata. Currently this only provides a 'fpaccuracy' value, which may be a number in ULPs or the keyword 'fast', however the intent is that this will be extended with additional information about NaN's, infinities etc later. No optimizations have been hooked up to this so far. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154822 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Operator.h
|
35de7619a0599b11c2f1e0644ddea2b1bd1f9ae2 |
|
14-Apr-2012 |
Duncan Sands <baldrick@free.fr> |
There is no need for setIsExact to be public. Make it private. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154750 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Operator.h
|
1608769abeb1430dc34f31ffac0d9850f99ae36a |
|
05-Dec-2011 |
Nadav Rotem <nadav.rotem@intel.com> |
Add support for vectors of pointers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145801 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Operator.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/Operator.h
|
6cc6bc8cd59172ac47b4ba2dbb3770b86c885a9e |
|
19-Jun-2011 |
Nick Lewycky <nicholas@mxc.ca> |
Revert r133373. I was going to use this to teach the Verifier to verify constant expressions, but Chris wants to instead reduce the set of possible constant expression types. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133374 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Operator.h
|
c49c0ff74cffb636bba435756b655a20583b4b9a |
|
19-Jun-2011 |
Nick Lewycky <nicholas@mxc.ca> |
Add the remaining instructions/constant expressions as Operators so that code can manipulate instructions and constantexpr's uniformly. No users yet though. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133373 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Operator.h
|
6a61834d1c41971f80669a0484f1a0d2d8a1c286 |
|
08-May-2011 |
Eli Friedman <eli.friedman@gmail.com> |
PR9869: Add explicit destructor declarations to Operator subclasses, to allow compiling Operator.h with gcc 4.6 in C++0x mode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131062 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Operator.h
|
f067d584a81ae771d301304ea885e55e2de8ee9a |
|
07-Feb-2011 |
Chris Lattner <sabre@nondot.org> |
implement .ll and .bc support for nsw/nuw on shl and exact on lshr/ashr. Factor some code better. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125006 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Operator.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/Operator.h
|
35bda8914c0d1c02a6f90f42e7810c83150737e1 |
|
06-Feb-2011 |
Chris Lattner <sabre@nondot.org> |
enhance vmcore to know that udiv's can be exact, and add a trivial instcombine xform to exercise this. Nothing forms exact udivs yet though. This is progress on PR8862 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124992 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Operator.h
|
429c75b8654b0d1069f1897375f5801a4c5de017 |
|
25-Sep-2010 |
Oscar Fuentes <ofv@wanadoo.es> |
Avoid warnings about implicit conversions to `bool' in MSVC. This time for real. Patch by Nathan Jeffords! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114796 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Operator.h
|
32d2c5de6419a4f8dec260d9ab557004534e0970 |
|
23-Sep-2010 |
Oscar Fuentes <ofv@wanadoo.es> |
Avoid warnings about conversions to `bool' in MS compilers. Patch by Nathan Jeffords! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114662 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Operator.h
|
41b5adf20208f46e4b1104d6d473710fbfa61eb9 |
|
14-Oct-2009 |
Eric Christopher <echristo@apple.com> |
Remove a bunch of unused arguments from functions, silencing a warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84130 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Operator.h
|
0c1f688954a087017bcaa0d4e88c1ebd64f11c45 |
|
21-Sep-2009 |
Chris Lattner <sabre@nondot.org> |
add a helper method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82438 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Operator.h
|
f8dbee7cea072eb63ae343759975109553697bcb |
|
08-Sep-2009 |
Dan Gohman <gohman@apple.com> |
Reappy r80998, now that the GlobalOpt bug that it exposed on MiniSAT is fixed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81172 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Operator.h
|
92a97a9166e359e195d949e63d7e24a4a33284cf |
|
06-Sep-2009 |
Daniel Dunbar <daniel@zuster.org> |
Revert "Include optional subclass flags, such as inbounds, nsw, etc., ...", this breaks MiniSAT on x86_64. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81098 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Operator.h
|
859fff476dfe8d83abdf4621b1d20062c0daa85c |
|
04-Sep-2009 |
Dan Gohman <gohman@apple.com> |
Include optional subclass flags, such as inbounds, nsw, etc., in the Constant uniquing tables. This allows distinct ConstantExpr objects with the same operation and different flags. Even though a ConstantExpr "a + b" is either always overflowing or never overflowing (due to being a ConstantExpr), it's still necessary to be able to represent it both with and without overflow flags at the same time within the IR, because the safety of the flag may depend on the context of the use. If the constant really does overflow, it wouldn't ever be safe to use with the flag set, however the use may be in code that is never actually executed. This also makes it possible to merge all the flags tests into a single test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80998 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Operator.h
|
5078f84c82814e4d33846f9ef54281619d362f8a |
|
20-Aug-2009 |
Dan Gohman <gohman@apple.com> |
Rename hasNoUnsignedOverflow and hasNoSignedOverflow to hasNoUnsignedWrap and hasNoSignedWrap, for consistency with the nuw and nsw properties. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79539 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Operator.h
|
2907542a3fbea1e322632e6b1558b70a83be5a62 |
|
13-Aug-2009 |
Dan Gohman <gohman@apple.com> |
Add unimplemented destructor declarations to hopefully address compiler warnings on windows (PR4714). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78934 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Operator.h
|
d30658c3ffd1e33e98b82750202a9375bf5963ed |
|
11-Aug-2009 |
Dan Gohman <gohman@apple.com> |
Avoid implicitly depending on Instructions.h. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78681 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Operator.h
|
dd8004dc73d091ccb3927dbbc3b41639a3738ae3 |
|
27-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Add a new keyword 'inbounds' for use with getelementptr. See the LangRef.html changes for details. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77259 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Operator.h
|
5a4e2a47b3444bf92caffcbd2371cf18845d83ba |
|
27-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Order unsigned before signed, for consistency. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77257 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Operator.h
|
6b118a2122f8f7da954fbfbcdec05c331e3fd625 |
|
24-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Add specific classes for Add, Sub, and Mul, for convenience. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76981 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Operator.h
|
344df5ecdfc406476a627c29974ba7481d6a3313 |
|
20-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Clarify that OverflowingBinaryOperator is not used for SDiv, even though SDiv is a binary operation that can overflow. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76464 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Operator.h
|
7a965b03a8b261b76d7ec8eb523ed0a686cc8777 |
|
20-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Drop UDivOperator and introduce SDivOperator. Thanks to Chris for noticing this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76440 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Operator.h
|
f2411744214dad8c71044aac2977ca77e9ebf028 |
|
20-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Revert the addition of hasNoPointerOverflow to GEPOperator. Getelementptrs that are defined to wrap are virtually useless to optimization, and getelementptrs that are undefined on any kind of overflow are too restrictive -- it's difficult to ensure that all intermediate addresses are within bounds. I'm going to take a different approach. Remove a few optimizations that depended on this flag. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76437 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Operator.h
|
016de81177ec5c950f1668be4a48992bc1ee0d75 |
|
18-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Convert more code to use Operator instead of explicitly handling both ConstantExpr and Instruction. This involves duplicating some code between GetElementPtrInst and GEPOperator, but it's not a lot. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76265 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Operator.h
|
5c2cb324d8d6380e8753b7022a6bc0b49809701b |
|
17-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Add a GEPOperator class, and move the hasNoPointerOverflow accessors into it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76245 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Operator.h
|
ca178908c8dc2303a1fb54a8a93bab0f0b964e11 |
|
17-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Add a new Operator class, for handling Instructions and ConstantExprs in a convenient manner, factoring out some common code from InstructionCombining and ValueTracking. Move the contents of BinaryOperators.h into Operator.h and use Operator to generalize them to support ConstantExprs as well as Instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76232 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Operator.h
|