summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
Commit message (Collapse)AuthorAgeFilesLines
* Refine #includes.Dan Gohman2010-04-141-1/+1
| | | | llvm-svn: 101269
* Pull utility routines with no SelectionDAG dependence out ofDan Gohman2010-04-143-76/+95
| | | | | | | SelectionDAGBuilder. FunctionLoweringInfo isn't an ideal place for them to live, but it's better than SelectionDAGBuilder for now. llvm-svn: 101267
* Fix typos in comments.Dan Gohman2010-04-142-2/+2
| | | | llvm-svn: 101266
* Delete an obsolete comment.Dan Gohman2010-04-141-1/+0
| | | | llvm-svn: 101264
* Delete an unused function.Dan Gohman2010-04-141-4/+0
| | | | llvm-svn: 101263
* Clear the FunctionLoweringInfo object before doing other things thatDan Gohman2010-04-141-4/+4
| | | | | | don't need it. llvm-svn: 101262
* Move this assert out of SelectionDAGISel into FunctionLoweringInfo, andDan Gohman2010-04-142-5/+3
| | | | | | drop the redundant #ifndef NDEBUG. llvm-svn: 101261
* Add a comment.Dan Gohman2010-04-141-0/+2
| | | | llvm-svn: 101260
* Move the code for initialing the entry block livein set out ofDan Gohman2010-04-142-5/+5
| | | | | | SelectionDAGISel. llvm-svn: 101258
* Reorgnaize this code to be more tidy and readable.Dan Gohman2010-04-141-10/+5
| | | | llvm-svn: 101256
* Trim #includes.Dan Gohman2010-04-141-9/+0
| | | | llvm-svn: 101255
* Move the code for emitting livein copies out of SelectionDAGISel.Dan Gohman2010-04-142-105/+107
| | | | llvm-svn: 101254
* Sink landing-pad marking code out ofDan Gohman2010-04-142-5/+5
| | | | | | SelectionDAGISel::runOnMachineFunction into FunctionLowering. llvm-svn: 101252
* It's not necessary to recompute EB here.Dan Gohman2010-04-141-1/+1
| | | | llvm-svn: 101251
* Generalize this code to handle Instructions in addition to ConstantExprs.Dan Gohman2010-04-141-3/+3
| | | | llvm-svn: 101210
* Reorder the methods of this class to be a little more organized.Dan Gohman2010-04-141-22/+22
| | | | llvm-svn: 101206
* Clear MachineInstr->MCSymbol maps at the end of a function.Devang Patel2010-04-141-0/+2
| | | | llvm-svn: 101202
* Fast path implicit_def check.Evan Cheng2010-04-131-5/+5
| | | | llvm-svn: 101183
* Do not include types without any definition in pubtypes list.Devang Patel2010-04-131-2/+4
| | | | llvm-svn: 101171
* Avoid variable shadowing.Evan Cheng2010-04-131-2/+2
| | | | llvm-svn: 101170
* Expand postra machine licm's capability a little more. If an instruction's ↵Evan Cheng2010-04-131-8/+24
| | | | | | register operands are all loop invariants, then it's safe to hoist it. llvm-svn: 101167
* Teach MachineSinking to handle easy critical edges.Jakob Stoklund Olesen2010-04-131-2/+17
| | | | | | | | | | | | | | Sometimes it is desirable to sink instructions along a critical edge: x = ... if (a && b) ... else use(x); The 'a && b' condition creates a critical edge to the else block, but we still want to sink the computation of x into the block. The else block is dominated by the parent block, so we are not pushing instructions into new code paths. llvm-svn: 101165
* Teach postra machine licm to hoist more obvious invariants, e.g. ↵Evan Cheng2010-04-131-17/+38
| | | | | | instructions with no source operands. llvm-svn: 101154
* Add a few comments.Dan Gohman2010-04-131-0/+5
| | | | llvm-svn: 101148
* Eliminate MachineBasicBlock::const_livein_iterator and makeDan Gohman2010-04-136-9/+10
| | | | | | | | MachineBasicBlock::livein_iterator a const_iterator, because clients shouldn't ever be using the iterator interface to mutate the livein set. llvm-svn: 101147
* Rename MachineFrameInfo variables to MFI, for consistency withDan Gohman2010-04-131-41/+41
| | | | | | the rest of CodeGen. llvm-svn: 101146
* Move MachineRegisterInfo's isLiveIn and isLiveOut out of line.Dan Gohman2010-04-131-0/+14
| | | | llvm-svn: 101145
* Delete an unused member variable.Dan Gohman2010-04-131-1/+0
| | | | llvm-svn: 101143
* add llvm codegen support for -ffunction-sections and -fdata-sections,Chris Lattner2010-04-131-2/+36
| | | | | | patch by Sylvere Teissier! llvm-svn: 101106
* Remove a #include.Dan Gohman2010-04-121-1/+0
| | | | llvm-svn: 101043
* Plug trivial leak.Benjamin Kramer2010-04-121-0/+2
| | | | llvm-svn: 101034
* Enable post regalloc machine licm by default.Evan Cheng2010-04-121-5/+1
| | | | llvm-svn: 101023
* Remove unnecessary parens.Dan Gohman2010-04-122-4/+4
| | | | llvm-svn: 101010
* Tidy whitespace.Bob Wilson2010-04-091-9/+8
| | | | llvm-svn: 100904
* Clear InsnsBeginScopeSet and InsnsEndScopeSet at the end of function.Devang Patel2010-04-091-0/+2
| | | | llvm-svn: 100867
* Delete this obsolete comment.Dan Gohman2010-04-091-4/+0
| | | | llvm-svn: 100858
* Add a missing dependency to this library when building with CMake.Chandler Carruth2010-04-091-0/+2
| | | | llvm-svn: 100852
* Use getNumImplicitDefs() and getNumImplicitUses().Bob Wilson2010-04-091-24/+6
| | | | llvm-svn: 100850
* Fix up some comments.Bob Wilson2010-04-091-5/+3
| | | | llvm-svn: 100849
* Add variants of ult, ule, etc. which take a uint64_t RHS, for convenience.Dan Gohman2010-04-081-4/+3
| | | | llvm-svn: 100824
* delete a forwarding function.Chris Lattner2010-04-081-89/+87
| | | | llvm-svn: 100815
* move elf section uniquing to MCContext. Along the wayChris Lattner2010-04-082-20/+2
| | | | | | merge XCore's section into MCSectionELF llvm-svn: 100812
* remove the TargetLoweringObjectFileMachO::getMachoSectionChris Lattner2010-04-081-89/+102
| | | | | | api and update clients to use MCContext instead. llvm-svn: 100808
* move macho section uniquing from MCParser and TLOF to MCContext whereChris Lattner2010-04-081-32/+4
| | | | | | | the compiler and asmparser now unique to the same sections. This fixes rdar://7835021. llvm-svn: 100807
* Coalescer should not delete copy instructions whose defs are partially dead. ↵Evan Cheng2010-04-082-1/+14
| | | | | | | | e.g. %RDI<def,dead> = MOV64rr %RAX<kill>, %EDI<imp-def> llvm-svn: 100804
* Fix -Wsign-compare warning (issued by clang++).Ted Kremenek2010-04-081-1/+1
| | | | llvm-svn: 100799
* Rename a function.Devang Patel2010-04-082-9/+7
| | | | llvm-svn: 100797
* implicit defs get added to the end of machine instrs sometimes. Scan the ↵Chris Lattner2010-04-081-4/+9
| | | | | | whole instruction for the metadata operand instead of assuming it will be at the end of the instruction. llvm-svn: 100792
* One instruction may start (or end) multiple lexical scopes. Devang Patel2010-04-082-58/+28
| | | | | | There is no need to remember labels identifying regions marked by such instructions in each scope. llvm-svn: 100781
* Remove dead code.Devang Patel2010-04-082-9/+0
| | | | llvm-svn: 100771
OpenPOWER on IntegriCloud