summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Tidy up. No functional changes.Bob Wilson2010-03-121-15/+16
| | | | llvm-svn: 98398
* 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
* 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
* 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
* 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
* finally give Mangler a getSymbol method, which returns an MCSymbolChris Lattner2010-03-124-19/+24
| | | | | | for a global instead of messing around with string buffers. llvm-svn: 98366
* remove dead code.Chris Lattner2010-03-122-24/+0
| | | | llvm-svn: 98365
* simplify code to use OutContext.GetOrCreateTemporarySymbol withChris Lattner2010-03-122-13/+10
| | | | | | | no arguments instead of having to come up with a unique name. This also makes the code less fragile. llvm-svn: 98364
* make the mangler take an MCContext instead of an MAI.Chris Lattner2010-03-129-61/+66
| | | | | | No functionality change. llvm-svn: 98363
* remove MAI argument from createAsmStreamer since itChris Lattner2010-03-124-10/+7
| | | | | | can get it from the context now. llvm-svn: 98361
* fix a bug emitting .secrel32 that I introduced, PR6587, patchChris Lattner2010-03-121-2/+3
| | | | | | by A.Mazur! llvm-svn: 98360
* When constant folding GEP of GEP, do not crash if an index ofDuncan Sands2010-03-122-1/+26
| | | | | | the inner GEP is not a ConstantInt. llvm-svn: 98359
* Free DbgScopes in DwarfDebug::endFunction(). Also increased the const-ness ofJeffrey Yasskin2010-03-124-37/+59
| | | | | | several fields to make it easier to figure out where bugs might be creeping in. llvm-svn: 98358
* Revert turning copysignl into a COPYSIGN node for the moment:Duncan Sands2010-03-121-1/+1
| | | | | | | ppc calls copysignl with a 128 bit ppc long double, resulting in a node that the type legalizer doesn't know how to expand. llvm-svn: 98357
* Remove superfluous NULL assignmentKovarththanan Rajaratnam2010-03-121-11/+11
| | | | llvm-svn: 98350
* Use StringRef::substr instead of std::string::substr to avoid using a free'dBenjamin Kramer2010-03-121-1/+2
| | | | | | string temporary. This should fix PR6590. llvm-svn: 98349
* Now that it's supported, turn copysignl into a COPYSIGN node.Duncan Sands2010-03-121-1/+1
| | | | llvm-svn: 98348
* Fix PR6522: implement copysign expansion for x86 long doubleDuncan Sands2010-03-121-23/+39
| | | | | | | | (it seems that FreeBSD doesn't have copysignl). Done by removing a bunch of assumptions from the code. This may also help with sparc 128 bit floats. llvm-svn: 98346
* Factor checked library call optimization into a common helper class and use itBenjamin Kramer2010-03-124-200/+140
| | | | | | to unify the almost identical code in CodeGenPrepare and InstCombineCalls. llvm-svn: 98338
* fix PR6577, a bug in sdbuilder lowering select instructionsChris Lattner2010-03-122-1/+16
| | | | | | whose true value was not Val#0. llvm-svn: 98336
* update mkpatch for MC, patch by Aaron GrayChris Lattner2010-03-121-1/+1
| | | | llvm-svn: 98334
* The same situation that effected ARM effects PPC with regards to placing theBill Wendling2010-03-125-4/+81
| | | | | | | | | LSDA into the TEXT section. We need to generate non-lazy pointers to it on Mach-O. However, the object the NLP points to may be local to the translation unit. If so, then the NLP needs to have the value of that object specified instead of "0", which the linker interprets as "external". llvm-svn: 98325
* make TargetLoweringObjectFile::getExprForDwarfReferenceChris Lattner2010-03-122-11/+1
| | | | | | | just make unnamed temp symbols instead of having to come up with its own names. llvm-svn: 98324
* There is no need to create specification DIE for definitions at DIFile level.Devang Patel2010-03-111-1/+2
| | | | llvm-svn: 98302
* MC-ize PPC's asm printing of stubs.Bill Wendling2010-03-111-9/+20
| | | | llvm-svn: 98300
* Whoops this already existed.Nate Begeman2010-03-112-7/+0
| | | | llvm-svn: 98297
* Add a handful of additional useful pass manager things to the C APINate Begeman2010-03-112-0/+25
| | | | llvm-svn: 98296
* Extract methods from LocalRewriter::RewriteMBB bringing it down to 666 lines.Jakob Stoklund Olesen2010-03-111-168/+197
| | | | llvm-svn: 98295
* enhance MCContext::GetOrCreateTemporarySymbol() to create a new symbolChris Lattner2010-03-111-0/+6
| | | | | | with an arbitrary unique name. llvm-svn: 98294
* change MCContext to always have an MCAsmInfo.Chris Lattner2010-03-116-15/+24
| | | | llvm-svn: 98293
OpenPOWER on IntegriCloud