summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* prepare for new content.Chris Lattner2010-09-291-52/+46
| | | | llvm-svn: 115030
* fix rdar://8490728 - llvm-mc rejects gpr64 form of 'movmskpd'Chris Lattner2010-09-292-2/+11
| | | | llvm-svn: 115029
* add assembler support for the cvtsd2sil/cvtsd2siq mnemonics, rdar://8456382Chris Lattner2010-09-292-4/+9
| | | | llvm-svn: 115027
* MC-COFF: Fix test. IMAGE_SYM_CLASS_LABEL should never have been emitted.Michael J. Spencer2010-09-291-1/+1
| | | | llvm-svn: 115024
* make the x86 mccode emitter emit the 0x67 and 0x66 prefix bytes in the sameChris Lattner2010-09-292-4/+9
| | | | | | order as cctools for diffability. llvm-svn: 115022
* implement support for 32-bit address operands in 64-bit mode, which Chris Lattner2010-09-292-6/+32
| | | | | | are defined to emit the 0x67 prefix byte. rdar://8482675 llvm-svn: 115021
* MC-COFF: Fix symbol storage class for globalsMichael J. Spencer2010-09-291-1/+1
| | | | llvm-svn: 115020
* add basic avx support to the disassembler, also teach it about ssmem/sdmemChris Lattner2010-09-295-20/+33
| | | | | | | | | | operands. With this done, we can remove the _Int suffixes from the round instructions without the disassembler blowing up. This allows the assembler to support them, implementing rdar://8456376 - llvm-mc rejects 'roundss' llvm-svn: 115019
* add asmparser support for cvttpd2dq by removing some Int_ prefixes.Chris Lattner2010-09-293-22/+21
| | | | | | | Clean up cvttps2dq by removing some redundant implementations of the same instruction. rdar://8456382 llvm-svn: 115018
* implement rdar://8456382 - cvtsd2si support, by removing some Int_ prefixes.Chris Lattner2010-09-293-8/+16
| | | | llvm-svn: 115017
* implement rdar://8456378 and PR7557 - support for the fstsw,Chris Lattner2010-09-294-8/+27
| | | | | | an instruction that requires a WHOLE NEW wonderful kind of alias. llvm-svn: 115015
* change the protocol TargetAsmPArser::MatchInstruction method to take anChris Lattner2010-09-294-29/+29
| | | | | | | MCStreamer to emit into instead of an MCInst to fill in. This allows the matcher extra flexibility and is more convenient. llvm-svn: 115014
* Rework comparison handling to set a register on true/false. This avoidsEric Christopher2010-09-291-18/+28
| | | | | | | | problems with phi-nodes in blocks that have hard and not virtual registers. Accordingly update branch handling to compensate. llvm-svn: 115013
* Remove unnecessary set ahead of time.Eric Christopher2010-09-291-2/+1
| | | | llvm-svn: 115011
* Separate itinerary classes for mvn from mov; for tst / teq from cmp / cmn.Evan Cheng2010-09-297-26/+86
| | | | llvm-svn: 115010
* Remove assert, add comment.Eric Christopher2010-09-291-1/+1
| | | | llvm-svn: 115009
* Assign bitwise binary instructions different itinerary classes from ALU ↵Evan Cheng2010-09-297-39/+87
| | | | | | instructions such as add / sub. llvm-svn: 115008
* Add support to model pipeline bypass / forwarding.Evan Cheng2010-09-2815-16/+77
| | | | llvm-svn: 115005
* And remove r114997's test.Bill Wendling2010-09-281-26/+0
| | | | llvm-svn: 115003
* Revert r114997. It was causing a failure on darwin10-selfhost.Bill Wendling2010-09-282-5/+15
| | | | llvm-svn: 115002
* 32-bit constant ints only for now.Eric Christopher2010-09-281-5/+8
| | | | llvm-svn: 115001
* Removed a bunch of unnecessary target_link_libraries.Oscar Fuentes2010-09-2820-39/+4
| | | | llvm-svn: 114999
* Simplified LLVMConfig.Oscar Fuentes2010-09-281-32/+43
| | | | llvm-svn: 114998
* Fix a FIXME. _foo.eh symbols are currently always exported so that the linkerBill Wendling2010-09-282-13/+29
| | | | | | knows about them. This is not necessary on 10.6 and later. llvm-svn: 114997
* When an MDNode changes to become identical to another MDNode,Dan Gohman2010-09-281-5/+4
| | | | | | | | | | | delete the MDNode that changed, rather than the other MDNode. This is less work, because it doesn't require the changed node to be re-inserted into the uniquing map and it doesn't require the is-function-local flag to be recomputed. Also, it avoids trouble when the existing node is part of a complicated data structure. llvm-svn: 114996
* Add a subtarget hook for reporting the misprediction penalty. Use this to ↵Owen Anderson2010-09-284-3/+19
| | | | | | | | | | | provide more precise cost modeling for if-conversion. Now if only we had a way to estimate the misprediction probability. Adjsut CodeGen/ARM/ifcvt10.ll. The pipeline on Cortex-A8 is long enough that it is still profitable to predicate an ldm, but the shorter pipeline on Cortex-A9 makes it unprofitable. llvm-svn: 114995
* Integer materialization needed the same thinko change.Eric Christopher2010-09-281-4/+4
| | | | llvm-svn: 114994
* Resolve this GCC warning:Nick Lewycky2010-09-281-1/+2
| | | | | | ARMTargetMachine.cpp:53: error: control reaches end of non-void function llvm-svn: 114992
* User proper libcall names & condcodes while compiling for ARM EABI.Anton Korobeynikov2010-09-282-7/+151
| | | | | | Patch by Evzen Muller! llvm-svn: 114991
* Scope a varible inside an if statement, to make it clear thatDan Gohman2010-09-281-3/+1
| | | | | | it's not used afterwards. llvm-svn: 114986
* Give the if-converter access to MachineLoopInfo, and use it to generate ↵Owen Anderson2010-09-281-16/+50
| | | | | | | | plausible branch prediction estimates. llvm-svn: 114981
* Fix spelling.Bill Wendling2010-09-281-1/+1
| | | | llvm-svn: 114974
* Part one of switching to using a more sane heuristic for determining ↵Owen Anderson2010-09-287-55/+46
| | | | | | | | | | | if-conversion profitability. Rather than having arbitrary cutoffs, actually try to cost model the conversion. For now, the constants are tuned to more or less match our existing behavior, but these will be changed to reflect realistic values as this work proceeds. llvm-svn: 114973
* Make ConstantRange::makeICmpRegion handle all the edge cases properly. ThisNick Lewycky2010-09-282-10/+36
| | | | | | also fixes PR8250. llvm-svn: 114972
* Provide an interface to let FEs anchor debug info for types.Devang Patel2010-09-283-0/+17
| | | | llvm-svn: 114969
* Add target triple info to these tests to make the results comparable whenJim Grosbach2010-09-282-2/+4
| | | | | | hosted on different platforms. llvm-svn: 114965
* Factor out dbg_value comment printing and teach MC asm printing to use it.Jim Grosbach2010-09-281-13/+29
| | | | | | This should make the arm-linux self-host buildbot happy again. llvm-svn: 114964
* On elf, undefined symbols can start with .L.Rafael Espindola2010-09-282-1/+19
| | | | llvm-svn: 114958
* Use the canonical library name for library PIC16Passes.Oscar Fuentes2010-09-283-3/+3
| | | | llvm-svn: 114953
* Added library LLVMPIC16passes to CMake build.Oscar Fuentes2010-09-283-0/+10
| | | | llvm-svn: 114952
* Added PTX target to the CMake build.Oscar Fuentes2010-09-282-10/+15
| | | | llvm-svn: 114951
* Add ARM Disassembler to the CMake build.Oscar Fuentes2010-09-283-2/+11
| | | | llvm-svn: 114949
* Remove trailing spaces of MipsMachineFunction.hChe-Liang Chiou2010-09-281-17/+17
| | | | llvm-svn: 114948
* Remove trailing spaces of MipsTargetObjectFile.cppChe-Liang Chiou2010-09-281-10/+10
| | | | llvm-svn: 114947
* 80-col fixups.Eric Christopher2010-09-283-5/+9
| | | | llvm-svn: 114943
* Add a command line option "-arm-strict-align" to disallow unaligned memoryBob Wilson2010-09-284-9/+19
| | | | | | accesses for ARM targets that would otherwise allow it. Radar 8465431. llvm-svn: 114941
* Rework builtin handling and call setup. The builtin handlingEric Christopher2010-09-281-30/+35
| | | | | | | now takes a libcall operand, sets up the arguments correctly and handles stack adjustments. llvm-svn: 114934
* Fix typo.Eric Christopher2010-09-281-1/+1
| | | | llvm-svn: 114931
* Fix fp constant loads to have a destination register.Eric Christopher2010-09-281-2/+3
| | | | llvm-svn: 114930
* Remove dead argument.Devang Patel2010-09-272-5/+4
| | | | llvm-svn: 114920
OpenPOWER on IntegriCloud