c8e41c591741b3da1077f7000274ad040bef8002 |
23-Jul-2012 |
Sylvestre Ledru <sylvestre@debian.org> |
Fix a typo (the the => the) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160621 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
|
99650c9088c5dd4b6788a99b63c82d13e0518961 |
04-May-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Move the CodeExtractor utility to a dedicated header file / source file, and expose it as a utility class rather than as free function wrappers. The simple free-function interface works well for the bugpoint-specific pass's uses of code extraction, but in an upcoming patch for more advanced code extraction, they simply don't expose a rich enough interface. I need to expose various stages of the process of doing the code extraction and query information to decide whether or not to actually complete the extraction or give up. Rather than build up a new predicate model and pass that into these functions, just take the class that was actually implementing the functions and lift it up into a proper interface that can be used to perform code extraction. The interface is cleaned up and re-documented to work better in a header. It also is now setup to accept the blocks to be extracted in the constructor rather than in a method. In passing this essentially reverts my previous commit here exposing a block-level query for eligibility of extraction. That is no longer necessary with the more rich interface as clients can query the extraction object for eligibility directly. This will reduce the number of walks of the input basic block sequence by quite a bit which is useful if this enters the normal optimization pipeline. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156163 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
9679f0f35742aa9792b01c26e08b2932cc8428ed |
02-May-2012 |
John McCall <rjmccall@apple.com> |
Fix unintentional use of operator bool. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155978 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
a443e5b1f1013612950fc3c9ebfafca60a1c20df |
23-Mar-2012 |
Eric Christopher <echristo@apple.com> |
Remove the C backend. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153307 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
oolRunner.cpp
|
1aa73cc05a81f592c376a9f7c0ff2543079b22ca |
20-Mar-2012 |
Chris Lattner <sabre@nondot.org> |
Fix two bugpoint bugs: 1) opt is not usually in the same path as the target program. Even for the bugpoint as a standalone app, it should be more portable to search in PATH, isn't it? 2) bugpoint driver accounts opt plugins, but does not list them in the final output command. Patch by Dmitry Mikushin! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153066 91177308-0d34-0410-b5e6-96231b3b80d8
ptimizerDriver.cpp
|
967570f2ecdbedeae80bcc19744cf111c3e112e1 |
22-Feb-2012 |
Eli Friedman <eli.friedman@gmail.com> |
Improve handling of blockaddresses in bugpoint when splitting a module. Patch by Daniel Reynaud. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151115 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
0ae2510ea00454af29c6fc3f4b012e35d5f5d431 |
07-Feb-2012 |
Hal Finkel <hfinkel@anl.gov> |
Allow bugpoint to recognize -bb-vectorize git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150003 91177308-0d34-0410-b5e6-96231b3b80d8
ugpoint.cpp
|
18c7f80b3e83ab584bd8572695a3cde8bafd9d3c |
05-Feb-2012 |
Chris Lattner <sabre@nondot.org> |
reapply the patches reverted in r149470 that reenable ConstantDataArray, but with a critical fix to the SelectionDAG code that optimizes copies from strings into immediate stores: the previous code was stopping reading string data at the first nul. Address this by adding a new argument to llvm::getConstantStringInfo, preserving the behavior before the patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149800 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
91766fe066efe6e0969ba805a2e3726a70ed34a3 |
01-Feb-2012 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
Revert Chris' commits up to r149348 that started causing VMCoreTests unit test to fail. These are: r149348 r149351 r149352 r149354 r149356 r149357 r149361 r149362 r149364 r149365 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149470 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
de5e5ec3045a73a06b1054417f9ac6c02929e9ce |
01-Feb-2012 |
Hal Finkel <hfinkel@anl.gov> |
Add a basic-block autovectorization pass. This is the initial checkin of the basic-block autovectorization pass along with some supporting vectorization infrastructure. Special thanks to everyone who helped review this code over the last several months (especially Tobias Grosser). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149468 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
akefile
|
6a89228faca4b30c4abc29b5dec98bdac011ea4c |
31-Jan-2012 |
Chris Lattner <sabre@nondot.org> |
eliminate the "string" form of ConstantArray::get, using ConstantDataArray::getString instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149365 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
2bd335470f8939782f3df7f6180282d3825d4f09 |
10-Jan-2012 |
David Blaikie <dblaikie@gmail.com> |
Remove unnecessary default cases in switches that cover all enum values. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147855 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
|
467ef21cafa8be9c62f4adc70a04496607336cd8 |
25-Dec-2011 |
Bill Wendling <isanbard@gmail.com> |
Add braces to remove silly warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147264 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
|
2d24e2a396a1d211baaeedf32148a3b657240170 |
20-Dec-2011 |
David Blaikie <dblaikie@gmail.com> |
Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146960 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
oolRunner.cpp
oolRunner.h
|
4ab406d7fc06b1272d02cd8be46f0c5ebe51a3da |
12-Dec-2011 |
Daniel Dunbar <daniel@zuster.org> |
LLVMBuild: Remove trailing newline, which irked me. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146409 91177308-0d34-0410-b5e6-96231b3b80d8
LVMBuild.txt
|
a7b0cb759433c715065440ee2a963a04db7f2b0b |
15-Nov-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
Remove all remaining uses of Value::getNameStr(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144648 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
0d3c223035d057101cb9d9dd5ecb4500fcb15085 |
11-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
LLVMBuild: Add description files for the LLVM tools. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144417 91177308-0d34-0410-b5e6-96231b3b80d8
LVMBuild.txt
|
0173864d8a87d9243d304fbf91b556e20b5a32fc |
01-Nov-2011 |
Sebastian Pop <spop@codeaurora.org> |
rename getHostTriple into getDefaultTargetTriple git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143502 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
|
597362a54bf4bb8de5538b4a1d97c618b18a023c |
01-Nov-2011 |
Eli Friedman <eli.friedman@gmail.com> |
A couple misc fixes so that bugpoint doesn't explode reducing code containing landingpads. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143435 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
|
33ba8b0e96acde0d8ab1ffc565a5ef4c8b6b6ac2 |
28-Oct-2011 |
Dan Gohman <gohman@apple.com> |
Remove the Alpha backend. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143164 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
8c39c9647da4f375e4f89bd417d86f5c3ff6dfa5 |
18-Oct-2011 |
Daniel Dunbar <daniel@zuster.org> |
build: Tidy up a bunch of tool Makefiles, and simplify where possible using the new all-targets pseudo-component. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142401 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
|
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
ugDriver.cpp
|
f1f1a4f16128ffa2910f0b1d5c7052b3697f9fcd |
11-Oct-2011 |
Tanya Lattner <tonic@nondot.org> |
Make it possible to use the linker without destroying the source module. This is so the source module can be linked to multiple other destination modules. For all that used LinkModules() before, they will continue to destroy the source module as before. This line, and those below, will be ignored-- M include/llvm/Linker.h M tools/bugpoint/Miscompilation.cpp M tools/bugpoint/BugDriver.cpp M tools/llvm-link/llvm-link.cpp M lib/Linker/LinkModules.cpp git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141606 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
iscompilation.cpp
|
b2c4eea9d0df33d2c5e6dcbba6b69ece7463d89d |
12-Aug-2011 |
Nick Lewycky <nicholas@mxc.ca> |
Fix bugpoint fallout from the new type system. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137467 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
c684e83e4554bfaf6180426f86b9253b65dd46ec |
02-Aug-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Move methods in PassManagerBuilder offline. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136727 91177308-0d34-0410-b5e6-96231b3b80d8
ugpoint.cpp
|
3d453ac1317f910b0589d87c061f056be29e36cd |
02-Aug-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
move PassManagerBuilder.h to IPO. This is a non intuitive place to put it, but it solves a layering violation since things in Support are not supposed to use things in Transforms. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136726 91177308-0d34-0410-b5e6-96231b3b80d8
ugpoint.cpp
|
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
iscompilation.cpp
|
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
xtractFunction.cpp
iscompilation.cpp
|
a3efbb15ddd5aa9006564cd79086723640084878 |
15-Jul-2011 |
Jay Foad <jay.foad@gmail.com> |
Convert CallInst and InvokeInst APIs to use ArrayRef. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135265 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
5fdd6c8793462549e3593890ec61573da06e3346 |
12-Jul-2011 |
Jay Foad <jay.foad@gmail.com> |
Second attempt at de-constifying LLVM Types in FunctionType::get(), StructType::get() and TargetData::getIntPtrType(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134982 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
2280ebd61416b73d0b6137f275b25af82e268d1f |
12-Jul-2011 |
Bill Wendling <isanbard@gmail.com> |
Revert r134893 and r134888 (and related patches in other trees). It was causing an assert on Darwin llvm-gcc builds. Assertion failed: (castIsValid(op, S, Ty) && "Invalid cast!"), function Create, file /Users/buildslave/zorg/buildbot/smooshlab/slave-0.8/build.llvm-gcc-i386-darwin9-RA/llvm.src/lib/VMCore/Instructions.cpp, li\ ne 2067. etc. http://smooshlab.apple.com:8013/builders/llvm-gcc-i386-darwin9-RA/builds/2354 --- Reverse-merging r134893 into '.': U include/llvm/Target/TargetData.h U include/llvm/DerivedTypes.h U tools/bugpoint/ExtractFunction.cpp U unittests/Support/TypeBuilderTest.cpp U lib/Target/ARM/ARMGlobalMerge.cpp U lib/Target/TargetData.cpp U lib/VMCore/Constants.cpp U lib/VMCore/Type.cpp U lib/VMCore/Core.cpp U lib/Transforms/Utils/CodeExtractor.cpp U lib/Transforms/Instrumentation/ProfilingUtils.cpp U lib/Transforms/IPO/DeadArgumentElimination.cpp U lib/CodeGen/SjLjEHPrepare.cpp --- Reverse-merging r134888 into '.': G include/llvm/DerivedTypes.h U include/llvm/Support/TypeBuilder.h U include/llvm/Intrinsics.h U unittests/Analysis/ScalarEvolutionTest.cpp U unittests/ExecutionEngine/JIT/JITTest.cpp U unittests/ExecutionEngine/JIT/JITMemoryManagerTest.cpp U unittests/VMCore/PassManagerTest.cpp G unittests/Support/TypeBuilderTest.cpp U lib/Target/MBlaze/MBlazeIntrinsicInfo.cpp U lib/Target/Blackfin/BlackfinIntrinsicInfo.cpp U lib/VMCore/IRBuilder.cpp G lib/VMCore/Type.cpp U lib/VMCore/Function.cpp G lib/VMCore/Core.cpp U lib/VMCore/Module.cpp U lib/AsmParser/LLParser.cpp U lib/Transforms/Utils/CloneFunction.cpp G lib/Transforms/Utils/CodeExtractor.cpp U lib/Transforms/Utils/InlineFunction.cpp U lib/Transforms/Instrumentation/GCOVProfiling.cpp U lib/Transforms/Scalar/ObjCARC.cpp U lib/Transforms/Scalar/SimplifyLibCalls.cpp U lib/Transforms/Scalar/MemCpyOptimizer.cpp G lib/Transforms/IPO/DeadArgumentElimination.cpp U lib/Transforms/IPO/ArgumentPromotion.cpp U lib/Transforms/InstCombine/InstCombineCompares.cpp U lib/Transforms/InstCombine/InstCombineAndOrXor.cpp U lib/Transforms/InstCombine/InstCombineCalls.cpp U lib/CodeGen/DwarfEHPrepare.cpp U lib/CodeGen/IntrinsicLowering.cpp U lib/Bitcode/Reader/BitcodeReader.cpp git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134949 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
eeb64ae6e52ac2a7980884fe89c01508014af6a9 |
11-Jul-2011 |
Jay Foad <jay.foad@gmail.com> |
De-constify Types in StructType::get() and TargetData::getIntPtrType(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134893 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.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
xtractFunction.cpp
|
b065b06c12dba6001b8140df2744d0c856ef6ea1 |
20-Jun-2011 |
Chris Lattner <sabre@nondot.org> |
Revamp the "ConstantStruct::get" methods. Previously, these were scattered all over the place in different styles and variants. Standardize on two preferred entrypoints: one that takes a StructType and ArrayRef, and one that takes StructType and varargs. In cases where there isn't a struct type convenient, we now add a ConstantStruct::getAnon method (whose name will make more sense after a few more patches land). It would be "really really nice" if the ConstantStruct::get and ConstantVector::get methods didn't make temporary std::vectors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133412 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
be2d1239a40db5efd25e3f306ae15390d9db35c6 |
07-Jun-2011 |
Eli Friedman <eli.friedman@gmail.com> |
Add -O1/2/3 to bugpoint, so when you conclude opt -O2 reproduces an issue, you can just run bugpoint -O2. :) My implementation isn't precisely equivalent to what opt does, but as far as I can tell, it's close enough. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132695 91177308-0d34-0410-b5e6-96231b3b80d8
ugpoint.cpp
|
817a01ffb24504f5b00fdac9d79aa034c918f28b |
22-May-2011 |
Chris Lattner <sabre@nondot.org> |
switch bugpoint and liblto to PassManagerBuilder. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131821 91177308-0d34-0410-b5e6-96231b3b80d8
ugpoint.cpp
|
dc5948d47205fd05184a25251e128db6a47b25c2 |
21-May-2011 |
Andrew Trick <atrick@apple.com> |
Have Program::Wait return -2 for crashed and timeouts instead of embedding info in the error message. Per Dan's request. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131780 91177308-0d34-0410-b5e6-96231b3b80d8
ptimizerDriver.cpp
oolRunner.cpp
|
1680832a9b693e6f726570017237a984d4d390c8 |
11-May-2011 |
Andrew Trick <atrick@apple.com> |
Typo and missing checkin from r131186. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131187 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
7c863eb8cc34c8ae97ae90672758eb6637b1125f |
11-May-2011 |
Andrew Trick <atrick@apple.com> |
Bugpoint support for miscompilations that result in a crash. This change allows bugpoint to pinpoint the "opt" pass and bitcode segment responsible for a crash caused by miscompilation. At least it works well for me now, without having to create any custom execution wrappers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131186 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
iscompilation.cpp
oolRunner.cpp
|
912225e18559a73228099330a4c253fdccf9fa3d |
19-Apr-2011 |
Daniel Dunbar <daniel@zuster.org> |
ADT/Triple: Move a variety of clients to using isOSDarwin() and isOSWindows() predicates. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129816 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
56584fcbfd541c20b914f7cb58a38bf1a16f55c0 |
31-Mar-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Fix whitespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128631 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
iscompilation.cpp
|
c9c08fb3a7fb5e8ea3e1477a88507704c7a70ba1 |
31-Mar-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Switch FileRemover from PathV1 to V2. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128630 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
xecutionDriver.cpp
iscompilation.cpp
oolRunner.cpp
|
3ecfc861b4365f341c5c969b40e1afccde676e6f |
30-Mar-2011 |
Jay Foad <jay.foad@gmail.com> |
Remove PHINode::reserveOperandSpace(). Instead, add a parameter to PHINode::Create() giving the (known or expected) number of operands. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128537 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
d8b4fb4aab4d6fedb2b14bed1b846451b17bde7c |
30-Mar-2011 |
Jay Foad <jay.foad@gmail.com> |
(Almost) always call reserveOperandSpace() on newly created PHINodes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128535 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
9992fcad68eec1f2029380fbd453b1b612472a82 |
24-Feb-2011 |
Chris Lattner <sabre@nondot.org> |
fit in 80 cols. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126399 91177308-0d34-0410-b5e6-96231b3b80d8
ptimizerDriver.cpp
|
f73311bb646bf970806ba7caba220e6bffff7b49 |
08-Feb-2011 |
Andrew Trick <atrick@apple.com> |
Added bugpoint options: -compile-custom and -compile-command=... I've been using this mode to narrow down llc unit tests. Example custom compile script: llc "$@" not pygrep.py 'mul\s+r([0-9]), r\1,' < bugpoint-test-program.s git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125096 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
oolRunner.cpp
oolRunner.h
|
de86cbdc57f30621d3692da7a36613bb623d13b5 |
08-Feb-2011 |
Andrew Trick <atrick@apple.com> |
whitespace git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125095 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
oolRunner.h
|
3f84a4537dbad2d11adcadbfc6fe7a93c9b3526c |
14-Jan-2011 |
Devang Patel <dpatel@apple.com> |
Disable debug mode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123443 91177308-0d34-0410-b5e6-96231b3b80d8
ugpoint.cpp
|
bc8d5f11e7c34e4dff86b8cbcfa5f8be70ff69dd |
13-Jan-2011 |
Devang Patel <dpatel@apple.com> |
Little help to debug the bugpoint itself. Patch by Bob Wilson. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123390 91177308-0d34-0410-b5e6-96231b3b80d8
ugpoint.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
ugDriver.cpp
xtractFunction.cpp
ptimizerDriver.cpp
oolRunner.cpp
oolRunner.h
ugpoint.cpp
|
e1f2e502b99fa0bafa6da2976b0cad69dcf6ecd6 |
09-Nov-2010 |
Dan Gohman <gohman@apple.com> |
Fix some places where error messages were being swallowed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118464 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
d66f2b74f2f01bb1f6c7d0f1b8408bd24ffa654c |
03-Nov-2010 |
Mikhail Glushenkov <foldr@codedgers.com> |
Rename FindExecutable to PrependMainExecutablePath. Makes it more clear that it is just a path manipulation function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118174 91177308-0d34-0410-b5e6-96231b3b80d8
ptimizerDriver.cpp
oolRunner.cpp
|
544fba13628e022cd3c5be8bbb22b81f0f6b0fa3 |
03-Nov-2010 |
Mikhail Glushenkov <foldr@codedgers.com> |
80-col violations, trailing whitespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118173 91177308-0d34-0410-b5e6-96231b3b80d8
ptimizerDriver.cpp
oolRunner.cpp
|
cc11df0ee6011b3f21fd97d68e1e87bb4ad20185 |
29-Oct-2010 |
Dan Gohman <gohman@apple.com> |
Check for (unlikely) errors from FindExecutable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117658 91177308-0d34-0410-b5e6-96231b3b80d8
ptimizerDriver.cpp
|
62a5ff573b2d72d7a51c4aebd0def311ecbc746d |
29-Oct-2010 |
Dan Gohman <gohman@apple.com> |
Fix these error messages to not mention PATH in cases where PATH isn't actually searched, and to not mention the executable directory when it isn't actually searched. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117657 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
e82978109310114a0c423a6ece7e7708658941f1 |
29-Oct-2010 |
Dan Gohman <gohman@apple.com> |
Delete this obsolete comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117655 91177308-0d34-0410-b5e6-96231b3b80d8
ptimizerDriver.cpp
|
081c34b725980f995be9080eaec24cd3dfaaf065 |
19-Oct-2010 |
Owen Anderson <resistor@mac.com> |
Get rid of static constructors for pass registration. Instead, every pass exposes an initializeMyPassFunction(), which must be called in the pass's constructor. This function uses static dependency declarations to recursively initialize the pass's dependencies. Clients that only create passes through the createFooPass() APIs will require no changes. Clients that want to use the CommandLine options for passes will need to manually call the appropriate initialization functions in PassInitialization.h before parsing commandline arguments. I have tested this with all standard configurations of clang and llvm-gcc on Darwin. It is possible that there are problems with the static dependencies that will only be visible with non-standard options. If you encounter any crash in pass registration/creation, please send the testcase to me directly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116820 91177308-0d34-0410-b5e6-96231b3b80d8
ugpoint.cpp
|
1ed219a9d2279ce5a5bbcf16d9b7ccc05cce638c |
13-Oct-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Be more consistent in using ValueToValueMapTy. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116387 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
rashDebugger.cpp
xtractFunction.cpp
iscompilation.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
xtractFunction.cpp
ptimizerDriver.cpp
|
3a210e2d302758101ac06946e86027b327c7d0f3 |
14-Sep-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Revert "CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally." This reverts commit r113632 Conflicts: cmake/modules/AddLLVM.cmake git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113819 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
4e9c939312ff73bd0c6a6485fd5f97012f5910fa |
10-Sep-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113632 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
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
xtractFunction.cpp
ptimizerDriver.cpp
|
75ebbceeeda1e7a78efe1848bb90e034f0c6ba61 |
28-Aug-2010 |
Duncan Sands <baldrick@free.fr> |
Straighten out any triple strings passed on the command line before they hit the rest of the system. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112344 91177308-0d34-0410-b5e6-96231b3b80d8
ugpoint.cpp
|
a69e6701a4179dfa321c16a78853284a3fed51e6 |
24-Aug-2010 |
Chris Lattner <sabre@nondot.org> |
Apply "Win32's Hybrid path separator in argv[0] should be accepted to bugpoint", patch by NAKAMURA Takumi! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111929 91177308-0d34-0410-b5e6-96231b3b80d8
ptimizerDriver.cpp
|
f29140106f74d15ba357aa0a7f109adc939c3104 |
20-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Convert tools to use tool_output_file, and introduce error checking to places which previously lacked it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111651 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
ptimizerDriver.cpp
|
866aa0d742b7bc9811fd1b45507af999c605205a |
10-Aug-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Use RunPassesOn as in the rest of bugpoint. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110682 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
rashDebugger.cpp
xtractFunction.cpp
|
ec62d537369452bf1504a67ab9d3f90c31a6a60f |
09-Aug-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add a opt-args option that can be used to pass arguments to every opt invocation. Fixes PR7793: bugpoint -debug test.ll --opt-args -unroll-count=4 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110555 91177308-0d34-0410-b5e6-96231b3b80d8
ptimizerDriver.cpp
|
8261dfed05e32302469ef707cc881fed2c31f85f |
08-Aug-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Most of bugpoint now only needs to know the pass names. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110534 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
ugDriver.h
rashDebugger.cpp
xtractFunction.cpp
indBugs.cpp
iscompilation.cpp
ptimizerDriver.cpp
ugpoint.cpp
|
6b01837b65750bad26ce186033689607979da89f |
08-Aug-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Try to fix cmake build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110528 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
7f99f74b7fc298dad4c61c15b064dc951d2b3cbb |
08-Aug-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Run opt instead of bugpoint itself. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110524 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
ugDriver.h
ptimizerDriver.cpp
ugpoint.cpp
|
3cb96268c47ded89e31885bf4dcfe29ee71ab214 |
07-Aug-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Move the bugpoint test passes to a plugin in preparation for having bugpoint use opt. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110520 91177308-0d34-0410-b5e6-96231b3b80d8
estPasses.cpp
|
90c579de5a383cee278acc3f7e7b9d0a656e6a35 |
06-Aug-2010 |
Owen Anderson <resistor@mac.com> |
Reapply r110396, with fixes to appease the Linux buildbot gods. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110460 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
estPasses.cpp
ugpoint.cpp
|
1f74590e9d1b9cf0f1f81a156efea73f76546e05 |
06-Aug-2010 |
Owen Anderson <resistor@mac.com> |
Revert r110396 to fix buildbots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110410 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
estPasses.cpp
ugpoint.cpp
|
9ccaf53ada99c63737547c0235baeb8454b04e80 |
06-Aug-2010 |
Owen Anderson <resistor@mac.com> |
Don't use PassInfo* as a type identifier for passes. Instead, use the address of the static ID member as the sole unique type identifier. Clean up APIs related to this change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110396 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
estPasses.cpp
ugpoint.cpp
|
b8be03b0e4275eca68f998baab47e66b8a091c05 |
05-Aug-2010 |
Bob Wilson <bob.wilson@apple.com> |
Revert bugpoint change due to buildbot breakage. --- Reverse-merging r110333 into '.': U tools/bugpoint/BugDriver.h U tools/bugpoint/OptimizerDriver.cpp U tools/bugpoint/bugpoint.cpp U tools/bugpoint/BugDriver.cpp git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110341 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
ugDriver.h
ptimizerDriver.cpp
ugpoint.cpp
|
d02dc8d096fddde166826b84b3ddfa8a993407de |
05-Aug-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Run opt instead of bugpoint itself. Fixes PR753. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110333 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
ugDriver.h
ptimizerDriver.cpp
ugpoint.cpp
|
248d1c65f1ce5bc04b892998b2c2061e6a5f8e1c |
05-Aug-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add const to compileProgram and to the various test functions in CrashDebugger. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110306 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
rashDebugger.cpp
xecutionDriver.cpp
|
5d8cace94a71169ce8493baa7f3305a27fe0cd84 |
05-Aug-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add a Module argument to the remaining runPasses methods and mark getContext const. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110300 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
ugDriver.h
rashDebugger.cpp
|
ca356afe09454b3378165ded4eda294bd6341428 |
05-Aug-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Make EmitProgressBitcode const and add a Module argument to runPasses. Use that argument to simplify runPassesOn. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110291 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
rashDebugger.cpp
indBugs.cpp
iscompilation.cpp
ptimizerDriver.cpp
|
13793264e7cbf58e3b7b0cff3baac8e0b7a11a9d |
31-Jul-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add const to some methods and change TestMergedProgram to return the merged module and take a const BugDriver. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109951 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
xecutionDriver.cpp
iscompilation.cpp
|
d720670393434effa832b686b4a482b736bd9c4d |
31-Jul-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
The BlockExtractorPass() constructor was not reading the BlockFile and that was exactly what bugpoint expected it to do. There was also only one user of BlockExtractorPass(const std::vector<BasicBlock*> &B), so just remove it and make BlockExtractorPass read BlockFile. This fixes bugpoint's block extraction. Nick, please review. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109936 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
10757dd8e1a66128b205bd04797c8aed0cb7a1bd |
30-Jul-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add a Program argument to diffProgram to avoid a use of swapProgramIn. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109859 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
ugDriver.h
xecutionDriver.cpp
indBugs.cpp
iscompilation.cpp
|
80a098583b3a9754fd83bf93322a8be679ce0036 |
30-Jul-2010 |
Duncan Sands <baldrick@free.fr> |
Do not pass a copy of the value map, pass a reference to it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109852 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
115a932eb9e66efd424664dbd532dbed76faa072 |
29-Jul-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Make the test while reducing blocks functional. This avoids accessing freed memory when one of the original BB is destroyed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109747 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
887b703d226fe913bf4b5c23935ba5b784eb993c |
29-Jul-2010 |
Jakob Stoklund Olesen <stoklund@2pi.dk> |
Use the right gcc tool args for IsARMArchitecture. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109714 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
bae1b71cbb930e419df03db209ebc547a0e4ec72 |
28-Jul-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Instead of abusing swapProgramIn, just add a Module argument to EmitProgressBitcode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109602 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
rashDebugger.cpp
xtractFunction.cpp
iscompilation.cpp
ptimizerDriver.cpp
|
84ae206c976c76761e307e5c45f8170d0b61015f |
26-Jul-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Clone and restore the module being reduced in ReduceMiscompilingFunctions::TestFuncs. This makes the test functional (i.e., no side effects). Before we would end up using dead functions if a pass decided to remove them (inline for example) and we would also keep broken functions and conclude that that a single function was enough to reproduce the bug. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109387 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
b30cdd830bc47067d881e00c5dbd7fdc7a94603d |
25-Jul-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Revert unintended white space change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109364 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
97595eb05c28b25a7042d6fa1a2e0f3099506a1e |
25-Jul-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Fix a trivial use after free. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109363 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
8be3291f5942e3ae4a5d66c480e7aabe2f771031 |
20-Jul-2010 |
Owen Anderson <resistor@mac.com> |
Speculatively revert r108813, in an attempt to get the self-host buildbots working again. I don't see why this patch would cause them to fail the way they are, but none of the other intervening patches seem likely either. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108818 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
ugDriver.h
rashDebugger.cpp
xtractFunction.cpp
indBugs.cpp
iscompilation.cpp
ptimizerDriver.cpp
ugpoint.cpp
|
9e081004dad1c3cae7de82ad412c3f19a1a48d48 |
20-Jul-2010 |
Owen Anderson <resistor@mac.com> |
Reapply r108794, a fix for the failing test from last time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108813 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
ugDriver.h
rashDebugger.cpp
xtractFunction.cpp
indBugs.cpp
iscompilation.cpp
ptimizerDriver.cpp
ugpoint.cpp
|
e8a469cdb400249ec263c79d1021f953f42f2760 |
20-Jul-2010 |
Daniel Dunbar <daniel@zuster.org> |
Revert r108794, "Separate PassInfo into two classes: a constructor-free superclass (StaticPassInfo) and a constructor-ful subclass (PassInfo).", it is breaking teh everything. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108805 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
ugDriver.h
rashDebugger.cpp
xtractFunction.cpp
indBugs.cpp
iscompilation.cpp
ptimizerDriver.cpp
ugpoint.cpp
|
8ba15cb7099d9eadcb345328228d77ffa5afa42d |
20-Jul-2010 |
Owen Anderson <resistor@mac.com> |
Separate PassInfo into two classes: a constructor-free superclass (StaticPassInfo) and a constructor-ful subclass (PassInfo). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108794 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
ugDriver.h
rashDebugger.cpp
xtractFunction.cpp
indBugs.cpp
iscompilation.cpp
ptimizerDriver.cpp
ugpoint.cpp
|
3472766f9eb7d66f234c390ce1b3a8b76f0ee9ce |
12-Jul-2010 |
Duncan Sands <baldrick@free.fr> |
Convert some tab stops into spaces. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108130 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
istReducer.h
oolRunner.h
|
e9916a302f1bacad234d7dafc1df3dc968a6ba0f |
24-Jun-2010 |
Devang Patel <dpatel@apple.com> |
Use ValueMap instead of DenseMap. The ValueMapper used by various cloning utility maps MDNodes also. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106706 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
rashDebugger.cpp
xtractFunction.cpp
iscompilation.cpp
|
bc2ed599e877b9d76bd548546019f98ae256fe9b |
21-Jun-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Save more temps with -save-temps. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106409 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
d0a6a8ca31e507ab3852f156867c439a4cd015f0 |
07-Jun-2010 |
Dan Gohman <gohman@apple.com> |
Run dead type elimination after dead argument elimination. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105552 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
e49a13e7260b83ce56d01446f2a165cc9f35da7f |
07-Jun-2010 |
Dan Gohman <gohman@apple.com> |
Use ->isVoidTy(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105550 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
xtractFunction.cpp
iscompilation.cpp
|
70972bb5cd9ef1ae22555f53dccc7e3c5ea56cb0 |
05-Jun-2010 |
Dan Gohman <gohman@apple.com> |
No need to special-case structs here; structs are first-class now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105513 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
|
b304ba94db047cc57eeb7657f641d03db95a35b6 |
04-Jun-2010 |
Dan Gohman <gohman@apple.com> |
No need to special-case structs here; structs are first-class now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105442 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
d27047f87dae7c6eb59069b1e5d1368a0b2db5ff |
27-May-2010 |
Dan Gohman <gohman@apple.com> |
Eliminate some unnessary Path::exists() calls. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104888 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
41396302126c24f1d5231e191852ebf2ff37fe23 |
24-May-2010 |
Duncan Sands <baldrick@free.fr> |
Apply timeouts and memory limits in more places. In particular, when bugpoint does "Running the code generator to test for a crash" this gets you a crash if llc goes into an infinite loop or uses up vast amounts of memory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104485 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
oolRunner.cpp
oolRunner.h
|
18e05b4692068b2cc1dfbc3aeb682ac2ec63d11b |
13-May-2010 |
Jakob Stoklund Olesen <stoklund@2pi.dk> |
Fix complete badness in bugpoint's IsARMArchitecture() function. The revision history for this function is interesting, with multiple layers of wrongness being introduced one at a time. This fixes a weird issue where bugpoint -run-llc would suddenly exit 13 half way through isolating a miscompilation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103721 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
6865f29fe71559a18d7f2ff0bc4f67c5fc1d000e |
12-May-2010 |
Jeffrey Yasskin <jyasskin@google.com> |
Fix PR6951 by fixing Module leaks in bugpoint. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103523 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
faa95763ebb081769bf6ac35e170394c9d477813 |
10-May-2010 |
Kalle Raiskila <kalle.raiskila@nokia.com> |
Add command line option --gcc to bugpoint. Remove sending duplicate of the --gcc-tool-args parameters to gcc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103397 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
oolRunner.cpp
oolRunner.h
|
8d0e1bcc921c942e979b0925051c663590bd618f |
30-Apr-2010 |
Nick Lewycky <nicholas@mxc.ca> |
The llc -f flag was removed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102670 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
oolRunner.cpp
|
ac1a379499591a946bf8456acf3ed36b91cd21ce |
14-Apr-2010 |
Nick Lewycky <nicholas@mxc.ca> |
Don't forget cmake! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101234 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
d4ef4df939a830ae3ea4bd9063f6ec5e8d9dd216 |
14-Apr-2010 |
Nick Lewycky <nicholas@mxc.ca> |
Remove accidentally committed cruft. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101230 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
|
ac15da67055a33ce418be23ce7681358b3093aeb |
14-Apr-2010 |
Nick Lewycky <nicholas@mxc.ca> |
Bugpoint no longer uses exceptions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101228 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
akefile
|
2706387d37b30fc191c5b74987dc139e1835c52d |
12-Apr-2010 |
Benjamin Kramer <benny.kra@googlemail.com> |
Boolify. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101035 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
22ff748712b348300e51248339b6e8cf9b59e2c6 |
12-Apr-2010 |
Nick Lewycky <nicholas@mxc.ca> |
Remove use of exceptions from bugpoint. No deliberate functionality change! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101013 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
ugDriver.h
rashDebugger.cpp
xecutionDriver.cpp
indBugs.cpp
istReducer.h
iscompilation.cpp
oolRunner.cpp
oolRunner.h
ugpoint.cpp
|
16350f8d00fc3a4a8d2da8a746a29979505af9a8 |
11-Apr-2010 |
Nick Lewycky <nicholas@mxc.ca> |
Remove dead argument and clean whitespace. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100954 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
xecutionDriver.cpp
indBugs.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
ugDriver.cpp
|
c1dc0679706f7538cd17169b920967c54661e5b6 |
22-Mar-2010 |
Jeffrey Yasskin <jyasskin@google.com> |
Free all Constants in ~LLVMConstantImpl. We avoid assertion failures by dropping all references from all constants that can use other constants before trying to destroy any of them. I also had to free bugpoint's Module in ~BugDriver(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99160 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
ugDriver.h
|
c3e6859d8dc9014fee8023497153add9a2148f22 |
19-Mar-2010 |
Jeffrey Yasskin <jyasskin@google.com> |
Bugpoint's default memory limit (100MB) was too low for valgrind, so this patch raises the default to 800MB when valgrind's active. 800 was chosen semi-arbitrarily. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98905 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
ugDriver.h
ptimizerDriver.cpp
ugpoint.cpp
|
50010429a7c3285dab15ede68acae7231fade367 |
16-Mar-2010 |
Chris Lattner <sabre@nondot.org> |
add support for bugpointing the integrated assembler. Something like this works for me: bugpoint Output/bisort.llvm.bc -run-llc-ia -safe-run-llc This uses llc with the integrated assembler as the test compiler and llc without it as the safe compiler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98618 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
oolRunner.cpp
oolRunner.h
|
1df9859c40492511b8aa4321eb76496005d3b75b |
16-Feb-2010 |
Duncan Sands <baldrick@free.fr> |
There are two ways of checking for a given type, for example isa<PointerType>(T) and T->isPointerTy(). Convert most instances of the first form to the second form. Requested by Chris. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96344 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
xtractFunction.cpp
|
12ea66a7277240c5b045ed14c140f94d453eea0e |
28-Jan-2010 |
Benjamin Kramer <benny.kra@googlemail.com> |
Replace strcpy with memcpy when we have the length around anyway. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94746 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
1ffb33d033d3593ded0adb08b05eb455cce59ea8 |
16-Jan-2010 |
Chris Lattner <sabre@nondot.org> |
remove obsolete comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93661 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
8abfb8adb2f383cab46a5e8b9fca4301effd8140 |
16-Jan-2010 |
Chris Lattner <sabre@nondot.org> |
bugpoint doesn't need the mangler at all. DisambiguateGlobalSymbols dates to a time when two different LLVM values could have the same name but different types. Simplify it to just assign names to unnamed things and let the core symtab resolve duplicates. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93660 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
469340493c48eb22b630bbd311db867c9d7953d6 |
16-Jan-2010 |
Chris Lattner <sabre@nondot.org> |
switch liblto to use the new getNameWithPrefix() method instead of getMangledName. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93643 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
3ea11cf8fc4115927514e3b2c7f272a92fd99c89 |
17-Nov-2009 |
Duncan Sands <baldrick@free.fr> |
Make bugpoint pass -load arguments to LLI. This lets one use bugpoint with programs that depend on native shared libraries. Patch by Timo Lindfors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89087 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
05872ea804cdc9534960b30d28a391928c61481a |
12-Nov-2009 |
Benjamin Kramer <benny.kra@googlemail.com> |
Add compare_lower and equals_lower methods to StringRef. Switch all users of StringsEqualNoCase (from StringExtras.h) to it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@87020 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
ac53a0b272452013124bfc70480aea5e41b60f40 |
06-Oct-2009 |
Duncan Sands <baldrick@free.fr> |
Introduce and use convenience methods for getting pointer types where the element is of a basic builtin type. For example, to get an i8* use getInt8PtrTy. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83379 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
c332fba8285e35a5a11463c34795af84f3960759 |
19-Sep-2009 |
Nick Lewycky <nicholas@mxc.ca> |
Remove the default value for ConstantStruct::get's isPacked parameter and update the code which was broken by this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82327 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
68ccdaa84909108c42417a8091c771598e26456e |
07-Sep-2009 |
Daniel Dunbar <daniel@zuster.org> |
Add -output-prefix option to bugpoint (to change the default output name). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81154 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
xtractFunction.cpp
iscompilation.cpp
ptimizerDriver.cpp
|
dad45ea56ea8419f51cefb3ff6d2c9ad886ccbbb |
03-Sep-2009 |
Dan Gohman <gohman@apple.com> |
Make bugpoint use ParseIRFile instead of doing the same thing manually. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80927 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
|
306110845ade031f56bf50245357d6e18a929659 |
31-Aug-2009 |
Chris Lattner <sabre@nondot.org> |
only print the override triple if it exists! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80534 91177308-0d34-0410-b5e6-96231b3b80d8
ugpoint.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
xtractFunction.cpp
ptimizerDriver.cpp
oolRunner.cpp
|
23132b188ba651ba172380cd082cc286df73d440 |
24-Aug-2009 |
Chris Lattner <sabre@nondot.org> |
prune the #includes in raw_ostream.h by moving a member out of line. ftostr is not particularly speedy, so that method is presumably not perf sensitive. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79885 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
74382b7c699120fbec5cb5603c9cf4212eb37f06 |
24-Aug-2009 |
Chris Lattner <sabre@nondot.org> |
Prune #includes from llvm/Linker.h and llvm/System/Path.h, forcing them down into various .cpp files. This change also: 1. Renames TimeValue::toString() and Path::toString() to ::str() for similarity with the STL. 2. Removes all stream insertion support for sys::Path, forcing clients to call .str(). 3. Removes a use of Config/alloca.h from bugpoint, using smallvector instead. 4. Weans llvm-db off <iostream> sys::Path really needs to be gutted, but I don't have the desire to do it at this point. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79869 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
xecutionDriver.cpp
xtractFunction.cpp
indBugs.cpp
iscompilation.cpp
ptimizerDriver.cpp
oolRunner.cpp
|
b683ea4712836e22b98d24bf8e40e599224d024e |
23-Aug-2009 |
Chris Lattner <sabre@nondot.org> |
eliminate the ostream version of CheckBitcodeOutputToConsole, change the raw_ostream one to take the raw_ostream byref instead of byptr. Prune #includes, eliminate a use of Streams.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79863 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.h
|
b515d75856f58a8b3b71d782eb00916d686329ad |
23-Aug-2009 |
Chris Lattner <sabre@nondot.org> |
eliminate the std::ostream forms of the bitcode writing APIs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79840 91177308-0d34-0410-b5e6-96231b3b80d8
ptimizerDriver.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
xtractFunction.cpp
|
ad0f120f5909e0107e55a3913333d5cc59bbf0b6 |
19-Aug-2009 |
Benjamin Kramer <benny.kra@googlemail.com> |
Proper MSVC build fix (and remove my hack again). Patch by Yonggang Luo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79418 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
e057e59061d24cb0891dbcf9ad8581bee6d03418 |
19-Aug-2009 |
Benjamin Kramer <benny.kra@googlemail.com> |
Add a hack to unbreak MSVC builds. str(n)casecmp are POSIX functions and aren't available on windows (mingw defines them though). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79417 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
40cce094a3456800dd0588229cfee636007cf78c |
18-Aug-2009 |
Nick Lewycky <nicholas@mxc.ca> |
Include valgrind in the steps to reproduce if valgrind was used to reproduce the problem. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79322 91177308-0d34-0410-b5e6-96231b3b80d8
ptimizerDriver.cpp
|
ca7409664273fed4b473127295af3af0836b3077 |
18-Aug-2009 |
Daniel Dunbar <daniel@zuster.org> |
Change bugpoint to use Triple to make runtime decisions. - This is cleaner, and makes bugpoint match the host instead of the build architecture. - Patch by Sandeep Patel! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79309 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
iscompilation.cpp
oolRunner.cpp
oolRunner.h
ugpoint.cpp
|
1d0be15f89cb5056e20e2d24faa8d6afb1573bca |
13-Aug-2009 |
Owen Anderson <resistor@mac.com> |
Push LLVMContexts through the IntegerType APIs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78948 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
xtractFunction.cpp
iscompilation.cpp
|
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
ugDriver.h
|
482cccd37e71ad69845d954b548bd46c2ee15155 |
07-Aug-2009 |
Daniel Dunbar <daniel@zuster.org> |
MSVC warning fixes; patch by Stein Roger! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78405 91177308-0d34-0410-b5e6-96231b3b80d8
ugpoint.cpp
|
d7f2a6cb3fbc012763adb42fd967f6fefbb22a37 |
06-Aug-2009 |
Owen Anderson <resistor@mac.com> |
Privatize the StructType table, which unfortunately involves routing contexts through a number of APIs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78258 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
8608cf23dae982c7435120d800eaec2fca410ff6 |
05-Aug-2009 |
Dan Gohman <gohman@apple.com> |
Use (void *)(intptr_t) to cast function addresses to void* for use with sys::Path::GetMainExecutable, to avoid warnings with -pedantic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78245 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
197f728d49fa0cc0baa5aadb2b905fbd8c22a81e |
05-Aug-2009 |
Dan Gohman <gohman@apple.com> |
Fix FindExecutable to use sys::Path::GetMainExecutable instead of just argv[0]. And remove the code for searching the current working directory and for searching PATH; the point of FindExecutable is not to find whatever version of the executable can be found by searching around, but to find an executable that accompanies the current executable. Update the tools to use sys::Program::FindProgramByName when they want PATH searching. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78240 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
xecutionDriver.cpp
ptimizerDriver.cpp
oolRunner.cpp
oolRunner.h
|
26964b6dc1fb1d3335b4c80c76bac7cb6103085c |
05-Aug-2009 |
Anton Korobeynikov <asl@math.spbu.ru> |
Pass user only if it's non-empty. Patch by Sandeep. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78184 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
86c006a971eb6fab6bd4923ff7ec1c0bc9c28f74 |
05-Aug-2009 |
Anton Korobeynikov <asl@math.spbu.ru> |
Add save-temps option to bugpoint to keep temporary stuff. Patch by Sandeep Patel git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78183 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
xecutionDriver.cpp
oolRunner.cpp
oolRunner.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
ugDriver.h
|
a7235ea7245028a0723e8ab7fd011386b3900777 |
31-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Move a few more APIs back to 2.5 forms. The only remaining ones left to change back are metadata related, which I'm waiting on to avoid conflicting with Devang. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77721 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
xtractFunction.cpp
iscompilation.cpp
estPasses.cpp
|
9e9a0d5fc26878e51a58a8b57900fcbf952c2691 |
31-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Move more code back to 2.5 APIs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77635 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
iscompilation.cpp
|
debcb01b0f0a15f568ca69e8f288fade4bfc7297 |
30-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Move types back to the 2.5 API. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77516 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
iscompilation.cpp
|
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
iscompilation.cpp
|
265d82e4c68fa30b7ff1cb650456249f7068bdd6 |
29-Jul-2009 |
David Goodwin <david_goodwin@apple.com> |
Add a bugpoint flag to disable block extraction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77389 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
1fd7096407d5e598ed3366a1141548e71273f1c5 |
28-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Change ConstantArray to 2.5 API. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77347 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
iscompilation.cpp
|
b6dec1bdd6f6d33310879e6bbc3120f719c97483 |
28-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Pass true to the Internalize parameter of createStandardLTOPasses, to match llvm-ld's default behavior. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77273 91177308-0d34-0410-b5e6-96231b3b80d8
ugpoint.cpp
|
8fa3338ed2400c1352b137613d2c2c70d1ead695 |
28-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Move ConstantStruct back to 2.5 API. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77266 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
3f53fa9a51c4ce7ba81170ca7ab2e49bd37281b0 |
26-Jul-2009 |
Daniel Dunbar <daniel@zuster.org> |
Remove Value::setName(const char*, unsigned). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77100 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
eed707b1e6097aac2bb6b3d47271f6300ace7f2e |
25-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Revert the ConstantInt constructors back to their 2.5 forms where possible, thanks to contexts-on-types. More to come. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77011 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
f6ccee5a9d2b9573f679bca6266ade3eb8cd3f88 |
24-Jul-2009 |
Daniel Dunbar <daniel@zuster.org> |
Switch to getNameStr(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76962 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
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
xtractFunction.cpp
estPasses.cpp
|
49419e28fe400509363cecf63a3a824002c1d9e0 |
21-Jul-2009 |
Evan Cheng <evan.cheng@apple.com> |
80 col violation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76629 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
|
91cf36151663543bffcecaf01d4b6dcef2aa0f2b |
20-Jul-2009 |
David Goodwin <david_goodwin@apple.com> |
For remote execution, must cd to the executable directory since the exe expects to find a dylib in the CWD ('.'). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76432 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
1488670076908261af145778c23cb9aca30904e5 |
20-Jul-2009 |
Daniel Dunbar <daniel@zuster.org> |
Add -std-{compile,link}-opts to bugpoint. - Sheesh. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76402 91177308-0d34-0410-b5e6-96231b3b80d8
ugpoint.cpp
|
e0d5c17921ddcdfce0fbfd7dd5dd993acb56304c |
19-Jul-2009 |
Chris Lattner <sabre@nondot.org> |
fix test git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76378 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
4285d15703d4282cccb1e311b798917abd06beaf |
19-Jul-2009 |
Chris Lattner <sabre@nondot.org> |
DisambiguateGlobalSymbols should not mangle intrinsics. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76377 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
fc2271f3f5cf25a739f625ba7dfc6d618d26db7b |
18-Jul-2009 |
Viktor Kutuzov <vkutuzov@accesssoftek.com> |
Require a remote command to exit with the exit status of the test program or with 255 if an error occurred. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76323 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.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
ugDriver.cpp
ugDriver.h
rashDebugger.cpp
xecutionDriver.cpp
xtractFunction.cpp
indBugs.cpp
iscompilation.cpp
ptimizerDriver.cpp
ugpoint.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
ugpoint.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
oolRunner.cpp
|
65f57c233cd4499e2e8b52a503201e64edfd6a9e |
15-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Use errs() instead of std::cerr. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75791 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
rashDebugger.cpp
xecutionDriver.cpp
xtractFunction.cpp
indBugs.cpp
istReducer.h
iscompilation.cpp
oolRunner.cpp
ugpoint.cpp
|
9d5511b7db2c42a2cea0ca00c0e123e64cceadae |
15-Jul-2009 |
Chris Lattner <sabre@nondot.org> |
eliminate the Mangler::PreserveAsmNames bit, the sole client of this can do it perfectly well itself. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75743 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
f975e011fb7dd9f1def2c01dda350c19ef09e042 |
15-Jul-2009 |
Evan Cheng <evan.cheng@apple.com> |
control reaches end of non-void function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75714 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
9adc0abad3c3ed40a268ccbcee0c74cb9e1359fe |
15-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Move EVER MORE stuff over to LLVMContext. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75703 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
iscompilation.cpp
|
699220b64fd6335cc678f830bb35aa5952d354e7 |
14-Jul-2009 |
Viktor Kutuzov <vkutuzov@accesssoftek.com> |
Fix for bugpoint -remote-client git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75665 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
b8158acc23f5f0bf235fb1c6a8182a38ec9b00b2 |
14-Jul-2009 |
Chris Lattner <sabre@nondot.org> |
Reapply my previous asmprinter changes now with more testing and two additional bug fixes: 1. The bug that everyone hit was a problem in the asmprinter where it would remove $stub but keep the L prefix on a name when emitting the indirect symbol. This is easy to fix by keeping the name of the stub and the name of the symbol in a StringMap instead of just keeping a StringSet and trying to reconstruct it late. 2. There was a problem printing the personality function. The current logic to print out the personality function from the DWARF information is a bit of a cesspool right now that duplicates a bunch of other logic in the asm printer. The short version of it is that it depends on emitting both the L and _ prefix for symbols (at least on darwin) and until I can untangle it, it is best to switch the mangler back to emitting both prefixes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75646 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
1f316e321a8f2fa0e193c5444584a67a8aabe9a8 |
14-Jul-2009 |
Daniel Dunbar <daniel@zuster.org> |
Revert r7561{9,8,7,6}, which depend on r75610. --- Reverse-merging r75619 into '.': U lib/Target/DarwinTargetAsmInfo.cpp U lib/CodeGen/AsmPrinter/AsmPrinter.cpp --- Reverse-merging r75618 into '.': U lib/CodeGen/ELFWriter.cpp U lib/CodeGen/MachOCodeEmitter.cpp U lib/CodeGen/MachOWriter.cpp --- Reverse-merging r75617 into '.': U lib/Target/CBackend/CBackend.cpp --- Reverse-merging r75616 into '.': U tools/bugpoint/Miscompilation.cpp U tools/lto/LTOCodeGenerator.cpp U tools/lto/LTOModule.cpp git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75638 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
b5851462d08bc4d5c3f8348faac9fd2f6387d078 |
14-Jul-2009 |
Chris Lattner <sabre@nondot.org> |
rename getValueName -> getMangledName git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75616 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
e860dcb6e4eeb1ffae2299e5157a36c025260912 |
14-Jul-2009 |
Dan Gohman <gohman@apple.com> |
#include "llvm/Assembly/Writer.h" to get the declaration for WriteAsOperand. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75542 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
db1cd5eba551bdd3d7767207891b578f61f8b39d |
14-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Fix the build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75536 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
0a5372ed3e8cda10d724feda3c1a1c998db05ca0 |
13-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Begin the painful process of tearing apart the rat'ss nest that is Constants.cpp and ConstantFold.cpp. This involves temporarily hard wiring some parts to use the global context. This isn't ideal, but it's the only way I could figure out to make this process vaguely incremental. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75445 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
xtractFunction.cpp
iscompilation.cpp
estPasses.cpp
|
84f9abe3f59905e06d63c799ea965e97c7566c83 |
11-Jul-2009 |
Daniel Dunbar <daniel@zuster.org> |
Fix unused function warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75386 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
80becf194d56524e8c75618ac57a34520f87a684 |
10-Jul-2009 |
David Goodwin <david_goodwin@apple.com> |
Support remote execute for ARM. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75292 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
xecutionDriver.cpp
iscompilation.cpp
oolRunner.cpp
|
333c40096561218bc3597cf153c0a3895274414c |
10-Jul-2009 |
Owen Anderson <resistor@mac.com> |
This started as a small change, I swear. Unfortunately, lots of things call the [I|F]CmpInst constructors. Who knew!? git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75200 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
e9b11b431308f4766b73cda93e38ec930c912122 |
08-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Switch GlobalVariable ctors to a sane API, where *either* a context or a module is required. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75025 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
iscompilation.cpp
|
3d29df3e8a203b167d8071ea6f805b21db18a5af |
08-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Push LLVMContext through GlobalVariables and IRBuilder. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74985 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
iscompilation.cpp
|
92bcb426c3e4503c99324afd4ed0a73521711a56 |
03-Jul-2009 |
Chris Lattner <sabre@nondot.org> |
switch the .ll parser into SMDiagnostic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74734 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
|
4434ed44c45c87a72b7a0bf2f91211f895022b91 |
02-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Make the use of const with respect to LLVMContext sane. Hopefully this is the last time, for the moment, that I will need to make far-reaching changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74655 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
ugDriver.h
|
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
ugDriver.cpp
ugDriver.h
ugpoint.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
ugDriver.cpp
ugDriver.h
rashDebugger.cpp
iscompilation.cpp
ptimizerDriver.cpp
ugpoint.cpp
|
028839db09eb47424cd3955471f2c32c68fee74d |
25-May-2009 |
Nick Lewycky <nicholas@mxc.ca> |
Fix the crash debugger to actually bisect globals once it's determined that it can't just eliminate all global initializers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72378 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
|
4c8f9af6e0c264a99b41817b2ee78c2297930165 |
25-May-2009 |
Nick Lewycky <nicholas@mxc.ca> |
Add a bisection step on the list of instructions before doing the linear simplification. It's not clear to me whether this can replace the first of the linear instruction simplification stages or not, so I left it in. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72377 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
|
2c235010312f72622acd4b7bb70f87cf31a982f6 |
24-May-2009 |
Torok Edwin <edwintorok@gmail.com> |
Make bugpoint emit a bugpoint-reduced-blocks.bc, because bugpoint itself can crash during instruction simplification (for example if it creates a broken module). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72362 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
|
23d471f62eed3518fe7737dbccee52faec4ffe75 |
24-May-2009 |
Torok Edwin <edwintorok@gmail.com> |
Add -disable-global-remove option to bugpoint. Sometimes when bugpointing a crash the bugpoint-reduced-simplified.bc reproduces a totally different bug than the original one ("GV doesn't have initializer"). Although its useful to report that bug too, I need a way to reduce the original bug, hence I introduced -disable-global-remove. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72361 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
|
26edc21b1b68f126928b20124b5fca14a28bd428 |
05-May-2009 |
Evan Cheng <evan.cheng@apple.com> |
bugpoint for jit should just ignore GCC arguments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70988 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
0324205bbb0ea8fb70e2bdfd5ea201c3a5fc24ec |
27-Apr-2009 |
Dan Gohman <gohman@apple.com> |
Improve bugpoint's error messages when it runs out of memory, or when some other std::exception is thrown. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70175 91177308-0d34-0410-b5e6-96231b3b80d8
ugpoint.cpp
|
d50330cd02b00c8e3de40e8544c45701b9891d87 |
22-Apr-2009 |
Dan Gohman <gohman@apple.com> |
Use CloneModule's ValueMap in more places, instead of looking up functions by name. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69805 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
xtractFunction.cpp
iscompilation.cpp
|
e032590f58e400ba25e416da5bee10a85ad6d114 |
04-Apr-2009 |
Nick Lewycky <nicholas@mxc.ca> |
CloneModule stores the BasicBlock mapping in ValueMap. There's no need to recompute it. This fixes a O(n^2) in number of blocks when reducing a crash. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68422 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
|
fd82995823e00cb60cc8977280254de73ed9d6b7 |
12-Mar-2009 |
Evan Cheng <evan.cheng@apple.com> |
Also pass -gcc-tool-args when building a shared object. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66746 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.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
ugpoint.cpp
|
f6dd0eb5c4a1c4824d7f83fa39586478da618ffd |
06-Mar-2009 |
Dan Gohman <gohman@apple.com> |
Use CloneModule's ValueMap to avoid needing to look up functions by name. This fixes PR718. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66239 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
|
ef0ff140a72c18893529c33cee8e7cd634b008bd |
06-Mar-2009 |
Dan Gohman <gohman@apple.com> |
Fix a bugpoint bug on anonymous functions. Instead of looking up functions in the new module by name, use the ValueMap provided by CloneModule to do the lookups. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66216 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
|
38efa38c864f6d29892d92102c0232b234b526ed |
03-Mar-2009 |
Bill Wendling <isanbard@gmail.com> |
Add a "-gcc-tool-args" option. This option acts like the "-tool-args" option, but passes the arguments to the "gcc" invocation instead of to the "llc" invocation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65896 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
oolRunner.cpp
oolRunner.h
|
865f006bb45a609e1cb6acb653af3fe5442ee4dc |
18-Feb-2009 |
Dan Gohman <gohman@apple.com> |
Eliminate several more unnecessary intptr_t casts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64888 91177308-0d34-0410-b5e6-96231b3b80d8
estPasses.cpp
|
a971b294253cb848c0a640185f26459978c9ba41 |
12-Feb-2009 |
Dan Gohman <gohman@apple.com> |
Rename bugpoint's error message file so that if it somehow gets left behind, it's less cryptic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64399 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
3a4baf1951dd1767c5b6380f5c5f3739929f8215 |
07-Feb-2009 |
Chris Lattner <sabre@nondot.org> |
fix bugpoint url, patch by Pieter de Bie! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64022 91177308-0d34-0410-b5e6-96231b3b80d8
ugpoint.cpp
|
bb46f52027416598a662dc1c58f48d9d56b1a65b |
15-Jan-2009 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add the private linkage. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62279 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
df98617b23315e427cc4fad8ccfdd50d68bec2f9 |
02-Jan-2009 |
Chris Lattner <sabre@nondot.org> |
Reimplement the old and horrible bison parser for .ll files with a nice and clean recursive descent parser. This change has a couple of ramifications: 1. The parser code is about 400 lines shorter (in what we maintain, not including what is autogenerated). 2. The code should be significantly faster than the old code because we don't have to work around bison's poor handling of datatypes with ctors/dtors. This also makes the code much more resistant to memory leaks. 3. We now get caret diagnostics from the .ll parser, woo. 4. The actual diagnostics emited from the parser are completely different so a bunch of testcases had to be updated. 5. I now disallow "%ty = type opaque %ty = type i32". There was no good reason to support this, it was just an accident of the old implementation. I have no reason to think that anyone is actually using this. 6. The syntax for sticking a global variable has changed to make it unambiguous. I don't think anyone is depending on this since only clang supports this and it is not solid yet, so I'm not worried about anything breaking. 7. This gets rid of the last use of bison, and along with it the .cvs files. I'll prune this from the makefiles as a subsequent commit. There are a few minor cleanups that can be done after this commit (suggestions welcome!) but this passes dejagnu testing and is ready for its time in the limelight. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61558 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
|
70ef449741da8b1ef035e04a55958652a0200ba1 |
08-Dec-2008 |
Dan Gohman <gohman@apple.com> |
Generalize bugpoint's concept of a "safe" backend, and add options to allow the "safe" backend to be run with a different path, and/or with different command-line options. This enables the following use cases: - bugpoint llc against an llc command from a different build - bugpoint llc against the same llc with different command-line options - and more... Also, document the existing "custom" interpreter options. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60681 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
ugDriver.h
xecutionDriver.cpp
iscompilation.cpp
|
33b1c30b0be49d09e57630abd2535c9aaeaf8636 |
27-Oct-2008 |
Nick Lewycky <nicholas@mxc.ca> |
Remove -check-exit-code from bugpoint. This is subsumed by -append-exit-code. Note that -check-exit-code was on by default while -append-exit-code is not. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58221 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
|
3d01fc7de86c75926e4e5ac7cc49f0116018893d |
22-Sep-2008 |
Oscar Fuentes <ofv@wanadoo.es> |
Initial support for the CMake build system. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56419 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
|
70f684fcf92e5cdd11a3b3fc9bf3519f8b745857 |
09-Sep-2008 |
Evan Cheng <evan.cheng@apple.com> |
Allow use of ssh to perform remote execution. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55979 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
oolRunner.h
|
bcbd9c43a17652c62875ffb9a008f549d0ec5714 |
29-Jul-2008 |
Matthijs Kooijman <matthijs@stdin.nl> |
Improve bugpoint output a bit by outputting the actual instructions instead of just it's name, which is often empty. Also remove a newline from the output that wasn't really needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54158 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
|
cebf59b4a972a5363ccedc8d8b91437dbe5396b4 |
14-Jul-2008 |
Dan Gohman <gohman@apple.com> |
Reformat this message to fit in 80 cols. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53561 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
7220b814ed6f432d1d31d444b65e0c3b120942df |
08-Jul-2008 |
Owen Anderson <resistor@mac.com> |
Global variables beginning with \01 have special meaning on Darwin, so we need to remove the name prefix when we change them from internal to external. This allows bugpointing of codegen miscompilations to work more reliably on Darwin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53236 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
ad6996d74f60340d6139af8f345d93735661fbba |
12-Jun-2008 |
Matthijs Kooijman <matthijs@stdin.nl> |
Let bugpoint display generated messages on stderr only if no interpreter was found, this ensures that messages like "Found gcc" end up on stdout where they belong. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52235 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
|
fbea227f41348157191a0217ecb110cc015e9a4f |
12-Jun-2008 |
Matthijs Kooijman <matthijs@stdin.nl> |
Add -silence-passes option to bugpoint. This option suppresses output generated when bugpoint is running passes in a child process. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52234 91177308-0d34-0410-b5e6-96231b3b80d8
ptimizerDriver.cpp
|
b1dbcd886a4b5597a839f299054b78b33fb2d6df |
15-May-2008 |
Gabor Greif <ggreif@gmail.com> |
Fix a bunch of 80col violations that arose from the Create API change. Tweak makefile targets to find these better. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51143 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
9ef7425a4d44ff129495da2357c98c67162fbeff |
28-Apr-2008 |
Anton Korobeynikov <asl@math.spbu.ru> |
Add possibility of using arbitrary to to execute stuff from bugpoint. Patch by Pekka Jääskeläinen! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50373 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
oolRunner.cpp
oolRunner.h
|
e78109eb3a3d177d03cea40b46d9dcfc9bf32210 |
28-Apr-2008 |
Chris Lattner <sabre@nondot.org> |
several multiple-retval fixes for bugpoint. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50331 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
xtractFunction.cpp
|
6bc41e8a74d1756da0003641bfebd02a3d6d9586 |
14-Apr-2008 |
Owen Anderson <resistor@mac.com> |
Revert r49614. As Dan pointed out, some of these aren't correct. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49657 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
386ea355e730a1e92acf84e7a3f2ad95c3d6165b |
13-Apr-2008 |
Owen Anderson <resistor@mac.com> |
Replace calls of the form V1->setName(V2->getName()) with V1->takeName(V2), which is significantly more efficient. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49614 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
58f3bcdbb97cb6d86a04de200f3ef775b067c4c2 |
07-Apr-2008 |
Bill Wendling <isanbard@gmail.com> |
Remove tabs. Patch by Mike Stump! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49317 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
|
051a950000e21935165db56695e35bade668193b |
06-Apr-2008 |
Gabor Greif <ggreif@gmail.com> |
API changes for class Use size reduction, wave 1. Specifically, introduction of XXX::Create methods for Users that have a potentially variable number of Uses. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49277 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
iscompilation.cpp
|
af4fc28b5633d8cd2225e1b61d864f05a0967366 |
06-Apr-2008 |
Torok Edwin <edwintorok@gmail.com> |
-fPIC is required on x86-64 when building shared objects. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49274 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
oolRunner.cpp
|
df4613ced2d5d1025575f70a16f1fac9bcc2669d |
24-Mar-2008 |
Andrew Lenharth <andrewl@lenharth.org> |
With debug info, there are nameless constant global values. do not crash when we hit one git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48749 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
|
584c3bf6504ec0e56c54bbf02fce2d2bd1e6c0e1 |
26-Feb-2008 |
Bill Wendling <isanbard@gmail.com> |
Detabify. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47596 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
istReducer.h
ptimizerDriver.cpp
|
39564499c4b3d19af6e42f7718317443808e714f |
18-Feb-2008 |
Dan Gohman <gohman@apple.com> |
Fix a missing space in the description of the find-bugs option. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47271 91177308-0d34-0410-b5e6-96231b3b80d8
ugpoint.cpp
|
1d1ef14248a24cb7239e0bc9298d84004a8044e6 |
14-Feb-2008 |
Nick Lewycky <nicholas@mxc.ca> |
PR2027, Fix bugpoint's -find-bugs option, clean up the code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47105 91177308-0d34-0410-b5e6-96231b3b80d8
indBugs.cpp
|
4a6a6f21f3342428e5dcf28b0ddfbe0039a040e5 |
08-Jan-2008 |
Chris Lattner <sabre@nondot.org> |
Fix PR1797 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45736 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.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
ugDriver.cpp
ugDriver.h
rashDebugger.cpp
xecutionDriver.cpp
xtractFunction.cpp
indBugs.cpp
istReducer.h
iscompilation.cpp
ptimizerDriver.cpp
estPasses.cpp
oolRunner.cpp
oolRunner.h
ugpoint.cpp
|
51167848265a0fa006c32557caa4aeb3f482f45e |
29-Dec-2007 |
Chris Lattner <sabre@nondot.org> |
remove attributions from tools/utils makefiles. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45414 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
|
43ad6b3e0d6ada51e9b23aab3e061187f1f5710c |
17-Dec-2007 |
Christopher Lamb <christopher.lamb@gmail.com> |
Change the PointerType api for creating pointer types. The old functionality of PointerType::get() has become PointerType::getUnqual(), which returns a pointer in the generic address space. The new prototype of PointerType::get() requires both a type and an address space. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45082 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
a3355ffb3d30d19d226bbb75707991c60f236e37 |
03-Dec-2007 |
Duncan Sands <baldrick@free.fr> |
Rather than having special rules like "intrinsics cannot throw exceptions", just mark intrinsics with the nounwind attribute. Likewise, mark intrinsics as readnone/readonly and get rid of special aliasing logic (which didn't use anything more than this anyway). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44544 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
6fa98b13206583e6eb90b8304758b35548914944 |
14-Nov-2007 |
Nick Lewycky <nicholas@mxc.ca> |
Allow the block extractor take to take a list of basic blocks to not extract from a file containing Function/BasicBlock pairings. This is not safe against anonymous or abnormally-named Funcs or BBs. Make bugpoint use this interface to pass the BBs list to the child bugpoint. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44101 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
xtractFunction.cpp
iscompilation.cpp
ptimizerDriver.cpp
|
4e1be6d5ea90d0714171d0d19033508bc4fe7f30 |
05-Nov-2007 |
Gordon Henriksen <gordonhenriksen@mac.com> |
Deleting redundant copy of block extractor pass. See also PR1775. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43694 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.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
ugpoint.cpp
|
52eec548206d0b135b55ba52dd0e82e978f15ae5 |
01-Aug-2007 |
David Greene <greened@obbligato.org> |
New CallInst interface to address GLIBCXX_DEBUG errors caused by indexing an empty std::vector. Updates to all clients. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40660 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
8ff70c2635bfd4e02c0140a5dc9ca909fffba35a |
04-Jul-2007 |
Gabor Greif <ggreif@gmail.com> |
Pretty straightforward replacement of "bytecode" by "bitcode" performed on tools/ first, in order not to cause lethal damage git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37877 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
ugDriver.h
rashDebugger.cpp
xecutionDriver.cpp
xtractFunction.cpp
iscompilation.cpp
ptimizerDriver.cpp
oolRunner.cpp
oolRunner.h
|
497391ad8d35fd8dcf6b48f459c179e3db3d3c5c |
07-Jun-2007 |
Lauro Ramos Venancio <lauro.venancio@gmail.com> |
Fix bugpoint to run -llc-safe with -Xlinker. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37483 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
oolRunner.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
ugDriver.cpp
|
421e51603a5584962adc1b07e41954107cc8b46d |
06-May-2007 |
Chris Lattner <sabre@nondot.org> |
Fix a buggy conversion from bytecode to bitcode git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36883 91177308-0d34-0410-b5e6-96231b3b80d8
ptimizerDriver.cpp
|
744879ea01779a48f898a801c847677b0bfa824a |
06-May-2007 |
Chris Lattner <sabre@nondot.org> |
switch tools to bitcode from bytecode git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36872 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
akefile
ptimizerDriver.cpp
|
03b696376219945d67caffda1995d12e3410f05b |
06-May-2007 |
Chris Lattner <sabre@nondot.org> |
add bitcode support git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36849 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
rashDebugger.cpp
akefile
ptimizerDriver.cpp
|
34e400ebe655160874f27d803811118a168599e1 |
03-May-2007 |
Evan Cheng <evan.cheng@apple.com> |
Added -rsh-host and -rsh-user to support remote execution. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36685 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
oolRunner.h
|
1997473cf72957d0e70322e2fe6fe2ab141c58a6 |
03-May-2007 |
Devang Patel <dpatel@apple.com> |
Drop 'const' git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36662 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
estPasses.cpp
|
3e15bf33e024b9df9e89351a165acfdb1dde51ed |
02-May-2007 |
Devang Patel <dpatel@apple.com> |
Use 'static const char' instead of 'static const int'. Due to darwin gcc bug, one version of darwin linker coalesces static const int, which defauts PassID based pass identification. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36652 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
estPasses.cpp
|
794fd75c67a2cdc128d67342c6d88a504d186896 |
01-May-2007 |
Devang Patel <dpatel@apple.com> |
Do not use typeinfo to identify pass in pass manager. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36632 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
estPasses.cpp
|
00f59da1dfa697982dad9937d1339d7c0e438ad1 |
19-Feb-2007 |
Chris Lattner <sabre@nondot.org> |
remove use of deprecated apis git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34418 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
9ba8a76f8baaa1092d60ccfbc04e7efdc207c98f |
16-Feb-2007 |
Anton Korobeynikov <asl@math.spbu.ru> |
Add possibility to set memory limit for binaries run via libSystem. This is especially needed for bugpoint. This partly implements PR688 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34349 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
ugDriver.h
xecutionDriver.cpp
ptimizerDriver.cpp
oolRunner.cpp
oolRunner.h
ugpoint.cpp
|
10ac377f7cbcf722ca9dd46865526f667213af74 |
13-Feb-2007 |
Chris Lattner <sabre@nondot.org> |
eliminate use of vector-related ctors git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34226 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.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
ugDriver.cpp
|
688b0490e22eb67623f5aaa24406209be74efcb2 |
05-Feb-2007 |
Reid Spencer <rspencer@reidspencer.com> |
For PR411: Adjust to changes in Module interface: getMainFunction() -> getFunction("main") getNamedFunction(X) -> getFunction(X) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33922 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
iscompilation.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
rashDebugger.cpp
xtractFunction.cpp
iscompilation.cpp
|
7ba98a90008727e2fa0dfc1787cad71e1b6021eb |
04-Feb-2007 |
Reid Spencer <rspencer@reidspencer.com> |
For PR1072: Removing -raise has neglible positive or negative side effects so we are opting to remove it. See the PR for comparison details. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33844 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
|
5cbf985dcbc89fba3208e7baf8b6f488b06d3ec9 |
30-Jan-2007 |
Reid Spencer <rspencer@reidspencer.com> |
For PR1136: Rename GlobalVariable::isExternal as isDeclaration to avoid confusion with external linkage types. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33663 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
xtractFunction.cpp
iscompilation.cpp
|
17be6791b8b22b36850340a44a6f05de5c3cbf85 |
21-Jan-2007 |
Chris Lattner <sabre@nondot.org> |
default to emiting an uncompressed .bc file git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33420 91177308-0d34-0410-b5e6-96231b3b80d8
ptimizerDriver.cpp
|
2db43c864e8372823d961d961ca520ed20edca82 |
07-Jan-2007 |
Chris Lattner <sabre@nondot.org> |
relax type git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32990 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
78d033e086e19e016273de014f9214aa6f3f844b |
06-Jan-2007 |
Reid Spencer <rspencer@reidspencer.com> |
For PR411: Take an incremental step towards type plane elimination. This change separates types from values in the symbol tables by finally making use of the TypeSymbolTable class. This yields more natural interfaces for dealing with types and unclutters the SymbolTable class. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32956 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
|
7f7fdcca8fabccb21967f0b12d68009ff6247acd |
03-Jan-2007 |
Evan Cheng <evan.cheng@apple.com> |
A bit more debugging printf's. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32832 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
71d2ec9e6d20bd8701471bc6e6db620838ce3539 |
31-Dec-2006 |
Reid Spencer <rspencer@reidspencer.com> |
For PR950: Convert signed integer types to signless. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32790 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
iscompilation.cpp
|
e4d87aa2de6e52952dca73716386db09aad5a8fd |
23-Dec-2006 |
Reid Spencer <rspencer@reidspencer.com> |
For PR950: This patch removes the SetCC instructions and replaces them with the ICmp and FCmp instructions. The SetCondInst instruction has been removed and been replaced with ICmpInst and FCmpInst. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32751 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
e026c070c4e9001c6023a8c14664e68151e0b30f |
13-Dec-2006 |
John Criswell <criswell@uiuc.edu> |
Remove DSA. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32542 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
|
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
ptimizerDriver.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
ugpoint.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
ptimizerDriver.cpp
|
5e1452c856a8bcf39ab7a67a5af946c8162f942d |
28-Nov-2006 |
Reid Spencer <rspencer@reidspencer.com> |
Add an -append-exit-code option to bugpoint. This will cause bugpoint to append "exit <retcode>" to the end of the output file. This is used by the nightly tester to make bugpoint match the output generated by the RunSafely.sh script so it doesn't find false positives. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31960 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
|
3da59db637a887474c1b1346c1f3ccf53b6c4663 |
27-Nov-2006 |
Reid Spencer <rspencer@reidspencer.com> |
For PR950: The long awaited CAST patch. This introduces 12 new instructions into LLVM to replace the cast instruction. Corresponding changes throughout LLVM are provided. This passes llvm-test, llvm/test, and SPEC CPUINT2000 with the exception of 175.vpr which fails only on a slight floating point output difference. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31931 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
iscompilation.cpp
|
a089d4430d8c5ddeec02ad3e0329c3110ef110ad |
17-Nov-2006 |
Bill Wendling <isanbard@gmail.com> |
Need <iostream> for the time being. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31821 91177308-0d34-0410-b5e6-96231b3b80d8
ugpoint.cpp
|
2803b4cc581af06bf99af5ddc3353836c63d1562 |
11-Nov-2006 |
Reid Spencer <rspencer@reidspencer.com> |
Minor style fixes from review. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31685 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
dc31a8a70cab3b4c180ac1a482855e31d3fe8e6b |
11-Nov-2006 |
Reid Spencer <rspencer@reidspencer.com> |
Add a -disable-loop-extraction option to bugpoint. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31683 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
fef02427cda8dc0b3e6aedd6d78c4ba3e1e48069 |
09-Nov-2006 |
Chris Lattner <sabre@nondot.org> |
completely revert patrick's enhancement to bugpoint. Though it makes bugpoint speed up, it sometimes makes it crash on complex bc files, which isn't very nice. With this, bugpoint can reduce the 176.gcc failure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31589 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
cd6f46e2ac4c1d64067237c0b28eccfae22bd9f4 |
09-Nov-2006 |
Chris Lattner <sabre@nondot.org> |
add a new bugpoint mode -llc-safe. This uses LLC for both halves of a miscompilation. This is useful for working around GCC+CBE bugs or for handling programs that CBE doesn't support (e.g. inline asm) when searching for optimizer bugs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31588 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
|
d41b30def3181bce4bf87e8bde664d15663165d0 |
05-Nov-2006 |
Jeff Cohen <jeffc@jolt-lang.org> |
Unbreak VC++ build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31464 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
|
3ed469ccd7b028a030b550d84b7336d146f5d8fa |
02-Nov-2006 |
Reid Spencer <rspencer@reidspencer.com> |
For PR786: Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting fall out by removing unused variables. Remaining warnings have to do with unused functions (I didn't want to delete code without review) and unused variables in generated code. Maintainers should clean up the remaining issues when they see them. All changes pass DejaGnu tests and Olden. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31380 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
iscompilation.cpp
|
22706e82d57fd37150d494881a8f90b4043d42a1 |
27-Oct-2006 |
Bill Wendling <isanbard@gmail.com> |
Forgot a } git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31226 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
|
b3d83a3ed5e99cc858141ee4da61fe9f80ec4b00 |
27-Oct-2006 |
Bill Wendling <isanbard@gmail.com> |
Re-added the part where it tries to remove all global variables first. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31225 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
|
4e3be89cb5cde6e2df294c64db3bc28133b67594 |
25-Oct-2006 |
Bill Wendling <isanbard@gmail.com> |
Fix for PR960. Improves bugpoint so that it removes global variable initializers as well. This is only a first pass. It can be slow because it clones the module for each pass. An obvious improvement is not to do that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31182 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
ugDriver.h
rashDebugger.cpp
|
b83eb6447ba155342598f0fabe1f08f5baa9164a |
20-Oct-2006 |
Reid Spencer <rspencer@reidspencer.com> |
For PR950: This patch implements the first increment for the Signless Types feature. All changes pertain to removing the ConstantSInt and ConstantUInt classes in favor of just using ConstantInt. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31063 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
137d0ec3dab0ad4ef5c3433e8d73d17b2726a18d |
10-Oct-2006 |
Chris Lattner <sabre@nondot.org> |
Make the bugpoint reduction heuristics more effective. Patch submitted by Domagoj Babic, thanks! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30863 91177308-0d34-0410-b5e6-96231b3b80d8
istReducer.h
|
54e4c02d8e7ca49b89a1f39824a7617920dd43f0 |
09-Oct-2006 |
Chris Lattner <sabre@nondot.org> |
Remove a dead var noticed by Yorion git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30841 91177308-0d34-0410-b5e6-96231b3b80d8
istReducer.h
|
d42235051b4c43139c04ccd37a47df1471c01c4e |
16-Sep-2006 |
Chris Lattner <sabre@nondot.org> |
comment out debug code git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30401 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
c600f3c337f18c62116ac58b701e4f7ae6d2fb1a |
15-Sep-2006 |
Chris Lattner <sabre@nondot.org> |
Add a new -cbe-bug mode, which works just like -run-llc, except that it uses LLC as the reference compiler to reduce testcases for bugs in GCC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30400 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
xecutionDriver.cpp
oolRunner.cpp
oolRunner.h
|
e290c6d250cdf67887a5f16ac9d459f83f9f0e30 |
14-Sep-2006 |
Nick Lewycky <nicholas@mxc.ca> |
Fix --enable-valgrind. Add room for the new arguments, and don't keep a pointer to a temporary. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30312 91177308-0d34-0410-b5e6-96231b3b80d8
ptimizerDriver.cpp
|
40394bc4197b0e67f4effa5bbf7e655138be82c3 |
14-Sep-2006 |
Nick Lewycky <nicholas@mxc.ca> |
Add --enable-valgrind option to run optimizations through valgrind to pick up on memory errors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30311 91177308-0d34-0410-b5e6-96231b3b80d8
ptimizerDriver.cpp
|
afd39f0cc452026eac4a9dd4d875e571de6e0a35 |
07-Sep-2006 |
Chris Lattner <sabre@nondot.org> |
Change DisambiguateGlobalSymbols to not rename asm globals, which breaks bugpoint on leopard. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30150 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
aea932d27fa41bebaa8576b6002637e74054a7c4 |
04-Sep-2006 |
Chris Lattner <sabre@nondot.org> |
Use LINK_COMPONENTS to specify *components* to link against instead of using USED_LIBS to specify *libraries* to link against. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30090 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
|
1bb6f0643dc4f5ecc2db295cf432b22def3a2b2f |
30-Aug-2006 |
Chris Lattner <sabre@nondot.org> |
Code cleanups, no functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29969 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
7f8897f22e88271cfa114998a4d6088e7c8e8e11 |
28-Aug-2006 |
Chris Lattner <sabre@nondot.org> |
eliminate RegisterOpt. It does the same thing as RegisterPass. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29925 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
a4be053d7d5428e4259ec0c2509283c892dec7f1 |
28-Aug-2006 |
Chris Lattner <sabre@nondot.org> |
analyze no longer exists, don't offer to run it :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29919 91177308-0d34-0410-b5e6-96231b3b80d8
ptimizerDriver.cpp
|
51c5a286bae5ad27ddc49602f44b7ea7253a4cc9 |
23-Aug-2006 |
Reid Spencer <rspencer@reidspencer.com> |
For PR797: Final removal of exceptions from lib/System and adjustment of users to accommodate. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29846 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
iscompilation.cpp
ptimizerDriver.cpp
oolRunner.cpp
|
8ea5ecb0564b8822c70ad84202471f03e2690da7 |
21-Aug-2006 |
Reid Spencer <rspencer@reidspencer.com> |
For PR797: Adjust usage of the ExecuteAndWait function to use the last argument which is the ErrMsg string. This is necessitated because this function no longer throws exceptions on error. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29791 91177308-0d34-0410-b5e6-96231b3b80d8
ptimizerDriver.cpp
oolRunner.cpp
|
62c5105adc4f51c6dd07be3471ea2462c8e00c82 |
21-Aug-2006 |
Reid Spencer <rspencer@reidspencer.com> |
For PR885: Consolidate the LinkAllAnalyses.h and LinkAllPasses.h headers into one so there is no dupliation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29787 91177308-0d34-0410-b5e6-96231b3b80d8
ugpoint.cpp
|
023fcf977660e686e04f5bef0e2a7321db47df7e |
21-Aug-2006 |
Reid Spencer <rspencer@reidspencer.com> |
For PR797: Make sys::Program::ExecuteAndWait not throw exceptions and update any affected code. It now return -9999 to signal that the program couldn't be executed. Only one case (in bugpoint) actually examines the result code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29785 91177308-0d34-0410-b5e6-96231b3b80d8
ptimizerDriver.cpp
oolRunner.cpp
|
61c83e023fe618ca7b4fdc846039933e61a00ec9 |
18-Aug-2006 |
Reid Spencer <rspencer@reidspencer.com> |
For PR797: Rid the Assembly Parser of exceptions. This is a really gross hack but it will do until the Assembly Parser is re-written as a recursive descent. The basic premise is that wherever the old "ThrowException" function was called (new name: GenerateError) we set a flag (TriggerError). Every production checks that flag and calls YYERROR if it is set. Additionally, each call to ThrowException in the grammar is replaced with GEN_ERROR which calls GenerateError and then YYERROR immediately. This prevents the remaining production from continuing after an error condition. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29763 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
|
c0431fe1ca52c5d159c604957f337aa3eb1ec3d3 |
17-Aug-2006 |
Chris Lattner <sabre@nondot.org> |
fit in 80 cols git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29754 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
|
7f27570ae0cb716927f946f4e73a55f60d99b3e2 |
17-Aug-2006 |
Chris Lattner <sabre@nondot.org> |
minor cleanups git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29753 91177308-0d34-0410-b5e6-96231b3b80d8
indBugs.cpp
|
032091d7f62774443c282915964189ea3d8930de |
15-Aug-2006 |
Patrick Jenkins <pjenkins@apple.com> |
Adding FindBugs.cpp so the -find-bugs option will work. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29704 91177308-0d34-0410-b5e6-96231b3b80d8
indBugs.cpp
|
6a3f31cb707972ebde1e45a61fa8f5bcff132eba |
15-Aug-2006 |
Patrick Jenkins <pjenkins@apple.com> |
This commit adds a new feature called find-bugs. The find-bugs option can be invoked on a .bc file from the command like with -find-bugs and a list of passes you wish to test. This procedure takes the set of optimization passes the user specifies, randomizes the passes, runs the passes on the specified .bc file, compiles the program, and finally runs the program checking its output vs the .bc file with no optimizations. This process repeats until either the user kills bugpoint or an error occurs in the optimizations, program complitation, or the running of the program. If an error occurs, bugpoint attempts to diagnose the error by eliminating passes that are not at fault and code that is not needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29703 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
ugDriver.h
rashDebugger.cpp
xecutionDriver.cpp
ugpoint.cpp
|
68b163059d7c3e28744892739018f14b304e4a59 |
28-Jul-2006 |
Patrick Jenkins <pjenkins@apple.com> |
Updating the comments above SplitFunctionsOutOfModule in ExtractFunction.cpp to reflect the changes made to that function. Specifically I am removing the FIXME comment because the issue has been addressed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29385 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
e47863e212e0af6239f6f40b2496ede29847bbce |
28-Jul-2006 |
Patrick Jenkins <pjenkins@apple.com> |
This commit improves bugpoints speed. On my G4 this changed caused kimwitu++ to run through bugpoint in 1091.15 seconds (user + system time). The time it took to run this on my G4 before I made these changes is 1420.82 seconds (user + system time). This is a speedup of about 5.5 minutes. This is faster because SplitFunctionsOutOfModule no longer calls Clone Module and then removes the functions it doesnt want from the module returned. Instead it creates a module and copies over the specified functions, making changes to the new and old module where neccessary. This reduces the memory demand. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29379 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
0465fa9cf89a0c8a96cff6af59b0fbac9098471a |
07-Jul-2006 |
Chris Lattner <sabre@nondot.org> |
Tools require EH for their top-level try blocks. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29035 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
|
130e2a361147a31ae631d3648afdd95a5c0d40f2 |
27-Jun-2006 |
Chris Lattner <sabre@nondot.org> |
Pass -Xlinker flags to gcc when it builds the shared object. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28939 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
oolRunner.cpp
oolRunner.h
|
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
xtractFunction.cpp
ptimizerDriver.cpp
|
9686ae7f4ea5f19ce77e31e64e0916db41a82662 |
13-Jun-2006 |
Chris Lattner <sabre@nondot.org> |
Teach bugpoint to kill optimization passes that run over the timeout limit, which allows it to debug optimizer infinite loops. This patch is contributed by Nick Lewycky, thanks! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28763 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
ugDriver.h
xecutionDriver.cpp
ptimizerDriver.cpp
ugpoint.cpp
|
629e48768abd320107eae8e23d5af1e38d4c0fbe |
09-Jun-2006 |
Chris Lattner <sabre@nondot.org> |
After telling GCC to type of the input file with -x asm/-x c, switch back to -x none, to not foul up autodetection of .a file or .dylibs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28741 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
e3f056154537194afd06c1940de72d4b6f2f4147 |
08-Jun-2006 |
Reid Spencer <rspencer@reidspencer.com> |
Make sure this tool links in all of libVMCore.a because it can --load shared objects. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28720 91177308-0d34-0410-b5e6-96231b3b80d8
ugpoint.cpp
|
f1b20d8620b05abaa52f40ac6d21f839b265fb00 |
07-Jun-2006 |
Chris Lattner <sabre@nondot.org> |
Move ToolRunner.(cpp|h) into the bugpoint directory git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28699 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
rashDebugger.cpp
xecutionDriver.cpp
oolRunner.cpp
oolRunner.h
ugpoint.cpp
|
51ab5c8862466bbddcd5c4369779c472978ed309 |
06-Jun-2006 |
Reid Spencer <rspencer@reidspencer.com> |
Add the -Xlinker option to bugpoint which allows an option to be passed through to gcc when its being used as a linker. This allows -L and -l (and any other) options to be added so that non-complete bytecode files can be processed with bugpoint. The -Xlinker option can be added as many times as needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28692 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
oolRunner.cpp
oolRunner.h
|
18c8b49e7d3c94d7f84a4205a19f8761722fc4e5 |
01-Jun-2006 |
Reid Spencer <rspencer@reidspencer.com> |
Use archive libraries instead of object files for VMCore, BCReader, BCWriter, and bzip2 libraries. Adjust the various makefiles to accommodate these changes. This was done to speed up link times. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28610 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
|
d74ea2bbd8bb630331f35ead42d385249bd42af8 |
24-May-2006 |
Chris Lattner <sabre@nondot.org> |
Patches to make the LLVM sources more -pedantic clean. Patch provided by Anton Korobeynikov! This is a step towards closing PR786. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28447 91177308-0d34-0410-b5e6-96231b3b80d8
istReducer.h
|
53bd1b9de74247acae27328cef95bd3888f6cd4d |
14-May-2006 |
Chris Lattner <sabre@nondot.org> |
print a nice error if bugpoint gets an error reading inputs. Bug identified by coverity. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28298 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
|
f877e60616bca076b61a11d34b085607153e06a9 |
14-May-2006 |
Chris Lattner <sabre@nondot.org> |
Fix a bug found by inspection. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28297 91177308-0d34-0410-b5e6-96231b3b80d8
ptimizerDriver.cpp
|
b923b2e04bdc8597de24a756d7e073bd5bfe1e44 |
12-May-2006 |
Chris Lattner <sabre@nondot.org> |
Remove dead return value. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28245 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
67ef9e43049c28c8fe2c9f70d2ad163045ee5876 |
05-May-2006 |
Chris Lattner <sabre@nondot.org> |
wrap long line git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28113 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
cc540ebabcc8893d08f204f83f30a5168516fcd6 |
17-Mar-2006 |
Chris Lattner <sabre@nondot.org> |
add an assert to get a slightly better msg about this problem git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26812 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
|
9dce2b33807f47d794b0482313ae3fe0d275c833 |
14-Mar-2006 |
Reid Spencer <rspencer@reidspencer.com> |
Convert llvm.cs.uiuc.edu -> llvm.org git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26748 91177308-0d34-0410-b5e6-96231b3b80d8
ugpoint.cpp
|
5a7a9e53861188ad84cb0e08e34562da744a907a |
09-Mar-2006 |
Chris Lattner <sabre@nondot.org> |
Fix a really annoying bug in bugpoint that made reducing C++ testcases almost impossible with the new CFE. It now guarantees that the static ctor/dtor list is correctly split between the modules. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26624 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
7c0a93785e283110ff05e4a95062990fd32a8389 |
05-Mar-2006 |
Andrew Lenharth <andrewl@lenharth.org> |
For transforms the behave differently if main goes away, add an option to prevent bugpoint from removing main git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26557 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
|
fdcc71eaa804f3a2604485def9c3757488e8dcdb |
04-Feb-2006 |
Chris Lattner <sabre@nondot.org> |
Let bugpoint work on sparc with v9 instructions enabled. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25958 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
e4da1ddadae9aebac6265060626bb7cced4fc863 |
26-Jan-2006 |
Andrew Lenharth <andrewl@lenharth.org> |
Pass plugins on to children when optimizing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25650 91177308-0d34-0410-b5e6-96231b3b80d8
ptimizerDriver.cpp
|
04666d8a391ad2acc126b56a497d9a86b503b094 |
23-Jan-2006 |
Chris Lattner <sabre@nondot.org> |
this doesn't work, remove it git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25518 91177308-0d34-0410-b5e6-96231b3b80d8
ptimizerDriver.cpp
|
e31a9ccb9c7568e6f185f667b53c274c0be9e603 |
22-Jan-2006 |
Chris Lattner <sabre@nondot.org> |
add explicit #includes of iostream git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25510 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
xtractFunction.cpp
|
86a5484079abc8a20f24066aaf3f5efcccebb673 |
22-Jan-2006 |
Chris Lattner <sabre@nondot.org> |
Add explicit #includes of <iostream> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25509 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
4df8665bf90e6a7631c9dec36c259e9daf46bfd6 |
17-Jan-2006 |
Chris Lattner <sabre@nondot.org> |
Revert this, I didn't mean to commit it git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25382 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
79959d21c7b2fb7bb970949b9a5227036cd50d39 |
17-Jan-2006 |
Chris Lattner <sabre@nondot.org> |
Add support for programs with a null argv[0] git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25379 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
de83cee28b204740aa0801283c5fa22830d70a3c |
08-Jan-2006 |
Reid Spencer <rspencer@reidspencer.com> |
Fix line length of a comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25149 91177308-0d34-0410-b5e6-96231b3b80d8
istReducer.h
|
46e1ee9791df4c1328e89805f1e2aaf14d27e787 |
23-Dec-2005 |
Jeff Cohen <jeffc@jolt-lang.org> |
Get bugpoint building with VC++ again. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24977 91177308-0d34-0410-b5e6-96231b3b80d8
ptimizerDriver.cpp
|
c4bb052ecccfafa0ffa928d0b061db35734ee2ee |
22-Dec-2005 |
Reid Spencer <rspencer@reidspencer.com> |
For PR351: Generally, remove use of fork/exec from bugpoint in favor of the portable sys::Program::ExecuteAndWait method. This change requires two new options to bugpoint to tell it that it is running in "child" mode. In this mode, it reads its input and runs the passes. The result code signals to the parent instance of bugpoint what happened (success, fail, crash). This change should make bugpoint usable on Win32 systems. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24961 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
ugDriver.h
ptimizerDriver.cpp
ugpoint.cpp
|
3bd5fac76f4fcc229d054ef46d5040de9abaa9f4 |
14-Dec-2005 |
Chris Lattner <sabre@nondot.org> |
Fix printing of the instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24714 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
0fccc74103dee95d6baa885963b7337ae5daec7e |
06-Dec-2005 |
Andrew Lenharth <andrewl@lenharth.org> |
This solves the problem of the CBE renaming symbols that start with . but the assembly side still trying to reference them by their old names. Should be safe untill we hit a language front end that lets you specify such a name. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24626 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
a11564335749cd259d8a1391be34c1abbe302c42 |
27-Oct-2005 |
John Criswell <criswell@uiuc.edu> |
Move some constant folding code shared by Analysis and Transform passes into the LLVMAnalysis library. This allows LLVMTranform and LLVMTransformUtils to be archives and linked with LLVMAnalysis.a, which provides any missing definitions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24036 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
|
e96a1a576becba35edc318b63ab85448d810854f |
26-Oct-2005 |
John Criswell <criswell@uiuc.edu> |
1. Remove libraries no longer created from the list of libraries linked into the SparcV9 JIT. 2. Make LLVMTransformUtils a relinked object file and always link it before LLVMAnalysis.a. These two libraries have circular dependencies on each other which creates problem when building the SparcV9 JIT. This change fixes the dependency on all platforms problems with a minimum of fuss. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24023 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
|
ad62eef794135e487abbddc076e8da13bd09f1dc |
24-Oct-2005 |
Chris Lattner <sabre@nondot.org> |
Remove a now-unneeded library git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23942 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
|
831843d5d148ddadb68f356ff19ba9f955446886 |
24-Oct-2005 |
Chris Lattner <sabre@nondot.org> |
Link to archive versions of libraries instead of the relinked ones git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23925 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
ugpoint.cpp
|
66c5fd6c537269eaef0f630fa14360dcaff6a295 |
23-Oct-2005 |
Jeff Cohen <jeffc@jolt-lang.org> |
When a function takes a variable number of pointer arguments, with a zero pointer marking the end of the list, the zero *must* be cast to the pointer type. An un-cast zero is a 32-bit int, and at least on x86_64, gcc will not extend the zero to 64 bits, thus allowing the upper 32 bits to be random junk. The new END_WITH_NULL macro may be used to annotate a such a function so that GCC (version 4 or newer) will detect the use of un-casted zero at compile time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23888 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
d00b28809d64efa699507bce2ffce167559cd0d1 |
29-Aug-2005 |
Chris Lattner <sabre@nondot.org> |
Allow bugpoint+PPC codegen to use fsqrt git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23128 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
aed98fa8861a28e5f7ba7c0659e106f2a441e9ff |
03-Aug-2005 |
Chris Lattner <sabre@nondot.org> |
If the user interrupts bugpoint, don't extract loops git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22603 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
f9aaae06cd2109082cda2b09ef3f23e0e1cff47b |
02-Aug-2005 |
Chris Lattner <sabre@nondot.org> |
When the user hits ctrl-c, bugpoint should attempt to stop reduction as quickly as possible and output what it has so far. If they hit it twice, bugpoint is killed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22579 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
rashDebugger.cpp
istReducer.h
iscompilation.cpp
ugpoint.cpp
|
00b16889ab461b7ecef1c91ade101186b7f1fce2 |
27-Jul-2005 |
Jeff Cohen <jeffc@jolt-lang.org> |
Eliminate all remaining tabs and trailing spaces. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22523 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
iscompilation.cpp
|
a3efca16f2688981672deeb718909cf6acbe474e |
12-Jul-2005 |
Chris Lattner <sabre@nondot.org> |
Fix PR576. Instead of emitting a JIT stub that looks like this: internal void %l1_main_entry_2E_ce_wrapper(int) { header: %resolver = call sbyte* %getPointerToNamedFunction( sbyte* getelementptr ([20 x sbyte]* %l1_main_entry_2E_ce_name, int 0, int 0) ) ; <sbyte*> [#uses=1] %resolverCast = cast sbyte* %resolver to void (int)* ; <void (int)*> [#uses=1] call void %resolverCast( int %0 ) ret void } Emit one that looks like this: internal void %l1_main_entry_2E_ce_wrapper(int) { Entry: %fpcache = load void (int)** %l1_main_entry_2E_ce.fpcache ; <void (int)*> [#uses=2] %isNull = seteq void (int)* %fpcache, null ; <bool> [#uses=1] br bool %isNull, label %lookupfp, label %usecache usecache: ; preds = %lookupfp, %Entry %fp = phi void (int)* [ %resolverCast, %lookupfp ], [ %fpcache, %Entry ] ; <void (int)*> [#uses=1] call void %fp( int %0 ) ret void lookupfp: ; preds = %Entry %resolver = call sbyte* %getPointerToNamedFunction( sbyte* getelementptr ([20 x sbyte]* %l1_main_entry_2E_ce_name, int 0, int 0) ) ; <sbyte*> [#uses=1] %resolverCast = cast sbyte* %resolver to void (int)* ; <void (int)*> [#uses=2] store void (int)* %resolverCast, void (int)** %l1_main_entry_2E_ce.fpcache br label %usecache } This makes the JIT debugger *MUCH* faster on large programs, as getPointerToNamedFunction takes time linear with the size of the program, and before we would call it every time a function in the text module was called from the safe module (ouch!). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22387 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
a229c5cce75209047db32c6039aa0b0fd481f049 |
08-Jul-2005 |
Reid Spencer <rspencer@reidspencer.com> |
Final Changes For PR495: This chagne just renames some sys::Path methods to ensure they are not misused. The Path documentation now divides methods into two dimensions: Path/Disk and accessor/mutator. Path accessors and mutators only operate on the Path object itself without making any disk accesses. Disk accessors and mutators will also access or modify the file system. Because of the potentially destructive nature of disk mutators, it was decided that all such methods should end in the work "Disk" to ensure the user recognizes that the change will occur on the file system. This patch makes that change. The method name changes are: makeReadable -> makeReadableOnDisk makeWriteable -> makeWriteableOnDisk makeExecutable -> makeExecutableOnDisk setStatusInfo -> setStatusInfoOnDisk createDirectory -> createDirectoryOnDisk createFile -> createFileOnDisk createTemporaryFile -> createTemporaryFileOnDisk destroy -> eraseFromDisk rename -> renamePathOnDisk These changes pass the Linux Deja Gnu tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22354 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
xecutionDriver.cpp
iscompilation.cpp
ptimizerDriver.cpp
oolRunner.cpp
|
72b286b0a0f8987bc247ae052ac86008c553e9ae |
08-Jul-2005 |
Nate Begeman <natebegeman@mac.com> |
Add support for assembling .s files on mac os x for intel Add support for running bugpoint on mac os x for intel git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22351 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
dd04df0ec33a903ee7fc747701bafde622f77d8b |
08-Jul-2005 |
Reid Spencer <rspencer@reidspencer.com> |
For PR495: Get rid of the difference between file paths and directory paths. The Path class now simply stores a path that can refer to either a file or a directory. This required various changes in the implementation and interface of the class with the corresponding impact to its users. Doxygen comments were also updated to reflect these changes. Interface changes are: appendDirectory -> appendComponent appendFile -> appendComponent elideDirectory -> eraseComponent elideFile -> eraseComponent elideSuffix -> eraseSuffix renameFile -> rename setDirectory -> set setFile -> set Changes pass Dejagnu and llvm-test/SingleSource tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22349 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
xecutionDriver.cpp
iscompilation.cpp
ptimizerDriver.cpp
oolRunner.cpp
|
56c418676a308034e5eecf10d3f96ced2d1fab24 |
08-May-2005 |
Chris Lattner <sabre@nondot.org> |
If loopextract breaks the program provide output so that we can repro the problem. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21790 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
5a870448d12a786098e9ec5018cd2bb3f5f673fd |
22-Apr-2005 |
Reid Spencer <rspencer@reidspencer.com> |
Two changes: 1. Get rid of TOOLLINKOPTS as it is a hold over from llvm-test and only used to communicate additional libraries to the linker. The *standard* way to do that is with the LIBS variable which this change supports. 2. Allow the TARGETS_TO_BUILD variable to be set from the configuration substitution. This is the result of the --enable-target= parameter to the configure script. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21449 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
|
ea3e5e56fdc56e5c2ddafb36eab26676e137dfa0 |
22-Apr-2005 |
Jeff Cohen <jeffc@jolt-lang.org> |
Eliminate tabs and trailing spaces git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21441 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
iscompilation.cpp
ptimizerDriver.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
ugDriver.cpp
ugDriver.h
rashDebugger.cpp
xecutionDriver.cpp
xtractFunction.cpp
istReducer.h
iscompilation.cpp
ptimizerDriver.cpp
estPasses.cpp
ugpoint.cpp
|
f976c856fcc5055f3fc7d9f070d72c2d027c1d9d |
22-Apr-2005 |
Misha Brukman <brukman+llvm@gmail.com> |
Remove trailing whitespace git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21422 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
63b3afa98460ce38a1c48d3c44ef6edfdaf37b77 |
21-Apr-2005 |
Misha Brukman <brukman+llvm@gmail.com> |
Remove trailing whitespace git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21411 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.h
|
5b3a4553c1da7e417a240379e2f510c77532c5c1 |
17-Mar-2005 |
Chris Lattner <sabre@nondot.org> |
Fix the missing symbols problem Bill was hitting. Patch contributed by Bill Wendling!! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20649 91177308-0d34-0410-b5e6-96231b3b80d8
estPasses.cpp
|
852b4d4bf4aa6b80298a60f76092b80c8bd1efad |
15-Mar-2005 |
Chris Lattner <sabre@nondot.org> |
Replace more a*'s with arg_*'s, thanks to Gabor Greif! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20615 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
xtractFunction.cpp
iscompilation.cpp
|
5a1c58d0094ff16dcd103f3752046d426ad5dd2c |
15-Mar-2005 |
Alkis Evlogimenos <alkis@evlogimenos.com> |
Use arg_iterator and arg_begin and arg_end functions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20608 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
572668aa38e080b1c361c93b91a7d367a69e3015 |
10-Mar-2005 |
Andrew Lenharth <andrewl@lenharth.org> |
yay for camel_cvs diff git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20552 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
1c81f1390dddeb14c19bbab7b4715af3a5985877 |
09-Mar-2005 |
Chris Lattner <sabre@nondot.org> |
get bugpoint working on ia64, by building .so's with -fpic. :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20525 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
da895d63377b421dc50117befb2bec80d2973526 |
27-Feb-2005 |
Chris Lattner <sabre@nondot.org> |
Fix spelling, patch contributed by Gabor Greif! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20343 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
e56509c697db97771e27217a527186154173e6d1 |
27-Feb-2005 |
Chris Lattner <sabre@nondot.org> |
Remove some stuff I checked in accidentally git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20340 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
9b5b1905dbad19de374e7617f615ba522ffe0468 |
23-Feb-2005 |
Chris Lattner <sabre@nondot.org> |
Fix a bugpoint crash that JeffC noticed, looking like this: *** Attempting to perform final cleanups: Final cleanups failed. Sorry. :( Ple ase report a bug! <llc>llc.exe: bytecode didn't read correctly. llc.exe: bytecode didn't read correctly. <crash> Assertion failed: M && "You can't write a null module!!", file c:\llvm\lib\bytec ode\writer\writer.cpp, line 1094 The fact that llc bombed (in this case) is ok, but bugpoint shouldn't crash after this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20285 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
e21027904714d884d54080598d15361703ffdec6 |
16-Feb-2005 |
Jeff Cohen <jeffc@jolt-lang.org> |
Get bugpoint compiling with VC++ again, not that it works anyway. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20211 91177308-0d34-0410-b5e6-96231b3b80d8
ptimizerDriver.cpp
|
45495c524841aa94107d5331f5522c5c6d2024cd |
14-Feb-2005 |
Chris Lattner <sabre@nondot.org> |
Move helper function here. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20168 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
a328c51bb99666ee0c045a57ea6d6ce2b0198f9b |
23-Jan-2005 |
Chris Lattner <sabre@nondot.org> |
Add support for fp tolerances git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19774 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
|
cf989fd2a37524995155b347ec52e90145618fd2 |
23-Jan-2005 |
Chris Lattner <sabre@nondot.org> |
Adjust to changed interface. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19772 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
|
741c11823091f88a3cd880aa5abbd9c3caa854e3 |
22-Jan-2005 |
Jeff Cohen <jeffc@jolt-lang.org> |
oops git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19752 91177308-0d34-0410-b5e6-96231b3b80d8
ptimizerDriver.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
ptimizerDriver.cpp
|
83881957edee0b1cb89428fa1a3b022d7d84ee13 |
22-Jan-2005 |
Jeff Cohen <jeffc@jolt-lang.org> |
Fix VC++ complaint git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19747 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
oolRunner.h
|
59615f0f85e2ac99e012cb81934d002faebd405a |
15-Jan-2005 |
Chris Lattner <sabre@nondot.org> |
Improve output precision. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19564 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.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
ugpoint.cpp
|
51163306ab0c51f1103139200cadb8e3fa6bfd18 |
27-Dec-2004 |
Reid Spencer <rspencer@reidspencer.com> |
For PR351: * sys::PreventCoreFiles -> sys::Process::PreventCoreFiles git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19162 91177308-0d34-0410-b5e6-96231b3b80d8
ugpoint.cpp
|
06c375bd1d402ddcf2ee8e34005a74a0addbd7cc |
22-Dec-2004 |
Brian Gaeke <gaeke@uiuc.edu> |
Fix the build on PowerPC/Darwin - it thought we were declaring a new function or something. Since FileRemover takes a const reference to sys::Path, we need to pass an actual sys::Path variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19111 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
|
5d282185f517d651d965e86dab1b383e0cb5e919 |
20-Dec-2004 |
Reid Spencer <rspencer@reidspencer.com> |
Allow compilers that can't distinguish between a class instantiation and the declaration of a function to compile this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19073 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
|
6e6e88a3f0fa8805de982eff665d8892a39571e7 |
20-Dec-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
llvm/Config/unistd.h has gone away, far, far away git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19068 91177308-0d34-0410-b5e6-96231b3b80d8
ugpoint.cpp
|
b31baa88a5e6869ccac71aef53a672bb87a029c3 |
19-Dec-2004 |
Reid Spencer <rspencer@reidspencer.com> |
For PR351: * Pass sys::Path instead of std::string for paths * Correct the types of arguments passed to RunProgramWithTimeout due to its interface using sys::Path instead of std::string * Replace "/dev/null" (not portable) with empty string which sys::Program::ExecuteAndWait recognizes as "redirect to bit bucket" git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19041 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
2418bf9546387ea0cd206d3f0e4a8952f6a90eb4 |
19-Dec-2004 |
Reid Spencer <rspencer@reidspencer.com> |
For PR351: Turn path instance variables into sys::Path instead of std::string git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19038 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.h
|
5f76760c880e6d61c229d2058c5699b033caeae1 |
17-Dec-2004 |
Reid Spencer <rspencer@reidspencer.com> |
For PR351: * removeFile() -> sys::Path::destroyFile() * remove extraneous toString() calls * convert local variables representing path names from std::string to sys::Path * Use sys::Path objects with FileRemove instead of std::string * Use sys::Path methods for construction of path names git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19001 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
rashDebugger.cpp
xecutionDriver.cpp
iscompilation.cpp
ptimizerDriver.cpp
|
9ac141823d6180f8a49299c55ed8fc8b9a8310a3 |
17-Dec-2004 |
Reid Spencer <rspencer@reidspencer.com> |
For PR351: * Make the OutputC and OutputAsm functions work with sys::Path for the output file name instead of using std::string. * Get rid of extraneous "toString" calls. * Change "removeFile" to sys::Path::destroyFile() git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19000 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
oolRunner.h
|
97182985d530dbef488696c95a39c14fe56c995b |
15-Dec-2004 |
Reid Spencer <rspencer@reidspencer.com> |
For PR351: * Convert use of getUniqueFilename to sys::Path::makeUnique(); git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18949 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
iscompilation.cpp
ptimizerDriver.cpp
|
cda985e1912d6f09a21bc84660dca4c3efdcb939 |
15-Dec-2004 |
Reid Spencer <rspencer@reidspencer.com> |
For PR351: * Remove #inclusion of FileUtilities.h, not needed any more. * Convert getUniqueFilename -> sys::Pat::makeUnique() git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18948 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
51ab8ec66ed8259d842490055659027a58a77910 |
14-Dec-2004 |
Reid Spencer <rspencer@reidspencer.com> |
For PR351: Adjust to changes in the interface of FindExecutable, getting ToolRunner ready for bigger things to come. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18919 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
e4874029c37c4b14d0646289f18e5f2a1b03fdc2 |
13-Dec-2004 |
Reid Spencer <rspencer@reidspencer.com> |
LinkModules is now in the Linker class git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18863 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
iscompilation.cpp
|
a564845f838cb9e56e6df5106ad57d91552e6568 |
29-Nov-2004 |
Reid Spencer <rspencer@reidspencer.com> |
Shared library extension is now in LTDL_SHLIB_EXT git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18353 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
bf714df962e8d387f530d40d1f040863db8009e8 |
25-Nov-2004 |
Reid Spencer <rspencer@reidspencer.com> |
Add LLVMbzip2 library, now required. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18255 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
|
fa1af1344910ee975f50ffdddf605c26f80ef016 |
19-Nov-2004 |
Chris Lattner <sabre@nondot.org> |
Fix a bug in the checkin where I adjusted this code to work when LinkModules nukes the second module argument. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17986 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
d29c636a00cfa13c2ba8f4f25e07dd821d9b395d |
18-Nov-2004 |
Chris Lattner <sabre@nondot.org> |
Remove debugging code, unneuter this functionality git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17963 91177308-0d34-0410-b5e6-96231b3b80d8
istReducer.h
|
a269ec7b0a83d3b20730fd2d9f7c3ed5a552da90 |
18-Nov-2004 |
Chris Lattner <sabre@nondot.org> |
remove debugging code git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17962 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
90c18c5c69d9c451e5fdca1e4b4b95e8ed13291a |
16-Nov-2004 |
Chris Lattner <sabre@nondot.org> |
Make this code not depend on LinkModules leaving the second argument unmolested. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17874 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
istReducer.h
iscompilation.cpp
|
b908356b9324e1b52560ac093515e0e8fbd8544f |
15-Nov-2004 |
Reid Spencer <rspencer@reidspencer.com> |
bugpoint needs LLVMLinker.a now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17804 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
|
605b9e2c5bd1b0c151a0b15d01e6df3aba93d52f |
15-Nov-2004 |
Reid Spencer <rspencer@reidspencer.com> |
Linker.h has a new home. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17801 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
iscompilation.cpp
|
a59145785719462aec77a5995cde54e0a82f8a5b |
09-Nov-2004 |
Nate Begeman <natebegeman@mac.com> |
Allow hbd to be bugpointable on darwin by fixing common and linkonce codegen git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17637 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
34b9071a3da37e5c8e42dfb6f5610260f4c87b22 |
07-Nov-2004 |
Reid Spencer <rspencer@reidspencer.com> |
Enable compression by default. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17566 91177308-0d34-0410-b5e6-96231b3b80d8
ptimizerDriver.cpp
|
6cb21d443eff9369e4f9035af28efd627e8f3909 |
28-Oct-2004 |
Reid Spencer <rspencer@reidspencer.com> |
Change Library Names Not To Conflict With Others When Installed git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17286 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
|
40a955ab051d1c265419ce8d0431714f043d907b |
22-Oct-2004 |
Reid Spencer <rspencer@reidspencer.com> |
We're not doing automake any more git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17168 91177308-0d34-0410-b5e6-96231b3b80d8
akefile.in
|
cac731ecbe6a80e0c607ece2833525a92601db99 |
22-Oct-2004 |
Reid Spencer <rspencer@reidspencer.com> |
We won't use automake git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17155 91177308-0d34-0410-b5e6-96231b3b80d8
akefile.am
|
86d341b204171d53a470c361ee58811bfc22bf1a |
19-Oct-2004 |
Reid Spencer <rspencer@reidspencer.com> |
Initial automake generated Makefile template git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17136 91177308-0d34-0410-b5e6-96231b3b80d8
akefile.in
|
792558898fc8d79fd208a0b0bf8248b62139ff03 |
18-Oct-2004 |
Nate Begeman <natebegeman@mac.com> |
Pass -single_module option to gcc when linking dynamic libraries for use with bugpoint, so that we can bugpoint multiple .cp files git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17102 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
d96cb6eaa0a878467d9594a12dfe3a55466706f0 |
13-Oct-2004 |
Reid Spencer <rspencer@reidspencer.com> |
Update to reflect changes in Makefile rules. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16950 91177308-0d34-0410-b5e6-96231b3b80d8
akefile.am
|
fc6723f659c79eb877f4b32b10905af8d4a3d086 |
12-Oct-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
No space allowed between \ and end-of-line git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16940 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
|
2c9039eb1a2c6878603def7db148135958ac5c8d |
12-Oct-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
Wrap lines at 80 cols git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16939 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
|
90a2adc8669e6a8529a09353bfcee116c998e4f1 |
11-Oct-2004 |
Reid Spencer <rspencer@reidspencer.com> |
Initial version of automake Makefile.am file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16894 91177308-0d34-0410-b5e6-96231b3b80d8
akefile.am
|
b12914bfc0f76a7a48357162d5f4c39a1343e69b |
20-Sep-2004 |
Chris Lattner <sabre@nondot.org> |
'Pass' should now not be derived from by clients. Instead, they should derive from ModulePass. Instead of implementing Pass::run, then should implement ModulePass::runOnModule. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16436 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.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
ugDriver.cpp
rashDebugger.cpp
xecutionDriver.cpp
xtractFunction.cpp
iscompilation.cpp
ptimizerDriver.cpp
oolRunner.cpp
oolRunner.h
ugpoint.cpp
|
7c4c98d9860dfa5a5efbd354589ee64e43b8a5bd |
29-Aug-2004 |
Reid Spencer <rspencer@reidspencer.com> |
Add the LLVMsystem.a library as it is now used for operating system independence of the tool. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16092 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
|
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
ugpoint.cpp
|
891150f0b2a124a75c9f31516182ce864ae69ef8 |
12-Aug-2004 |
Chris Lattner <sabre@nondot.org> |
If the block extractor fails, actually emit the bc file that failed to extract git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15675 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
47b14a4a6a455c7be169cfd312fcbe796f0ad426 |
29-Jul-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
Fix #includes of i*.h => Instructions.h as per PR403. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15334 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
estPasses.cpp
|
7d91e49ff7bcc0fd10a54d45a6185bb05adf3d20 |
24-Jul-2004 |
Chris Lattner <sabre@nondot.org> |
Finally give bugpoint -timeout support! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15163 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
xecutionDriver.cpp
|
e96b2ed2117c25e2ff4c8ba458b7fa98ac756383 |
24-Jul-2004 |
Chris Lattner <sabre@nondot.org> |
Pass timeouts into the low level "execute program with timeout" function git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15160 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
62c91fcda50df5a543fad4bca572f309180580c5 |
24-Jul-2004 |
Chris Lattner <sabre@nondot.org> |
Provide timeout values to all abstract interpreters git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15159 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.h
|
eed80e23751ecc50c1fa5604f67be4b826d5b417 |
23-Jul-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
* Convert "\n" -> '\n' * Print out another '\n' after printing out program execution status * Make sure code wraps at 80 cols git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15123 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
rashDebugger.cpp
xecutionDriver.cpp
iscompilation.cpp
ugpoint.cpp
|
7848e68c1635ccba5a08d55314d4e5aed5ab54b9 |
21-Jul-2004 |
Brian Gaeke <gaeke@uiuc.edu> |
These files don't need to include <iostream> since they include "Support/Debug.h". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15089 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
xtractFunction.cpp
oolRunner.cpp
|
e312e156c3fd39481460f97b666e8fb5eca13346 |
19-Jul-2004 |
Chris Lattner <sabre@nondot.org> |
Err, fix last checkin git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14995 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
5fbf29ce5322d619fec4a42d6f821ed6134913ee |
19-Jul-2004 |
Chris Lattner <sabre@nondot.org> |
Fix bugpoint miscompilation support on OS/X Patch contributed by the fabulous Nate Begeman. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14994 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
518310cb0d136906ff0a99d7a24cb460794de5bf |
18-Jul-2004 |
Reid Spencer <rspencer@reidspencer.com> |
bug 122: - Replace ConstantPointerRef usage with GlobalValue usage git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14953 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
b3998ec5c5865c5c06935065a73b9519190daba1 |
16-Jul-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
Correctly build shared objects on MacOS X for debugging code generators git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14892 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
4d143ee01988e1b52e106ffccbb313937ca5e886 |
16-Jul-2004 |
Chris Lattner <sabre@nondot.org> |
IA64 compat git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14867 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
|
4a1de8b25044a6bd8ca2d113d1a6eb907d222e4c |
11-Jul-2004 |
Chris Lattner <sabre@nondot.org> |
Add -load option git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14740 91177308-0d34-0410-b5e6-96231b3b80d8
ugpoint.cpp
|
86f42bdad93677fa0ca33b27afb0f493028376cb |
04-Jul-2004 |
Reid Spencer <rspencer@reidspencer.com> |
Add #include <iostream> since Value.h does not include it any more. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14623 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
xtractFunction.cpp
|
008248f2c098f7680b5b393d6e3006cd7d974b77 |
23-Jun-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
Linker.h moved to include/llvm/Support git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14351 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
iscompilation.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
ugpoint.cpp
|
9231ac8b6f2c3f9877bdb7a223f7392061258ab6 |
25-May-2004 |
Reid Spencer <rspencer@reidspencer.com> |
Convert to SymbolTable's new iteration interface. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13754 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
|
7507c297d08517dd22a1190bf46a5c6510ab5a0d |
12-May-2004 |
Chris Lattner <sabre@nondot.org> |
Turn the block extractor on by default now that it basically works, eliminating the option. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13502 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
68bee938e539d884ee89ce4dfebbad777896960e |
12-May-2004 |
Chris Lattner <sabre@nondot.org> |
Check to see if all blocks are extractible first. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13491 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
b83c0f3f6391e5f8039305ec267f7cd43ffb4de9 |
12-May-2004 |
Chris Lattner <sabre@nondot.org> |
Don't leave dead bytecode.output files around if the optimizer/block extractor crashes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13477 91177308-0d34-0410-b5e6-96231b3b80d8
ptimizerDriver.cpp
|
2290e754061f1393bb96b1808ac33dc03399c939 |
12-May-2004 |
Chris Lattner <sabre@nondot.org> |
Implement the final missing bits for block extractor support. Now bugpoint can extract basic blocks up to the limit of the block extractor implementation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13475 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
5e783ab0b5fc3407ec59f1a598fdb9ef3b96b287 |
11-May-2004 |
Chris Lattner <sabre@nondot.org> |
Implement basic block extraction for the miscompilation debugger. This still needs two things: the FIXME in ExtractBlocks needs to be implemented, and the basic block extractor itself needs to have enough bugs fixed for this to be more or less useful. Until the time that this is generally useful, it is hidden behind the new bugpoint -enable-block-extraction option. I hope to get the FIXME done tonight. Also of note, this patch adds a -extract-bbs option to bugpoint which can be used to debug the block extractor. (hint hint Misha :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13471 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
xtractFunction.cpp
iscompilation.cpp
|
1c2f68631e7710343bb7ba11b082ac91bdb9374d |
11-May-2004 |
Chris Lattner <sabre@nondot.org> |
A class that is meant to be a base class should have a virtual destructor git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13470 91177308-0d34-0410-b5e6-96231b3b80d8
istReducer.h
|
60083e2fc0f1165b7511757449f1ee3852b7229c |
07-May-2004 |
Chris Lattner <sabre@nondot.org> |
Use the new commandline flag to allow us to call bugpoint like this: bugpoint ... --tool-args -enable-correct-eh-support -regalloc=linearscan --args -- -foo So that tool-args option gets the -enable-correct-eh-support -regalloc=linearscan flags instead of bugpoint. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13389 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
|
817d8d304688457ce57296fa8c5c5f62b682aa74 |
06-May-2004 |
Chris Lattner <sabre@nondot.org> |
Remove a really old comment git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13385 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
|
48b008db57cf1ffabf949364622c9ecfe0ec85c4 |
05-May-2004 |
Brian Gaeke <gaeke@uiuc.edu> |
Apply simplification suggested by Chris: why assign() when operator = will do? git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13364 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
oolRunner.h
|
636df3d7ec51a8c6fd759a98853ff709ae54d64e |
04-May-2004 |
Brian Gaeke <gaeke@uiuc.edu> |
Add --tool-args flag which lets you pass arguments to llc or lli. This is intended to address Bug 40. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13358 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
|
d11577b68b442217153ecbcc93b978a5a700a8ed |
04-May-2004 |
Brian Gaeke <gaeke@uiuc.edu> |
Add "Args" optional argument to AbstractInterpreter factory methods, which fills in a ToolArgs vector in the AbstractInterpreter if it is set. This ToolArgs vector is used to pass additional arguments to LLI and/or LLC. This is intended to address Bug 40. Also, make -debug-only=toolrunner work for the LLC and CBE AbstractInterpreters. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13356 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
oolRunner.h
|
f4789e6d04c1fddb40092a1193c4a5eb67387acc |
23-Apr-2004 |
Chris Lattner <sabre@nondot.org> |
Teach bugpoint to be a little bit smarter and avoid repeating work git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13132 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
123f8fec94d1f22d876382897231868c62f8eabb |
22-Apr-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
Add a space before result for readability on the command line. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13109 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
8c194eaa0577a207bb1ea91bf2c2a5e664fce9ee |
21-Apr-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
Add doxygenified comments to functions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13097 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
de4803d0af6824a2d5da41fa09b512084c73ce34 |
19-Apr-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
As per Chris, greatly simplify handling of external functions by using the wrapper idea uniformly: we can use Value::replaceAllUsesWith() instead of special-casing by class of user. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13063 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
b687d82b029ba448b978e2c9ed424ee5d1f9f093 |
19-Apr-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
* Reorder #includes * Wrap a long line git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13061 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
|
dc7fef83dcab053f86119d00478e6b008166fcf5 |
19-Apr-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
Finally implement rewriting global initializers which use external functions by creating an internal wrapper function with same signature as the external function, and use it instead of the "real" function. The wrapper then calls the external function using the same JIT function resolution API that has been used before for rewriting instructions, since the wrapper has an explicit call instruction which we can rewrite. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13054 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
36ee07ff9d26a2c6ebf9faf9ba90923644db29c5 |
12-Apr-2004 |
Chris Lattner <sabre@nondot.org> |
Disambiguate symbols after loop extraction so that we can diagnose a code generator bug if multiple loops are extracted from a function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12847 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
2423db0e8577e769ac5ad4e567808e43daf37945 |
10-Apr-2004 |
Chris Lattner <sabre@nondot.org> |
Fix an obvious bug in the refactoring I did a few days ago git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12797 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
b04da8a3c6488fe396c6d61eec9980598b8c84ae |
06-Apr-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
Wrap at 80 cols. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12701 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
|
a57d86b436549503a7f96c5266444e022bdbaf55 |
06-Apr-2004 |
Chris Lattner <sabre@nondot.org> |
Merge the code generator miscompilation code into the optimizer miscompilation code. This "instantly" gives us loop-extractor power to assist with the debugment of our nasty codegen issues. :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12678 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
odeGeneratorBug.cpp
iscompilation.cpp
|
11b8cd197a740bc9af2f27cb88d535c4be2cdd0e |
06-Apr-2004 |
Chris Lattner <sabre@nondot.org> |
Make a method public git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12677 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
|
9ae427a14c974390474db846ca8316698ace64b2 |
05-Apr-2004 |
Chris Lattner <sabre@nondot.org> |
Minor cleanups, remove some old debug code git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12676 91177308-0d34-0410-b5e6-96231b3b80d8
odeGeneratorBug.cpp
|
b15825b0a29e527b361b63a6e41aff5fdb8fdd5a |
05-Apr-2004 |
Chris Lattner <sabre@nondot.org> |
Refactor and genericize code git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12675 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
8505c867b1ff74cded2cf8ec211584b965683388 |
05-Apr-2004 |
Chris Lattner <sabre@nondot.org> |
lli no longer takes the -quiet option! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12674 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
30878f42c27d48be67717e3c2248cbda99cbe2fe |
05-Apr-2004 |
Chris Lattner <sabre@nondot.org> |
Make full use of the Mangler interface to simplify code git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12671 91177308-0d34-0410-b5e6-96231b3b80d8
odeGeneratorBug.cpp
|
af48fa8259decb0d5a7fe726c58bf00d10085c3d |
05-Apr-2004 |
Chris Lattner <sabre@nondot.org> |
Minor change git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12655 91177308-0d34-0410-b5e6-96231b3b80d8
odeGeneratorBug.cpp
|
fb4b96e77e2930bf3d0c148f1c3685b6a4434666 |
02-Apr-2004 |
Chris Lattner <sabre@nondot.org> |
Minor speedup git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12612 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
02bb481881fe6aaa876f9bf79f38f40f56a35a01 |
02-Apr-2004 |
Chris Lattner <sabre@nondot.org> |
minor formatting change git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12606 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
5313f23b8c3d22a2028beb731c60fc1a25beb149 |
02-Apr-2004 |
Chris Lattner <sabre@nondot.org> |
Fix two pretty serious bugs: 1. Each time the loop extractor extracted a loop, we would leak a module. 2. When we extracted a loop, we didn't add the new function to the list of miscompiled functions. Thus if the bug was in a loop nest and we extracted it, we could actually *LOSE THE BUG*, which is very bad. With these patches, bugpoint has successfully found a bug for me in a function with several nested loops, and cut it down to just one of them. :) :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12605 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
87ab7e994fb20ae5bfcb18fa7587d0fc2d55481a |
02-Apr-2004 |
Chris Lattner <sabre@nondot.org> |
Fix a fairly nasty bug that prevented bugpoint from working quite right when hacking on programs with two functions that have the same name. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12604 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
58d84ced5f7367335e43ea54e5daf32a4fdaefb6 |
02-Apr-2004 |
Chris Lattner <sabre@nondot.org> |
If the program returns a non-zero exit value, don't leave files laying around git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12603 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
|
d3a533d94dae1e57194001af08763eb3ba199c8f |
17-Mar-2004 |
Chris Lattner <sabre@nondot.org> |
When loop extraction succeeds, make sure to map the function pointers over to avoid dangling references. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12470 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
7fa44fca308a0f8d13d981c2460ddb6de5a7b667 |
17-Mar-2004 |
Chris Lattner <sabre@nondot.org> |
Fix an inverted condition that causes us to think that loop extraction accomplished something when it really did not. This does not fix the bigger problem tho. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12469 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
9d5968dd51c651570c37117cb03117f8526fd62a |
17-Mar-2004 |
Chris Lattner <sabre@nondot.org> |
Fix an iterator invalidation problem in a "buggy" pass git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12468 91177308-0d34-0410-b5e6-96231b3b80d8
estPasses.cpp
|
002dbddccdce9422ed4aa53ad1102bda154237fa |
16-Mar-2004 |
Chris Lattner <sabre@nondot.org> |
Fix thinko, and PR292 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12426 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
a1cf1c8c87f10f12343ff6ae75f332390e7205ab |
14-Mar-2004 |
Chris Lattner <sabre@nondot.org> |
After reducing a miscompiled program down to the functions which are being miscompiled, try to use the loop extractor to reduce the program down to a loop nest that is being miscompiled. In practice, the loop extractor appears to have too many bugs for this to be useful, but hopefully they will be fixed soon... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12398 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
iscompilation.cpp
|
44a64bccac869cf92885ccc957dbc92ad150ae7d |
14-Mar-2004 |
Chris Lattner <sabre@nondot.org> |
Fix a minor bug in runPassesOn git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12397 91177308-0d34-0410-b5e6-96231b3b80d8
ptimizerDriver.cpp
|
0a002569003fd23a4e117fe54a9bb8a6673b86da |
14-Mar-2004 |
Chris Lattner <sabre@nondot.org> |
Add a new "AutoDebugCrashes" option git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12396 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
ptimizerDriver.cpp
|
a75766a6c14b364b74b30546802e26d4b4b36a9b |
14-Mar-2004 |
Chris Lattner <sabre@nondot.org> |
Refactor to use a new method git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12395 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
3b6441e1050a9a2a55c79f58513191b3195fdaf7 |
14-Mar-2004 |
Chris Lattner <sabre@nondot.org> |
Add new method git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12394 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
ptimizerDriver.cpp
|
efdc0b505712d1ca4460def27e51c430f033d58d |
14-Mar-2004 |
Chris Lattner <sabre@nondot.org> |
Refactor and clean up a bunch more code. No major functionality changes. * Make several methods of bugdriver global functions (ParseInputFile, PrintFunctionList) * Make PrintFunctionList truncate the output after 10 entries, like the crash debugger did. This allows code sharing. * Add a couple of methods to BugDriver that allows us to eliminate some friends * Improve comments in ExtractFunction.cpp * Make classes that used to be friends up bugdriver now live in anon namespaces * Rip a bunch of functionality in the miscompilation tester into a new TestMergedProgram function for future code sharing. * Fix a bug in the miscompilation tester induced in my last checkin git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12393 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
ugDriver.h
odeGeneratorBug.cpp
rashDebugger.cpp
xtractFunction.cpp
iscompilation.cpp
|
7546c3884a400b72d10fc19f120c6798b294a39d |
14-Mar-2004 |
Chris Lattner <sabre@nondot.org> |
Add a method to extract a loop git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12391 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
xtractFunction.cpp
|
5eda1f2f65941a24ef9a5a85addf4d90eb13fa9d |
14-Mar-2004 |
Chris Lattner <sabre@nondot.org> |
add a fixme git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12388 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
be21ca54e08339ede5dd4bbb882182d22e274988 |
14-Mar-2004 |
Chris Lattner <sabre@nondot.org> |
Refactor all of the "splitting a module into two pieces" code to avoid code duplication. Also, don't use ReduceMiscompilingFunctions::TestFuncs to print out the final message. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12387 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
ugDriver.h
odeGeneratorBug.cpp
xtractFunction.cpp
iscompilation.cpp
|
b2c180f04e4f71a29c8c4a2478179cb1ddd5d859 |
13-Mar-2004 |
Chris Lattner <sabre@nondot.org> |
Fix the "infinite looping unless you disable adce" bug Also remove an option to disable adce :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12359 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
xtractFunction.cpp
|
744b5fb93f86e35093ea6379ae3b9c3f9cac75a9 |
12-Mar-2004 |
Brian Gaeke <gaeke@uiuc.edu> |
Revise comment and error message for the Bug 38 situation. Also, make it print out the name of the function being used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12347 91177308-0d34-0410-b5e6-96231b3b80d8
odeGeneratorBug.cpp
|
5110bed0a0f385e4d72380f361a77c87bff91091 |
20-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
If bugpoint can't match the reference output, at LEAST provide the output we can get. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11653 91177308-0d34-0410-b5e6-96231b3b80d8
odeGeneratorBug.cpp
|
bdc9784613e6ad0292edcd414cdb7b8b3ca19996 |
20-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
Wild and passionate uncontrolled goose chases are amusing to watch, but not very helpful. Let bugpoint favor being helpful instead of determined. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11652 91177308-0d34-0410-b5e6-96231b3b80d8
odeGeneratorBug.cpp
|
47dd2766f205d0f2b2eaa624cc20a032402b611e |
20-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
Format a bit more nicely git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11651 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
|
3733f3be73e1034bc2fb6201a3d5657011fe725b |
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@11634 91177308-0d34-0410-b5e6-96231b3b80d8
ugpoint.cpp
|
7c955fdb446fa0629e1341f88f4541ee9a929942 |
19-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
Be a bit more robust. Explicitly check for a code generator crash. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11624 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
|
1d29a6d6c7a7f6203065c003d3d2d002870e38a1 |
19-Feb-2004 |
Alkis Evlogimenos <alkis@evlogimenos.com> |
Make ToolExecutionError inherit std::exception and implement its interface: getMessage() is gone, use what() instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11621 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
oolRunner.cpp
oolRunner.h
ugpoint.cpp
|
f66d9069cff9ee8b3658b92d3a13d04d198ada91 |
19-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
Fix the "horribly N^2'd" problem when deleting individual instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11617 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
|
8b189277bde5f617405dded0bbd6583e6665f4df |
19-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
* Predicate the optimizer crash debugger on a function. * Implement a new code generator crash debugger which uses this predicate git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11614 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
|
ea9212ca964ff6587227016f86a44160e586a4c8 |
19-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
Add a new method for use by the code generator crash debugger. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11613 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
xecutionDriver.cpp
|
ca005120082385026fd80fe76946fc446d3c9d33 |
19-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
Don't crash if there are no passes in the PassesToRun list git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11612 91177308-0d34-0410-b5e6-96231b3b80d8
ptimizerDriver.cpp
|
9cbbee332f3c4e3531cc8b13d6d8b427034c6a23 |
19-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
Add support for just running the code generator git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11611 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
f03715c6a869c9838c4510693e74f796da7589eb |
19-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
Add support for just compiling a program git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11610 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.h
|
9709272675feaca030cce14d0f5eb7f342b3fc1d |
18-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
Make the executeProgram method exception safe, not leaving around bytecode files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11607 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
|
0cc8807029f577996a442b96d24c3346ed6de091 |
18-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
Make more stuff public. Make the instruction argument to deleteInstructionFromProgram be const git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11606 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
xtractFunction.cpp
|
a36ec88203a979a686b0ed1d49e0d7039194f040 |
18-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
make a bunch of methods public git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11605 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
|
f913f40be8501738fa4bdcae2015dd196dcbfc50 |
18-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
A couple of minor cleanups: don't forward declare private classes, put private classes in an anon namespace git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11604 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
rashDebugger.cpp
iscompilation.cpp
|
06905db7d2a2b83c1b3236d5552629ada2d8d56d |
18-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
Cleanup and simplify manipulation of the program, eliminate the need for so many 'friends' of bugdriver. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11603 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
ugDriver.h
rashDebugger.cpp
|
025262692a6710de29a48e2b3905672cd12d13d2 |
18-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
Add a stub for debugging code generator crashes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11602 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
ugDriver.h
rashDebugger.cpp
iscompilation.cpp
|
a3de11783f04a53ffb625a7ced7d6080705c9762 |
18-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
indent correctly git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11601 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
722ca7128541c0fd09ae3da92bde95b9925bb6a4 |
18-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
Don't yell. BUGPOINT should yell, not the tool runner :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11600 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
7bb11547e497d7b8fc87f61c1089eee808e3a1ee |
18-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
Update comments, if we are running with the CBE, make sure the Interpreter variable and the CBE variable are pointer equal. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11599 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
xecutionDriver.cpp
|
c8580b2aee8e0a93eb7dd2d70c81ccb33e447538 |
18-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
Byebye method git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11598 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.h
|
89bf9ea65e83333bf3ebbf140b6eb07b41ecae64 |
18-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
If there is an error running a tool, include the error message (e.g. assertion failure) in the exception git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11597 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
5dcc3664b586b7efa64959d86280586e6302fcfa |
18-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
ctor arguments changed order git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11595 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
|
230fef8b11a9faa7eda31c34a22a3085e2aa8e04 |
18-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
Catch exception and print message as appropriate git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11594 91177308-0d34-0410-b5e6-96231b3b80d8
ugpoint.cpp
|
8c56be5e2b860ce5f22ed157c1b02409c353749c |
18-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
When an error occurs executing a tool, we now throw an exception instead of calling exit(1). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11593 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
oolRunner.h
|
74d4527e4038bf0e9a0e11edf09adf80c38eed85 |
18-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
Bugpoint will be throwing exceptions soon, perpare for the worst. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11584 91177308-0d34-0410-b5e6-96231b3b80d8
ugpoint.cpp
|
c064e8930f15ef81c7734d30169c0f445a929722 |
18-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
This class got moved to FileUtilities.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11583 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
|
c4601bf2f348092d421a15cedc67008267434a20 |
17-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
The CBE is now in llc, not llvm-dis git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11534 91177308-0d34-0410-b5e6-96231b3b80d8
odeGeneratorBug.cpp
|
9915cd9e9f909b2edc175cf674680af651c47fb0 |
17-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
The C backend is no longer in llvm-dis, it's in llc git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11533 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
df2cf418a8449d60512ab42e14c7a0b2608ce438 |
17-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
The CBE is no longer in llvm-dis git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11532 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.h
|
c5cad211d6ec50fe90a0a716dee701c6c4721385 |
11-Feb-2004 |
Brian Gaeke <gaeke@uiuc.edu> |
Add check-exit-code option, defaulting to true. Add ProgramExitedNonzero argument to executeProgram(), and make it tell its caller whether the program exited nonzero. Move executeProgramWithCBE() out of line, to ExecutionDriver.cpp, and remove its extra arguments which are always defaulted. Make it turn off check-exit-code if the program exits nonzero while generating a reference output. Make diffProgram() assume that any nonzero exit code is a failure, if check-exit-code is turned on. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11325 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
xecutionDriver.cpp
|
7f7d16b62f9789c378a489a65ad51d50687c4c36 |
26-Jan-2004 |
John Criswell <criswell@uiuc.edu> |
Fixes for PR214. Use the SHLIBEXT variable instead of hardcoding .so into every file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10976 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
fa76183e8e28985dfd17b1d6291c939dab4cbe1d |
14-Jan-2004 |
Chris Lattner <sabre@nondot.org> |
finegrainify namespacification git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10839 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
odeGeneratorBug.cpp
rashDebugger.cpp
xecutionDriver.cpp
iscompilation.cpp
ptimizerDriver.cpp
|
2cdd21c2e4d855500dfb53f77aa74da53ccf9de6 |
14-Dec-2003 |
Chris Lattner <sabre@nondot.org> |
Finegrainify namespacification git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10464 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
de9750def7c5ca6cb789f3bba7c913e237cdf849 |
07-Dec-2003 |
Chris Lattner <sabre@nondot.org> |
Bugpoint had appalingly bad grammar. Fix some of it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10308 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
1b747167daf07a98f0ec33144b257c987c60e11d |
07-Dec-2003 |
Chris Lattner <sabre@nondot.org> |
Do not leave a bunch of crud lying around git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10307 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
043b9722f5660e613fd06f2df9b16298384a3f34 |
29-Nov-2003 |
Chris Lattner <sabre@nondot.org> |
be 3.4 happy git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10265 91177308-0d34-0410-b5e6-96231b3b80d8
istReducer.h
|
c6b519d64ef55d39e66a49510d4703a49bf228cc |
23-Nov-2003 |
Chris Lattner <sabre@nondot.org> |
Do not DESTROY programs by default. No wonder bugpoint was not being useful all this time! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10175 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
8bc098be0cce48dcc08fea746d28011cac79eef6 |
22-Nov-2003 |
Chris Lattner <sabre@nondot.org> |
Do not crash when dealing with invoke and unwind instructions! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10160 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
|
89eca9097dfdae6296d4f32b6b74e2362e5de686 |
22-Nov-2003 |
Chris Lattner <sabre@nondot.org> |
Use new interfaces git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10159 91177308-0d34-0410-b5e6-96231b3b80d8
odeGeneratorBug.cpp
|
c8db76c647c93a79f66b094a2db3eaccb14cbae4 |
18-Nov-2003 |
Brian Gaeke <gaeke@uiuc.edu> |
Only use -Wl,-R. if HAVE_LINK_R. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10066 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.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
ugDriver.cpp
ugDriver.h
odeGeneratorBug.cpp
rashDebugger.cpp
xecutionDriver.cpp
xtractFunction.cpp
istReducer.h
iscompilation.cpp
ptimizerDriver.cpp
estPasses.cpp
oolRunner.cpp
oolRunner.h
ugpoint.cpp
|
fcb6ec0c7e37c2d15ddb04878f05cbd69d1da036 |
05-Nov-2003 |
Chris Lattner <sabre@nondot.org> |
I hate it when bugpoint is all ready to give me a bytecode file, then crashes in final cleanups. Then you had to run the whole mess again with -disable-final-cleanups. This makes bugpoint run the cleanups in a protected environment so that if they crash, bugpoint itself doesn't crash. This makes things much happier, implements a FIXME, and gets rid of YABPO (yet another bugpoint option). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9743 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
odeGeneratorBug.cpp
rashDebugger.cpp
xtractFunction.cpp
|
417477d6c2163e428be4e8ae9754518d877219df |
05-Nov-2003 |
Chris Lattner <sabre@nondot.org> |
Simplify the performFinalCleanups interface git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9740 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
odeGeneratorBug.cpp
rashDebugger.cpp
xtractFunction.cpp
|
73b96bd52d9361d5c947e4fb660a46e498f7b407 |
27-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
Do not print out lists with thousands of elements in them, that's kinda silly git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9523 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
|
5da69c79f9c4490c6657c207430dfeb1060fc4dd |
23-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
Fix an assertion failure in Bugpoint git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9406 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
b5ee509be2ce78badc11fd649dda90ec78394d1a |
21-Oct-2003 |
Brian Gaeke <gaeke@uiuc.edu> |
Fix the first FIXME in this file: automatically pick a "good" interpreter by default, by picking the first one that works from a hard-coded list. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9337 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
|
e2fab734ade8a2e3e8679c11cac7236b920d567b |
21-Oct-2003 |
John Criswell <criswell@uiuc.edu> |
Added LLVM copyright to Makefiles. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9314 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
|
6fbcc26f1460eaee4e0eb8b426fc1ff0c7af11be |
20-Oct-2003 |
John Criswell <criswell@uiuc.edu> |
Added LLVM copyright header (for lack of a better term). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9304 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.h
|
06ea151895e220516da4831ac226ada092311f99 |
20-Oct-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
Made error message more comprehensible. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9299 91177308-0d34-0410-b5e6-96231b3b80d8
odeGeneratorBug.cpp
|
b576c94c15af9a440f69d9d03c2afead7971118c |
20-Oct-2003 |
John Criswell <criswell@uiuc.edu> |
Added LLVM project notice to the top of every C++ source file. Header files will be on the way. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9298 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
943211187d72eb27d4f54de9ac7e5786e72b38e1 |
20-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
fix file headers git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9293 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
ugDriver.h
odeGeneratorBug.cpp
rashDebugger.cpp
xecutionDriver.cpp
xtractFunction.cpp
istReducer.h
iscompilation.cpp
ptimizerDriver.cpp
estPasses.cpp
ugpoint.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
ugDriver.cpp
ugDriver.h
odeGeneratorBug.cpp
rashDebugger.cpp
xecutionDriver.cpp
xtractFunction.cpp
istReducer.h
iscompilation.cpp
ptimizerDriver.cpp
estPasses.cpp
ugpoint.cpp
|
9fc2adc48781da63b2554d40960d0e63de238add |
20-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
Don't bother forwarding function references which are external to the program entirely git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9274 91177308-0d34-0410-b5e6-96231b3b80d8
odeGeneratorBug.cpp
|
6ebe44d22f6dd1ab9f7aa1f3cfd02be52145d535 |
19-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
Ok, return an explicit path to the shared object, unbreaking code generator debugging with the JIT git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9273 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
|
b656c20cf1e09dbf8ba6dabaaba423790c7a0fa8 |
19-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
Fix iterator invalidation problem git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9272 91177308-0d34-0410-b5e6-96231b3b80d8
odeGeneratorBug.cpp
|
0b1fe84e810f3b424009aef90f8c667c5c1c5784 |
19-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
Add debugtype, make output marginally more nice git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9251 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
7b2ccffa594e9bdecddfa1f76a8ca2ae2c377084 |
19-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
Fix PR #47 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9250 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
365f09a0e11c2e2053a8c5f0ade7d78a54f70b37 |
18-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
Update compile information git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9247 91177308-0d34-0410-b5e6-96231b3b80d8
odeGeneratorBug.cpp
|
670406d269283c8a7045a5b55c78049222cd3a07 |
18-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
Add usage blurb git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9246 91177308-0d34-0410-b5e6-96231b3b80d8
ugpoint.cpp
|
1f0f1621f0be4efdf4b2d20046f7d081863b817e |
18-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
Without this option, the -run-llc mode does not work with shared objects at all, making it pointless for use with the code generator debugger. With it, it works like a charm. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9245 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
b715497a564bac60fef22d8927eff7a03ce0698c |
18-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
Print -fno-strict-aliasing as well git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9243 91177308-0d34-0410-b5e6-96231b3b80d8
odeGeneratorBug.cpp
|
1a28a2b76d16913fe38f47032d31620a55dcce2e |
18-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
Don't leave a trail of bugpoint-execution-output-* breadcrumbs all over the place git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9242 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
|
367e1ee5bebc3542b55df61cd280bd6166057e51 |
18-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
Change run-lli -> run-int Many people associate lli with the jit, so we don't want to suprise them git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9238 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
|
25d66473c620b6b01e301b9cfabdbedace96608e |
18-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
Default to using the CBE instead of the Interpreter if no -run-* option is specified git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9237 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
|
a12c06a9fe4bec90ab420946ee0b7beaed9f7263 |
18-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
If we detect a pass crash during miscompilation testing, immediately enter the crash debugger git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9234 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
a64c3fa47e39f74c6e1f8d82249a719d6c696970 |
18-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
Fix bug in my checkin git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9217 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
9f71e799c3e6e4cc0c71de82bda81f8753e82942 |
18-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
Another formatting fix git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9216 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
5ef681c19de9c675a265211f8fb0ae49cc3a3a66 |
18-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
More cleanups git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9215 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
9c6cfe1bffd37f29a265457b7515839c445b3e6a |
18-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
Be more helpful if a pass fails while chasing down a miscompilation git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9214 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
iscompilation.cpp
|
b6c3a88dc4c749e88fdd68368d74ccfb37d506a3 |
15-Oct-2003 |
Brian Gaeke <gaeke@uiuc.edu> |
Flush output after writing out the list of function names. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9138 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
|
7dac658792425c10274594782d6fcf10208a16f0 |
15-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
add support forloading additional .so files on the command line git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9131 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
|
769f1fe6728ffb5627ae0cedc392576d6e701a5a |
14-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
Change the execute methods to take the shared object filename by const reference. Other adjustments to work with the new ToolRunner interfaces git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9130 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
odeGeneratorBug.cpp
xecutionDriver.cpp
|
eeed98382158c5049e7700c768a74b9122fffd71 |
14-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
Generalize abstract interpreter interface to allow linking in an arbitrary number of shared objects git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9129 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
oolRunner.h
|
7915a1e764a5472d89a5ea40fbc22515afc5abf2 |
14-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
Substantial cleanups: * Add header comment * Remove extraneous #includes * Move the FileType enum into the GCC class * The GCC class is not virtual. * Move all of the "constructor" functions into the classes themselves * Stop using cl::list as arguments, use std::vector instead (which cl::list derives from) * Improve comments git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9121 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
oolRunner.h
|
a0f5b15e1eb8642d92b3141a6b88a5729ea979dc |
14-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
The return value of compileSharedObject was never used. Return the shared object's name instead git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9120 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
odeGeneratorBug.cpp
xecutionDriver.cpp
|
1798e4ade88c1fccfc290846f588c1d1261a5299 |
14-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
Actually return an error if something bad happens, don't just exit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9119 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
8deb5814a1e648d80c0d4dc4556ebb0cdfedf147 |
14-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
minor cleanups git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9118 91177308-0d34-0410-b5e6-96231b3b80d8
odeGeneratorBug.cpp
|
182a21ea7198aa37d971eec05b50d8fedee9220d |
14-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
Fix minor formatting bug git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9116 91177308-0d34-0410-b5e6-96231b3b80d8
odeGeneratorBug.cpp
|
a5a96a9ed9d90014769ffc86ca48c486cf753ad5 |
14-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
Eliminate the bugpoint -mode option, by making bugpoint automatically infer the root of all of your problems git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9115 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
iscompilation.cpp
|
99b85334d70bc5eb110ee5f1af4ff2f63c55f6cb |
13-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
Unbreak code generator debug mode git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9106 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
|
da17eb62f74eb6021703e30df29f5fc6e8aabd0b |
13-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
LLI no longer has -abort-on-exception git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9097 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
ac32bfa54b052181f89e4a1b1259ce0c4d55237d |
10-Oct-2003 |
Brian Gaeke <gaeke@uiuc.edu> |
Don't include <stdlib.h>. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9038 91177308-0d34-0410-b5e6-96231b3b80d8
ptimizerDriver.cpp
|
cf00c4ab3ba308d45d98c5ccab87362cf802facb |
10-Oct-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
Fix spelling. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9027 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
ptimizerDriver.cpp
|
5de0bac111fc9d4e290b9a743a02b866154c12e5 |
07-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
This header file moved. Thanks to Bill and Nightly tester for noticing git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8920 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
|
6873450ed50b37d131f901058688445d0081829c |
06-Oct-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
ToolRunner.h has been moved from include/Support to include/llvm/Support. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8898 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
f4744498042cc69627b3a0b40fe80d3967179ea4 |
30-Sep-2003 |
Chris Lattner <sabre@nondot.org> |
Add a file header git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8781 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.h
|
4148556a9c767fdf3047ae8e004a759356b893dd |
30-Sep-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
Use the newly abstracted interface for running our tools and gcc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8756 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
|
9558c6af7bb60e8d12a8a27c0554dc50c858ef65 |
30-Sep-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
Implementation of the abstraction of running our tools + gcc, taken out of bugpoint for general usage and enjoyment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8754 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.cpp
|
29afb64d5bdb3235c7677ae18f5a05a97a0e9fa0 |
30-Sep-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
Abstracted away the process of running our tools + gcc from bugpoint. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8753 91177308-0d34-0410-b5e6-96231b3b80d8
oolRunner.h
|
79f03d350e426f017696c63a29330d153e0a7932 |
17-Sep-2003 |
Chris Lattner <sabre@nondot.org> |
Use new method git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8573 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
|
67b36e4a2fba4931747cad61979aa92d43002ccc |
12-Sep-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
Bugpoint has the ability of generating a plethora of core files, so to avoid filling up the disk, set the max core file size to 0. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8503 91177308-0d34-0410-b5e6-96231b3b80d8
ugpoint.cpp
|
d1a85a744cc1001c2b7fc37cf37aca266964f519 |
10-Sep-2003 |
Brian Gaeke <gaeke@uiuc.edu> |
Check in the fix I meant to apply here, but mistakenly applied to tools/extract instead..... heh git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8464 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
85544baf5408f13b6ac0ab194cb7f1f739b77515 |
29-Aug-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
Renaming `dis' -> `llvm-dis'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8197 91177308-0d34-0410-b5e6-96231b3b80d8
odeGeneratorBug.cpp
xecutionDriver.cpp
|
c28c1d3cd19bbfcc8eec44f25c5890f8e3ed8bdc |
22-Aug-2003 |
Chris Lattner <sabre@nondot.org> |
Kill warning git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8056 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
|
79063d6c4b6441c672962b9543b6f5fa2876e0bd |
22-Aug-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
Squash the warning that `Result' may not be initialized on all code paths. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8042 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
|
a59f71adea128a7a50f17615b57bc728bdeaf706 |
19-Aug-2003 |
Chris Lattner <sabre@nondot.org> |
no-strict-aliasing redux git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7965 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
|
c13115c6331178d1d351dbeb6e44c0cf93be16ff |
19-Aug-2003 |
Chris Lattner <sabre@nondot.org> |
The CBE generates code which violates the TBAA rules of C, thus we must disable optimizations based on these rules. :( git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7964 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
|
5560c9d49ccae132cabf1155f18aa0480dce3eda |
18-Aug-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
Spell `necessary' correctly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7944 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
istReducer.h
|
57c69416310ea5eb990800fba75ae99016fa1444 |
18-Aug-2003 |
Chris Lattner <sabre@nondot.org> |
Give correct command line for making a shared object git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7929 91177308-0d34-0410-b5e6-96231b3b80d8
odeGeneratorBug.cpp
|
57e5a702d0e3c49c67208bf07212c878d34e73ca |
18-Aug-2003 |
Chris Lattner <sabre@nondot.org> |
Make sure that "newmain" gets names for its arguments git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7927 91177308-0d34-0410-b5e6-96231b3b80d8
odeGeneratorBug.cpp
|
e533cefbc091ee21199fd8c884bce8586d8a4f2e |
18-Aug-2003 |
Chris Lattner <sabre@nondot.org> |
Fix message git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7926 91177308-0d34-0410-b5e6-96231b3b80d8
odeGeneratorBug.cpp
|
3d9cafa003a114bf9974bc80d5b69b0ed1d29290 |
07-Aug-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
File-related functions moved to FileUtilities.h . git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7696 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
odeGeneratorBug.cpp
rashDebugger.cpp
iscompilation.cpp
ptimizerDriver.cpp
|
e49603d79d220a795bd50684c8b1f503ee40f97f |
07-Aug-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
Re-grouped and alphabetized headers for easier reading and cleaner style. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7689 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
odeGeneratorBug.cpp
rashDebugger.cpp
xecutionDriver.cpp
xtractFunction.cpp
iscompilation.cpp
ptimizerDriver.cpp
estPasses.cpp
ugpoint.cpp
|
11c6592daf6512bcafe4338b586acf4c539502ca |
07-Aug-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
Fixed path for SystemUtils.h and a few code cleanups. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7688 91177308-0d34-0410-b5e6-96231b3b80d8
odeGeneratorBug.cpp
|
0bd75bb92d25591b89f5dee08fb343709d792d5b |
07-Aug-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
Moved SystemUtils.h to include/Support and SystemUtils.cpp to lib/Support. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7687 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
rashDebugger.cpp
xecutionDriver.cpp
iscompilation.cpp
ptimizerDriver.cpp
ystemUtils.cpp
ystemUtils.h
|
47ae4a1cee5eec5767a11403c0fac7c91ec45461 |
05-Aug-2003 |
Chris Lattner <sabre@nondot.org> |
If we're debugging the SimplifyCFG pass, we _REALLY_ don't want to use it for narrowing, no matter what. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7596 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
rashDebugger.cpp
xtractFunction.cpp
|
a493ae300b01bae69b66d961b5d67be5d64e129a |
05-Aug-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
Only test the vector of functions if it is non-empty. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7594 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
|
5d3f1f01aa3106561a94e77fd60f2fd70c3fb955 |
04-Aug-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
Do not attempt to reduce a test case if it is an empty set. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7570 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
5cfff2545d5c731bb236d6e5c355bcb59d7abda7 |
04-Aug-2003 |
John Criswell <criswell@uiuc.edu> |
Added code that ensures that we don't try to reduce an empty vector of basic blocks. This fixes the bugpoint regressions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7569 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
|
ca25b956f1f4440c3392eaf0351305b0c81e6124 |
04-Aug-2003 |
Chris Lattner <sabre@nondot.org> |
Make sure to flush the output stream so that we get incremental updates git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7555 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
|
6730c8133ab01d2046c6dbe17c692f537c08c92b |
04-Aug-2003 |
Chris Lattner <sabre@nondot.org> |
Print accurate run instructions for when testing LLC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7554 91177308-0d34-0410-b5e6-96231b3b80d8
odeGeneratorBug.cpp
|
15d11276c1fb16c0b521505bbdbce419f64afc19 |
04-Aug-2003 |
Chris Lattner <sabre@nondot.org> |
Fix problem I introduced in bugpoint with the cleanup functions git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7549 91177308-0d34-0410-b5e6-96231b3b80d8
odeGeneratorBug.cpp
|
c648dabf65c67d20c208ed0b39b9622387e636c7 |
02-Aug-2003 |
Chris Lattner <sabre@nondot.org> |
DEBUG got moved to Debug.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7491 91177308-0d34-0410-b5e6-96231b3b80d8
odeGeneratorBug.cpp
xecutionDriver.cpp
|
65f62790d6e3e7f7ceb9cd12a7a51a66d95a3b03 |
01-Aug-2003 |
Chris Lattner <sabre@nondot.org> |
Use the new FileUtilities library to do diff'ing of files git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7484 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
|
794a58ed197f082c96a1ea33fdb9c6d0a8f151d8 |
01-Aug-2003 |
Chris Lattner <sabre@nondot.org> |
Use the C++, more portable, deleter git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7483 91177308-0d34-0410-b5e6-96231b3b80d8
ystemUtils.cpp
|
10b9fa89a1330d950faf3645b13233f0c0553343 |
01-Aug-2003 |
Chris Lattner <sabre@nondot.org> |
Don't emit modules with lots of cruft hanging off of them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7478 91177308-0d34-0410-b5e6-96231b3b80d8
odeGeneratorBug.cpp
|
587a6ce4b99346b5e785d0a5c360c6c6687b036a |
01-Aug-2003 |
Chris Lattner <sabre@nondot.org> |
Parameterize the performFinalCleanups a bit git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7477 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
xtractFunction.cpp
|
3b624625e7928b1d7b9c118d19f19ab678b5c698 |
30-Jul-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
Ignore intrinsic functions -- don't mangle their names or rewrite calls to them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7438 91177308-0d34-0410-b5e6-96231b3b80d8
odeGeneratorBug.cpp
|
be6bf5668c386fafbd0a7e1b1305b9ac6ab60ce2 |
30-Jul-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
CodeGeneratorBug.cpp: * Temporarily externing InputArgv to print it out for the benefit of LLI command needed to reproduce the result. * Print out the list of functions currently being tested * ListReducer now returns a bool if there was a failure, so test for it ListReducer.h: * Handle the case where there is no problem by returning true if failure is found. Also correctly handles the case when there is only 1 pass/function. Miscompilation.cpp: * ListReducer now returns a bool if there was a failure, so test for it git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7434 91177308-0d34-0410-b5e6-96231b3b80d8
odeGeneratorBug.cpp
istReducer.h
iscompilation.cpp
|
9d679cbc6cb5c7dc8cca87a1e1548c480fb056b8 |
30-Jul-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
* Moved InputArgv out of anonymous scope to be extern'd in another file. * Added DEBUG() statements to print out parameters passed to executing programs * Actually ADD parameters to a program running via the JIT (using vector<char*>) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7433 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
|
800e6e216abaf93e7cc297af0e1e78f24b2d6143 |
30-Jul-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
Moved definition of InputArgv into ExecutionDriver.cpp -- it is only used there. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7427 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
ugpoint.cpp
|
7835c852270da3da66d79d4d18cefda3c8e3019c |
30-Jul-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
Use a vector<char*> instead of char*[] so that we can add arbitrary number of parameters, such as command-line arguments that the executing program gets via bugpoint. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7423 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
|
c1869e85de60c09359250f67474dd03eddc64a3e |
30-Jul-2003 |
Chris Lattner <sabre@nondot.org> |
Add variable to capture arguments that should be passed to the user program This is unused so far. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7422 91177308-0d34-0410-b5e6-96231b3b80d8
ugpoint.cpp
|
de9720ffceb4101d5189ae5dd83e94acfa031e1e |
29-Jul-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
* Disambiguate symbols before we start splitting module by functions * Moved DisambiguateGlobalSymbols() out of the ReduceMisCodegenFunctions class * Added an assert to have a cleaner exit if `main' is not found in the module git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7380 91177308-0d34-0410-b5e6-96231b3b80d8
odeGeneratorBug.cpp
|
c1e39ee659dff413d9c5909a7e9fc4545ffce6c3 |
28-Jul-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
Implemented cleanups as suggested by Chris: * Use Module::getNamedFunction() to delete "main" instead of using a loop * Compare function pointers instead of function names to determine equivalence * Simplified creation of a 2-element vector containing zeroes * Manually performed LICM on code * Added an abort() in case a function we're considering occurs in something that is not an instruction * Use DEBUG() around code sections instead of just in a statement in a loop, because GCC's DCE may not be good enough to completely remove it in a release build * Print out a command that can be directly copied-and-pasted to re-execute * Instead of just checking if a symbol begins with a dot and fixing it accordingly, use Mangler and fix all the problems (invalid chars in C symbol names) entirely * The new `main' function has external linkage git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7371 91177308-0d34-0410-b5e6-96231b3b80d8
odeGeneratorBug.cpp
|
fe04db890b87d9ac4c4a607e6bd0035e8cc2ad6c |
28-Jul-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
Added comment to function isExecutingJIT() git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7370 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
|
91eabc13d3a456cc4b387d3d7fdb041d976732c7 |
28-Jul-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
BugDriver.h: * Added method to query if BugDriver is executing the JIT currently. This provides the ability in adding code that is conditionally executed in codegen debugging phase. CodeGeneratorBug.cpp: * Delete test functions from the Safe module * Code conditionally added when debugging the JIT: use the lazy resolver function added to Emitter.cpp to get function pointer by name. When compiled into an .so, this is the only way to get a pointer to an external function * Added a symbol disambiguator which will keep symbols uniquely named across modules * Delete generated files by default * The function `main' *must* stay in the .bc file for the JIT, but that prevents debugging it alone. This patch makes the old `main' become `old_main' and adds a new function named `main' which just calls the original with the same parameters, thereby keeping functionality the same. ExecutionDriver.cpp: * Returned to getting unique filenames * Simplified code choosing between using and not using shared library option git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7364 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
odeGeneratorBug.cpp
xecutionDriver.cpp
|
a259c9be2acc9528ec7feb3cfd51dcde36d87bb3 |
24-Jul-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
Made a bunch of cleanups, as per Chris' recommendations: * Removed unused global and member variables * Fixed comments (CodeGeneratorBug.cpp) * Check for possibly failing GCC::create() and CBE::create() * Remove generated files after diffing the output (e.g., shared object) * Instead of using std::for_each, use explicit loops as std::for_each may duplicate the functor, and ours carries state * Changed member var from cl::opt<std::string> to just std::string * Fixed doxygen comments * Fixed string comparisons to use [ str.empty() ] instead of [ str == "" ] * Cache instances of CBE and GCC in BugDriver across compilations and executions while testing tools. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7302 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
ugDriver.h
odeGeneratorBug.cpp
xecutionDriver.cpp
|
5073336cd4da5df4ae13a167582d1dc90f32e4e0 |
24-Jul-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
Major addition to bugpoint: ability to debug code generators (LLC and LLI). The C backend is assumed correct and is used to generate shared objects to be loaded by the other two code generators. LLC debugging should be functional now, LLI needs a few more additions to work, the major one is renaming of external functions to call the JIT lazy function resolver. Bugpoint now has a command-line switch -mode with options 'compile' and 'codegen' to debug appropriate portions of tools. ExecutionDriver.cpp: Added implementations of AbstractInterpreter for LLC and GCC, broke out common code within other tools, and added ability to generate C code with CBE individually, without executing the program, and the GCC tool can generate executables shared objects or executables. If no reference output is specified to Bugpoint, it will be generated with CBE, because it is already assumed to be correct for the purposes of debugging using this method. As a result, many functions now accept as an optional parameter a shared object to be loaded in, if specified. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7293 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
ugDriver.h
odeGeneratorBug.cpp
xecutionDriver.cpp
iscompilation.cpp
ugpoint.cpp
|
265789f1559565cd69482c07ede55ca3e4b2d798 |
21-Jul-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
Fixed misspelling. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7223 91177308-0d34-0410-b5e6-96231b3b80d8
ptimizerDriver.cpp
|
bc0e998c497446f5448425b3cbd7f8f19a458764 |
14-Jul-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
The word `separate' only has one `e'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7173 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
ystemUtils.cpp
|
7a73b80b9052136c8cd2234eb3433a07df7cf38e |
30-Jun-2003 |
John Criswell <criswell@uiuc.edu> |
Merged in autoconf branch. This provides configuration via the autoconf system. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7014 91177308-0d34-0410-b5e6-96231b3b80d8
ystemUtils.cpp
|
898e0e42e3c09e9f2098bf9a83720b5a33b52fc7 |
25-Jun-2003 |
Chris Lattner <sabre@nondot.org> |
Try to run cleanups even if nothing was modified in the preview passes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6897 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
|
06c818e71786ee206e53ca87d63e09747119f5f5 |
25-Jun-2003 |
Chris Lattner <sabre@nondot.org> |
Run dead arg elimination, and tell it that it's ok to hack up non-internal functions git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6896 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
52852708714c59baf1b0426bffe5d1546af61d46 |
17-Jun-2003 |
Brian Gaeke <gaeke@uiuc.edu> |
Use $(PLATFORMLIBDL) to selectively bring in -ldl only on those platforms where it is needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6753 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
|
2eb9a257c86d6194ec572d8556f86af97452bebe |
17-Jun-2003 |
Chris Lattner <sabre@nondot.org> |
Actually, change it to use explicit new/delete, which is more likely to be optimized INTO an alloca git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6727 91177308-0d34-0410-b5e6-96231b3b80d8
ystemUtils.cpp
|
5b1688d73be263590c25ca210efa4ebee7534cea |
17-Jun-2003 |
Chris Lattner <sabre@nondot.org> |
Remove usage of alloca git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6726 91177308-0d34-0410-b5e6-96231b3b80d8
ystemUtils.cpp
|
ad95d9ef50cbd789025dbff8a1e018650cbcdc7f |
16-Jun-2003 |
Brian Gaeke <gaeke@uiuc.edu> |
Isolate machine-dependent use of <alloca.h> in "Support/Alloca.h", so that we can easily change its use to be conditional on the result of an autoconf test later. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6723 91177308-0d34-0410-b5e6-96231b3b80d8
ystemUtils.cpp
|
b417c795d2a8832b5edac321dc0d19eca7e3f2f5 |
02-Jun-2003 |
Chris Lattner <sabre@nondot.org> |
Remove stupid thinko that was preventing bugpoint from working git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6533 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
|
24271cf8d78ee4ad181ac0168cf7c2590d40502e |
02-Jun-2003 |
Chris Lattner <sabre@nondot.org> |
Give better information about how the passes crash git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6532 91177308-0d34-0410-b5e6-96231b3b80d8
ptimizerDriver.cpp
|
dae7f92366311de2bfaff91f6e66ef3da2f2fcbc |
23-May-2003 |
Brian Gaeke <gaeke@uiuc.edu> |
Clarify BugDriver.cpp:BugDriver::ParseInputFile()'s return values in its explanatory comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6308 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
|
dbe48dcaec69ff78e39e2d5faf4323ade6fffb04 |
21-May-2003 |
Chris Lattner <sabre@nondot.org> |
Allow disabling final cleanups git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6271 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
28b8ed90c75ce6c271500fa778fef252f267a5ff |
21-May-2003 |
Chris Lattner <sabre@nondot.org> |
Increase odds that this won't bork things git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6267 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
3cbacc90475509a842edb91cc56fe73a5bb5ed00 |
12-May-2003 |
Chris Lattner <sabre@nondot.org> |
Print filename correctly git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6119 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
f479be58f5d956e29c315446d7daa9181fba3193 |
03-May-2003 |
Chris Lattner <sabre@nondot.org> |
Make a comment more accurate git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5991 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
|
cc876a7421f6dbcca98446058d5f0637092c6e1a |
03-May-2003 |
Chris Lattner <sabre@nondot.org> |
Add support for debugging miscompilations with the use of the JIT or CBE! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5990 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
|
fb74224662ece1c1e4eb411c0f8fcf48ae3478d7 |
03-May-2003 |
Chris Lattner <sabre@nondot.org> |
Bugpoint is always verbose, eliminate option git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5989 91177308-0d34-0410-b5e6-96231b3b80d8
ugpoint.cpp
|
c8b27318a33d1fe2fbae553159a918ccee8fae29 |
03-May-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
The Grammar Police is out on patrol. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5985 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
|
6db70ef879916e6115ac97eb76e4fea973652e2c |
26-Apr-2003 |
Chris Lattner <sabre@nondot.org> |
Add options to disable simplification with passes, in case one of them crashes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5950 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
0c139987750f04736d4fa5d328803cb36a975cbd |
25-Apr-2003 |
Chris Lattner <sabre@nondot.org> |
Rename Kept -> Suffix FIX problem where we were incorrectly putting the prefix of the list into the "suffix" list. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5926 91177308-0d34-0410-b5e6-96231b3b80d8
istReducer.h
|
06943add8b2b764e131979cca064eda9f28826c9 |
25-Apr-2003 |
Chris Lattner <sabre@nondot.org> |
Rename Kept -> Suffix Fix problem where we accidentally returned KeepPrefix instead of KeepSuffix! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5925 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
5f73e38548c57636ad0ef8c719d040e166761962 |
25-Apr-2003 |
Chris Lattner <sabre@nondot.org> |
Big programs have tons of global variable initializers, and most passes don't care about them. Try to delete them if it doesn't affect the passes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5918 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
|
16608b4c853ba883ac4bf5c642c4a9b4977a4fba |
25-Apr-2003 |
Chris Lattner <sabre@nondot.org> |
When cleaning up the final bytecode file, make sure to run DTE as well git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5917 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
286921e8d21d4f0655905ed278d0e140829c7d1f |
25-Apr-2003 |
Chris Lattner <sabre@nondot.org> |
Speed up convergence significantly and also reduce the size of testcases by making large portions of a function's CFG dead at a time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5915 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
rashDebugger.cpp
|
f607b79bc78fcbfd8cda01d2d5dbda6cd8253a40 |
25-Apr-2003 |
Chris Lattner <sabre@nondot.org> |
The big fix is this change: - if (I->isExternal() && !Functions.count(I)) + if (!I->isExternal() && !Functions.count(I)) We were not actually deleting any functions from the module! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5914 91177308-0d34-0410-b5e6-96231b3b80d8
rashDebugger.cpp
|
44be25716628941b4cccccf56a28ee0ba2606850 |
25-Apr-2003 |
Chris Lattner <sabre@nondot.org> |
Remove dead functions git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5913 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
xtractFunction.cpp
|
473a843f31af46de50e7b5747d0f3b41bbfe3fd8 |
25-Apr-2003 |
Chris Lattner <sabre@nondot.org> |
Make sure that deleted functions have external linkage git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5912 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
|
aae33f9137e4a64394d8f9fe66611ae53a0ef4e8 |
25-Apr-2003 |
Chris Lattner <sabre@nondot.org> |
Use the list reducer to improve convergence speed and to support crashes that only occur when multiple passes interact or when multiple functions exist in a module git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5911 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
rashDebugger.cpp
|
39aebca3a2d1dd389a6d9cdfb51a53f625e244f0 |
25-Apr-2003 |
Chris Lattner <sabre@nondot.org> |
Adjust to match new ListReducer interface Move function to generic code git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5910 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
b4ebe136434ada95e71ae81e2164c0c3a2d77f1e |
25-Apr-2003 |
Chris Lattner <sabre@nondot.org> |
Allow reducer interfaces to mutate the lists passed in git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5909 91177308-0d34-0410-b5e6-96231b3b80d8
istReducer.h
|
ff4aaf0010d11a4c42f58f839336669d5fd7ba03 |
25-Apr-2003 |
Chris Lattner <sabre@nondot.org> |
Move function from Miscompilation.cpp git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5908 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
|
126840f49e8d49156a342e836d4b2adca46dc3ba |
24-Apr-2003 |
Chris Lattner <sabre@nondot.org> |
Move the ListReducer Class into it's own header file instead of living in Miscompilation.cpp git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5907 91177308-0d34-0410-b5e6-96231b3b80d8
istReducer.h
iscompilation.cpp
|
a148ccb15888091c42fa986e612a8ae1e448282f |
24-Apr-2003 |
Chris Lattner <sabre@nondot.org> |
Allow bugpoint to try new an different methods for pruning down lists git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5905 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
9c3b55ea9f5fe17c5713757e97aa62e0fb356dcf |
24-Apr-2003 |
Chris Lattner <sabre@nondot.org> |
Make sure to create a target data that matches the Module's target properties. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5904 91177308-0d34-0410-b5e6-96231b3b80d8
ptimizerDriver.cpp
|
c986392c30043c056608b06ddf2f10fdd35a8d5e |
24-Apr-2003 |
Chris Lattner <sabre@nondot.org> |
Remove support for "target data" pass ctors git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5900 91177308-0d34-0410-b5e6-96231b3b80d8
ptimizerDriver.cpp
|
640f22e66d90439857a97a83896ee68c4f7128c9 |
24-Apr-2003 |
Chris Lattner <sabre@nondot.org> |
Implement support for bugpoint to identify which FUNCTION an optimization is miscompiling. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5893 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
ugDriver.h
rashDebugger.cpp
xecutionDriver.cpp
iscompilation.cpp
ptimizerDriver.cpp
|
eea21dd91c5d79b406a2a73d9c4769e272a34aab |
23-Apr-2003 |
Chris Lattner <sabre@nondot.org> |
Print where reference output goes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5891 91177308-0d34-0410-b5e6-96231b3b80d8
iscompilation.cpp
|
3c053a0a98e19f5ac8905011ad4c8238b08d6aea |
23-Apr-2003 |
Chris Lattner <sabre@nondot.org> |
Allow specifying an input file for the program being executed git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5888 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
|
6e96a99ce383dc859719cc1b9ddb745ad1ae643e |
23-Apr-2003 |
Chris Lattner <sabre@nondot.org> |
Remove unnecessary &* git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5873 91177308-0d34-0410-b5e6-96231b3b80d8
estPasses.cpp
|
10f22cb1a0f2755050218cd0e07221a0985c6b63 |
07-Mar-2003 |
Chris Lattner <sabre@nondot.org> |
Make sure that intermediate code is verifier clean to avoid wierd problems. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5723 91177308-0d34-0410-b5e6-96231b3b80d8
xtractFunction.cpp
|
ba386d943f4a83095d9c625cb0d46c1afe45ed1f |
28-Feb-2003 |
Chris Lattner <sabre@nondot.org> |
* Reduce the number of useless bytecode files produced by bugpoint. - This also speeds it up as the bytecode writer isn't terribly fast. * Add a new cleanup pass after everything else to run -funcresolve -globaldce git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5668 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
rashDebugger.cpp
xtractFunction.cpp
|
3301b695cb158e09ec540cc8318eacef9877b638 |
29-Jan-2003 |
Chris Lattner <sabre@nondot.org> |
Fix build problem on sparc git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5428 91177308-0d34-0410-b5e6-96231b3b80d8
ystemUtils.cpp
|
6520785dcd22012535934098942d57c07c7631c2 |
23-Jan-2003 |
Chris Lattner <sabre@nondot.org> |
Make bugpoint *much* more powerful, giving it the capability to delete instructions out of a large function to reduce it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5408 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.h
rashDebugger.cpp
xtractFunction.cpp
|
f2bcccfbab53f31ccaceb6bd9b74e0219c572904 |
23-Jan-2003 |
Chris Lattner <sabre@nondot.org> |
Allow creating of passes like levelraise which use a targetdata ctor git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5403 91177308-0d34-0410-b5e6-96231b3b80d8
ptimizerDriver.cpp
|
66de1893bc6d492b7aa6b27fc11bae0ae44847b8 |
14-Jan-2003 |
Chris Lattner <sabre@nondot.org> |
Link in lots o libraries git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5269 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
|
e1b52b765675015eee5ce9efdb1b81c6c3eaefb1 |
24-Dec-2002 |
Chris Lattner <sabre@nondot.org> |
Fix compilation on GCC 3.2 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5136 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
ystemUtils.cpp
|
4a10645c70199c8d8567fbc46312158c419720ab |
24-Dec-2002 |
Chris Lattner <sabre@nondot.org> |
New files for miscompilation detection git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5120 91177308-0d34-0410-b5e6-96231b3b80d8
xecutionDriver.cpp
iscompilation.cpp
ystemUtils.cpp
ystemUtils.h
|
218e26ef3583cc3270f5f2a2b9cb1025e5b05ebe |
24-Dec-2002 |
Chris Lattner <sabre@nondot.org> |
Implement the start of the miscompilation detection stuff git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5119 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
ugDriver.h
rashDebugger.cpp
akefile
ptimizerDriver.cpp
|
afade9294af43c6b947b9aeaa1555883d5f853e3 |
20-Nov-2002 |
Chris Lattner <sabre@nondot.org> |
Initial checkin of bugpoint git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4789 91177308-0d34-0410-b5e6-96231b3b80d8
ugDriver.cpp
ugDriver.h
rashDebugger.cpp
xtractFunction.cpp
akefile
ptimizerDriver.cpp
estPasses.cpp
ugpoint.cpp
|