summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix a typo in the comment.Owen Anderson2009-10-041-1/+1
| | | | llvm-svn: 83283
* SSI needs to require DT and DF transitively, since it uses them outside of ↵Owen Anderson2009-10-041-3/+3
| | | | | | | | its runOnFunction. Similarly, it can be marked setPreservesAll, since it does no work in its runOnFunction. llvm-svn: 83282
* Allow -inline-threshold override default threshold even if compiling to ↵Evan Cheng2009-10-041-0/+1
| | | | | | optimize for size. llvm-svn: 83274
* Requires element types in a constant initializer to match the element types ofNick Lewycky2009-10-031-11/+3
| | | | | | of the constant. This reverts r6544 and r7428. llvm-svn: 83270
* Add a comment to describe letters used in multiclass name suffixes.Bob Wilson2009-10-031-0/+6
| | | | llvm-svn: 83257
* Fix encoding problem for VMLS instruction.Bob Wilson2009-10-031-1/+1
| | | | | | Thanks to Johnny Chen for pointing this out! llvm-svn: 83256
* Oops. Renamed remaining MachineInstrIndex references.Lang Hames2009-10-036-21/+21
| | | | llvm-svn: 83255
* Renamed MachineInstrIndex to LiveIndex.Lang Hames2009-10-0310-264/+264
| | | | llvm-svn: 83254
* MingW build fixesBenjamin Kramer2009-10-021-0/+6
| | | | | | | | | | - MingW needs -lpsapi (in ${LIBS}) linked after -lLLVMSystem. Noticed by Ronald Pijnacker! - Some parts of the System library must be build with exceptions on windows. Based on a patch by Jay Foad! llvm-svn: 83251
* Fix a use-after-free in post-ra-scheduling.Benjamin Kramer2009-10-021-1/+3
| | | | | | | MI->addOperand invalidates references to it's operands, avoid touching the operand after a new one was added. llvm-svn: 83249
* getFunctionAlignment should return log2 alignment.Evan Cheng2009-10-022-3/+4
| | | | llvm-svn: 83242
* Forgot about ARM::tPUSH. It also has a new writeback operand.Evan Cheng2009-10-021-0/+1
| | | | llvm-svn: 83237
* Move load / store multiple before post-alloc scheduling.Evan Cheng2009-10-021-10/+2
| | | | llvm-svn: 83236
* All callee-saved registers are live-out of a return block.David Goodwin2009-10-011-18/+21
| | | | llvm-svn: 83223
* Remove neonfp attribute and instead set default based on CPU string. Add ↵David Goodwin2009-10-013-6/+9
| | | | | | -arm-use-neon-fp to override the default. llvm-svn: 83218
* Expand api out in the usual inserter way, though, I do have aMike Stump2009-10-011-3/+17
| | | | | | | question, can we get rid of the BasicBlock versions of all inserters and use Head == 0 to indicate the old case when GetInsertBlock == 0? llvm-svn: 83216
* Restore the -post-RA-scheduler flag as an override for the target ↵David Goodwin2009-10-013-10/+23
| | | | | | specification. Remove -mattr for setting PostRAScheduler enable and instead use CPU string. llvm-svn: 83215
* ARM::tPOP and tPOP_RET each has an extra writeback operand now.Evan Cheng2009-10-013-2/+6
| | | | llvm-svn: 83214
* Add support to extract lexical scope information from DebugLoc attached with ↵Devang Patel2009-10-012-1/+143
| | | | | | | | an machine instruction. This is not yet enabled. llvm-svn: 83210
* Use MachineFrameInfo.getPristineRegs() to determine which callee-saved ↵David Goodwin2009-10-011-47/+30
| | | | | | registers are available for anti-dependency breaking. Some cleanup. llvm-svn: 83208
* Record first and last instruction of a scope in DbgScope.Devang Patel2009-10-011-2/+8
| | | | llvm-svn: 83207
* Observe hasExtraSrcRegAllocReq and hasExtraDefRegAllocReq. Do not changeEvan Cheng2009-10-011-18/+55
| | | | | | operands of instructions with these properties while breaking anti-dep. llvm-svn: 83198
* Add hasExtraSrcRegAllocReq and hasExtraDefRegAllocReq flags to ld / st multiple,Evan Cheng2009-10-015-24/+33
| | | | | | ld / st pairs, etc. llvm-svn: 83197
* Remove GVNPRE.cpp from the CMake makefileDouglas Gregor2009-10-011-1/+0
| | | | llvm-svn: 83194
* remove the GVNPRE pass. It has been subsumed by the GVN pass.Chris Lattner2009-10-011-1893/+0
| | | | | | Ok'd by Owen. llvm-svn: 83193
* Update ARM JIT emitter to account for ld/st multiple changes.Evan Cheng2009-10-011-3/+3
| | | | llvm-svn: 83192
* Change ld/st multiples to explicitly model the writeback to base register. ↵Evan Cheng2009-10-016-40/+55
| | | | | | This fixes most of the -ldstopti-before-sched2 regressions. llvm-svn: 83191
* Add another MDNode into DebugLocTuple. This will be used to keep track of ↵Devang Patel2009-10-012-6/+7
| | | | | | inlined functions. llvm-svn: 83190
* If location info is attached with an instruction then keep track of alloca ↵Devang Patel2009-10-011-3/+9
| | | | | | slots used by a variable. This info will be used by AsmPrinter to emit debug info for variables. llvm-svn: 83189
* Use MachineInstr as an processDebugLoc() argument.Devang Patel2009-09-3013-14/+14
| | | | | | This will allow processDebugLoc() to handle scopes for DWARF debug info. llvm-svn: 83183
* Use MDNode * directly as an RecordSourceLine() argument.Devang Patel2009-09-305-12/+11
| | | | llvm-svn: 83182
* Remove dead code.Devang Patel2009-09-301-17/+0
| | | | llvm-svn: 83181
* Add isFOO() helpers. Fix getDirectory() and getFilename() for DIScope.Devang Patel2009-09-301-0/+50
| | | | llvm-svn: 83180
* Use OutStreamer.SwitchSection instead of writing out textual section directives.Bob Wilson2009-09-301-7/+18
| | | | | | | Add a new TargetLoweringObjectFileMachO::getConstTextCoalSection method to get access to that section. llvm-svn: 83178
* Add a new virtual EmitStartOfAsmFile method to the AsmPrinter and use thisBob Wilson2009-09-305-25/+13
| | | | | | | | | | | | | | | | to emit target-specific things at the beginning of the asm output. This fixes a problem for PPC, where the text sections are not being kept together as expected. The base class doInitialization code calls DW->BeginModule() which emits a bunch of DWARF section directives. The PPC doInitialization code then emits all the TEXT section directives, with the intention that they will be kept together. But as I understand it, the Darwin assembler treats the default TEXT section as a special case and moves it to the beginning of the file, which means that all those DWARF sections are in the middle of the text. With this change, the EmitStartOfAsmFile hook is called before the DWARF section directives are emitted, so that all the PPC text section directives come out right at the beginning of the file. llvm-svn: 83176
* Fix a comment typo.Bob Wilson2009-09-301-1/+1
| | | | llvm-svn: 83174
* Check for null MDNode element while printing comment.Devang Patel2009-09-301-1/+1
| | | | llvm-svn: 83172
* Fix a comment.Bob Wilson2009-09-301-1/+1
| | | | llvm-svn: 83171
* The AsmPrinter base class contains a DwarfWriter member, so there's no needBob Wilson2009-09-303-22/+3
| | | | | | | for derived AsmPrinters to add another one. In some cases, fixing this removes the need to override the doInitialization method. llvm-svn: 83170
* Assert that ConstantArrays are created with correctly-typed elements.Jeffrey Yasskin2009-09-301-1/+4
| | | | llvm-svn: 83168
* Fix this code so that it doesn't try to iterate through a std::vectorDan Gohman2009-09-301-3/+4
| | | | | | | while calling changeImmediateDominator, which removes elements from the vector. This fixes PR5097. llvm-svn: 83166
* Silence comparison always false warning in -Asserts mode.Reid Kleckner2009-09-301-4/+4
| | | | llvm-svn: 83164
* Add additional assert() to verify no extraneous use of a scavenged register.Jim Grosbach2009-09-301-2/+9
| | | | llvm-svn: 83163
* Print tag name for MDNodes that are used to encode debug info. Devang Patel2009-09-301-1/+29
| | | | llvm-svn: 83160
* Fix integer overflow in instruction scheduling. This can happen if we haveReid Kleckner2009-09-305-20/+33
| | | | | | | | | | basic blocks that are so long that their size overflows a short. Also assert that overflow does not happen in the future, as requested by Evan. This fixes PR4401. llvm-svn: 83159
* Clarify comment phrasing.Jim Grosbach2009-09-301-1/+1
| | | | llvm-svn: 83148
* Add a option which would move ld/st multiple pass before post-alloc scheduling.Evan Cheng2009-09-302-1/+17
| | | | llvm-svn: 83145
* Add a target hook to add pre- post-regalloc scheduling passes.Evan Cheng2009-09-301-0/+4
| | | | llvm-svn: 83144
* Fix compile error as debug interface changed.Nick Lewycky2009-09-301-6/+4
| | | | | | | By the way, this code is buggy. You can't keep a map<MDNode *, something> because the MDNode may be destroyed and reused for something else. llvm-svn: 83141
* replace TRI->isVirtualRegister() with TargetRegisterInfo::isVirtualRegister()Jim Grosbach2009-09-302-5/+4
| | | | | | per customary usage llvm-svn: 83137
OpenPOWER on IntegriCloud