| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 108130
|
|
|
|
|
|
| |
refer to the "external node" instead.
llvm-svn: 105731
|
|
|
|
|
|
|
|
| |
callgraph SCC's. This makes it match what the node itself would print. Also,
"indirect callgraph node" doesn't make sense - it has nothing particularly to
do with indirect calls.
llvm-svn: 105730
|
|
|
|
|
|
|
| |
it to be the caller's responsibility to provide a stream in binary
mode. This fixes a layering violation and avoids an outs() call.
llvm-svn: 104878
|
|
|
|
| |
llvm-svn: 104875
|
|
|
|
| |
llvm-svn: 104873
|
|
|
|
|
|
| |
isn't doing lazy streaming. This also fixes a missing doFinalization call.
llvm-svn: 103774
|
|
|
|
|
|
|
|
| |
to CallGraphSCCPass's instead of passing around a
std::vector<CallGraphNode*>. No functionality change,
but now we have a much tidier interface.
llvm-svn: 101558
|
|
|
|
| |
llvm-svn: 101338
|
|
|
|
| |
llvm-svn: 99416
|
|
|
|
| |
llvm-svn: 99180
|
|
|
|
| |
llvm-svn: 96576
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Modules and ModuleProviders. Because the "ModuleProvider" simply materializes
GlobalValues now, and doesn't provide modules, it's renamed to
"GVMaterializer". Code that used to need a ModuleProvider to materialize
Functions can now materialize the Functions directly. Functions no longer use a
magic linkage to record that they're materializable; they simply ask the
GVMaterializer.
Because the C ABI must never change, we can't remove LLVMModuleProviderRef or
the functions that refer to it. Instead, because Module now exposes the same
functionality ModuleProvider used to, we store a Module* in any
LLVMModuleProviderRef and translate in the wrapper methods. The bindings to
other languages still use the ModuleProvider concept. It would probably be
worth some time to update them to follow the C++ more closely, but I don't
intend to do it.
Fixes http://llvm.org/PR5737 and http://llvm.org/PR5735.
llvm-svn: 94686
|
|
|
|
| |
llvm-svn: 94378
|
|
|
|
|
|
|
|
|
|
|
| |
missing ones are libsupport, libsystem and libvmcore. libvmcore is
currently blocked on bugpoint, which uses EH. Once it stops using
EH, we can switch it off.
This #if 0's out 3 unit tests, because gtest requires RTTI information.
Suggestions welcome on how to fix this.
llvm-svn: 94164
|
|
|
|
| |
llvm-svn: 94160
|
|
|
|
| |
llvm-svn: 94159
|
|
|
|
|
|
| |
match.
llvm-svn: 93798
|
|
|
|
|
|
|
|
|
|
|
| |
to a console, when --analyze is used.
Similarly, avoid creating an empty output file when --disable-output is used.
Print a warning when the -o option appears with either --analyze or
--disable-output, to indicate that the option is being ignored.
llvm-svn: 93685
|
|
|
|
| |
llvm-svn: 92667
|
|
|
|
|
|
| |
Somehow opt was missed when this was added.
llvm-svn: 90912
|
|
|
|
| |
llvm-svn: 90134
|
|
|
|
| |
llvm-svn: 90133
|
|
|
|
|
|
| |
depend on target data to supply it within the test
llvm-svn: 85900
|
|
|
|
|
|
| |
building opt.
llvm-svn: 84816
|