Commit Graph

48010 Commits

Author SHA1 Message Date
Daniel Dunbar fd462af19e scan-view: Add header and "report bug" links to report pages.
llvm-svn: 56470
2008-09-22 21:43:43 +00:00
Evan Cheng 168f8f3916 Mark several codegen passes as preserving all analysis.
llvm-svn: 56469
2008-09-22 20:58:04 +00:00
Dale Johannesen f1acc4d610 More refactoring. Yawn.
llvm-svn: 56468
2008-09-22 20:51:30 +00:00
Mikhail Glushenkov 446c5dcf57 Convert llvmc2 plugins to use llvm/Support/Registry.h machinery.
llvm-svn: 56467
2008-09-22 20:51:19 +00:00
Mikhail Glushenkov 53aa586844 Move llvmc2 header files under include/llvm/CompilerDriver
llvm-svn: 56466
2008-09-22 20:50:40 +00:00
Mikhail Glushenkov 47afe73081 Plugin support for llvmc2 (a-la opt).
llvm-svn: 56465
2008-09-22 20:49:34 +00:00
Mikhail Glushenkov 6f1db3df74 Add a 'Debugging' section to the documentation.
llvm-svn: 56464
2008-09-22 20:48:48 +00:00
Mikhail Glushenkov 4825a0bb2f Make comments a little bit more clear.
llvm-svn: 56463
2008-09-22 20:48:22 +00:00
Mikhail Glushenkov 8a2bdc74b2 Get rid of GlobalLanguageMap. Global state is evil.
llvm-svn: 56462
2008-09-22 20:47:46 +00:00
Mikhail Glushenkov 632d982a7f Rename our version of ccc to ccc2
llvm-svn: 56461
2008-09-22 20:47:09 +00:00
Mikhail Glushenkov 1c4e084bd2 Fix some comments
llvm-svn: 56460
2008-09-22 20:46:44 +00:00
Mikhail Glushenkov 9c13f724fc Add a (forward_as) option property
llvm-svn: 56459
2008-09-22 20:46:19 +00:00
Mikhail Glushenkov b50080e6cb Delete the file llvmc2/doc/LLVMC-Enhancements.rst + some minor language/spelling fixes.
llvm-svn: 56458
2008-09-22 20:45:17 +00:00
Dale Johannesen 7beddb8680 Refactor FP intrinisic setup. Per review feedback.
llvm-svn: 56456
2008-09-22 19:51:58 +00:00
Daniel Dunbar d3b096bd5a scan-view: Add links to open files using default file handler.
llvm-svn: 56454
2008-09-22 18:44:46 +00:00
Oscar Fuentes 8807bddf08 CMake build system: support for parallel builds.
llvm-svn: 56453
2008-09-22 18:21:51 +00:00
Evan Cheng 13beeeb128 Per review feedback: Only perform
(srl x, (trunc (and y, c))) -> (srl x, (and (trunc y), c))
etc. when both "trunc" and "and" have single uses.

llvm-svn: 56452
2008-09-22 18:19:24 +00:00
Ted Kremenek 0ed9c35b0e Yank out special CSS for button rendering (not very portable or well tested, and we were encountering race conditions with CSS loading).
llvm-svn: 56449
2008-09-22 18:14:23 +00:00
Daniel Dunbar 6c9bf7d92a scan-view: Update for "button" class change, drop magic resolution of
"scanview.css", start action for opening files.

llvm-svn: 56448
2008-09-22 18:05:49 +00:00
Ted Kremenek 9b5ba60ff3 Reintegrate Daniel's changes.
llvm-svn: 56447
2008-09-22 18:05:05 +00:00
Ted Kremenek 2c4a8f414b Removed scan-view's version of scanview.css.
llvm-svn: 56446
2008-09-22 17:55:14 +00:00
Ted Kremenek 85ea56ea84 Add "SUMMARYENDHEAD" tag.
llvm-svn: 56445
2008-09-22 17:52:58 +00:00
Ted Kremenek 620ca3d3c9 Don't embed CSS inside scan-build script; use external scanview.css.
llvm-svn: 56444
2008-09-22 17:50:47 +00:00
Ted Kremenek 8775b12c36 Don't emit link to source file.
llvm-svn: 56443
2008-09-22 17:42:31 +00:00
Ted Kremenek 2a56b23c3a Make "View Report" just a normal link again.
llvm-svn: 56442
2008-09-22 17:39:18 +00:00
Ted Kremenek a026fd3c01 Don't print out the path length.
llvm-svn: 56441
2008-09-22 17:38:23 +00:00
Ted Kremenek b76a3f44ec Output "REPORTHEADER" and "REPORTSUMMARYEXTRA" tags for use with scan-view.
llvm-svn: 56440
2008-09-22 17:33:32 +00:00
Nuno Lopes 47e46ed3da not executable
llvm-svn: 56439
2008-09-22 17:26:14 +00:00
Steve Naroff 25709eca44 Remove unused slot/reference and update Sema::ActOnIdentifierExpr().
llvm-svn: 56438
2008-09-22 15:31:56 +00:00
Arnold Schwaighofer 796a271c5f Change the calling convention used when tail call optimization is enabled from CC_X86_32_TailCall to CC_X86_32_FastCC.
llvm-svn: 56436
2008-09-22 14:50:07 +00:00
Steve Naroff cd5e782bce Fix http://llvm.org/bugs/show_bug.cgi?id=2816.
llvm-svn: 56433
2008-09-22 10:28:57 +00:00
Rafael Espindola 73a5406d24 Add bound checks in SmallVector
llvm-svn: 56432
2008-09-22 10:06:26 +00:00
Ted Kremenek a3fe93b688 Use scan-view to view reports. Opening index.html is deprecated.
llvm-svn: 56431
2008-09-22 06:47:01 +00:00
Ted Kremenek dd186c638e Updated checker build
llvm-svn: 56430
2008-09-22 06:11:08 +00:00
Daniel Dunbar ed4e3210da scan-view: Add links from bug reporting forms to report & summary pages.
llvm-svn: 56427
2008-09-22 03:08:32 +00:00
Daniel Dunbar 2ef3142b92 scan-view: Search for available port if default is unavailable.
llvm-svn: 56426
2008-09-22 02:53:12 +00:00
Oscar Fuentes f3d3a0dfca add_partially_linked_object: Replaced nonexistent MESSAGE option in
add_custom_command with COMMENT. It was forcing unconditional command
execution.

llvm-svn: 56425
2008-09-22 02:33:43 +00:00
Daniel Dunbar 34525a91fa scan-view: Store bug reporter defaults in ~/.scanview.cfg
llvm-svn: 56424
2008-09-22 02:27:45 +00:00
Daniel Dunbar 4aed7dede7 scan-view tweak
- Require index.html in provided results directory.

llvm-svn: 56423
2008-09-22 01:42:08 +00:00
Daniel Dunbar 8d139d3d40 scan-view tweaks
- Use more correct HTTP error codes on (unexpected) errors.

 - Use onLoad to set ensure bug submission method gets set correctly.

llvm-svn: 56422
2008-09-22 01:40:14 +00:00
Ted Kremenek d01c408b71 Patch from Richard Godbee:
Improve scan-build results to include the user's host name, the working
directory of the analyzed project, and the date the analysis run took place.

llvm-svn: 56421
2008-09-22 01:35:58 +00:00
Daniel Dunbar 553fdc6bc7 Improve scan-view report bug (submitted) interface.
Give more meaningful error messages / fail gracefully on bad form
input or SMTP errors.

Use button for Report Bug link (where available).

llvm-svn: 56420
2008-09-22 01:21:30 +00:00
Oscar Fuentes a229b3c9a7 Initial support for the CMake build system.
llvm-svn: 56419
2008-09-22 01:08:49 +00:00
Bill Wendling 91ef8fcd29 Add helper function to get a 32-bit floating point constant. No functionality change.
llvm-svn: 56418
2008-09-22 00:44:35 +00:00
Daniel Dunbar 49351e7eb9 Improve scan-view report bug interface.
- Pulled css out into Resources/scanview.css

llvm-svn: 56416
2008-09-22 00:11:51 +00:00
Chris Lattner 4d7445b3a4 explain what earlyclobber actually is.
llvm-svn: 56415
2008-09-21 23:30:17 +00:00
Daniel Dunbar 19af4ea47b scan-view tweaks:
- Add simple favicon
 - Allow resolving source file paths (should be rethought)

llvm-svn: 56414
2008-09-21 23:02:25 +00:00
Chris Lattner f1280cf744 Fold immediates into X86 shifts with fast isel. This generates:
sarl    $3, %ecx

instead of:

movl    $3, %ecx
sarl    %cl, %edx

This shrinks fast isel 176.gcc by about 2000 instructions (.3%)

llvm-svn: 56413
2008-09-21 21:44:29 +00:00
Dan Gohman ae9d9f4d3f Factor out code into HandleVirtRegDef, for consistency with
Handle{Virt,Phys}Reg{Def,Use}. Remove a redundant check
for register zero, and redundant checks for isPhysicalRegister.

llvm-svn: 56412
2008-09-21 21:11:41 +00:00
Dan Gohman dfc19e6c01 Instead of building a list and sorting it just to find a maximum element,
compute the maximum element directly.

llvm-svn: 56411
2008-09-21 21:01:49 +00:00