summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetMachine.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Make several variable declarations static.Dan Gohman2008-05-061-2/+2
| | | | llvm-svn: 50696
* Make these variables static.Dan Gohman2008-04-231-14/+14
| | | | llvm-svn: 50196
* Make stack alignment options global for all targetsAnton Korobeynikov2008-04-231-0/+14
| | | | llvm-svn: 50157
* Reverse sense of unwind-tables option. This meansDale Johannesen2008-04-141-4/+4
| | | | | | | stack tracebacks on Darwin x86-64 won't work by default; nevertheless, everybody but me thinks this is a good idea. llvm-svn: 49663
* Rename -disable-required-unwind-tables to unwind-tables-optional.Dale Johannesen2008-04-081-2/+2
| | | | llvm-svn: 49389
* Implement new llc flag -disable-required-unwind-tables.Dale Johannesen2008-04-081-1/+7
| | | | | | Corresponds to -fno-unwind-tables (usually default in gcc). llvm-svn: 49361
* Rename option -optimizefor-size to -optimize-size.Evan Cheng2008-03-251-1/+1
| | | | llvm-svn: 48804
* Add optimize-for-size knob.Devang Patel2008-03-251-0/+6
| | | | llvm-svn: 48793
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45418
* Added tail call optimization to the x86 back end. It can beArnold Schwaighofer2007-10-111-0/+7
| | | | | | | | | | | enabled by passing -tailcallopt to llc. The optimization is performed if the following conditions are satisfied: * caller/callee are fastcc * elf/pic is disabled OR elf/pic enabled + callee is in module + callee has visibility protected or hidden llvm-svn: 42870
* Enabling new condition code modeling scheme.Evan Cheng2007-09-291-6/+0
| | | | llvm-svn: 42459
* New temporary option -new-cc-modeling-scheme to test the new cc modeling scheme.Evan Cheng2007-09-251-0/+6
| | | | llvm-svn: 42283
* expose HonorSignDependentRoundingFPMathOption to .td filesChris Lattner2007-05-031-0/+1
| | | | llvm-svn: 36658
* Add a new option.Chris Lattner2007-05-031-4/+17
| | | | llvm-svn: 36657
* Fix a message, patch by Christopher Lamb.Chris Lattner2007-04-191-1/+1
| | | | llvm-svn: 36264
* rename flagJim Laskey2007-01-291-1/+1
| | | | llvm-svn: 33634
* Flag to control exception handling.Jim Laskey2007-01-291-0/+6
| | | | llvm-svn: 33628
* * Fix one more bug in PIC codegen: extra load is needed for *all*Anton Korobeynikov2007-01-171-0/+6
| | | | | | | | | non-statics. * Introduce new option to output zero-initialized data to .bss section. This can reduce size of binaries. Enable it by default for ELF & Cygwin/Mingw targets. Probably, Darwin should be also added. llvm-svn: 33299
* Revert patch.Bill Wendling2007-01-171-2/+0
| | | | llvm-svn: 33298
* Create/store/and delete the TargetObjInfo object.Bill Wendling2007-01-171-0/+2
| | | | llvm-svn: 33290
* Added option -soft-float to generate SW fp library calls instead of fp ↵Evan Cheng2006-12-091-0/+7
| | | | | | instructions. llvm-svn: 32393
* 1. Remove condition on delete.Jim Laskey2006-09-071-1/+1
| | | | | | | | 2. Protect and outline createTargetAsmInfo. 3. Misc. kruft. llvm-svn: 30169
* Make target asm info a property of the target machine.Jim Laskey2006-09-071-0/+2
| | | | llvm-svn: 30162
* remove #includeChris Lattner2006-09-041-1/+1
| | | | llvm-svn: 30078
* Simplify target construction.Chris Lattner2006-09-031-4/+0
| | | | llvm-svn: 30070
* Tidy up options.Jim Laskey2006-08-291-9/+9
| | | | llvm-svn: 29953
* Rename RelocModel::PIC to PIC_, to avoid conflicts with -DPIC.Chris Lattner2006-07-261-1/+1
| | | | llvm-svn: 29307
* Added option -code-model to set code model (only used in 64-bit) mode. ValidEvan Cheng2006-07-061-0/+30
| | | | | | values include small, kernel, medium, large, and default. llvm-svn: 29009
* For PR786:Reid Spencer2006-05-241-1/+1
| | | | | | Remove a spurious ; llvm-svn: 28452
* Patches to make the LLVM sources more -pedantic clean. Patch providedChris Lattner2006-05-241-2/+2
| | | | | | by Anton Korobeynikov! This is a step towards closing PR786. llvm-svn: 28447
* -enable-unsafe-fp-math implies -enable-finite-only-fp-mathEvan Cheng2006-05-231-2/+10
| | | | llvm-svn: 28437
* Added option -enable-finite-only-fp-math. When on, the codegen can assume thatEvan Cheng2006-05-231-0/+6
| | | | | | | FP arithmetic arguments and results are never NaNs or +=Infs. This includes ignoring parity flag (PF) when checking for FP equality. llvm-svn: 28432
* Refactor TargetMachine, pushing handling of TargetData into the ↵Owen Anderson2006-05-031-15/+1
| | | | | | | | target-specific subclasses. This has one caller-visible change: getTargetData() now returns a pointer instead of a reference. This fixes PR 759. llvm-svn: 28074
* Eliminate IntrinsicLowering from TargetMachine.Chris Lattner2006-03-231-11/+3
| | | | | | Make the CBE and V9 backends create their own, since they're the only ones that use it. llvm-svn: 26974
* - Added option -relocation-model to set relocation model. Valid values ↵Evan Cheng2006-02-221-6/+28
| | | | | | | | | | include static, pic, dynamic-no-pic, and default. PPC and x86 default is dynamic-no-pic for Darwin, pic for others. - Removed options -enable-pic and -ppc-static. llvm-svn: 26315
* Remove the X86 and PowerPC Simple instruction selectors; their time hasNate Begeman2005-08-181-5/+0
| | | | | | passed. llvm-svn: 22886
* First round of support for doing scalar FP using the SSE2 ISA extension andNate Begeman2005-07-061-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | XMM registers. There are many known deficiencies and fixmes, which will be addressed ASAP. The major benefit of this work is that it will allow the LLVM register allocator to allocate FP registers across basic blocks. The x86 backend will still default to x87 style FP. To enable this work, you must pass -enable-sse-scalar-fp and either -sse2 or -sse3 to llc. An example before and after would be for: double foo(double *P) { double Sum = 0; int i; for (i = 0; i < 1000; ++i) Sum += P[i]; return Sum; } The inner loop looks like the following: x87: .LBB_foo_1: # no_exit fldl (%esp) faddl (%eax,%ecx,8) fstpl (%esp) incl %ecx cmpl $1000, %ecx #FP_REG_KILL jne .LBB_foo_1 # no_exit SSE2: addsd (%eax,%ecx,8), %xmm0 incl %ecx cmpl $1000, %ecx #FP_REG_KILL jne .LBB_foo_1 # no_exit llvm-svn: 22340
* capitalizeChris Lattner2005-05-131-1/+1
| | | | llvm-svn: 21962
* Expose an option allowing unsafe math optimizations. Patch contributed byChris Lattner2005-04-301-0/+6
| | | | | | Morten Ofstad! llvm-svn: 21630
* Remove trailing whitespaceMisha Brukman2005-04-211-3/+3
| | | | llvm-svn: 21422
* Make pattern isel default for ppcNate Begeman2005-04-151-3/+8
| | | | | | | | | | Add new ppc beta option related to using condition registers Make pattern isel control flag (-enable-pattern-isel) global and tristate 0 == off 1 == on 2 == target default llvm-svn: 21309
* Add a new target-independent code generator flag.Chris Lattner2005-01-151-0/+6
| | | | llvm-svn: 19567
* Changes For Bug 352Reid Spencer2004-09-011-1/+1
| | | | | | | | Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137
* Implement new constructor.Misha Brukman2004-08-101-0/+7
| | | | llvm-svn: 15633
* * Add BoolAlignment to TargetData, default is 1 byte, size 1 byteMisha Brukman2004-07-231-2/+3
| | | | | | * Convert tabs to spaces llvm-svn: 15120
* Direct declaration of namespace-ified globals does not work, must encloseMisha Brukman2004-06-211-3/+4
| | | | | | them with a namespace declaration. llvm-svn: 14303
* Specify variables' namespace directly instead of using an enclosing namespace.Misha Brukman2004-06-211-4/+2
| | | | llvm-svn: 14302
* Move implemented interface header up to the top.Misha Brukman2004-06-211-1/+1
| | | | llvm-svn: 14301
* Spell out `NoFramePointerElim' for readability.Misha Brukman2004-06-211-2/+3
| | | | llvm-svn: 14299
* Implement `NoFPElim' in a target-agnostic fashion so it can be shared.Misha Brukman2004-06-211-1/+8
| | | | llvm-svn: 14297
OpenPOWER on IntegriCloud