| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix -pedantic warnings. | Chris Lattner | 2006-06-01 | 2 | -14/+14 |
| | | | | | llvm-svn: 28636 | ||||
| * | Fix -pedantic warnings | Chris Lattner | 2006-06-01 | 1 | -2/+3 |
| | | | | | llvm-svn: 28635 | ||||
| * | Silence some -pedantic warnings. | Chris Lattner | 2006-06-01 | 1 | -4/+6 |
| | | | | | llvm-svn: 28629 | ||||
| * | For PR786: | Reid Spencer | 2006-05-24 | 1 | -1/+1 |
| | | | | | | | | | Minor tweaks in public headers and a few .cpp files so that LLVM can build successfully with -pedantic and projects using LLVM with -pedantic don't get warnings from LLVM. There's still more -pedantic warnings to fix. llvm-svn: 28453 | ||||
| * | Make this print the right start pointer | Chris Lattner | 2006-05-16 | 1 | -2/+4 |
| | | | | | llvm-svn: 28321 | ||||
| * | LoadLibraryPermanently can theoretically throw an exception. Do not propagate | Chris Lattner | 2006-05-14 | 1 | -1/+4 |
| | | | | | | | it out of 'ExecutionEngine::create'. This fixes a problem reported by coverity. llvm-svn: 28293 | ||||
| * | Fix a hypothetical memory leak, identified by Coverity. In practice, this | Chris Lattner | 2006-05-12 | 1 | -1/+3 |
| | | | | | | | object is never deleted though. llvm-svn: 28256 | ||||
| * | Refactor a bunch of includes so that TargetMachine.h doesn't have to include | Owen Anderson | 2006-05-12 | 1 | -0/+1 |
| | | | | | | | | TargetData.h. This should make recompiles a bit faster with my current TargetData tinkering. llvm-svn: 28238 | ||||
| * | For extra sanity checking, fill free'd memory with garbage so we know that | Chris Lattner | 2006-05-12 | 1 | -0/+3 |
| | | | | | | | people aren't reusing machine code buffers at all. llvm-svn: 28228 | ||||
| * | Fix some bugs in the freelist manipulation code. | Chris Lattner | 2006-05-11 | 1 | -12/+33 |
| | | | | | | | Finally, implement ExecutionEngine::freeMachineCodeForFunction. llvm-svn: 28227 | ||||
| * | Significantly revamp allocation of machine code to use free lists, real | Chris Lattner | 2006-05-11 | 1 | -51/+340 |
| | | | | | | | | allocation policies and much more. All this complexity, and we have no functionality change, woo! :) llvm-svn: 28225 | ||||
| * | Move some methods out of line so that MutexGuard.h isn't needed in a public ↵ | Chris Lattner | 2006-05-08 | 3 | -9/+83 |
| | | | | | | | header. llvm-svn: 28179 | ||||
| * | Adjust to use proper TargetData copy ctor | Chris Lattner | 2006-05-04 | 1 | -1/+1 |
| | | | | | llvm-svn: 28112 | ||||
| * | minor cleanups, no functionality change | Chris Lattner | 2006-05-03 | 1 | -7/+7 |
| | | | | | llvm-svn: 28087 | ||||
| * | Suck block address tracking out of targets into the JIT Emitter. This | Chris Lattner | 2006-05-03 | 1 | -9/+29 |
| | | | | | | | | simplifies the MachineCodeEmitter interface just a little bit and makes BasicBlocks work like constant pools and jump tables. llvm-svn: 28082 | ||||
| * | Refactor TargetMachine, pushing handling of TargetData into the ↵ | Owen Anderson | 2006-05-03 | 4 | -19/+19 |
| | | | | | | | | | 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 | ||||
| * | Align function bodies correctly. | Chris Lattner | 2006-05-03 | 1 | -4/+2 |
| | | | | | llvm-svn: 28073 | ||||
| * | Simplify some code. Don't add memory blocks to the Blocks list twice. | Chris Lattner | 2006-05-03 | 1 | -16/+8 |
| | | | | | llvm-svn: 28071 | ||||
| * | Change the BasicBlockAddrs map to be a vector, indexed by MBB number. | Chris Lattner | 2006-05-03 | 1 | -3/+3 |
| | | | | | llvm-svn: 28069 | ||||
| * | Simplify some code | Chris Lattner | 2006-05-03 | 1 | -21/+7 |
| | | | | | llvm-svn: 28066 | ||||
| * | Several related changes: | Chris Lattner | 2006-05-02 | 1 | -39/+23 |
| | | | | | | | | | | | | | | 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 | ||||
| * | Do not make the JIT memory manager manage the memory for globals. Instead | Chris Lattner | 2006-05-02 | 2 | -39/+19 |
| | | | | | | | just have the JIT malloc them. llvm-svn: 28062 | ||||
| * | Minor cleanups, no functionality change. | Chris Lattner | 2006-05-02 | 1 | -17/+11 |
| | | | | | llvm-svn: 28061 | ||||
| * | Refactor the machine code emitter interface to pull the pointers for the current | Chris Lattner | 2006-05-02 | 1 | -52/+31 |
| | | | | | | | | | | | 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 | ||||
| * | Remove dead method | Chris Lattner | 2006-05-02 | 1 | -5/+0 |
| | | | | | llvm-svn: 28055 | ||||
| * | Fix a warning | Nate Begeman | 2006-04-25 | 1 | -1/+1 |
| | | | | | llvm-svn: 27967 | ||||
| * | JumpTable support! What this represents is working asm and jit support for | Nate Begeman | 2006-04-22 | 2 | -2/+86 |
| | | | | | | | | | 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 | ||||
| * | Fix JIT support for static ctors, which was apparently completely broken! | Chris Lattner | 2006-04-22 | 1 | -1/+5 |
| | | | | | | | | This allows Prolangs-C++/city and probably a bunch of other stuff to work well with the new front-end llvm-svn: 27941 | ||||
| * | Get JIT/Interpreter working on Windows again. | Jeff Cohen | 2006-03-24 | 2 | -0/+10 |
| | | | | | llvm-svn: 27037 | ||||
| * | prune #includes | Chris Lattner | 2006-03-23 | 1 | -1/+0 |
| | | | | | llvm-svn: 26975 | ||||
| * | remove always-null IntrinsicLowering argument. | Chris Lattner | 2006-03-23 | 1 | -1/+1 |
| | | | | | llvm-svn: 26971 | ||||
| * | remove the intrinsiclowering hook | Chris Lattner | 2006-03-23 | 5 | -26/+18 |
| | | | | | llvm-svn: 26970 | ||||
| * | Eliminate the dependency of ExecutionEngine on the JIT/Interpreter libraries. | Chris Lattner | 2006-03-22 | 5 | -21/+35 |
| | | | | | | | Now you can build a tool with just the JIT or just the interpreter. llvm-svn: 26946 | ||||
| * | Convert llvm.cs.uiuc.edu -> llvm.org | Reid Spencer | 2006-03-14 | 1 | -1/+1 |
| | | | | | llvm-svn: 26748 | ||||
| * | Add a helper method for running static ctors/dtors in the module. | Chris Lattner | 2006-03-08 | 1 | -2/+31 |
| | | | | | llvm-svn: 26619 | ||||
| * | simplify this code now that each constant pool entry is not separately allocated | Chris Lattner | 2006-02-09 | 1 | -15/+16 |
| | | | | | llvm-svn: 26079 | ||||
| * | Adjust to MachineConstantPool interface change: instead of keeping a | Chris Lattner | 2006-02-09 | 1 | -7/+10 |
| | | | | | | | value/alignment pair for each constant, keep a value/offset pair. llvm-svn: 26078 | ||||
| * | rename fields of constant pool entries | Chris Lattner | 2006-02-09 | 1 | -6/+4 |
| | | | | | llvm-svn: 26076 | ||||
| * | The interpreter assumes that the caller of runFunction() must be lli, and | Jeff Cohen | 2006-02-07 | 3 | -8/+7 |
| | | | | | | | | | therefore the function being called must be a main() returning an int. The consequences when these assumptions are false are not good, so don't assume them. llvm-svn: 26031 | ||||
| * | Teach the interpreter to handle global variables that are added to a module ↵ | Jeff Cohen | 2006-02-07 | 1 | -1/+10 |
| | | | | | | | | | | after interpretation has begun. The JIT already handles this situation correctly, and the interpreter can already handle new functions being added. llvm-svn: 26030 | ||||
| * | Allow the specification of explicit alignments for constant pool entries. | Evan Cheng | 2006-01-31 | 1 | -4/+6 |
| | | | | | llvm-svn: 25855 | ||||
| * | Add #include of <iostream> | Chris Lattner | 2006-01-22 | 1 | -1/+2 |
| | | | | | llvm-svn: 25516 | ||||
| * | Fixed InitializeMemory to handle ConstantPacked. | Robert Bocchino | 2006-01-20 | 1 | -0/+6 |
| | | | | | llvm-svn: 25481 | ||||
| * | Wrap long lines. | Chris Lattner | 2006-01-07 | 1 | -6/+8 |
| | | | | | llvm-svn: 25140 | ||||
| * | wrap long line | Chris Lattner | 2006-01-07 | 1 | -1/+2 |
| | | | | | llvm-svn: 25139 | ||||
| * | Fix a nasty bug that was causing miscompilation of global variables | Chris Lattner | 2005-10-23 | 1 | -1/+4 |
| | | | | | | | | on big endian 32-bit targets in some cases (e.g. PPC). This fixes several PPC JIT failures. llvm-svn: 23914 | ||||
| * | Shrinkify to match llc | Chris Lattner | 2005-10-23 | 1 | -3/+3 |
| | | | | | llvm-svn: 23912 | ||||
| * | Add help support for -mcpu and -mattr. | Jim Laskey | 2005-09-02 | 1 | -3/+3 |
| | | | | | llvm-svn: 23222 | ||||
| * | 1. Use SubtargetFeatures in llc/lli. | Jim Laskey | 2005-09-01 | 1 | -1/+24 |
| | | | | | | | | | 2. Propagate feature "string" to all targets. 3. Implement use of SubtargetFeatures in PowerPCTargetSubtarget. llvm-svn: 23192 | ||||
| * | one cannot allocate a global, until one is done initializing the global pointers | Andrew Lenharth | 2005-08-01 | 1 | -5/+5 |
| | | | | | llvm-svn: 22568 | ||||

