- Jan 27, 2007
-
-
Bill Wendling authored
llvm-svn: 33573
-
- Jan 20, 2007
-
-
Chris Lattner authored
these alignment amounts to align scalars when we can. Patch by Scott Michel! llvm-svn: 33409
-
- Jan 18, 2007
-
-
Bill Wendling authored
llvm-svn: 33316
-
- Jan 17, 2007
-
-
Bill Wendling authored
writers. llvm-svn: 33311
-
Bill Wendling authored
llvm-svn: 33298
-
Bill Wendling authored
llvm-svn: 33289
-
- Dec 07, 2006
-
-
Bill Wendling authored
now cerr, cout, and NullStream resp. llvm-svn: 32298
-
- Nov 29, 2006
-
-
Bill Wendling authored
llvm-svn: 31992
-
- Nov 16, 2006
-
-
Evan Cheng authored
llvm-svn: 31787
-
- Nov 02, 2006
-
-
Reid Spencer authored
Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting fall out by removing unused variables. Remaining warnings have to do with unused functions (I didn't want to delete code without review) and unused variables in generated code. Maintainers should clean up the remaining issues when they see them. All changes pass DejaGnu tests and Olden. llvm-svn: 31380
-
- May 12, 2006
-
-
Owen Anderson authored
TargetData.h. This should make recompiles a bit faster with my current TargetData tinkering. llvm-svn: 28238
-
- May 03, 2006
-
-
Chris Lattner authored
simplifies the MachineCodeEmitter interface just a little bit and makes BasicBlocks work like constant pools and jump tables. llvm-svn: 28082
-
Owen Anderson authored
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
-
Chris Lattner authored
llvm-svn: 28069
-
Chris Lattner authored
1. Change several methods in the MachineCodeEmitter class to be pure virtual. 2. Suck emitConstantPool/initJumpTableInfo into startFunction, removing them from the MachineCodeEmitter interface, and reducing the amount of target- specific code. 3. Change the JITEmitter so that it allocates constantpools and jump tables *right* next to the functions that they belong to, instead of in a separate pool of memory. This makes all memory for a function be contiguous, and means the JITEmitter only tracks one block of memory now. llvm-svn: 28065
-
- May 02, 2006
-
-
Chris Lattner authored
just have the JIT malloc them. llvm-svn: 28062
-
Chris Lattner authored
code emission location into the base class, instead of being in the derived classes. This change means that low-level methods like emitByte/emitWord now are no longer virtual (yaay for speed), and we now have a framework to support growable code segments. This implements feature request #1 of PR469. llvm-svn: 28059
-
Chris Lattner authored
llvm-svn: 28055
-
- Apr 22, 2006
-
-
Nate Begeman authored
x86 and ppc for 100% dense switch statements when relocations are non-PIC. This support will be extended and enhanced in the coming days to support PIC, and less dense forms of jump tables. llvm-svn: 27947
-
- Dec 28, 2005
-
-
Duraid Madina authored
llvm-svn: 25034
-
- Nov 10, 2005
-
-
Chris Lattner authored
llvm-svn: 24278
-
- Aug 19, 2005
-
-
Jeff Cohen authored
llvm-svn: 22907
-
- Jul 28, 2005
-
-
Andrew Lenharth authored
llvm-svn: 22542
-
- Jul 27, 2005
-
-
Jeff Cohen authored
llvm-svn: 22523
-
- Jul 16, 2005
-
-
Chris Lattner authored
This allows is to not emit empty sections when .data or .bss is not used. llvm-svn: 22457
-
Chris Lattner authored
llvm-svn: 22455
-
Chris Lattner authored
vector that represents the .o file at once, build up a vector for each section of the .o file. This is needed because the .o file writer needs to be able to switch between sections as it emits them (e.g. switch between the .text section and the .rel section when emitting code). This patch has no functionality change. llvm-svn: 22453
-
- Jul 12, 2005
-
-
Chris Lattner authored
llvm-svn: 22400
-
Jeff Cohen authored
llvm-svn: 22393
-
- Jul 11, 2005
-
-
Chris Lattner authored
llvm-svn: 22382
-
Chris Lattner authored
allows objdump to know which function we are emitting to: 00000000 <foo>: <---- 0: b8 01 00 00 00 mov $0x1,%eax 5: 03 44 24 04 add 0x4(%esp,1),%eax 9: c3 ret ... and allows .o files to be useful for linking :) llvm-svn: 22378
-
Chris Lattner authored
Add a *VERY INITIAL* machine code emitter class. This is enough to take this C function: int foo(int X) { return X +1; } and make objdump produce the following: $ objdump -d t-llvm.o t-llvm.o: file format elf32-i386 Disassembly of section .text: 00000000 <.text>: 0: b8 01 00 00 00 mov $0x1,%eax 5: 03 44 24 04 add 0x4(%esp,1),%eax 9: c3 ret Anything using branches or refering to the constant pool or requiring relocations will not work yet. llvm-svn: 22375
-
Chris Lattner authored
characters from them. llvm-svn: 22371
-
- Jul 08, 2005
-
-
Chris Lattner authored
Add support for emitting external and .bss symbols. llvm-svn: 22358
-
- Jul 07, 2005
-
-
Chris Lattner authored
module to the ELF file. Test it by adding support for emitting common symbols. This allows us to compile this: %X = weak global int 0 %Y = weak global int 0 %Z = weak global int 0 to an elf file that 'readelf's this: Symbol table '.symtab' contains 4 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND 1: 00000004 4 OBJECT GLOBAL DEFAULT COM X 2: 00000004 4 OBJECT GLOBAL DEFAULT COM Y 3: 00000004 4 OBJECT GLOBAL DEFAULT COM Z llvm-svn: 22343
-
- Jun 27, 2005
-
-
Chris Lattner authored
For now, the elf writer is only capable of emitting an empty elf file, with a section table and a section table string table. This will be enhanced in the future :) llvm-svn: 22291
-