summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add some missing libraries.Daniel Dunbar2009-11-071-1/+1
| | | | llvm-svn: 86389
* Cope with calls to operator() templates. Fixes PR5419.Douglas Gregor2009-11-072-1/+20
| | | | llvm-svn: 86387
* First try of the post-inc operands handling... Not fully worked, though :(Anton Korobeynikov2009-11-073-11/+87
| | | | llvm-svn: 86386
* Add some dummy support for post-incremented loadsAnton Korobeynikov2009-11-075-4/+122
| | | | llvm-svn: 86385
* Add 8 bit libcalls and make use of them for msp430Anton Korobeynikov2009-11-075-10/+68
| | | | llvm-svn: 86384
* Add few pseudo-source-valuesAnton Korobeynikov2009-11-071-4/+20
| | | | llvm-svn: 86383
* Initial support for addrmode handling. Tests by Brian Lucas!Anton Korobeynikov2009-11-079-70/+531
| | | | llvm-svn: 86382
* Some preliminary variable asmprintingAnton Korobeynikov2009-11-073-7/+92
| | | | llvm-svn: 86381
* Use '.L' for global private prefix (as mspgcc)Anton Korobeynikov2009-11-071-0/+1
| | | | llvm-svn: 86380
* Drop old asmprinter stuffAnton Korobeynikov2009-11-073-17/+20
| | | | llvm-svn: 86379
* It turns out that the testcase in question uncovered subreg-handling bug.Anton Korobeynikov2009-11-073-3/+3
| | | | | | | Add assert in asmprinter to catch such cases and xfail the tests. PR is to be filled. llvm-svn: 86375
* add the ability for TargetData to return information about legal integerChris Lattner2009-11-073-47/+46
| | | | | | | | | | | datatypes on a given CPU. This is intended to allow instcombine and other transformations to avoid converting big sequences of operations to an inconvenient width, and will help clean up after SRoA. See also "Adding legal integer sizes to TargetData" on Feb 1, 2009 on llvmdev, and PR3451. Comments welcome. llvm-svn: 86370
* more cleanup.Chris Lattner2009-11-072-26/+28
| | | | llvm-svn: 86369
* add missing #includeChris Lattner2009-11-071-0/+1
| | | | llvm-svn: 86368
* add some missing #includesChris Lattner2009-11-077-5/+9
| | | | llvm-svn: 86367
* rewrite TargetData to use StringRef/raw_ostream instead of thrashing ↵Chris Lattner2009-11-072-41/+61
| | | | | | std::strings. llvm-svn: 86366
* prune #include / layering violationChris Lattner2009-11-071-2/+0
| | | | llvm-svn: 86365
* Support -Wshorten-64-to-32 for integer types only, which seems to satisfy theJohn McCall2009-11-074-1/+16
| | | | | | core requirements. Fixes rdar://problem/6389954 llvm-svn: 86364
* Make the need-stub variables accurate and consistent. In the case ofJeffrey Yasskin2009-11-074-48/+49
| | | | | | | | | | | | | MachineRelocations, "stub" always refers to a far-call stub or a load-a-faraway-global stub, so this patch adds "Far" to the term. (Other stubs are used for lazy compilation and dlsym address replacement.) The variable was also inconsistent between the positive and negative sense, and the positive sense ("NeedStub") was more demanding than is accurate (since a nearby-enough function can be called directly even if the platform often requires a stub). Since the negative sense causes double-negatives, I switched to "MayNeedFarStub" globally. llvm-svn: 86363
* Fix a couple of shuffle patterns to use movhlps insteadEric Christopher2009-11-073-12/+13
| | | | | | | of movhps as the constraint. Changes optimizations so update testcases as appropriate as well. llvm-svn: 86360
* Teach dead store elimination that certain intrinsics write to memory just likeNick Lewycky2009-11-073-62/+183
| | | | | | a store. llvm-svn: 86359
* remove the win32 tree, it's stale and confusing.Chris Lattner2009-11-0737-14954/+0
| | | | llvm-svn: 86358
* Add bug number.Anders Carlsson2009-11-071-2/+2
| | | | llvm-svn: 86357
* Improve -Wconversion by permitting binary operations on values of the targetJohn McCall2009-11-072-42/+134
| | | | | | type (or smaller) to stay "closed" within the type. llvm-svn: 86356
* reapply 86289, 86278, 86270, 86267, 86266 & 86264 plus a fixChris Lattner2009-11-073-243/+416
| | | | | | | | | (making pred factoring only happen if threading is guaranteed to be successful). This now survives an X86-64 bootstrap of llvm-gcc. llvm-svn: 86355
* Fix PR5421 by APInt'izing switch lowering.Chris Lattner2009-11-073-19/+35
| | | | llvm-svn: 86354
* Oops, FunctionContainsEscapingAllocas is really used to mean two differentNick Lewycky2009-11-072-2/+11
| | | | | | things. Back out part of r86349 for a moment. llvm-svn: 86353
* Don't treat variables with non-trivial ctors or dtors as unused. Fixes PR5407.Anders Carlsson2009-11-072-2/+24
| | | | llvm-svn: 86352
* Cleanup, no functionality change.Anders Carlsson2009-11-071-4/+8
| | | | llvm-svn: 86351
* Always mangle functions with special names. Fixes PR5420.Anders Carlsson2009-11-072-3/+12
| | | | llvm-svn: 86350
* Dust off tail recursion elimination. Fix a fixme by applying CaptureTrackingNick Lewycky2009-11-072-21/+32
| | | | | | and add a .ll to demo the new capability. llvm-svn: 86349
* llvmc: Add a '-time' option.Mikhail Glushenkov2009-11-074-6/+50
| | | | llvm-svn: 86348
* Trailing whitespace.Mikhail Glushenkov2009-11-071-7/+7
| | | | llvm-svn: 86347
* 80-col violation.Mikhail Glushenkov2009-11-071-2/+2
| | | | llvm-svn: 86346
* merge cmp1 into cmp0 and filecheckize.Chris Lattner2009-11-072-9/+19
| | | | llvm-svn: 86345
* When instantiating a field decl, make sure to clone its attributes. With ↵Anders Carlsson2009-11-072-0/+23
| | | | | | this change FileCheck no longer crashes when it's run without any arguments. llvm-svn: 86344
* Use SaveAndRestore to simplify logic in LiveVariables::runOnAllBlocks(). ↵Ted Kremenek2009-11-072-3/+6
| | | | | | Patch by Kovarththanan Rajaratnam! llvm-svn: 86343
* Update some globals to use ManagedStatic.Lang Hames2009-11-072-21/+62
| | | | llvm-svn: 86342
* Switch clang-cc to use ApplyHeaderSearchOptions, and fix a thinko.Daniel Dunbar2009-11-072-32/+24
| | | | llvm-svn: 86341
* Fix memoizing of CvtRndSatSDNodeMon P Wang2009-11-071-1/+2
| | | | llvm-svn: 86340
* When looking up and adding substitutions to the substitution table, make ↵Anders Carlsson2009-11-072-0/+11
| | | | | | sure to always use the canonical declaration. With tihs change, FileCheck compiles and links but crashes during startup. llvm-svn: 86339
* Add HeaderSearchOptions class, for packaging the information needed toDaniel Dunbar2009-11-073-1/+119
| | | | | | initialize HeaderSearch. Not used yet. llvm-svn: 86338
* Lift InitHeaderSearch::AddEnvVarPaths logic higher.Daniel Dunbar2009-11-073-36/+30
| | | | llvm-svn: 86337
* Formatting fixes.Daniel Dunbar2009-11-072-10/+10
| | | | llvm-svn: 86336
* Rename PreprocessorInitOptions to PreprocessorOptions for consistency, and fixDaniel Dunbar2009-11-074-33/+31
| | | | | | | | filenames. Also, move InitializePreprocessor to Utils.h. llvm-svn: 86335
* Lift compiler builtin include path logic higher.Daniel Dunbar2009-11-071-21/+26
| | | | llvm-svn: 86334
* Fixed Overload table bug noticed by JakobMon P Wang2009-11-071-1/+0
| | | | llvm-svn: 86332
* Missed this.Evan Cheng2009-11-071-1/+12
| | | | llvm-svn: 86331
* Refactor code. Fix a potential missing check. Teach isIdentical() about ↵Evan Cheng2009-11-077-30/+83
| | | | | | tLDRpci_pic. llvm-svn: 86330
* Remove Checker::CheckType() (and instead using ↵Ted Kremenek2009-11-075-122/+83
| | | | | | CheckerVisitor::PreVisitDeclStmt()), and refactor VLASizeChecker to have only one Checker subclass (not two) and to not use the node builders directly (and instead use the newer CheckerContext). llvm-svn: 86329
OpenPOWER on IntegriCloud