| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix the third (and last known) case of code update problems due | Chris Lattner | 2010-03-16 | 2 | -28/+122 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | to LLVM IR changes with addr label weirdness. In the testcase, we generate references to the two bb's when codegen'ing the first function: _test1: ## @test1 leaq Ltmp0(%rip), %rax .. leaq Ltmp1(%rip), %rax Then continue to codegen the second function where the blocks get merged. We're now smart enough to emit both labels, producing this code: _test_fun: ## @test_fun ## BB#0: ## %entry Ltmp1: ## Block address taken Ltmp0: ## BB#1: ## %ret movl $-1, %eax ret Rejoice. llvm-svn: 98595 | ||||
| * | Now that the default for Darwin platforms is to place the LSDA into the TEXT | Bill Wendling | 2010-03-15 | 1 | -3/+3 |
| | | | | | | | section, remove the target-specific code that performs this. llvm-svn: 98580 | ||||
| * | Implement support for the case when a reference to a addr-of-bb | Chris Lattner | 2010-03-15 | 2 | -6/+69 |
| | | | | | | | | | | label is generated, but then the block is deleted. Since the value is undefined, we just emit the label right after the entry label of the function. It might matter that the label is in the same section as the function was afterall. llvm-svn: 98579 | ||||
| * | use Mang->getSymbol() more. | Chris Lattner | 2010-03-15 | 1 | -35/+17 |
| | | | | | llvm-svn: 98577 | ||||
| * | Create SDDbgValue for dbg_value intrinsics and remember its connections with ↵ | Devang Patel | 2010-03-15 | 1 | -5/+28 |
| | | | | | | | | | DAG nodes. This is a work in progress. Patch by Dale Johannesen! llvm-svn: 98568 | ||||
| * | Fix the case when a reference to an address taken BB is emitted in one | Chris Lattner | 2010-03-15 | 1 | -6/+110 |
| | | | | | | | | | function, then the BB is RAUW'd before the definition is emitted. There are still two cases not being handled, but this should improve us back to the situation before I touched anything. llvm-svn: 98566 | ||||
| * | revert r98550, it isn't necessary or sufficient. | Chris Lattner | 2010-03-15 | 1 | -15/+3 |
| | | | | | llvm-svn: 98558 | ||||
| * | Emit dwarf variable info communicated by code generator through DBG_VALUE ↵ | Devang Patel | 2010-03-15 | 4 | -14/+107 |
| | | | | | | | | | machine instructions. This is a work in progress. llvm-svn: 98556 | ||||
| * | don't eliminate address-taken blocks here. | Chris Lattner | 2010-03-15 | 1 | -3/+15 |
| | | | | | llvm-svn: 98550 | ||||
| * | SIGN_EXTEND from the same type as the dest is valid. | Chris Lattner | 2010-03-15 | 1 | -1/+1 |
| | | | | | llvm-svn: 98548 | ||||
| * | sink the call to VT.getSizeInBits() down into its uses, | Chris Lattner | 2010-03-15 | 1 | -7/+5 |
| | | | | | | | not all unary nodes necessarily have a simple result type. llvm-svn: 98547 | ||||
| * | fix MCSectionELF to not leak memory, just like I did for MCSymbol. | Chris Lattner | 2010-03-15 | 1 | -4/+6 |
| | | | | | | | | MCSectionMachO is already fine (yay for fixed size arrays?), MCSectionCOFF still leaks. llvm-svn: 98537 | ||||
| * | remove dead method. | Chris Lattner | 2010-03-15 | 1 | -7/+0 |
| | | | | | llvm-svn: 98526 | ||||
| * | Remove pointless forward declaration, MSVC got confused by this. | Benjamin Kramer | 2010-03-14 | 1 | -1/+0 |
| | | | | | llvm-svn: 98519 | ||||
| * | Turn calls to copysignl into an FCOPYSIGN node. Handle FCOPYSIGN nodes | Duncan Sands | 2010-03-14 | 4 | -1/+18 |
| | | | | | | | | with ppc_f128 type by having the type legalizer turn these back into a call to copysignl. llvm-svn: 98514 | ||||
| * | Rename SDDbgValue.h to SDNodeDbgValue.h for consistency. | Evan Cheng | 2010-03-14 | 4 | -6/+6 |
| | | | | | llvm-svn: 98513 | ||||
| * | fix ShrinkDemandedOps to not leave dead nodes around, | Chris Lattner | 2010-03-14 | 1 | -0/+6 |
| | | | | | | | fixing PR6607 llvm-svn: 98512 | ||||
| * | rewrite ShrinkDemandedOps to be faster and indent less, | Chris Lattner | 2010-03-14 | 1 | -48/+64 |
| | | | | | | | no functionality change. llvm-svn: 98511 | ||||
| * | make -view-isel-dags print after the 'ShrinkDemandedOps' pass. | Chris Lattner | 2010-03-14 | 1 | -2/+2 |
| | | | | | llvm-svn: 98509 | ||||
| * | Make default expansion for FP16 <-> FP32 nodes into libcalls | Anton Korobeynikov | 2010-03-14 | 6 | -0/+47 |
| | | | | | llvm-svn: 98501 | ||||
| * | Add DAG nodes to represent FP16 <-> FP32 intrinsics | Anton Korobeynikov | 2010-03-14 | 1 | -0/+8 |
| | | | | | llvm-svn: 98500 | ||||
| * | fix AsmPrinter::GetBlockAddressSymbol to always return a unique | Chris Lattner | 2010-03-14 | 3 | -21/+18 |
| | | | | | | | | label instead of trying to form one based on the BB name (which causes collisions if the name is empty). This fixes PR6608 llvm-svn: 98495 | ||||
| * | get MMI out of the label uniquing business, just go to MCContext | Chris Lattner | 2010-03-14 | 4 | -14/+6 |
| | | | | | | | to get unique assembler temporary labels. llvm-svn: 98489 | ||||
| * | don't use getDWLabel("label" anymore, always go through MMI. | Chris Lattner | 2010-03-14 | 1 | -2/+2 |
| | | | | | llvm-svn: 98485 | ||||
| * | remove now-dead code, all labels use MCSymbols. | Chris Lattner | 2010-03-14 | 1 | -10/+1 |
| | | | | | llvm-svn: 98484 | ||||
| * | change SrcLineInfo to contain a label instead of a label ID. | Chris Lattner | 2010-03-14 | 2 | -9/+7 |
| | | | | | llvm-svn: 98483 | ||||
| * | Now that DBG_LABEL is updated, we can finally make MachineMove | Chris Lattner | 2010-03-14 | 1 | -6/+2 |
| | | | | | | | contain an MCSymbol instead of a label index. llvm-svn: 98482 | ||||
| * | change the DBG_LABEL MachineInstr to always be created | Chris Lattner | 2010-03-14 | 1 | -7/+1 |
| | | | | | | | with an MCSymbol instead of an immediate. llvm-svn: 98481 | ||||
| * | unbreak the build, grr symlinks. | Chris Lattner | 2010-03-14 | 1 | -3/+3 |
| | | | | | llvm-svn: 98477 | ||||
| * | Change this code to allocate temporary labels from mccontext, | Chris Lattner | 2010-03-14 | 1 | -1/+1 |
| | | | | | | | not from MMI. llvm-svn: 98475 | ||||
| * | switch GC_LABEL to use an MCSymbol operand instead of a label ID operand. | Chris Lattner | 2010-03-14 | 4 | -36/+33 |
| | | | | | llvm-svn: 98474 | ||||
| * | Fix some EH failures on NNT I introduced in r98461 | Chris Lattner | 2010-03-14 | 1 | -4/+6 |
| | | | | | llvm-svn: 98471 | ||||
| * | fix a bug I introduced in r98459, causing some NNT failures. | Chris Lattner | 2010-03-14 | 1 | -1/+1 |
| | | | | | llvm-svn: 98470 | ||||
| * | change the LabelSDNode to be EHLabelSDNode and make it hold | Chris Lattner | 2010-03-14 | 7 | -37/+42 |
| | | | | | | | | | an MCSymbol. Make the EH_LABEL MachineInstr hold its label with an MCSymbol instead of ID. Fix a bug in MMI.cpp which would return labels named "Label4" instead of "label4". llvm-svn: 98463 | ||||
| * | 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 | ||||
| * | change EH related stuff (other than EH_LABEL) to use MCSymbol | Chris Lattner | 2010-03-14 | 5 | -82/+72 |
| | | | | | | | | | | | | | | | | | 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 | ||||
| * | eliminate the now-unneeded context argument of MBB::getSymbol() | Chris Lattner | 2010-03-13 | 2 | -8/+9 |
| | | | | | llvm-svn: 98451 | ||||
| * | rearrange MCContext ownership. Before LLVMTargetMachine created it | Chris Lattner | 2010-03-13 | 5 | -37/+50 |
| | | | | | | | | | | | | 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 | ||||
| * | 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 | ||||
| * | factor some labels, simplify some code. | Chris Lattner | 2010-03-13 | 3 | -14/+15 |
| | | | | | llvm-svn: 98429 | ||||
| * | various cleanups. | Chris Lattner | 2010-03-13 | 1 | -16/+17 |
| | | | | | llvm-svn: 98426 | ||||
| * | 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 | ||||
| * | remove gone method, grr symlinks. | Chris Lattner | 2010-03-12 | 1 | -6/+0 |
| | | | | | llvm-svn: 98392 | ||||
| * | inline the now-trivial implementation of GetGlobalValueSymbol into | Chris Lattner | 2010-03-12 | 2 | -13/+10 |
| | | | | | | | some of its callers. llvm-svn: 98388 | ||||
| * | give Mangler access to TargetData. | Chris Lattner | 2010-03-12 | 2 | -2/+2 |
| | | | | | llvm-svn: 98378 | ||||
| * | finally give Mangler a getSymbol method, which returns an MCSymbol | Chris Lattner | 2010-03-12 | 1 | -6/+1 |
| | | | | | | | for a global instead of messing around with string buffers. llvm-svn: 98366 | ||||
| * | remove dead code. | Chris Lattner | 2010-03-12 | 2 | -24/+0 |
| | | | | | llvm-svn: 98365 | ||||
| * | make the mangler take an MCContext instead of an MAI. | Chris Lattner | 2010-03-12 | 3 | -6/+4 |
| | | | | | | | No functionality change. llvm-svn: 98363 | ||||

