summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetMachine.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Add new function attribute - noredzone. Devang Patel2009-06-041-6/+0
| | | | | | | Update code generator to use this attribute and remove DisableRedZone target option. Update llc to set this attribute when -disable-red-zone command line option is used. llvm-svn: 72894
* CodeGen still defaults to non-verbose asm, but llc now overrides it and ↵Evan Cheng2009-03-251-5/+9
| | | | | | default to verbose. llvm-svn: 67668
* Added option to enable generating less precise mad (multiply addition)Mon P Wang2009-03-201-0/+12
| | | | | | for those architectures that support the instruction. llvm-svn: 67363
* Add a -no-implicit-float flag. This acts like -soft-float, but may generateBill Wendling2009-03-111-64/+60
| | | | | | floating point instructions that are explicitly specified by the user. llvm-svn: 66719
* Enable the red zone on x86-64 by default.Dan Gohman2009-01-271-1/+1
| | | | llvm-svn: 63078
* Implement Red Zone utilization on x86-64. This is currentlyDan Gohman2009-01-261-0/+7
| | | | | | | disabled by default; I'll enable it when I hook it up with the llvm-gcc flag which controls it. llvm-svn: 63056
* Fix command-line option printing to print two spaces where needed,Dan Gohman2008-10-141-9/+9
| | | | | | | | | instead of requiring all "short description" strings to begin with two spaces. This makes these strings less mysterious, and it fixes some cases where short description strings mistakenly did not begin with two spaces. llvm-svn: 57521
* Add an option to enable StrongPHIElimination, for ease of testing.Owen Anderson2008-10-071-0/+7
| | | | llvm-svn: 57259
* Remove OptimizeForSize global. Use function attribute optsize.Devang Patel2008-10-011-6/+0
| | | | llvm-svn: 56937
* Accidental commit of partial 'stack canaries' codeBill Wendling2008-09-081-16/+0
| | | | llvm-svn: 55937
* Reverting r55898 to r55909. One of these patches was causing an ICE during ↵Bill Wendling2008-09-081-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the full bootstrap on Darwin: /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.obj/./gcc/xgcc -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.obj/./gcc/ -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.4.0/bin/ -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.4.0/lib/ -isystem /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.4.0/include -isystem /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.4.0/sys-include -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -pipe -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../llvm-gcc.src/gcc -I../../llvm-gcc.src/gcc/. -I../../llvm-gcc.src/gcc/../include -I./../intl -I../../llvm-gcc.src/gcc/../libcpp/include -I../../llvm-gcc.src/gcc/../libdecnumber -I../libdecnumber -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.obj/include -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/include -DSHARED -m64 -DL_negdi2 -c ../../llvm-gcc.src/gcc/libgcc2.c -o libgcc/x86_64/_negdi2_s.o Assertion failed: (TargetRegisterInfo::isVirtualRegister(regA) && TargetRegisterInfo::isVirtualRegister(regB) && "cannot update physical register live information"), function runOnMachineFunction, file /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/lib/CodeGen/TwoAddressInstructionPass.cpp, line 311. /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.obj/./gcc/xgcc -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.obj/./gcc/ -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.4.0/bin/ -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.4.0/lib/ -isystem /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.4.0/include -isystem /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.4.0/sys-include -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -pipe -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../llvm-gcc.src/gcc -I../../llvm-gcc.src/gcc/. -I../../llvm-gcc.src/gcc/../include -I./../intl -I../../llvm-gcc.src/gcc/../libcpp/include -I../../llvm-gcc.src/gcc/../libdecnumber -I../libdecnumber -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.obj/include -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/include -DSHARED -m64 -DL_lshrdi3 -c ../../llvm-gcc.src/gcc/libgcc2.c -o libgcc/x86_64/_lshrdi3_s.o ../../llvm-gcc.src/gcc/unwind-dw2.c:1527: internal compiler error: Abort trap Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://developer.apple.com/bugreporter> for instructions. {standard input}:unknown:Undefined local symbol LBB21_11 {standard input}:unknown:Undefined local symbol LBB21_12 {standard input}:unknown:Undefined local symbol LBB21_13 {standard input}:unknown:Undefined local symbol LBB21_8 llvm-svn: 55928
* This option doesn't need to be a target option. It can be in SDISel instead.Owen Anderson2008-08-051-6/+0
| | | | llvm-svn: 54336
* - Fix SelectionDAG to generate correct CFGs.Owen Anderson2008-08-041-0/+6
| | | | | | | | - Add a basic machine-level dead block eliminator. These two have to go together, since many other parts of the code generator are unable to handle the unreachable blocks otherwise created. llvm-svn: 54333
* Add a flag to disable jump table generation (allDale Johannesen2008-07-311-0/+6
| | | | | | | | switches use the binary search algorithm) for environments that don't support it. PPC64 JIT is such an environment; turn the flag on for that. llvm-svn: 54248
* Avoid creating expensive comment string if it's not going to be printed.Evan Cheng2008-07-011-6/+13
| | | | llvm-svn: 52992
* Fix indentation.Evan Cheng2008-05-301-6/+6
| | | | llvm-svn: 51792
* Clean up the use of static and anonymous namespaces. This turned upDan Gohman2008-05-131-111/+110
| | | | | | | several things that were neither in an anonymous namespace nor static but not intended to be global. llvm-svn: 51017
* 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
OpenPOWER on IntegriCloud