History log of /llvm-project/llvm/lib/Target/Sparc/SparcTargetMachine.cpp (Results 126 – 150 of 155)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 026e5d76 29-Apr-2009 Bill Wendling <isanbard@gmail.com>

Instead of passing in an unsigned value for the optimization level, use an enum,
which better identifies what the optimization is doing. And is more flexible for
future uses.

llvm-svn: 70440


# 084669a1 29-Apr-2009 Bill Wendling <isanbard@gmail.com>

Second attempt:

Massive check in. This changes the "-fast" flag to "-O#" in llc. If you want to
use the old behavior, the flag is -O0. This change allows for finer-grained
control over which optimiz

Second attempt:

Massive check in. This changes the "-fast" flag to "-O#" in llc. If you want to
use the old behavior, the flag is -O0. This change allows for finer-grained
control over which optimizations are run at different -O levels.

Most of this work was pretty mechanical. The majority of the fixes came from
verifying that a "fast" variable wasn't used anymore. The JIT still uses a
"Fast" flag. I'll change the JIT with a follow-up patch.

llvm-svn: 70343

show more ...


# 56f2987a 28-Apr-2009 Bill Wendling <isanbard@gmail.com>

r70270 isn't ready yet. Back this out. Sorry for the noise.

llvm-svn: 70275


# d0ae1594 28-Apr-2009 Bill Wendling <isanbard@gmail.com>

Massive check in. This changes the "-fast" flag to "-O#" in llc. If you want to
use the old behavior, the flag is -O0. This change allows for finer-grained
control over which optimizations are run at

Massive check in. This changes the "-fast" flag to "-O#" in llc. If you want to
use the old behavior, the flag is -O0. This change allows for finer-grained
control over which optimizations are run at different -O levels.

Most of this work was pretty mechanical. The majority of the fixes came from
verifying that a "fast" variable wasn't used anymore. The JIT still uses a
"Fast" flag. I'm not 100% sure if it's necessary to change it there...

llvm-svn: 70270

show more ...


# 5e5a63cf 25-Mar-2009 Evan Cheng <evan.cheng@apple.com>

CodeGen still defaults to non-verbose asm, but llc now overrides it and default to verbose.

llvm-svn: 67668


Revision tags: llvmorg-2.5.0
# c5437ea4 24-Feb-2009 Bill Wendling <isanbard@gmail.com>

Overhaul my earlier submission due to feedback. It's a large patch, but most of
them are generic changes.

- Use the "fast" flag that's already being passed into the asm printers instead
of shoving

Overhaul my earlier submission due to feedback. It's a large patch, but most of
them are generic changes.

- Use the "fast" flag that's already being passed into the asm printers instead
of shoving it into the DwarfWriter.

- Instead of calling "MI->getParent()->getParent()" for every MI, set the
machine function when calling "runOnMachineFunction" in the asm printers.

llvm-svn: 65379

show more ...


# ba4eb2a9 15-Nov-2008 Oscar Fuentes <ofv@wanadoo.es>

Adds extern "C" ints to the .cpp files that use RegisterTarget, as
well as 2 files that use "Registrator"s. These are to be used by the
MSVC builds, as the Win32 linker does not include libs that are

Adds extern "C" ints to the .cpp files that use RegisterTarget, as
well as 2 files that use "Registrator"s. These are to be used by the
MSVC builds, as the Win32 linker does not include libs that are
otherwise unreferenced, even if global constructors in the lib have
side-effects.

Patch by Scott Graham!

llvm-svn: 59378

show more ...


Revision tags: llvmorg-2.4.0
# 9c4b7d5c 14-Oct-2008 Dan Gohman <gohman@apple.com>

Fix command-line option printing to print two spaces where needed,
instead of requiring all "short description" strings to begin with
two spaces. This makes these strings less mysterious, and it fixe

Fix command-line option printing to print two spaces where needed,
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

show more ...


# 2c836cf1 03-Oct-2008 Dan Gohman <gohman@apple.com>

Avoid creating two TargetLowering objects for each target.
Instead, just create one, and make sure everything that needs
it can access it. Previously most of the SelectionDAGISel
subclasses all had t

Avoid creating two TargetLowering objects for each target.
Instead, just create one, and make sure everything that needs
it can access it. Previously most of the SelectionDAGISel
subclasses all had their own TargetLowering object, which was
redundant with the TargetLowering object in the TargetMachine
subclasses, except on Sparc, where SparcTargetMachine
didn't have a TargetLowering object. Change Sparc to work
more like the other targets here.

llvm-svn: 57016

show more ...


# 9371964f 21-Aug-2008 Owen Anderson <resistor@mac.com>

Use raw_ostream throughout the AsmPrinter.

llvm-svn: 55092


# 1a11e8a6 07-Aug-2008 Anton Korobeynikov <asl@math.spbu.ru>

Switch Sparc to new section handling stuff. Refactor printing of module-level GVs significantly.

llvm-svn: 54450


Revision tags: llvmorg-2.3.0
# d78c400b 13-May-2008 Dan Gohman <gohman@apple.com>

Clean up the use of static and anonymous namespaces. This turned up
several things that were neither in an anonymous namespace nor static
but not intended to be global.

llvm-svn: 51017


# 24570836 11-Mar-2008 Dan Gohman <gohman@apple.com>

Use PassManagerBase instead of FunctionPassManager for functions
that merely add passes. This allows them to be used with either
FunctionPassManager or PassManager, or even with a custom new
kind of

Use PassManagerBase instead of FunctionPassManager for functions
that merely add passes. This allows them to be used with either
FunctionPassManager or PassManager, or even with a custom new
kind of pass manager.

llvm-svn: 48256

show more ...


Revision tags: llvmorg-2.2.0
# f3ebc3f3 29-Dec-2007 Chris Lattner <sabre@nondot.org>

Remove attribution from file headers, per discussion on llvmdev.

llvm-svn: 45418


Revision tags: llvmorg-2.1.0
# c5283ecd 03-Aug-2007 Dale Johannesen <dalej@apple.com>

long double patch 2 of N. Handle it in TargetData.
(I've tried to get the info right for all targets,
but I'm not expert on all of them - check yours.)

llvm-svn: 40792


# 6e544a9c 11-Jul-2007 Chris Lattner <sabre@nondot.org>

Fix an oversight: for modules with no other identifying target info,
the sparc backend should be preferred when running on sparcs.

llvm-svn: 39142


# 517290ae 09-Jul-2007 Chris Lattner <sabre@nondot.org>

The various "getModuleMatchQuality" implementations should return
zero if they see a target triple they don't understand.

llvm-svn: 38463


Revision tags: llvmorg-2.0.0
# 9bfb1e1f 07-Dec-2006 Bill Wendling <isanbard@gmail.com>

What should be the last unnecessary <iostream>s in the library.

llvm-svn: 32333


Revision tags: llvmorg-1.9.0
# ae92ce87 07-Sep-2006 Jim Laskey <jlaskey@mac.com>

1. Remove condition on delete.

2. Protect and outline createTargetAsmInfo.

3. Misc. kruft.

llvm-svn: 30169


# 12e97307 04-Sep-2006 Chris Lattner <sabre@nondot.org>

Completely rearchitect the interface between targets and the pass manager.
This pass:

1. Splits TargetMachine into TargetMachine (generic targets, can be implemented
any way, like the CBE) and LLVMT

Completely rearchitect the interface between targets and the pass manager.
This pass:

1. Splits TargetMachine into TargetMachine (generic targets, can be implemented
any way, like the CBE) and LLVMTargetMachine (subclass of TM that is used by
things using libcodegen and other support).
2. Instead of having each target fully populate the passmgr for file or JIT
output, move all this to common code, and give targets hooks they can
implement.
3. Commonalize the target population stuff between file emission and JIT
emission.
4. All (native code) codegen stuff now happens in a FunctionPassManager, which
paves the way for "fast -O0" stuff in the CFE later, and now LLC could
lazily stream .bc files from disk to use less memory.
5. There are now many fewer #includes and the targets don't depend on the
scalar xforms or libanalysis anymore (but codegen does).
6. Changing common code generator pass ordering stuff no longer requires
touching all targets.
7. The JIT now has the option of "-fast" codegen or normal optimized codegen,
which is now orthogonal to the fact that JIT'ing is being done.

llvm-svn: 30081

show more ...


# 0fc4541c 03-Sep-2006 Chris Lattner <sabre@nondot.org>

Simplify target construction.

llvm-svn: 30070


# f3b5b92e 16-Jun-2006 Chris Lattner <sabre@nondot.org>

Don't pass target name into TargetData anymore, it is never used or needed.
Remove explicit casts to std::string now that there is no overload resolution
issues in the TargetData ctors.

llvm-svn: 28

Don't pass target name into TargetData anymore, it is never used or needed.
Remove explicit casts to std::string now that there is no overload resolution
issues in the TargetData ctors.

llvm-svn: 28830

show more ...


# f7db631b 20-May-2006 Owen Anderson <resistor@mac.com>

Sparc is big-endian.

llvm-svn: 28415


# 88812b5c 20-May-2006 Owen Anderson <resistor@mac.com>

Make all of the TargetMachine subclasses use the new string TargetData methods.

This is part of the on-going work on PR 761.

llvm-svn: 28414


# 20a631fd 03-May-2006 Owen Anderson <resistor@mac.com>

Refactor TargetMachine, pushing handling of TargetData into the target-specific subclasses. This has one caller-visible change: getTargetData() now returns a pointer instead of a reference.

This fi

Refactor TargetMachine, pushing handling of TargetData into the 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

show more ...


1234567