| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Remove unused local variable.
llvm-svn: 163061
|
| |
|
|
|
|
|
|
|
| |
include/llvm/Analysis/DebugInfo.h to include/llvm/DebugInfo.h.
The reasoning is because the DebugInfo module is simply an interface to the
debug info MDNodes and has nothing to do with analysis.
llvm-svn: 159312
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
options, to enable easier testing of the innards of LLVM that are
enabled by such optimization strategies.
Note that this doesn't provide the (much needed) function attribute
support for -Oz (as opposed to -Os), but still seems like a positive
step to better test the logic that Clang currently relies on.
Patch by Patrik Hägglund.
llvm-svn: 156913
|
| |
|
|
| |
llvm-svn: 154959
|
| |
|
|
|
|
|
| |
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).
llvm-svn: 149468
|
| |
|
|
| |
llvm-svn: 146409
|
| |
|
|
|
|
| |
"opt -std-compile-opts".
llvm-svn: 146036
|
| |
|
|
| |
llvm-svn: 144648
|
| |
|
|
| |
llvm-svn: 144417
|
| |
|
|
|
|
| |
new all-targets pseudo-component.
llvm-svn: 142401
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
llvm-svn: 142106
|
| |
|
|
|
|
| |
This is some of my original LLVM code. *wipes tear*
llvm-svn: 136821
|
| |
|
|
|
|
|
| |
but it solves a layering violation since things in Support are not supposed to
use things in Transforms.
llvm-svn: 136726
|
| |
|
|
| |
llvm-svn: 132693
|
| |
|
|
| |
llvm-svn: 131843
|
| |
|
|
| |
llvm-svn: 131824
|
| |
|
|
| |
llvm-svn: 128938
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
developers can see if their driver changed any cl::Option's. The
current implementation isn't perfect but handles most kinds of
options. This is nice to have when decomposing the stages of
compilation and moving between different drivers. It's also a good
sanity check when comparing results produced by different command line
invocations that are expected to produce the comparable results.
Note: This is not an attempt to prolong the life of cl::Option. On the
contrary, it's a placeholder for a feature that must exist when
cl::Option is replaced by a more appropriate framework. A new
framework needs: a central option registry, dynamic name lookup,
non-global containers of option values (e.g. per-module,
per-function), *and* the ability to print options values and their defaults at
any point during compilation.
llvm-svn: 128910
|
| |
|
|
| |
llvm-svn: 128905
|
| |
|
|
| |
llvm-svn: 128839
|
| |
|
|
|
|
| |
-disable-simplifylibcalls flag.
llvm-svn: 125978
|
| |
|
|
|
|
| |
with a triple.
llvm-svn: 125970
|
| |
|
|
| |
llvm-svn: 125824
|
| |
|
|
|
|
| |
test harness, focus only on entry block's terminator for now.
llvm-svn: 124610
|
| |
|
|
| |
llvm-svn: 123941
|
| |
|
|
|
|
| |
so that Dominators.h is *just* domtree. Also prune #includes a bit.
llvm-svn: 122714
|
| |
|
|
|
|
| |
info test harness.
llvm-svn: 121432
|
| |
|
|
|
|
| |
"debug info in optimized code" quality test harness to set breakpoints at "interesting" locations.
llvm-svn: 121078
|
| |
|
|
|
|
|
|
|
| |
The check to not allow -analyze and -disable-output at the same time was done
before parsing the command line flags. Therefore it never triggered, and in case
both options where used opt segfaulted. Fix this by moving this check a after
command line parsing.
llvm-svn: 120732
|
| |
|
|
| |
llvm-svn: 120298
|
| |
|
|
|
|
| |
clang are using.
llvm-svn: 118118
|
| |
|
|
|
|
|
| |
A RegionPass is executed like a LoopPass but on the regions detected by the
RegionInfo pass instead of the loops detected by the LoopInfo pass.
llvm-svn: 116905
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
llvm-svn: 116820
|
| |
|
|
| |
llvm-svn: 115973
|
| |
|
|
|
|
|
|
|
|
| |
This reverts commit r113632
Conflicts:
cmake/modules/AddLLVM.cmake
llvm-svn: 113819
|
| |
|
|
| |
llvm-svn: 113632
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Follow the same logic in the LoopPass, ModulePass and CallGraphSCCPass printers,
as it was already used in the BasicBlockPass and FunctionPass printers. This is
more consistent.
The other option would have been to completely disable dumping the analysis
information. However, as this information is the only information printed if the
-analysis flag is set, calling opt would not do anything at all.
llvm-svn: 113360
|
| |
|
|
| |
llvm-svn: 113359
|
| |
|
|
|
|
|
|
|
|
| |
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.
llvm-svn: 112706
|
| |
|
|
|
|
| |
checking to places which previously lacked it.
llvm-svn: 111651
|
| |
|
|
|
|
|
|
| |
of problems with output files being left behind or output streams
being left unclosed. Fix llvm-mc to respect the -o option in all
modes, rather than hardcoding outs() in some cases.
llvm-svn: 111603
|
| |
|
|
|
|
| |
other printing passes do, and update the documentation accordingly.
llvm-svn: 111601
|
| |
|
|
|
|
| |
registration variables.
llvm-svn: 111598
|
| |
|
|
|
|
| |
registration variables.
llvm-svn: 111596
|
| |
|
|
|
|
| |
standard output, instead of just hardcoding outs().
llvm-svn: 111372
|
| |
|
|
| |
llvm-svn: 111371
|
| |
|
|
| |
llvm-svn: 110460
|
| |
|
|
| |
llvm-svn: 110410
|
| |
|
|
|
|
|
|
| |
address of the static
ID member as the sole unique type identifier. Clean up APIs related to this change.
llvm-svn: 110396
|
| |
|
|
|
|
| |
from the tree
llvm-svn: 109687
|