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/NoFolder.h
|
734fd27647bbfcf66d26e32fced5e4021dfb67e4 |
|
17-Aug-2012 |
Jin-Gu Kang <jaykang10@imrc.kist.re.kr> |
Insertion of NoFolder functions to avoid ambiguous overload warnings or errors about whether to convert Idx to ArrayRef<Constant *> or ArrayRef<Value *> like ConstantFolder and TargetFolder. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162090 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/NoFolder.h
|
a9203109f4ac95aa7e9624f2838e3d89623ec902 |
|
25-Jul-2011 |
Jay Foad <jay.foad@gmail.com> |
Convert GetElementPtrInst to use ArrayRef. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135904 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/NoFolder.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/NoFolder.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/NoFolder.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/NoFolder.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/NoFolder.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/NoFolder.h
|
49ff8a76d02f1c5f8da7cd2675be191c7be109c4 |
|
25-Feb-2011 |
Nick Lewycky <nicholas@mxc.ca> |
Update the NoFolder to work with current IRBuilder. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126479 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/NoFolder.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/NoFolder.h
|
85a0a06b18be145feb0c10cbdf4d521c1a8835bf |
|
18-Nov-2010 |
Chris Lattner <sabre@nondot.org> |
patch from Frits van Bommel: The attached patch fixes IRBuilder and the NoFolder class so that when NoFolder is used the instructions it generates are treated just like the ones IRBuilder creates directly (insert into block, assign them a name and debug info, as applicable). It does this by 1) having NoFolder return Instruction*s instead of Value*s, 2) having IRBuilder call Insert(Value, Name) on values obtained from the folder like it does on instructions it creates directly, and 3) adding an Insert(Constant*, const Twine& = "") overload which just returns the constant so that the other folders shouldn't have any extra overhead as long as inlining is enabled. While I was there, I also added some missing (CreateFNeg and various Create*Cast) methods to NoFolder. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119614 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/NoFolder.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/NoFolder.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/NoFolder.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/NoFolder.h
|
5a325e3663c0af8b0c7d644dfb56a5bed1f11bbc |
|
22-Nov-2009 |
Daniel Dunbar <daniel@zuster.org> |
Use ExtractElementInst::Create instead of new; patch by Artur Pietrek! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89606 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/NoFolder.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/NoFolder.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/NoFolder.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/NoFolder.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/NoFolder.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/NoFolder.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/NoFolder.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/NoFolder.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/NoFolder.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/NoFolder.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/NoFolder.h
|
c7d2ce7047d7cb026c3198e6760415ed673b00f7 |
|
10-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Push LLVMContext through the PatternMatch API. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75255 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/NoFolder.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/NoFolder.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/NoFolder.h
|
5a9a4bf7f27d86df83544387b34543f0a8112c1d |
|
28-Oct-2008 |
Dan Gohman <gohman@apple.com> |
Fix the name of the include guard to match the filename. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58310 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/NoFolder.h
|
9d8658a1292c1674f4968700b91e5a3b5ee3bf4e |
|
13-Aug-2008 |
Duncan Sands <baldrick@free.fr> |
Rename this, in case people think that NullFolder has something to do with folding null values. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54725 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/NoFolder.h
|