| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 129932
|
|
|
|
| |
llvm-svn: 129271
|
|
|
|
|
|
|
|
| |
had gotten out of sync: isCastable didn't think it was possible to
cast the x86_mmx type to anything, while it did think it possible
to cast an i64 to x86_mmx.
llvm-svn: 128705
|
|
|
|
| |
llvm-svn: 128622
|
|
|
|
| |
llvm-svn: 123529
|
|
|
|
| |
llvm-svn: 123358
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a unnamed_addr bit to global variables and functions. This will be used
to indicate that the address is not significant and therefore the constant
or function can be merged with others.
If an optimization pass can show that an address is not used, it can set this.
Examples of things that can have this set by the FE are globals created to
hold string literals and C++ constructors.
Adding unnamed_addr to a non-const global should have no effect unless
an optimization can transform that global into a constant.
Aliases are not allowed to have unnamed_addr since I couldn't figure
out any use for it.
llvm-svn: 123063
|
|
|
|
| |
llvm-svn: 123026
|
|
|
|
| |
llvm-svn: 122613
|
|
|
|
| |
llvm-svn: 119606
|
|
|
|
|
|
| |
This is because of bug 331418 on Microsoft Connect.
llvm-svn: 119600
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
to link in "core".
llvm-svn: 114831
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
Fixes potential ambiguity problems on VS 2010.
Patch by nobled!
llvm-svn: 110029
|
|
|
|
|
|
| |
for creating and populating NamedMDNodes.
llvm-svn: 109061
|
|
|
|
| |
llvm-svn: 108611
|
|
|
|
|
|
|
| |
EXPECT_{TRUE,FALSE}(...) macros. This also prevents suprious warnings about
bool-to-pointer conversion that occurs withit EXPECT_EQ.
llvm-svn: 108248
|
|
|
|
|
|
|
|
| |
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: 98850
|
|
|
|
| |
llvm-svn: 98761
|
|
|
|
| |
llvm-svn: 98634
|
|
|
|
| |
llvm-svn: 98632
|
|
|
|
| |
llvm-svn: 98628
|
|
|
|
| |
llvm-svn: 98625
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
adjusted unittest
I have added some doxygen to OptionalOperandTraits,
so hopefully there will be no confusion in the future.
Incidentally OptionalOperandTraits is not used any more (IIUC),
but the obvious client would be BranchInstr, and I plan
to rearrange it that way.
llvm-svn: 98624
|
|
|
|
| |
llvm-svn: 98623
|
|
|
|
|
| |
Tested: valgrind --leak-check=full unittests/VMCore/Debug/VMCoreTests
llvm-svn: 98414
|
|
|
|
|
| |
Tested: valgrind --leak-check=full unittests/VMCore/Debug/VMCoreTests
llvm-svn: 98412
|
|
|
|
|
| |
Tested: valgrind --leak-check=full unittests/VMCore/Debug/VMCoreTests
llvm-svn: 98411
|
|
|
|
| |
llvm-svn: 97763
|
|
|
|
|
|
| |
'i1' type.
llvm-svn: 96282
|
|
|
|
| |
llvm-svn: 95856
|
|
|
|
|
|
| |
broken by setting CXXFLAGS on the command line.
llvm-svn: 94619
|
|
|
|
| |
llvm-svn: 94569
|
|
|
|
|
|
| |
lack of RTTI.
llvm-svn: 94484
|
|
|
|
|
|
|
|
|
|
|
| |
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: 92761
|
|
|
|
| |
llvm-svn: 92328
|
|
|
|
|
|
|
| |
things that occur in types. "operands" are things that occur
in values.
llvm-svn: 92322
|
|
|
|
| |
llvm-svn: 91611
|
|
|
|
| |
llvm-svn: 85254
|
|
|
|
| |
llvm-svn: 81142
|
|
|
|
|
|
|
|
| |
Use CallbackVH, instead of WeakVH, to hold MDNode elements.
Use FoldingSetNode to unique MDNodes in a context.
Use CallbackVH hooks to update context's MDNodeSet appropriately.
llvm-svn: 80868
|
|
|
|
| |
llvm-svn: 80841
|
|
|
|
|
|
|
| |
Use FoldingSetNode to unique MDNodes in a context.
Use CallbackVH hooks to update context's MDNodeSet appropriately.
llvm-svn: 80839
|
|
|
|
| |
llvm-svn: 80741
|
|
|
|
| |
llvm-svn: 80528
|