| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | eliminate InvalidateLabel and LabelIDList from MMI and replace | Chris Lattner | 2010-03-14 | 4 | -38/+4 | |
| | | | | | | | them with a counter. llvm-svn: 98462 | |||||
| * | use Label->isDefined() instead of isLabelDeleted() now that we | Chris Lattner | 2010-03-14 | 2 | -8/+9 | |
| | | | | | | | | consistently use MCSymbol and only call this predicate after they should have been emitted. llvm-svn: 98461 | |||||
| * | fix some pointless layering violations. | Chris Lattner | 2010-03-14 | 1 | -2/+1 | |
| | | | | | llvm-svn: 98460 | |||||
| * | change EH related stuff (other than EH_LABEL) to use MCSymbol | Chris Lattner | 2010-03-14 | 10 | -129/+115 | |
| | | | | | | | | | | | | | | | | | instead of label ID's. This cleans up and regularizes a bunch of code and makes way for future progress. Unfortunately, this pointed out to me that JITDwarfEmitter.cpp is largely copy and paste from DwarfException/MachineModuleInfo and other places. This is very sad and disturbing. :( One major change here is that TidyLandingPads moved from being called in DwarfException::BeginFunction to being called in DwarfException::EndFunction. There should not be any functionality change from doing this, but I'm not an EH expert. llvm-svn: 98459 | |||||
| * | X86_64: Fix encoding for the rest of the 64i32 instructions too. | Daniel Dunbar | 2010-03-13 | 1 | -12/+12 | |
| | | | | | llvm-svn: 98458 | |||||
| * | X86: Fix ADD64i32 encoding. | Daniel Dunbar | 2010-03-13 | 1 | -2/+2 | |
| | | | | | llvm-svn: 98457 | |||||
| * | MC/X86_64: Symbol support. | Daniel Dunbar | 2010-03-13 | 1 | -6/+10 | |
| | | | | | llvm-svn: 98456 | |||||
| * | MC/Mach-O: Initial x86_64 support. | Daniel Dunbar | 2010-03-13 | 1 | -45/+80 | |
| | | | | | llvm-svn: 98454 | |||||
| * | eliminate the now-unneeded context argument of MBB::getSymbol() | Chris Lattner | 2010-03-13 | 19 | -32/+33 | |
| | | | | | llvm-svn: 98451 | |||||
| * | rearrange MCContext ownership. Before LLVMTargetMachine created it | Chris Lattner | 2010-03-13 | 19 | -89/+85 | |
| | | | | | | | | | | | | and passing off ownership to AsmPrinter. Now MachineModuleInfo creates it and owns it by value. This allows us to use MCSymbols more consistently throughout the rest of the code generator, and simplifies a bit of code. This also allows MachineFunction to keep an MCContext reference handy, and cleans up the TargetRegistry interfaces for AsmPrinters. llvm-svn: 98450 | |||||
| * | Allow types that have been forwarded to to be freed. | Jeffrey Yasskin | 2010-03-13 | 1 | -4/+11 | |
| | | | | | | Tested: make check-lit && valgrind --dsymutil=yes --leak-check=full unittests/ExecutionEngine/JIT/Debug/JITTests llvm-svn: 98447 | |||||
| * | MC/X86_64: Fix matching of leaq. | Daniel Dunbar | 2010-03-13 | 1 | -2/+2 | |
| | | | | | llvm-svn: 98444 | |||||
| * | MC/X86_64: Fix matching of callq. | Daniel Dunbar | 2010-03-13 | 1 | -0/+1 | |
| | | | | | llvm-svn: 98443 | |||||
| * | add a hack to allow parsing negative minint. rdar://7751341 | Chris Lattner | 2010-03-13 | 1 | -2/+8 | |
| | | | | | llvm-svn: 98442 | |||||
| * | add support for MCSymbols as operands to MachineInstrs. | Chris Lattner | 2010-03-13 | 1 | -25/+34 | |
| | | | | | llvm-svn: 98433 | |||||
| * | simplify EmitFrameMoves to take BaseLabel in as a symbol | Chris Lattner | 2010-03-13 | 4 | -18/+13 | |
| | | | | | | | | instead of as a stem+idx pair, simplify the "is a new location" check to use symbol comparison. llvm-svn: 98432 | |||||
| * | simplify some overly general code. The stack always grows down on x86. | Chris Lattner | 2010-03-13 | 1 | -6/+2 | |
| | | | | | llvm-svn: 98431 | |||||
| * | Fix another warning. There is a functionality change but I believe it's correct. | Benjamin Kramer | 2010-03-13 | 1 | -2/+2 | |
| | | | | | llvm-svn: 98430 | |||||
| * | factor some labels, simplify some code. | Chris Lattner | 2010-03-13 | 3 | -14/+15 | |
| | | | | | llvm-svn: 98429 | |||||
| * | Attempt to appease the arm-linux buildbot by fixing the JIT encodings for new | Bob Wilson | 2010-03-13 | 5 | -32/+51 | |
| | | | | | | | base register updating load/store-multiple instructions. llvm-svn: 98427 | |||||
| * | various cleanups. | Chris Lattner | 2010-03-13 | 1 | -16/+17 | |
| | | | | | llvm-svn: 98426 | |||||
| * | MC/Mach-O: PCrel relocations weren't using the right base address, they are | Daniel Dunbar | 2010-03-13 | 1 | -1/+1 | |
| | | | | | | | | 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 the | Daniel Dunbar | 2010-03-13 | 1 | -7/+6 | |
| | | | | | | | compiler may not lead with the text section. llvm-svn: 98418 | |||||
| * | Fix a typo in ValueTracking that's causing instcombine to delete needed ↵ | Evan Cheng | 2010-03-13 | 1 | -1/+1 | |
| | | | | | | | shift instructions. llvm-svn: 98416 | |||||
| * | reimplement the string pool used for inlined function | Chris Lattner | 2010-03-13 | 2 | -23/+38 | |
| | | | | | | | entries to not thrash std::strings and MCSymbols. llvm-svn: 98415 | |||||
| * | switch to the text section at the start of the .s file for darwin/x86 | Chris Lattner | 2010-03-13 | 2 | -1/+7 | |
| | | | | | | | | targets. This is a temporary hack for the .o file writer that Daniel wants :) llvm-svn: 98413 | |||||
| * | Delete MDNodes when LLVMContext is destroyed. Previous attempts: r97918, ↵ | Jeffrey Yasskin | 2010-03-13 | 2 | -16/+25 | |
| | | | | | | | | | | | 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 for | Bob Wilson | 2010-03-13 | 11 | -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 Patel | 2010-03-13 | 1 | -3/+2 | |
| | | | | | llvm-svn: 98408 | |||||
| * | MC/X86: Add temporary hack to match shrl $1,%eax correctly, to support testing | Daniel Dunbar | 2010-03-13 | 1 | -0/+9 | |
| | | | | | | | other functionality on 403.gcc compiled at -O0. llvm-svn: 98405 | |||||
| * | Remove extra parameter. | Devang Patel | 2010-03-13 | 1 | -5/+4 | |
| | | | | | llvm-svn: 98403 | |||||
| * | Combine the code to build VLDM and VSTM instructions, since they are | Bob Wilson | 2010-03-13 | 1 | -16/+14 | |
| | | | | | | | mostly the same. llvm-svn: 98402 | |||||
| * | Do not overestimate code size reduction in presense of debug info. | Devang Patel | 2010-03-13 | 1 | -6/+11 | |
| | | | | | | | Use CodeMetrics.analyzeBasicBlock() to estimate BB size. llvm-svn: 98401 | |||||
| * | Tidy up. No functional changes. | Bob Wilson | 2010-03-12 | 1 | -15/+16 | |
| | | | | | llvm-svn: 98398 | |||||
| * | MC/Mach-O: Implement initial support for relaxation. | Daniel Dunbar | 2010-03-12 | 1 | -9/+117 | |
| | | | | | | | | | | | | | - 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 Wilson | 2010-03-12 | 1 | -30/+0 | |
| | | | | | llvm-svn: 98395 | |||||
| * | Fix LLVM build when the user specifies CPPFLAGS on the make command line. | Jeffrey Yasskin | 2010-03-12 | 17 | -17/+17 | |
| | | | | | llvm-svn: 98394 | |||||
| * | remove gone method, grr symlinks. | Chris Lattner | 2010-03-12 | 1 | -6/+0 | |
| | | | | | llvm-svn: 98392 | |||||
| * | remove special case code that isn't needed anymore. | Chris Lattner | 2010-03-12 | 1 | -5/+0 | |
| | | | | | llvm-svn: 98391 | |||||
| * | inline GetGlobalValueSymbol into the rest its callers and | Chris Lattner | 2010-03-12 | 15 | -36/+45 | |
| | | | | | | | remove it. llvm-svn: 98390 | |||||
| * | inline the now-trivial implementation of GetGlobalValueSymbol into | Chris Lattner | 2010-03-12 | 3 | -22/+17 | |
| | | | | | | | some of its callers. llvm-svn: 98388 | |||||
| * | eliminate the X86 version of GetGlobalValueSymbol, allowing | Chris Lattner | 2010-03-12 | 2 | -5/+0 | |
| | | | | | | | it to be non-virtual and soon disappear. llvm-svn: 98387 | |||||
| * | prune #includes, this file should be removed pending hte cygwin stub issue ↵ | Chris Lattner | 2010-03-12 | 1 | -8/+0 | |
| | | | | | | | being resolved. llvm-svn: 98386 | |||||
| * | move fastcall/stdcall mangling up into Mangler. | Chris Lattner | 2010-03-12 | 7 | -67/+62 | |
| | | | | | llvm-svn: 98384 | |||||
| * | MC: Factor out MCAssembler::EvaluateFixup, and simplify. | Daniel Dunbar | 2010-03-12 | 1 | -33/+52 | |
| | | | | | llvm-svn: 98381 | |||||
| * | MC: Constify MCAsmLayout argument to MCExpr::EvaluteAs... | Daniel Dunbar | 2010-03-12 | 3 | -4/+5 | |
| | | | | | llvm-svn: 98380 | |||||
| * | MC: Add MCAssembler::addFixup, which enforces that fixups are added in order. | Daniel Dunbar | 2010-03-12 | 1 | -6/+4 | |
| | | | | | llvm-svn: 98379 | |||||
| * | give Mangler access to TargetData. | Chris Lattner | 2010-03-12 | 3 | -3/+3 | |
| | | | | | llvm-svn: 98378 | |||||
| * | make DecorateCygMingName a static method. | Chris Lattner | 2010-03-12 | 3 | -10/+8 | |
| | | | | | llvm-svn: 98377 | |||||
| * | Add a virtual destructor and give vtable a home. | Benjamin Kramer | 2010-03-12 | 1 | -0/+2 | |
| | | | | | llvm-svn: 98376 | |||||

