summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetMachine.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Move the IntrinsicLowering header into the CodeGen directory, as per PR346Chris Lattner2004-06-201-1/+1
| | | | llvm-svn: 14266
* Method has been inlined into all callersChris Lattner2004-06-021-7/+0
| | | | llvm-svn: 13953
* make -print-machineinstrs work for both SparcV9 and X86Brian Gaeke2004-03-041-0/+14
| | | | llvm-svn: 12122
* Add a new constructorChris Lattner2004-03-031-0/+5
| | | | llvm-svn: 12087
* TargetCacheInfo has been removed; its only uses were to propagate a constantBrian Gaeke2004-03-011-19/+0
| | | | | | | | | (16) into certain areas of the SPARC V9 back-end. I'm fairly sure the US IIIi's dcache has 32-byte lines, so I'm not sure where the 16 came from. However, in the interest of not breaking things any more than they already are, I'm going to leave the constant alone. llvm-svn: 12043
* Clean up a lot of the code I added yesterday by exposing the IntrinsicLoweringChris Lattner2003-12-281-17/+25
| | | | | | implementation from the TargetMachine directly. llvm-svn: 10636
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-0/+4
| | | | llvm-svn: 9903
* Added LLVM project notice to the top of every C++ source file.John Criswell2003-10-201-0/+7
| | | | | | Header files will be on the way. llvm-svn: 9298
* The promotion rules are the same for all targets, they are set by the C ↵Chris Lattner2003-04-261-9/+3
| | | | | | standard. llvm-svn: 5962
* Rename MachineOptInfo to TargetoptInfoChris Lattner2002-12-291-4/+4
| | | | | | Rename MachineCacheInfo to TargetCacheInfo llvm-svn: 5203
OpenPOWER on IntegriCloud