History log of /llvm-project/llvm/lib/CodeGen/MachineFunction.cpp (Results 451 – 475 of 588)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# b5706c45 26-Jan-2009 Evan Cheng <evan.cheng@apple.com>

Add data structure to define and track debug location during codegen.

llvm-svn: 63008


# dc020f9c 12-Jan-2009 Duncan Sands <baldrick@free.fr>

Rename getABITypeSize to getTypePaddedSize, as
suggested by Chris.

llvm-svn: 62099


Revision tags: llvmorg-2.4.0
# 2530f5fe 03-Nov-2008 Matthijs Kooijman <matthijs@stdin.nl>

Make MachineFrameInfo::print not crash when no TargetFrameInfo is available.

llvm-svn: 58606


# 4459c425 15-Oct-2008 Dan Gohman <gohman@apple.com>

Adjust whitespace in debug messages to be more consistent
with other debug messages.

llvm-svn: 57543


# c8d7988d 13-Oct-2008 Matthijs Kooijman <matthijs@stdin.nl>

Make MachineFunction not crash when TargetMachine::getRegisterInfo() returns
NULL, but just hide some debug output then.

llvm-svn: 57437


# 5cf6120a 16-Sep-2008 Dan Gohman <gohman@apple.com>

Fix these comments to reflect current reality. Surprisingly,
MachineConstantPool::getConstantPoolIndex actually expects
a log2-encoded alignment.

llvm-svn: 56248


# a79db30d 04-Sep-2008 Dan Gohman <gohman@apple.com>

Tidy up several unbeseeming casts from pointer to intptr_t.

llvm-svn: 55779


# 838aff36 23-Aug-2008 Chris Lattner <sabre@nondot.org>

get MachineConstantPool off std::ostream, onto raw_ostream. It would be
really nice if someone converted MachineFunction::print to raw_ostream.

llvm-svn: 55268


# 0c19df48 23-Aug-2008 Chris Lattner <sabre@nondot.org>

Switch the asmprinter (.ll) and all the stuff it requires over to
use raw_ostream instead of std::ostream. Among other goodness,
this speeds up llvm-dis of kc++ with a release build from 0.85s
to 0.

Switch the asmprinter (.ll) and all the stuff it requires over to
use raw_ostream instead of std::ostream. Among other goodness,
this speeds up llvm-dis of kc++ with a release build from 0.85s
to 0.49s (88% faster).

Other interesting changes:
1) This makes Value::print be non-virtual.
2) AP[S]Int and ConstantRange can no longer print to ostream directly,
use raw_ostream instead.
3) This fixes a bug in raw_os_ostream where it didn't flush itself
when destroyed.
4) This adds a new SDNode::print method, instead of only allowing "dump".


A lot of APIs have both std::ostream and raw_ostream versions, it would
be useful to go through and systematically anihilate the std::ostream
versions.

This passes dejagnu, but there may be minor fallout, plz let me know if
so and I'll fix it.

llvm-svn: 55263

show more ...


# 804c95df 28-Jul-2008 Dan Gohman <gohman@apple.com>

Fold the useful features of alist and alist_node into ilist, and
a new ilist_node class, and remove them. Unlike alist_node,
ilist_node doesn't attempt to manage storage itself, so it avoids
the asso

Fold the useful features of alist and alist_node into ilist, and
a new ilist_node class, and remove them. Unlike alist_node,
ilist_node doesn't attempt to manage storage itself, so it avoids
the associated problems, including being opaque in gdb.

Adjust the Recycler class so that it doesn't depend on alist_node.
Also, change it to use explicit Size and Align parameters, allowing
it to work when the largest-sized node doesn't have the greatest
alignment requirement.

Change MachineInstr's MachineMemOperand list from a pool-backed
alist to a std::list for now.

llvm-svn: 54146

show more ...


# 8c08a692 21-Jul-2008 Dan Gohman <gohman@apple.com>

Fix uses of underscore-capital names.

llvm-svn: 53870


# 0597e5b6 11-Jul-2008 Dan Gohman <gohman@apple.com>

Trim unnecessary #includes.

llvm-svn: 53471


# 3b460303 07-Jul-2008 Dan Gohman <gohman@apple.com>

Pool-allocation for MachineInstrs, MachineBasicBlocks, and
MachineMemOperands. The pools are owned by MachineFunctions.

This drastically reduces the number of calls to malloc/free made
during the "E

Pool-allocation for MachineInstrs, MachineBasicBlocks, and
MachineMemOperands. The pools are owned by MachineFunctions.

This drastically reduces the number of calls to malloc/free made
during the "Emit" phase of scheduling, as well as later phases
in CodeGen. Combined with other changes, this speeds up the
"instruction selection" phase of CodeGen by 10% in some cases.

llvm-svn: 53212

show more ...


Revision tags: llvmorg-2.3.0
# 4db1f62d 06-Apr-2008 Chris Lattner <sabre@nondot.org>

Silence warning when no assertions.

llvm-svn: 49284


# 6d56368c 27-Feb-2008 Evan Cheng <evan.cheng@apple.com>

Spiller now remove unused spill slots.

llvm-svn: 47657


# d7a258d3 26-Feb-2008 Bill Wendling <isanbard@gmail.com>

Rename PrintableName to Name.

llvm-svn: 47629


# c24ea4fb 26-Feb-2008 Bill Wendling <isanbard@gmail.com>

Change "Name" to "AsmName" in the target register info. Gee, a refactoring tool
would have been a Godsend here!

llvm-svn: 47625


Revision tags: llvmorg-2.2.0
# 3a4be0fd 10-Feb-2008 Dan Gohman <gohman@apple.com>

Rename MRegisterInfo to TargetRegisterInfo.

llvm-svn: 46930


# 6068832d 25-Jan-2008 Chris Lattner <sabre@nondot.org>

move MachineFrameInfo::CreateFixedObject out of line, give MachineFrameInfo
a reference to TargetFrameInfo. Rearrange order of fields in StackObject to
save a word.

llvm-svn: 46348


# 574e7166 31-Dec-2007 Chris Lattner <sabre@nondot.org>

properly encapsulate the parent field of MBB and MI with get/set accessors.

llvm-svn: 45469


# a10fff51 31-Dec-2007 Chris Lattner <sabre@nondot.org>

Rename SSARegMap -> MachineRegisterInfo in keeping with the idea
that "machine" classes are used to represent the current state of
the code being compiled. Given this expanded name, we can start
m

Rename SSARegMap -> MachineRegisterInfo in keeping with the idea
that "machine" classes are used to represent the current state of
the code being compiled. Given this expanded name, we can start
moving other stuff into it. For now, move the UsedPhysRegs and
LiveIn/LoveOuts vectors from MachineFunction into it.

Update all the clients to match.

This also reduces some needless #includes, such as MachineModuleInfo
from MachineFunction.

llvm-svn: 45467

show more ...


# f3ebc3f3 29-Dec-2007 Chris Lattner <sabre@nondot.org>

Remove attribution from file headers, per discussion on llvmdev.

llvm-svn: 45418


# 283207a7 05-Nov-2007 Duncan Sands <baldrick@free.fr>

Eliminate the remaining uses of getTypeSize. This
should only effect x86 when using long double. Now
12/16 bytes are output for long double globals (the
exact amount depends on the alignment). Thi

Eliminate the remaining uses of getTypeSize. This
should only effect x86 when using long double. Now
12/16 bytes are output for long double globals (the
exact amount depends on the alignment). This brings
globals in line with the rest of LLVM: the space
reserved for an object is now always the ABI size.
One tricky point is that only 10 bytes should be
output for long double if it is a field in a packed
struct, which is the reason for the additional
argument to EmitGlobalConstant.

llvm-svn: 43688

show more ...


# c731c97f 03-Oct-2007 Dan Gohman <gohman@apple.com>

Use empty() member functions when that's what's being tested for instead
of comparing begin() and end().

llvm-svn: 42585


Revision tags: llvmorg-2.1.0, llvmorg-2.0.0
# 8c78a0bf 03-May-2007 Devang Patel <dpatel@apple.com>

Drop 'const'

llvm-svn: 36662


1...<<11121314151617181920>>...24