dce4a407a24b04eebc6a376f8e62b41aaa7b071f |
|
29-May-2014 |
Stephen Hines <srhines@google.com> |
Update LLVM for 3.5 rebase (r209712). Change-Id: I149556c940fb7dc92d075273c87ff584f400941f
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
36b56886974eae4f9c5ebc96befd3e7bfe5de338 |
|
24-Apr-2014 |
Stephen Hines <srhines@google.com> |
Update to LLVM 3.5a. Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
abe68f59174c7418ae73de0a87587abe0be1fb03 |
|
19-Sep-2013 |
Andrew Trick <atrick@apple.com> |
Revert "Encapsulate PassManager debug flags to avoid static init and cxa_exit." Working on a better solution to this. This reverts commit 7d4e9934e7ca83094c5cf41346966c8350179ff2. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190990 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
7d4e9934e7ca83094c5cf41346966c8350179ff2 |
|
19-Sep-2013 |
Andrew Trick <atrick@apple.com> |
Encapsulate PassManager debug flags to avoid static init and cxa_exit. This puts all the global PassManager debugging flags, like -print-after-all and -time-passes, behind a managed static. This eliminates their static initializers and, more importantly, exit-time destructors. The only behavioral change I anticipate is that tools need to initialize the PassManager before parsing the command line in order to export these options, which makes sense. Tools that already initialize the standard passes (opt/llc) don't need to do anything new. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190974 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
2cccc6220cc351b52d2cd2d0b7139502e854b68d |
|
19-Sep-2013 |
Andrew Trick <atrick@apple.com> |
whitespace git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190973 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
c1b49b56d4132efa2e06deb8f23508d0de4c8800 |
|
16-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add a wrapper for open. This centralizes the handling of O_BINARY and opens the way for hiding more differences (like how open behaves with directories). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186447 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
200241e4de11981523b3d14f3acab6129efed701 |
|
12-Apr-2013 |
Andy Gibbs <andyg1001@hotmail.co.uk> |
Replace uses of the deprecated std::auto_ptr with OwningPtr. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179373 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
7fc162f893d67ffd96fdb19e2eb9a03b4621f0c0 |
|
26-Mar-2013 |
Chandler Carruth <chandlerc@gmail.com> |
Split out the IRReader header and the utility functions it provides into its own library. These functions are bridging between the bitcode reader and the ll parser which are in different libraries. Previously we didn't have any good library to do this, and instead played fast and loose with a "header only" set of interfaces in the Support library. This really doesn't work well as evidenced by the recent attempt to add timing logic to the these routines. As part of this, make them normal functions rather than weird inline functions, and sink the implementation into the library. Also clean up the header to be nice and minimal. This requires updating lots of build system dependencies to specify that the IRReader library is needed, and several source files to not implicitly rely upon the header file to transitively include all manner of other headers. If you are using IRReader.h, this commit will break you (the header moved) and you'll need to also update your library usage to include 'irreader'. I will commit the corresponding change to Clang momentarily. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177971 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
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/tools/llvm-extract/llvm-extract.cpp
|
f010c464a11444733ec67e31aace8bcebeaf2588 |
|
04-Dec-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Sort the #include lines for tools/... Again, tools are trickier to pick the main module header for than library source files. I've started to follow the pattern of using LLVMContext.h when it is included as a stub for program source files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169252 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
6eda0813459547fe8094dd5d31f7dd2214b5ca7a |
|
29-Nov-2012 |
Pedro Artigas <partigas@apple.com> |
One more step towards making doInitialization and doFinalization useful for start up and clean up module passes, now that ASAN and TSAN are fixed the tests pass git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168905 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
9780d352b9108d49097970f6686fd61aba58d7fc |
|
27-Nov-2012 |
Owen Anderson <resistor@mac.com> |
Revert r168635 "Step towards implementation of pass manager with doInitialization and doFinalization per module detangled from runOn?? calls, still has temporary code not to break ASAN to be removed when that pass conforms to the proposed model". It appears to have broken at least one buildbot. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168654 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
0d30d30d58253de6b8836a11effcfc38d7566841 |
|
27-Nov-2012 |
Owen Anderson <resistor@mac.com> |
Step towards implementation of pass manager with doInitialization and doFinalization per module detangled from runOn?? calls, still has temporary code not to break ASAN to be removed when that pass conforms to the proposed model Patch by Pedro Artigas, with feedback from by Chandler Carruth. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168635 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
40b6fdb81e12b40dd41c9f9f07befb60ec7291c3 |
|
15-Nov-2012 |
Owen Anderson <resistor@mac.com> |
Add doInitialization and doFinalization methods to ModulePass's, to allow them to be re-initialized and reused on multiple Module's. Patch by Pedro Artigas. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168008 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
ca88ceea5245f000c797908b5f6284aff1c48221 |
|
29-Oct-2012 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add -alias and -ralias options to match what we have for functions and globals. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166909 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
791cfc211a9801002bfda6b3eb4de7e041f04f53 |
|
08-Oct-2012 |
Micah Villmow <villmow@gmail.com> |
Move TargetData to DataLayout. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165403 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
db186c4c83985d6dc9389fb747a52820357a98d3 |
|
30-Dec-2011 |
Nick Lewycky <nicholas@mxc.ca> |
Remove extraneous ".get()->" which is just "->". No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147379 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
d8b7aa26134d2abee777f745c32005e63dea2455 |
|
16-Oct-2011 |
Chris Lattner <sabre@nondot.org> |
Enhance llvm::SourceMgr to support diagnostic ranges, the same way clang does. Enhance the X86 asmparser to produce ranges in the one case that was annoying me, for example: test.s:10:15: error: invalid operand for instruction movl 0(%rax), 0(%edx) ^~~~~~~ It should be straight-forward to enhance filecheck, tblgen, and/or the .ll parser to use ranges where appropriate if someone is interested. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142106 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
4e0a55d0d129bc56c4b961288d4f63538b3ef824 |
|
16-Sep-2011 |
Chad Rosier <mcrosier@apple.com> |
Add -rfunc and -rglob options to llvm-extract to support regular expression matching. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139945 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
1afcace3a3a138b1b18e5c6270caa8dae2261ae2 |
|
09-Jul-2011 |
Chris Lattner <sabre@nondot.org> |
Land the long talked about "type system rewrite" patch. This patch brings numerous advantages to LLVM. One way to look at it is through diffstat: 109 files changed, 3005 insertions(+), 5906 deletions(-) Removing almost 3K lines of code is a good thing. Other advantages include: 1. Value::getType() is a simple load that can be CSE'd, not a mutating union-find operation. 2. Types a uniqued and never move once created, defining away PATypeHolder. 3. Structs can be "named" now, and their name is part of the identity that uniques them. This means that the compiler doesn't merge them structurally which makes the IR much less confusing. 4. Now that there is no way to get a cycle in a type graph without a named struct type, "upreferences" go away. 5. Type refinement is completely gone, which should make LTO much MUCH faster in some common cases with C++ code. 6. Types are now generally immutable, so we can use "Type *" instead "const Type *" everywhere. Downsides of this patch are that it removes some functions from the C API, so people using those will have to upgrade to (not yet added) new API. "LLVM 3.0" is the right time to do this. There are still some cleanups pending after this, this patch is large enough as-is. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134829 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
1f6efa3996dd1929fbc129203ce5009b620e6969 |
|
29-Nov-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Merge System into Support. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120298 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
e4f1a9b8a272ff7452759019ee7774e9dbdf1568 |
|
07-Oct-2010 |
Dan Gohman <gohman@apple.com> |
Move tool_output_file into its own file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115973 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
be2d4e77b5312b8cdaee4b83810cdd98ef9abcda |
|
23-Sep-2010 |
Dan Gohman <gohman@apple.com> |
Fix llvm-extract -delete's lazy loading to materialize the functions that will not be deleted, rather than the ones that will. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114614 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
d4c454317a38d65957edebe62bfc69fc8d9885e8 |
|
01-Sep-2010 |
Dan Gohman <gohman@apple.com> |
Make tool_output_file's raw_ostream instance a member variable instead of a base class. This makes it possible to unregister the file from FilesToRemove when the file is done. Also, this eliminates the need for formatted_tool_output_file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112706 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
b4e3cda1189fae8333fd3fa9051b47ed067ae1fd |
|
26-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Rewrite ExtractGV, removing a bunch of stuff that didn't fully work, and was over-complicated, and replacing it with a simple implementation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112120 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
44f95335dd57dd76843d7e84537582ec08107508 |
|
26-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Convert llvm-extract to use lazy loading. This makes it substantially faster on large modules. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112110 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
2df9504fec1ddf198321c7fe8c968154b4edbff3 |
|
20-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Use tool_output_file in llvm-extract and llvm-link too. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111604 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
ca91912a3bc6804fcc75f896237ea5c7937dc105 |
|
18-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Don't register stdout to be deleted on a signal. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111368 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
c1874b7a7c61a0eaa73fa8e6ce4be37a1c468691 |
|
01-Jul-2010 |
Devang Patel <dpatel@apple.com> |
Preserve debug info for only extracted symbols. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107417 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
51ecc389a9b6ae82ff799a62cde882629fad53b0 |
|
24-Mar-2010 |
Dan Gohman <gohman@apple.com> |
Trim #includes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99416 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
a499d20e8d032909a4af42915a118e4c0cde92cd |
|
11-Feb-2010 |
Dan Gohman <gohman@apple.com> |
Add support to llvm-extract for extracting multiple functions and/or multiple global variables at a time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95825 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
ec080467f5b322441055de1f6cd4f08edc23d7df |
|
11-Sep-2009 |
Dan Gohman <gohman@apple.com> |
Fix llvm-extract's "writing bitcode to a terminal" warning, which wasn't working. To support this, add an is_displayed() function to raw_ostream, and generalize Process::StandardOutIsDisplayed and friends in order to support it. Also, call RemoveFileOnSignal before creating a file instead of after, so that the file isn't left behind if the program is interrupted between when the file is created and RemoveFileOnSignal is called. While here, add a -S to llvm-extract and port it to IRReader so that it supports assembly input. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81568 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
baa26395ccf17fc988bb9cf62d6659ca8415ece9 |
|
25-Aug-2009 |
Dan Gohman <gohman@apple.com> |
Make LLVM command-line tools overwrite their output files without -f. This is conventional command-line tool behavior. -f now just means "enable binary output on terminals". Add a -f option to llvm-extract and llvm-link, for consistency. Remove F_Force from raw_fd_ostream and enable overwriting and truncating by default. Introduce an F_Excl flag to permit users to enable a failure when the file already exists. This flag is currently unused. Update Makefiles and documentation accordingly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79990 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
51a1132403da7c4e8a57369815596c8d485f5db2 |
|
23-Aug-2009 |
Chris Lattner <sabre@nondot.org> |
simplify output file selection, fixing two FIXMEs about binary output git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79808 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
17e9edc4a7bbeadf756494cf39fcacc9eff72202 |
|
23-Aug-2009 |
Chris Lattner <sabre@nondot.org> |
Change raw_fd_ostream to take flags as an optional bitmask instead of as two bools. Use this to add a F_Append flag which has the obvious behavior. Other unrelated changes conflated into this patch: 1. REmove EH stuff from llvm-dis and llvm-as, the try blocks are dead. 2. Simplify the filename inference code in llvm-as/llvm-dis, because raw_fd_ostream does the right thing with '-'. 3. Switch machine verifier to use raw_ostream instead of ostream (Which is the thing that needed append in the first place). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79807 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
2c785880eadb75f821771352ccf4a442a1b05668 |
|
18-Aug-2009 |
Chris Lattner <sabre@nondot.org> |
"-" should write to stdout, not stderr. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79310 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
ac95cc79ac0b899d566cc29c0f646f39c2fa35c0 |
|
16-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Convert more tools code from cerr and cout to errs() and outs(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76070 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
0d7c695c74ae6d5f68cc07378c17491915e607d3 |
|
16-Jul-2009 |
Owen Anderson <resistor@mac.com> |
To simplify the upcoming context-on-type change, switch all command line tools to using the default global context for now. This will let us to hardwire stuff to the global context in the short term while the API is sorted out. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75846 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
a1bdcedc3879510a874d24c450e07feb170d9cd6 |
|
15-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Add a Force option to raw_fd_ostream to specify whether opening an existing file is considered an error. Convert several tools to use raw_fd_ostream instead of std::ostream, and to use this new option instead of doing a manual check. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75801 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
31895e73591d3c9ceae731a1274c8f56194b9616 |
|
01-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Hold the LLVMContext by reference rather than by pointer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74640 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
8b477ed579794ba6d76915d56b3f448a7dd20120 |
|
01-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Add a pointer to the owning LLVMContext to Module. This requires threading LLVMContext through a lot of the bitcode reader and ASM parser APIs, as well as supporting it in all of the tools. Patches for Clang and LLVM-GCC to follow. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74614 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
51747a7e51d4e567d55b1bdb7b7d6a193dc9ea5a |
|
20-Apr-2009 |
Dan Gohman <gohman@apple.com> |
Use .empty() instead of .size(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69599 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
cc14d25dd99e891c586bd56aa41796abbe4ac3d8 |
|
06-Mar-2009 |
Chris Lattner <sabre@nondot.org> |
Change various llvm utilities to use PrettyStackTraceProgram in their main routines. This makes the tools print their argc/argv commands if they crash. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66248 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
c77e4d1569ab66f735a9d508bfa46985f2046c60 |
|
07-Mar-2008 |
Andrew Lenharth <andrewl@lenharth.org> |
only extract main if the user didn't specify anything to extract git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48023 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
6a021a4ddab1ef7eae07065861e833f3ca3c0ad7 |
|
07-Mar-2008 |
Andrew Lenharth <andrewl@lenharth.org> |
make error message reflect default search function name git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48021 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
d245a8ae470e2ee84d138379f793095646c590e5 |
|
07-Mar-2008 |
Andrew Lenharth <andrewl@lenharth.org> |
add a pass that can extract all kinds of global values, not just functions. Update llvm-extract to use it and optionally extract a global variable if you want it too git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48015 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
21c62da287237d39d0d95004881ea4baae3be6da |
|
29-Dec-2007 |
Chris Lattner <sabre@nondot.org> |
remove attributions from tools. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45421 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
82a13c9c4811e40d0ff858c508cb54d672ee926e |
|
08-Oct-2007 |
Dan Gohman <gohman@apple.com> |
Move the space in overview output for commands out of each of the commands and into the common code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42752 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
d2887e4dcd23783f702d2b7804aeeac71dc2a10b |
|
08-Aug-2007 |
Reid Spencer <rspencer@reidspencer.com> |
Separate program name from error message with a : git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40945 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
c52ca08c5625d6368b91c37cdf4b312e2e7b6fb9 |
|
08-Aug-2007 |
Reid Spencer <rspencer@reidspencer.com> |
Terminate an error message with a newline. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40943 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
a99be51bf5cdac1438069d4b01766c47704961c8 |
|
05-Jul-2007 |
Gabor Greif <ggreif@gmail.com> |
Here is the bulk of the sanitizing. Almost all occurrences of "bytecode" in the sources have been eliminated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37913 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
065344dfd5a7b3502098810b981eb0077e5d81f3 |
|
07-May-2007 |
Chris Lattner <sabre@nondot.org> |
use the new MemoryBuffer interfaces to simplify error reporting in clients. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36900 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
44dadffe4bd58ab32961ca5fe537e8ba69c09243 |
|
06-May-2007 |
Chris Lattner <sabre@nondot.org> |
switch tools to bitcode instead of bytecode git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36868 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
c48e1db2140b3565ef3dea58699a09c5abf36f7f |
|
06-May-2007 |
Chris Lattner <sabre@nondot.org> |
remove EH cruft, add bitcode support git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36841 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
f2e292ce58ca07d9bbe3cad75f8baa35bd85964a |
|
07-Feb-2007 |
Chris Lattner <sabre@nondot.org> |
push bytecode decompressor out through APIs. Now the bytecode reader api's look like this: ModuleProvider *getBytecodeModuleProvider( const std::string &Filename, ///< Name of file to be read BCDecompressor_t *BCDC = Compressor::decompressToNewBuffer, std::string* ErrMsg = 0, ///< Optional error message holder BytecodeHandler* H = 0 ///< Optional handler for reader events ); This is ugly, but allows a client to say: getBytecodeModuleProvider("foo", 0); If they do this, there is no dependency on the compression libraries, saving codesize. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34012 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
cdedc3b336ff7552e439723fdb96dda68b1dbbdb |
|
05-Feb-2007 |
Reid Spencer <rspencer@reidspencer.com> |
For PR411: Change getNamedFunction -> getFunction Make llvm-extract run the StripDeadPrototypes pass. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33921 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
ef9b9a793949469cdaa4ab6d0173136229dcab7b |
|
05-Feb-2007 |
Reid Spencer <rspencer@reidspencer.com> |
For PR411: This patch replaces the SymbolTable class with ValueSymbolTable which does not support types planes. This means that all symbol names in LLVM must now be unique. The patch addresses the necessary changes to deal with this and removes code no longer needed as a result. This completes the bulk of the changes for this PR. Some cleanup patches will follow. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33918 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
b10308e440c80dd6ffb4b478f741ff7e5f30cb48 |
|
28-Jan-2007 |
Anton Korobeynikov <asl@math.spbu.ru> |
Propagate changes from my local tree. This patch includes: 1. New parameter attribute called 'inreg'. It has meaning "place this parameter in registers, if possible". This is some generalization of gcc's regparm(n) attribute. It's currently used only in X86-32 backend. 2. Completely rewritten CC handling/lowering code inside X86 backend. Merged stdcall + c CCs and fastcall + fast CC. 3. Dropped CSRET CC. We cannot add struct return variant for each target-specific CC (e.g. stdcall + csretcc and so on). 4. Instead of CSRET CC introduced 'sret' parameter attribute. Setting in on first attribute has meaning 'This is hidden pointer to structure return. Handle it gently'. 5. Fixed small bug in llvm-extract + add new feature to FunctionExtraction pass, which relinks all internal-linkaged callees from deleted function to external linkage. This will allow further linking everything together. NOTEs: 1. Documentation will be updated soon. 2. llvm-upgrade should be improved to translate csret => sret. Before this, there will be some unexpected test fails. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33597 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
e81561909d128c6e2d8033cb5465a49b2596b26a |
|
07-Dec-2006 |
Bill Wendling <isanbard@gmail.com> |
Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are now cerr, cout, and NullStream resp. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32298 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
c30598bc3ad792eb8cc75b188eb872a28c62ab71 |
|
06-Dec-2006 |
Chris Lattner <sabre@nondot.org> |
make all llvm tools call llvm_shutdown when they exit, static'ify some stuff. With this change, I can now move -stats to print when llvm_shutdown is called. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32250 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
68fe61d6a165ea6090008e281330895a21607daf |
|
29-Nov-2006 |
Bill Wendling <isanbard@gmail.com> |
Replacing std::iostreams with llvm iostreams. Some of these changes involve adding a temporary wrapper around the ostream to make it friendly to functions expecting an LLVM stream. This should be fixed in the future. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31990 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
831b1210390b3a00f68de9a79be0f4e13d6287b0 |
|
16-Jun-2006 |
Chris Lattner <sabre@nondot.org> |
Don't pass target name into TargetData anymore, it is never used or needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28831 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
de03bc07ef7034936971dcc0117e4a9a9436fcee |
|
24-Apr-2005 |
Misha Brukman <brukman+llvm@gmail.com> |
extract has been renamed to llvm-extract to avoid conflicting with another tool git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21498 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
3da94aec4d429b2ba0f65fa040c33650cade196b |
|
22-Apr-2005 |
Misha Brukman <brukman+llvm@gmail.com> |
Remove trailing whitespace git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21428 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
5fb6ed4ae608c6f7ef589f1069b5dd5c7bdbd60b |
|
22-Jan-2005 |
Jeff Cohen <jeffc@jolt-lang.org> |
Use binary mode for reading/writing bytecode files git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19751 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
1ef8bdaedbd98bee35a573b8bc87149f2182cb5e |
|
30-Dec-2004 |
Reid Spencer <rspencer@reidspencer.com> |
For PR351: * Place a try/catch block around the entire tool to Make sure std::string exceptions are caught and printed before exiting the tool. * Make sure we catch unhandled exceptions at the top level so that we don't abort with a useless message but indicate than an unhandled exception was generated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19192 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
551ccae044b0ff658fe629dd67edd5ffe75d10e8 |
|
02-Sep-2004 |
Reid Spencer <rspencer@reidspencer.com> |
Changes For Bug 352 Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16137 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
9de7b334ec6f80a15f093f11b339f5741c964b34 |
|
29-Aug-2004 |
Reid Spencer <rspencer@reidspencer.com> |
The functions in Signal.h are now in the llvm::sys namespace - adjust git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16091 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
bed85ff010b95923646ed4e187a5d432cedf67da |
|
27-May-2004 |
Chris Lattner <sabre@nondot.org> |
Header file moved git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13813 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
ca718e41cf77880b68790e010868917338665444 |
|
23-Apr-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
Add command-line option to select whether to isolate or delete function from module. Default is `isolate' as before. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13113 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
364d1203e7adaededf3c01f58bd968ee61f4a316 |
|
19-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
Make sure to print a stack trace whenever an error signal is delivered to the tool. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11633 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
ba9cc1f78908e6756afdc8515389ec0bef5eb74d |
|
18-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
Give extract -o and -f options, just like every other tool! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11580 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
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/tools/llvm-extract/llvm-extract.cpp
|
204089042be123e007398a8d246d20c6ce3d7272 |
|
28-Oct-2003 |
Brian Gaeke <gaeke@uiuc.edu> |
Fix extract to use the right TargetData, like Bugpoint does. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9561 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
1dd27b157bbe7d9e44fa72abbc8b0f08eba804ec |
|
20-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
fix file header git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9294 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
7c0e022c5c4be4b11e199a53f73bbdd84e34aa80 |
|
20-Oct-2003 |
John Criswell <criswell@uiuc.edu> |
Added copyright header to all C++ source files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9291 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
2148bcb7e350dfafc5f91cc4db928582187eb2f6 |
|
10-Sep-2003 |
Chris Lattner <sabre@nondot.org> |
Clean up header, remove extra #include git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8451 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
053134a1ee57289fd6397713a6898f6dd141ba29 |
|
10-Sep-2003 |
Brian Gaeke <gaeke@uiuc.edu> |
Make createVerifierPass return a FunctionPass *. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8449 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
5113eb0c520280b42917a5e1d1b14d22392010f7 |
|
19-Nov-2002 |
Chris Lattner <sabre@nondot.org> |
Move the function extractor pass from tools/extract into lib/Xform/IPO git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4759 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
68ed318d330fd3c00761cc1d5f613e981905f588 |
|
12-Oct-2002 |
Chris Lattner <sabre@nondot.org> |
* Fix extract to work with constant pointer refs correctly * Extract makes all global vars external, so they don't have initializers git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4121 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
71bcba7d1abc2f3b9a4739938d6252dac91bce6e |
|
07-Oct-2002 |
Chris Lattner <sabre@nondot.org> |
Avoid making external global variables internal git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4059 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
7d3f8671c15901df8417acc20c01ca82ff8cc180 |
|
06-Oct-2002 |
Chris Lattner <sabre@nondot.org> |
- The extract tool now is sure to extract the function implementation for the specified name instead of extracting the prototype if both exist. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4045 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
50e3a20b54be93fce84f70075730b8d38c0318d7 |
|
30-Jul-2002 |
Chris Lattner <sabre@nondot.org> |
Print the tool name when an error comes from so that I can tell which tool of a pipeline is having issues. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3167 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
5e1f7ec9276e4711f2b3bd2709c931d6674550f6 |
|
30-Jul-2002 |
Chris Lattner <sabre@nondot.org> |
Remove extraneous #includes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3162 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
c7a0985995631025fbe9a4fe9fc435c3ba7387e4 |
|
25-Jul-2002 |
Chris Lattner <sabre@nondot.org> |
*** empty log message *** git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3087 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
ddd3e61bd39dbc52563dc87687718c727fe3e644 |
|
24-Jul-2002 |
Chris Lattner <sabre@nondot.org> |
*** empty log message *** git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3044 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
33974ca00e65ce02322065cec5c109294c85fac5 |
|
24-Jul-2002 |
Chris Lattner <sabre@nondot.org> |
Minor changes due to code juggled around git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3039 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
5ff62e90d0bc321206023897edc1e2691cb0fbb6 |
|
22-Jul-2002 |
Chris Lattner <sabre@nondot.org> |
*** empty log message *** git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2985 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
7e70829632f82de15db187845666aaca6e04b792 |
|
25-Jun-2002 |
Chris Lattner <sabre@nondot.org> |
MEGAPATCH checkin. For details, See: docs/2002-06-25-MegaPatchInfo.txt git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2779 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
6a1359229df442842e9015dc6387a9114df83b4a |
|
23-May-2002 |
Chris Lattner <sabre@nondot.org> |
Make sure the extracted function has external linkage, so that it doesn't get eliminated by globaldce! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2736 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|
579d91411acac4ad68e65376050b1f1729e63ec5 |
|
22-May-2002 |
Chris Lattner <sabre@nondot.org> |
Initial checkin of the "extract" utility git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2716 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/llvm-extract/llvm-extract.cpp
|