0b8c9a80f20772c3793201ab5b251d3520b9cea3 |
|
02-Jan-2013 |
Chandler Carruth <chandlerc@gmail.com> |
Move all of the header files which are involved in modelling the LLVM IR into their new header subdirectory: include/llvm/IR. This matches the directory structure of lib, and begins to correct a long standing point of file layout clutter in LLVM. There are still more header files to move here, but I wanted to handle them in separate commits to make tracking what files make sense at each layer easier. The only really questionable files here are the target intrinsic tablegen files. But that's a battle I'd rather not fight today. I've updated both CMake and Makefile build systems (I think, and my tests think, but I may have missed something). I've also re-sorted the includes throughout the project. I'll be committing updates to Clang, DragonEgg, and Polly momentarily. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171366 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/TargetFolder.h
|
255f89faee13dc491cb64fbeae3c763e7e2ea4e6 |
|
03-Dec-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Sort the #include lines for the include/... tree with the script. AKA: Recompile *ALL* the source code! This one went much better. No manual edits here. I spot-checked for silliness and grep-checked for really broken edits and everything seemed good. It all still compiles. Yell if you see something that looks goofy. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169133 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/TargetFolder.h
|
3574eca1b02600bac4e625297f4ecf745f4c4f32 |
|
08-Oct-2012 |
Micah Villmow <villmow@gmail.com> |
Move TargetData to DataLayout. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165402 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/TargetFolder.h
|
e2d02349c3a864a825f3152ac5b7999594a0952f |
|
27-Sep-2012 |
Nick Lewycky <nicholas@mxc.ca> |
Add missing function CreateFPCast to the TargetFolder. It's there in the other folders and not having it here fails to compile if you actually try to use it. Also, CreatePointerCast was failing to do the part where it does TD-aware constant folding. Granted there is exactly one case where that it will ever do anything, but there's no reason to skip it. For reference, that case is a subtraction between two constant offsets on the same global variable, eg., "&A[123] - &A[4].f". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164760 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/TargetFolder.h
|
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/TargetFolder.h
|
14732a1f42e9df9c4ca4f6403f67de27b563fcbb |
|
21-Jul-2011 |
Jay Foad <jay.foad@gmail.com> |
Update llvm-gcc-4.2 and dragonegg after converting ConstantFolder APIs to use ArrayRef. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135672 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/TargetFolder.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/TargetFolder.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/TargetFolder.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/TargetFolder.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/TargetFolder.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/TargetFolder.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/TargetFolder.h
|
46d1ddd13c1529fd669c7c66fa8bea54f26188ba |
|
17-Feb-2010 |
Chris Lattner <sabre@nondot.org> |
add missing method, PR6284 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96489 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/TargetFolder.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/TargetFolder.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/TargetFolder.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/TargetFolder.h
|
f55eeb918e9b4fac49853accabac5924a7716939 |
|
06-Nov-2009 |
Chris Lattner <sabre@nondot.org> |
remove some more Context arguments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86235 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/TargetFolder.h
|
7b550ccfc5a3346c17e0390a59e2d6d19bc52705 |
|
06-Nov-2009 |
Chris Lattner <sabre@nondot.org> |
remove a bunch of extraneous LLVMContext arguments from various APIs, addressing PR5325. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86231 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/TargetFolder.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/TargetFolder.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/TargetFolder.h
|
e18700a09ac14dc957684472244a2681b536a118 |
|
26-Oct-2009 |
Dan Gohman <gohman@apple.com> |
Add CreateZExtOrBitCast and CreateSExtOrBitCast to TargetFolder for consistency with ConstantFolder. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85137 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/TargetFolder.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/TargetFolder.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/TargetFolder.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/TargetFolder.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/TargetFolder.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/TargetFolder.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/TargetFolder.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/TargetFolder.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/include/llvm/Support/TargetFolder.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/TargetFolder.h
|
e922c0201916e0b980ab3cfe91e1413e68d55647 |
|
22-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Get rid of the Pass+Context magic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76702 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/TargetFolder.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/TargetFolder.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/TargetFolder.h
|
07cf79ef537caff6d39145f190a28a336e629b6f |
|
07-Jul-2009 |
Owen Anderson <resistor@mac.com> |
"LLVMContext* " --> "LLVMContext *" git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74878 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/TargetFolder.h
|
508955156a25a9abc470a29e1760aa176d341cf9 |
|
06-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Thread LLVMContext through the constant folding APIs, which touches a lot of files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74844 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/TargetFolder.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/TargetFolder.h
|
b3ae97cffe089ff84ea336e2bc062955eda1ff07 |
|
03-Jun-2009 |
Dan Gohman <gohman@apple.com> |
Change TargetFolder's TD member from a reference to a pointer, now that ConstantFoldConstantExpression can accept a null TargetData pointer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72744 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/TargetFolder.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/TargetFolder.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/TargetFolder.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/TargetFolder.h
|