summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove Value::{isName, getNameRef}.Daniel Dunbar2009-07-2515-71/+49
| | | | | | Also, change MDString to use a StringRef. llvm-svn: 77098
* Preserve qualifiers.Mike Stump2009-07-251-3/+10
| | | | llvm-svn: 77097
* make SectionKind be a first-class pod struct instead of justChris Lattner2009-07-2510-70/+87
| | | | | | an enum. llvm-svn: 77096
* PR3575 - warn on declared variable or function attributes after a ↵Ryan Flynn2009-07-254-0/+49
| | | | | | definition, which are currently ignored. llvm-svn: 77095
* Refactor ObjCImplDecl::getInstanceMethod/getClassMethod into oneArgyrios Kyrtzidis2009-07-252-30/+9
| | | | | | ObjCImplDecl::getMethod. llvm-svn: 77094
* Refactor ObjCInterfaceDecl::lookupInstanceMethod/lookupClassMethod into oneArgyrios Kyrtzidis2009-07-252-45/+15
| | | | | | ObjCInterfaceDecl::lookupMethod. llvm-svn: 77093
* Refactor ObjCProtocolDecl::lookupInstanceMethod/lookupClassMethod into oneArgyrios Kyrtzidis2009-07-252-20/+12
| | | | | | ObjCProtocolDecl::lookupMethod. llvm-svn: 77092
* Refactor ObjCContainerDecl::getInstanceMethod/getClassMethod into oneArgyrios Kyrtzidis2009-07-252-29/+10
| | | | | | | | ObjCContainerDecl::getMethod. Avoids code duplication. llvm-svn: 77091
* Improve comments (Thanks Fariborz).Mike Stump2009-07-251-2/+4
| | | | llvm-svn: 77090
* Add noreturn as a type attribute, handle printing for them and handleMike Stump2009-07-259-52/+148
| | | | | | calls to noreturn function pointers when CFG building. llvm-svn: 77089
* Added a test and fixed a bug in BumpPtrAllocator relating to large alignmentReid Kleckner2009-07-252-2/+50
| | | | | | values. Hopefully this fixes PR4622. llvm-svn: 77088
* ir-gen for non-virtual base class initializationFariborz Jahanian2009-07-254-4/+90
| | | | | | in constructors. llvm-svn: 77087
* this is (unfortunately) several changes mixed together:Chris Lattner2009-07-2514-89/+100
| | | | | | | | | | | | | | 1. Spell SectionFlags::Writeable as "Writable". 2. Add predicates for deriving SectionFlags from SectionKinds. 3. Sink ELF-specific getSectionPrefixForUniqueGlobal impl into ELFTargetAsmInfo. 4. Fix SectionFlagsForGlobal to know that BSS/ThreadBSS has the BSS bit set (the real fix for PR4619). 5. Fix isSuitableForBSS to not put globals with explicit sections set in BSS (which was the reason #4 wasn't fixed earlier). 6. Remove my previous hack for PR4619. llvm-svn: 77085
* document some invariants.Chris Lattner2009-07-252-4/+10
| | | | llvm-svn: 77084
* add the most expedient hack to fix PR4619, along with a testcase.Chris Lattner2009-07-252-0/+13
| | | | | | Thanks to Rafael for the great example. llvm-svn: 77083
* Fix a few comments to say "backedge-taken count" instead ofDan Gohman2009-07-251-2/+3
| | | | | | "trip count". llvm-svn: 77081
* SCEV objects are no longer reference-counted.Dan Gohman2009-07-251-3/+2
| | | | llvm-svn: 77080
* Update comments to new-style syntax.Dan Gohman2009-07-251-1/+1
| | | | llvm-svn: 77079
* When attempting to sign-extend an addrec by interpretingDan Gohman2009-07-252-2/+76
| | | | | | | the step value as unsigned, the start value and the addrec itself still need to be treated as signed. llvm-svn: 77078
* Remove spurious semicolons.Dan Gohman2009-07-251-2/+2
| | | | llvm-svn: 77077
* Implement C++ semantics for C-style and functional-style casts. This ↵Sebastian Redl2009-07-2512-561/+928
| | | | | | | | regresses Clang extension conversions, like vectors, but allows conversions via constructors and conversion operators. Add custom conversions to static_cast. llvm-svn: 77076
* MultiTestRunner: Make sure to point at src dir, for out of tree builds.Daniel Dunbar2009-07-252-32/+32
| | | | | | Factor out routine for executing the script commands. llvm-svn: 77075
* MultiTestRunner: Cleanup test execution & output.Daniel Dunbar2009-07-252-121/+84
| | | | | | | | - Stop writing everything to files. - Make test output more standard. llvm-svn: 77074
* MultiTestRunner: Drop external script and DejaGNU compatibility options for now.Daniel Dunbar2009-07-252-41/+6
| | | | | | - We don't use the former, and the latter doesn't actually work. llvm-svn: 77073
* MultiTestRunner: Disable valgrind support for now, I don't feel like maintainingDaniel Dunbar2009-07-252-26/+5
| | | | | | it currently. llvm-svn: 77072
* MultiTestRunner/Win32: Add SYSTEMROOT to environment, replace '&&' in .batDaniel Dunbar2009-07-251-2/+8
| | | | | | files. llvm-svn: 77071
* Make having no RUN line a failure.Daniel Dunbar2009-07-259-8/+23
| | | | | | | Doug, please look at decltype-crash and instantiate-function-1.mm, I'm not sure if they are actually testing the right thing / anything. llvm-svn: 77070
* Remove TESTDIR initialization, MultiTestRunner can find the test dirs itself.Daniel Dunbar2009-07-251-1/+1
| | | | llvm-svn: 77069
* Remove empty tests, left over from an svn revert.Daniel Dunbar2009-07-252-0/+0
| | | | llvm-svn: 77068
* Remove this Makefile, it is unused.Daniel Dunbar2009-07-251-21/+0
| | | | llvm-svn: 77067
* MultiTestRunner: Oops, clang wasn't being substituted properly. This is why theDaniel Dunbar2009-07-251-13/+15
| | | | | | | cxx-using-declaration test case started exhibiting different behavior. It still needs to be fixed, however... llvm-svn: 77066
* Convert DOUT to DEBUG.Andreas Bolka2009-07-251-5/+5
| | | | llvm-svn: 77065
* MultiTestRunner: Always use absolute path names for tests.Daniel Dunbar2009-07-252-2/+4
| | | | | | Also, fix a function name I forgot to update. llvm-svn: 77064
* Disable this test: cxx-using-declaration.cppDaniel Dunbar2009-07-251-1/+4
| | | | | | | | | | Something strange is going on here; this test randomly started failing after unrelated changes to TestRunner.py (even though it runs the same script). Argiris or Doug, can one of you investigate? llvm-svn: 77063
* MultiTestRunner: Validate '&&' at the end of RUN lines.Daniel Dunbar2009-07-2526-44/+67
| | | | | | | | - This is just to normalize, these will go away soon hopefully. Added all the missing '&&'s that have crept in. :) llvm-svn: 77062
* MultiTestRunner: Explicitly define child environment, the only variable we needDaniel Dunbar2009-07-251-5/+4
| | | | | | to import is the PATH. llvm-svn: 77061
* Simplify JIT target selection.Daniel Dunbar2009-07-2517-156/+58
| | | | | | | | | | - Instead of requiring targets to define a JIT quality match function, we just have them specify if they support a JIT. - Target selection for the JIT just gets the host triple and looks for the best target which matches the triple and has a JIT. llvm-svn: 77060
* MultiTestRunner.py improvements.Daniel Dunbar2009-07-252-8/+14
| | | | | | | - Tweak output directories for temp files, derive the temporary base from the test's parent directory name, and the test name (instead of the whole path). llvm-svn: 77059
* MultiTestRunner.py improvements.Daniel Dunbar2009-07-251-8/+40
| | | | | | | | | | | | | - Not improved: the horribly lousy name. :) - Suppress stderr when capturing output. - Rewrite which() to do the right PATH search instead of being lazy and shelling out to 'which'. - On Windows, run scripts as batch files (via 'cmd /c ...'). llvm-svn: 77058
* Change these tests to not depend as much on the name of the input.Daniel Dunbar2009-07-252-2/+2
| | | | llvm-svn: 77057
* Mark attributes of return insn correctly. It was being assumed safe to ↵Sanjiv Gupta2009-07-251-0/+1
| | | | | | delete in isSafeToDelete (a thing checked-in 76281). llvm-svn: 77056
* remove this test. It is currently failing because we now emit the stringChris Lattner2009-07-251-11/+0
| | | | | | | | on darwin with ".cstring" instead of ".section __TEXT,__cstring". They are the same and the former is better. Remove this because this is no longer magic pixie dust in the frontend. llvm-svn: 77055
* eventually we should describe string options in the data structures sectionChris Lattner2009-07-251-0/+22
| | | | llvm-svn: 77054
* minor tweaks.Chris Lattner2009-07-251-8/+9
| | | | llvm-svn: 77053
* Add new helpers for registering targets.Daniel Dunbar2009-07-2540-344/+188
| | | | | | - Less boilerplate == good. llvm-svn: 77052
* Finish migrating VMCore to StringRef/Twine based APIs.Daniel Dunbar2009-07-2517-141/+126
| | | | llvm-svn: 77051
* Ok, "most clients should be unaffected" was a lie. Add notes on upgrading.Daniel Dunbar2009-07-251-1/+24
| | | | llvm-svn: 77050
* Initial update to VMCore to use Twines for string arguments.Daniel Dunbar2009-07-2519-276/+392
| | | | | | | - The only meat here is in Value.{h,cpp} the rest is essential 'const std::string &' -> 'const Twine &'. llvm-svn: 77048
* Semantic checking for main().John McCall2009-07-2512-4/+134
| | | | | | | Fix some invalid main() methods in the test suite that were nicely exposed by the new checks. llvm-svn: 77047
* Flesh out the QualifierSet API.John McCall2009-07-251-0/+24
| | | | llvm-svn: 77046
OpenPOWER on IntegriCloud