Craig Topper
9c252ebe4c
Tidy up spacing in some tablegen outputs.
...
llvm-svn: 153937
2012-04-03 06:52:47 +00:00
Hongbin Zheng
da4138d105
www: Append path instead overwrite path when exporting the path of pocc.
...
llvm-svn: 153936
2012-04-03 06:29:27 +00:00
Craig Topper
7629d63bc4
Add support for AVX enhanced comparison predicates. Patch from Kay Tiong Khoo.
...
llvm-svn: 153935
2012-04-03 05:20:24 +00:00
Hongbin Zheng
eedc49c3d4
www: Fix typo in the setting LD_LBIRARY_PATH command, as pointed out by
...
Dmitry N. Mikushin.
llvm-svn: 153934
2012-04-03 04:39:47 +00:00
Ted Kremenek
efcfbd71d1
Rework ProgramPoint to bit-mangle the 'Kind' into both Data pointers and the LocationContext. After switching to PointerIntPair, it didn't look like a safe assumption to use the lower 3 bits of the LocationContext* field. Thanks to Jordy Rose and Benjamin Kramer for their feedback.
...
llvm-svn: 153933
2012-04-03 04:25:05 +00:00
Bill Wendling
cac9d9b3f6
Use the correct class/struct keyword so that they match the declarations.
...
llvm-svn: 153932
2012-04-03 04:15:34 +00:00
Bill Wendling
c9851e2630
Initialize ivars in the order they are defined in the class.
...
llvm-svn: 153931
2012-04-03 04:14:58 +00:00
Bill Wendling
60fd91ff48
Return 0 for the size_t return type.
...
llvm-svn: 153930
2012-04-03 04:14:31 +00:00
Bill Wendling
a0cd2bca6d
Use 0 instead of NULL for the integral value.
...
llvm-svn: 153929
2012-04-03 04:13:41 +00:00
Bill Wendling
32867652c9
Reformatting. No functionality change.
...
llvm-svn: 153928
2012-04-03 03:56:52 +00:00
Bill Wendling
7d350efddc
As Eric pointed out, even a Debug build should be equal. Leave the flag that can turn off comparisons though.
...
llvm-svn: 153927
2012-04-03 03:27:43 +00:00
Akira Hatanaka
d19f025374
Revert r153924. Delete test/MC/Disassembler/Mips and lib/Target/Mips/Disassembler.
...
llvm-svn: 153926
2012-04-03 03:01:13 +00:00
Akira Hatanaka
55059262aa
Revert r153924. There were buildbot failures.
...
llvm-svn: 153925
2012-04-03 02:51:09 +00:00
Akira Hatanaka
e2498d014b
MIPS disassembler support.
...
Patch by Vladimir Medic.
llvm-svn: 153924
2012-04-03 02:20:58 +00:00
Anna Zaks
cc24e45e27
[analyzer] Record the basic blocks covered by the analyzes run.
...
Store this info inside the function summary generated for all analyzed
functions. This is useful for coverage stats and can be helpful for
analyzer state space search strategies.
llvm-svn: 153923
2012-04-03 02:05:47 +00:00
Andrew Trick
a890e3c69a
Cleanup set_union usage. The same thing but a bit cleaner now.
...
llvm-svn: 153922
2012-04-03 01:35:52 +00:00
Eric Christopher
b7e28ccb3d
Add more constraint registers for mips.
...
Patch by Jack Carter. Testcase cleanup by me.
llvm-svn: 153921
2012-04-03 01:16:32 +00:00
Sean Callanan
38d4df5bcb
Fixed ClangASTContext to correctly recognize
...
wchar_t as distinct from int.
llvm-svn: 153920
2012-04-03 01:10:10 +00:00
Johnny Chen
b58337cd45
Add a Test case to make sure that __apple_types section does get produced by dsymutil.
...
This is supposed to succeed even with rdar://problem/11166975.
llvm-svn: 153919
2012-04-03 01:07:24 +00:00
Andrew Trick
c544e7c0a7
Use std::set_union instead of nasty custom code.
...
I just noticed Jakob's examples of the proper application of
std::set... routines.
llvm-svn: 153918
2012-04-03 00:47:23 +00:00
Eric Christopher
b7e821a6aa
Change location information for synthesized properties to be at the
...
property file/line rather than the @synthesize file/line. Avoids
some nasty confusing-ness with conflating the file from the scope
and the line from the original declaration. Use the current scope
location as a separate parameter so that we can match it up
better in the line table with the beginning of the scope.
Update a couple of testcases accordingly since I had to change
that we actually use the passed in location in EmitFunctionStart
and for the new metadata parameter and add a new testcase to
make sure we've got the right line numbers for synthesized
properties.
Part of rdar://11026482
llvm-svn: 153917
2012-04-03 00:44:15 +00:00
Eric Christopher
34164196af
Add a line number for the scope of the function (starting at the first
...
brace) so that we get more accurate line number information about the
declaration of a given function and the line where the function
first starts.
Part of rdar://11026482
llvm-svn: 153916
2012-04-03 00:43:49 +00:00
Johnny Chen
1b8af41116
Add some more debug prints and retrieve the debug subsections from the DWARF section.
...
llvm-svn: 153915
2012-04-03 00:41:25 +00:00
Pete Cooper
4f0dbb27d9
Fixes to r153903. Added missing explanation of behaviour when the VirtRegMap is NULL. Also changed it in this case to just avoid updating the map, but live ranges or intervals will still get updated and created
...
llvm-svn: 153914
2012-04-03 00:28:46 +00:00
Ted Kremenek
b75f4e5e9b
Fix another false positive in RegionStore involving doing loads from symbolic offsets. We still don't
...
properly reason about such accesses, but we shouldn't emit bogus "uninitialized value" warnings
either. Fixes <rdar://problem/11127008>.
llvm-svn: 153913
2012-04-03 00:03:34 +00:00
Michael J. Spencer
b495562b5d
Use the LLVM RTTI library.
...
llvm-svn: 153912
2012-04-02 23:56:36 +00:00
Enrico Granata
51e318737a
One last syntax error fix
...
llvm-svn: 153911
2012-04-02 23:49:34 +00:00
Enrico Granata
a20e863875
Fixing syntax typos in Python formatters
...
llvm-svn: 153910
2012-04-02 23:43:22 +00:00
Bill Wendling
d70cde134b
Compare the .o files only for release builds. Add an option to bypass the comparison altogether.
...
llvm-svn: 153909
2012-04-02 23:27:43 +00:00
Greg Clayton
53eb1c2f03
<rdar://problem/11160171>
...
Fixed an issue where there were more than one way to get a CompileUnitSP created when using SymbolFileDWARF with SymbolFileDWARFDebugMap. This led to an assertion that would fire under certain conditions. Now there is only one way to create the compile unit and it will "do the right thing".
llvm-svn: 153908
2012-04-02 22:59:12 +00:00
Greg Clayton
675a856e07
Remove unused file as this file is deprecated (use ./crashlog.py instead).
...
llvm-svn: 153907
2012-04-02 22:57:32 +00:00
Pete Cooper
3ca96f9950
Moved LiveRangeEdit.h so that it can be called from other parts of the backend, not just libCodeGen
...
llvm-svn: 153906
2012-04-02 22:44:18 +00:00
Rafael Espindola
f76bff0504
Make dominatedBySlowTreeWalk private and assert cases handled by the caller.
...
llvm-svn: 153905
2012-04-02 22:37:54 +00:00
Jakob Stoklund Olesen
291007b055
Allocate virtual registers in ascending order.
...
This is just the fallback tie-breaker ordering, the main allocation
order is still descending size.
Patch by Shamil Kurmangaleev!
llvm-svn: 153904
2012-04-02 22:30:39 +00:00
Pete Cooper
2bde2f42b1
Refactored the LiveRangeEdit interface so that MachineFunction, TargetInstrInfo, MachineRegisterInfo, LiveIntervals, and VirtRegMap are all passed into the constructor and stored as members instead of passed in to each method.
...
llvm-svn: 153903
2012-04-02 22:22:53 +00:00
Bill Wendling
932b992888
Add an option to turn off the expensive GVN load PRE part of GVN.
...
llvm-svn: 153902
2012-04-02 22:16:50 +00:00
Owen Anderson
98f2c0c384
Add predicates for checking whether targets have free FNEG and FABS operations, and prevent the DAGCombiner from turning them into bitwise operations if they do.
...
llvm-svn: 153901
2012-04-02 22:10:29 +00:00
Ted Kremenek
3b008eecf4
Fix potential null dereference in the static analyzer when inlining a call that has already been inlined. Unfortunately I have no test case.
...
llvm-svn: 153900
2012-04-02 21:55:06 +00:00
Enrico Granata
98bcde4264
Removing some instances of str(SBValue)
...
llvm-svn: 153899
2012-04-02 21:37:02 +00:00
Ted Kremenek
87d7a2462a
Reduce static analyzer memory usage by about 4% by packing the ProgramPoing 'Kind' field into the spare bits of other fields.
...
llvm-svn: 153898
2012-04-02 21:24:13 +00:00
Richard Smith
f989e51cb6
PR10217 diagnostic fix: don't say 'copy constructor' when we mean
...
'copy assignment operator'.
llvm-svn: 153897
2012-04-02 21:07:48 +00:00
Howard Hinnant
e386b7b360
Update <random> with constexpr support. Patch contributed by Jonathan Sauer.
...
llvm-svn: 153896
2012-04-02 21:00:45 +00:00
David Blaikie
9b7efd5bb6
Remove windows line endings.
...
llvm-svn: 153895
2012-04-02 20:59:49 +00:00
Richard Smith
6f1e2c6d19
Finish PR10217: Ensure we say that a special member was implicitly, not
...
explicitly, deleted in all relevant cases, and explain why.
llvm-svn: 153894
2012-04-02 20:59:25 +00:00
Greg Clayton
74ae3f5a45
Export the ability to see if a symbol is externally visible and also if the symbol was synthetically added to the symbol table (the symbol was not part of the symbol table itself but came from another section).
...
llvm-svn: 153893
2012-04-02 20:08:08 +00:00
Lang Hames
aaafacd07e
During two-address lowering, rescheduling an instruction does not untie
...
operands. Make TryInstructionTransform return false to reflect this.
Fixes PR11861.
llvm-svn: 153892
2012-04-02 19:58:43 +00:00
Johnny Chen
d6fbc8ff66
Add testcase that verifies that __apple_types is a valid section in a .o file generated by clang.
...
rdar://problem/11167268
llvm-svn: 153891
2012-04-02 19:46:14 +00:00
Rafael Espindola
2e5c58e77b
No need to run llvm-as.
...
llvm-svn: 153890
2012-04-02 19:44:20 +00:00
Akira Hatanaka
b1f68f9696
Initial 64 bit direct object support.
...
This patch allows llvm to recognize that a 64 bit object file is being produced
and that the subsequently generated ELF header has the correct information.
The test case checks for both big and little endian flavors.
Patch by Jack Carter.
llvm-svn: 153889
2012-04-02 19:25:22 +00:00
Howard Hinnant
338eb3116c
Update <limits> with constexpr support. Patch contributed by Jonathan Sauer.
...
llvm-svn: 153888
2012-04-02 19:23:15 +00:00