summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Re-revert the explicit template instantiation linkage patch. I am beginning ↵Douglas Gregor2010-03-1310-39/+36
| | | | | | to look incompetent llvm-svn: 98425
* Reinstate patch to turn explicit template instantiations into weak symbolsDouglas Gregor2010-03-1310-36/+39
| | | | llvm-svn: 98424
* Implement several CIndex functions for constructing USRs from C-strings ↵Ted Kremenek2010-03-133-75/+244
| | | | | | instead of AST elements. llvm-svn: 98421
* MC/Mach-O: PCrel relocations weren't using the right base address, they areDaniel Dunbar2010-03-132-1/+15
| | | | | | | relative to the fragment address, not its offset. This was masked by the text section normally being at address 0. llvm-svn: 98420
* llvm-mc: Support -n, useful for comparing -integrated-as output since theDaniel Dunbar2010-03-133-9/+12
| | | | | | compiler may not lead with the text section. llvm-svn: 98418
* llvm-mc: Support -arch as a simplified form of -triple.Daniel Dunbar2010-03-131-2/+15
| | | | llvm-svn: 98417
* Fix a typo in ValueTracking that's causing instcombine to delete needed ↵Evan Cheng2010-03-132-1/+21
| | | | | | shift instructions. llvm-svn: 98416
* reimplement the string pool used for inlined functionChris Lattner2010-03-132-23/+38
| | | | | | entries to not thrash std::strings and MCSymbols. llvm-svn: 98415
* Remove the last memory leak from the VMCore unit tests.Jeffrey Yasskin2010-03-131-2/+2
| | | | | Tested: valgrind --leak-check=full unittests/VMCore/Debug/VMCoreTests llvm-svn: 98414
* switch to the text section at the start of the .s file for darwin/x86Chris Lattner2010-03-132-1/+7
| | | | | | | targets. This is a temporary hack for the .o file writer that Daniel wants :) llvm-svn: 98413
* Remove a memory leak from MetadataTest.Jeffrey Yasskin2010-03-131-2/+2
| | | | | Tested: valgrind --leak-check=full unittests/VMCore/Debug/VMCoreTests llvm-svn: 98412
* Remove a memory leak from VerifierTest.Jeffrey Yasskin2010-03-131-3/+4
| | | | | Tested: valgrind --leak-check=full unittests/VMCore/Debug/VMCoreTests llvm-svn: 98411
* Delete MDNodes when LLVMContext is destroyed. Previous attempts: r97918, ↵Jeffrey Yasskin2010-03-133-22/+26
| | | | | | | | | | r97788. Tested: clang debug bootstrap, llvm-gcc bootstrap, `make check-lit` after configuring with --with-llvmgccdir (and this did run the FrontendC* tests this time) llvm-svn: 98410
* Change ARM ld/st multiple instructions to have variant instructions forBob Wilson2010-03-1311-179/+291
| | | | | | | | | | | | | | | writebacks to the address register. This gets rid of the hack that the first register on the list was the magic writeback register operand. There was an implicit constraint that if that operand was not reg0 it had to match the base register operand. The post-RA scheduler's antidependency breaker did not understand that constraint and sometimes changed one without the other. This also fixes Radar 7495976 and should help the verifier work better for ARM code. There are now new ld/st instructions explicit writeback operands and explicit constraints that tie those registers together. llvm-svn: 98409
* Do not ignore arg_size() impact while counting bb instructions.Devang Patel2010-03-131-3/+2
| | | | llvm-svn: 98408
* MC/X86: Add temporary hack to match shrl $1,%eax correctly, to support testingDaniel Dunbar2010-03-132-0/+12
| | | | | | other functionality on 403.gcc compiled at -O0. llvm-svn: 98405
* MC/X86: Add an XFAIL test where we aren't matching the correct instructionDaniel Dunbar2010-03-131-0/+8
| | | | | | | because we don't understand how the specific instruction is doing sign extension. llvm-svn: 98404
* Remove extra parameter.Devang Patel2010-03-132-6/+5
| | | | llvm-svn: 98403
* Combine the code to build VLDM and VSTM instructions, since they areBob Wilson2010-03-131-16/+14
| | | | | | mostly the same. llvm-svn: 98402
* Do not overestimate code size reduction in presense of debug info.Devang Patel2010-03-132-7/+16
| | | | | | Use CodeMetrics.analyzeBasicBlock() to estimate BB size. llvm-svn: 98401
* Check compatibility of vector types using their canonicalizations.John McCall2010-03-122-2/+12
| | | | | | | | | Fixes an assertion arising C overload analysis, but really I can't imagine that this wouldn't cause a thousand other uncaught failures. Fixes PR6600. llvm-svn: 98400
* Allow users to set CPPFLAGS and CXXFLAGS on the make command line.Jeffrey Yasskin2010-03-1212-15/+15
| | | | | Tested: make CPPFLAGS=-m64 CXXFLAGS=-m64 -j8 && (cd tools/clang;make test) llvm-svn: 98399
* Tidy up. No functional changes.Bob Wilson2010-03-121-15/+16
| | | | llvm-svn: 98398
* Use llvm::SmallVector instead of std::vector.Ted Kremenek2010-03-121-2/+3
| | | | llvm-svn: 98397
* MC/Mach-O: Implement initial support for relaxation.Daniel Dunbar2010-03-124-9/+193
| | | | | | | | | | | | - The implementation is currently very brain dead and inefficient, but I have a clear plan on how to fix it. - The good news is, it works and correctly assembles 403.gcc (when built with Clang, at '-Os', '-Os -g', and '-O3'). Even better, at '-Os' and '-Os -g', the resulting binary is exactly equivalent to that when built with the system assembler. So it probably works! :) llvm-svn: 98396
* Remove obsolete comments. VLDM is implemented in ARMInstrVFP.td.Bob Wilson2010-03-121-30/+0
| | | | llvm-svn: 98395
* Fix LLVM build when the user specifies CPPFLAGS on the make command line.Jeffrey Yasskin2010-03-1217-17/+17
| | | | llvm-svn: 98394
* Fix a rare corner case bug which exposed a serious block API generationFariborz Jahanian2010-03-121-62/+62
| | | | | | | | | | | when initialized variable is a byref block variable and is referenced recursively in the initializer (you guessed it, it is block implementation of fibonacci number). Fix, on the other hand is trvial, by generating the API for byref variable before API for its initializer. We will have this test added to our internal test suite as a clang-style test is not possible due to very convoluted IR sequence. Fixes radar 7745514. llvm-svn: 98393
* remove gone method, grr symlinks.Chris Lattner2010-03-121-6/+0
| | | | llvm-svn: 98392
* remove special case code that isn't needed anymore.Chris Lattner2010-03-121-5/+0
| | | | llvm-svn: 98391
* inline GetGlobalValueSymbol into the rest its callers andChris Lattner2010-03-1216-40/+45
| | | | | | remove it. llvm-svn: 98390
* inline the now-trivial implementation of GetGlobalValueSymbol intoChris Lattner2010-03-123-22/+17
| | | | | | some of its callers. llvm-svn: 98388
* eliminate the X86 version of GetGlobalValueSymbol, allowingChris Lattner2010-03-123-6/+1
| | | | | | it to be non-virtual and soon disappear. llvm-svn: 98387
* prune #includes, this file should be removed pending hte cygwin stub issue ↵Chris Lattner2010-03-121-8/+0
| | | | | | being resolved. llvm-svn: 98386
* If main file name is empty then use "<unknown>".Devang Patel2010-03-121-1/+4
| | | | llvm-svn: 98385
* move fastcall/stdcall mangling up into Mangler.Chris Lattner2010-03-128-67/+71
| | | | llvm-svn: 98384
* MC: Factor out MCAssembler::EvaluateFixup, and simplify.Daniel Dunbar2010-03-122-33/+73
| | | | llvm-svn: 98381
* MC: Constify MCAsmLayout argument to MCExpr::EvaluteAs...Daniel Dunbar2010-03-126-16/+18
| | | | llvm-svn: 98380
* MC: Add MCAssembler::addFixup, which enforces that fixups are added in order.Daniel Dunbar2010-03-122-6/+11
| | | | llvm-svn: 98379
* give Mangler access to TargetData.Chris Lattner2010-03-126-6/+9
| | | | llvm-svn: 98378
* make DecorateCygMingName a static method.Chris Lattner2010-03-123-10/+8
| | | | llvm-svn: 98377
* Add a virtual destructor and give vtable a home.Benjamin Kramer2010-03-122-0/+3
| | | | llvm-svn: 98376
* Preserve the inherited-default-argument bit through instantiation.John McCall2010-03-121-0/+2
| | | | llvm-svn: 98375
* minor tidying, only do work if a function is Chris Lattner2010-03-124-16/+15
| | | | | | actually X86_StdCall or X86_FastCall. llvm-svn: 98374
* eliminate the string form of DecorateCygMingNameChris Lattner2010-03-124-50/+41
| | | | llvm-svn: 98373
* remove the FnArgWords cache to make way for future changes.Chris Lattner2010-03-122-17/+11
| | | | llvm-svn: 98372
* Add a beta-test for placing the LSDA into the TEXT section on X86.Bill Wendling2010-03-122-2/+57
| | | | llvm-svn: 98370
* Fix llc crash on invalid input.Devang Patel2010-03-122-0/+27
| | | | llvm-svn: 98369
* Remove some dead code. This method only gets called on Chris Lattner2010-03-121-5/+0
| | | | | | definitions. llvm-svn: 98368
* use Mang->getSymbol instead of duplicating the logic, reduce indentation.Chris Lattner2010-03-121-19/+13
| | | | llvm-svn: 98367
OpenPOWER on IntegriCloud