summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update Triple to use StringRef/Twine based APIs.Daniel Dunbar2009-07-263-108/+85
| | | | | | - This is now shorter, simpler, safer, and more efficient, what a deal. llvm-svn: 77119
* Add StringRef::{slice, split}, two convenient string operations which are simpleDaniel Dunbar2009-07-262-3/+53
| | | | | | and efficient on a StringRef. llvm-svn: 77117
* put normal data into .data instead of .data.rel on elf systems.Chris Lattner2009-07-263-23/+28
| | | | llvm-svn: 77116
* Remove unused headerDaniel Dunbar2009-07-261-1/+0
| | | | llvm-svn: 77115
* Kill Target specific ModuleMatchQuality stuff.Daniel Dunbar2009-07-2616-286/+13
| | | | | | - This was overkill and inconsistently implemented. llvm-svn: 77114
* Update for API change.Daniel Dunbar2009-07-261-1/+1
| | | | llvm-svn: 77112
* Add TargetRegistry::lookupTarget.Daniel Dunbar2009-07-268-107/+57
| | | | | | | | | | | | | | - This is a simplified mechanism which just looks up a target based on the target triple, with a few additional flags. - Remove getClosestStaticTargetForModule, the moral equivalent is now: lookupTarget(Mod->getTargetTriple, true, false, ...); - This no longer does the fuzzy matching with target data (based on endianness and pointer width) that getClosestStaticTargetForModule was doing, but this was deemed unnecessary. llvm-svn: 77111
* eliminate a pointless switch stmt.Chris Lattner2009-07-261-11/+2
| | | | llvm-svn: 77110
* Lookup targets by Triple instead of Module.Daniel Dunbar2009-07-261-1/+2
| | | | llvm-svn: 77108
* finish simplifying DarwinTargetAsmInfo::SelectSectionForGlobalChris Lattner2009-07-263-23/+42
| | | | | | | for now. Make the section switching directives more consistent by not including \n and including \t for them all. llvm-svn: 77107
* Some clients rely on getName{Start,End} not returning 0, even if the length isDaniel Dunbar2009-07-261-2/+8
| | | | | | | 0. - I could have swore the prev change went through a make check cycle... llvm-svn: 77106
* Rewrite getName{Start,End,Len} in terms of getName(), instead of vice-versa.Daniel Dunbar2009-07-262-20/+14
| | | | llvm-svn: 77105
* simplify DarwinTargetAsmInfo::SelectSectionForGlobal a bitChris Lattner2009-07-262-16/+37
| | | | | | | | | | | and make it more aggressive, we now put: const int G2 __attribute__((weak)) = 42; into the text (readonly) segment like gcc, previously we put it into the data (readwrite) segment. llvm-svn: 77104
* simplify some predicates, add isMergableString()Chris Lattner2009-07-261-12/+10
| | | | llvm-svn: 77103
* Simplify.Daniel Dunbar2009-07-261-12/+5
| | | | llvm-svn: 77102
* Add support for ARM Neon VREV instructions.Bob Wilson2009-07-264-0/+214
| | | | | | Patch by Anton Korzh, with some modifications from me. llvm-svn: 77101
* Remove Value::setName(const char*, unsigned).Daniel Dunbar2009-07-264-12/+15
| | | | llvm-svn: 77100
* Remove Value::setName(const char*).Daniel Dunbar2009-07-262-8/+1
| | | | | | | | - Split into a separate patch because there is a slight functionality change, it is no longer valid to call setName(0), which was equivalent to setName(""). I'm hoping no one depends on this... llvm-svn: 77099
* 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
OpenPOWER on IntegriCloud