summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/JIT
Commit message (Collapse)AuthorAgeFilesLines
* eliminate redundant conditions from the signless types conversion.Chris Lattner2007-08-081-7/+4
| | | | llvm-svn: 40927
* New CallInst interface to address GLIBCXX_DEBUG errors caused byDavid Greene2007-08-011-1/+1
| | | | | | | | indexing an empty std::vector. Updates to all clients. llvm-svn: 40660
* Add detection of __dso_handle presence during configure. Use this ↵Anton Korobeynikov2007-07-301-15/+20
| | | | | | | | | information in the JITer (short path is added for darwin). This is needed to properly JIT llvm-gcc-4.2-built binaries, since cxa_atexit is enabled by default on much more targets. llvm-svn: 40600
* Hush a noisy warning from GCC 4.2 about overflow during conversion by usingReid Spencer2007-07-191-2/+2
| | | | | | the type "unsigned" instead of uintptr_t for a 1-bit structure field. llvm-svn: 40066
* fix typosGabor Greif2007-07-091-5/+5
| | | | llvm-svn: 38453
* Here is the bulk of the sanitizing.Gabor Greif2007-07-052-5/+5
| | | | | | Almost all occurrences of "bytecode" in the sources have been eliminated. llvm-svn: 37913
* (For Chris): Fix failure where we rejected compiling stubs when lazy ↵Evan Cheng2007-06-301-18/+25
| | | | | | compilation is disabled. llvm-svn: 37825
* avoid mutating a global in an accessorChris Lattner2007-04-201-5/+6
| | | | llvm-svn: 36289
* fit in 80 colsChris Lattner2007-04-201-2/+2
| | | | llvm-svn: 36288
* rename JIT::state -> JIT::jitstate to avoid shadowing ExecutionEngine::stateChris Lattner2007-04-202-8/+8
| | | | llvm-svn: 36286
* Implement PR1240Anton Korobeynikov2007-03-061-2/+3
| | | | llvm-svn: 34959
* Simplify code as a result of the change in GenericValue to have a singleReid Spencer2007-03-061-28/+15
| | | | | | integer field of type APInt instead of different sized integer fields. llvm-svn: 34952
* Deal with error handling better.Reid Spencer2007-03-032-3/+10
| | | | llvm-svn: 34887
* Fix PR1216 by cleaning up the ownership of JITResolver.Chris Lattner2007-02-242-29/+42
| | | | llvm-svn: 34552
* Generalize TargetData strings, to support more interesting forms of data.Chris Lattner2007-02-141-1/+1
| | | | | | Patch by Scott Michel. llvm-svn: 34266
* eliminate vector-related allocationsChris Lattner2007-02-131-2/+2
| | | | llvm-svn: 34223
* For PR1136: Rename GlobalVariable::isExternal as isDeclaration to avoidReid Spencer2007-01-302-4/+4
| | | | | | confusion with external linkage types. llvm-svn: 33663
* Moved disassembler to libSystemAnton Korobeynikov2007-01-231-10/+2
| | | | llvm-svn: 33461
* Teach TargetData to handle 'preferred' alignment for each target, and useChris Lattner2007-01-201-1/+1
| | | | | | these alignment amounts to align scalars when we can. Patch by Scott Michel! llvm-svn: 33409
* DOUT still evaluates side effects, even though it doesn't print. This meansChris Lattner2007-01-201-0/+2
| | | | | | | that disassembleBuffer will be called even if NDEBUG, but the result will be ignored. llvm-svn: 33408
* fix build on amd64Andrew Lenharth2007-01-191-1/+1
| | | | llvm-svn: 33367
* Adding disassembler interface and external hook to udis86 library.Anton Korobeynikov2007-01-191-1/+14
| | | | llvm-svn: 33358
* For PR1064:Reid Spencer2007-01-121-17/+31
| | | | | | | | | | | | | | | | | | | | | | | Implement the arbitrary bit-width integer feature. The feature allows integers of any bitwidth (up to 64) to be defined instead of just 1, 8, 16, 32, and 64 bit integers. This change does several things: 1. Introduces a new Derived Type, IntegerType, to represent the number of bits in an integer. The Type classes SubclassData field is used to store the number of bits. This allows 2^23 bits in an integer type. 2. Removes the five integer Type::TypeID values for the 1, 8, 16, 32 and 64-bit integers. These are replaced with just IntegerType which is not a primitive any more. 3. Adjust the rest of LLVM to account for this change. Note that while this incremental change lays the foundation for arbitrary bit-width integers, LLVM has not yet been converted to actually deal with them in any significant way. Most optimization passes, for example, will still only deal with the byte-width integer types. Future increments will rectify this situation. llvm-svn: 33113
* Implement review feedback for the ConstantBool->ConstantInt merge. ChrisReid Spencer2007-01-121-1/+1
| | | | | | | | recommended that getBoolValue be replaced with getZExtValue and that get(bool) be replaced by get(const Type*, uint64_t). This implements those changes. llvm-svn: 33110
* Rename BoolTy as Int1Ty. Patch by Sheng Zhou.Reid Spencer2007-01-111-3/+3
| | | | llvm-svn: 33076
* For PR1043:Zhou Sheng2007-01-111-1/+1
| | | | | | | Merge ConstantIntegral and ConstantBool into ConstantInt. Remove ConstantIntegral and ConstantBool from LLVM. llvm-svn: 33073
* For PR950:Reid Spencer2006-12-311-32/+24
| | | | | | Convert signed integer types to signless ones. llvm-svn: 32787
* remove static ctors from Statistic objectsChris Lattner2006-12-191-6/+3
| | | | llvm-svn: 32700
* Fix PR1057 (compilation on macos 10.3), patch by Scott Michel!Chris Lattner2006-12-171-8/+8
| | | | llvm-svn: 32644
* Simplify the fetching of relocation mode.Jim Laskey2006-12-141-4/+4
| | | | llvm-svn: 32588
* 1. Tidy up jump table info.Jim Laskey2006-12-141-17/+36
| | | | | | 2. Allow the jit to handle PIC relocable jump tables. llvm-svn: 32581
* Change inferred cast creation calls to more specific cast creations.Reid Spencer2006-12-121-1/+1
| | | | llvm-svn: 32460
* Removing even more <iostream> includes.Bill Wendling2006-12-074-41/+37
| | | | llvm-svn: 32320
* Detemplatize the Statistic class. The only type it is instantiated withChris Lattner2006-12-061-2/+2
| | | | | | is 'unsigned'. llvm-svn: 32279
* Allow target to specify alignment for function stub.Evan Cheng2006-11-161-5/+11
| | | | llvm-svn: 31788
* if lazy compilation is disabled, print an error message and abort ifChris Lattner2006-11-091-0/+7
| | | | | | lazy compilation is ever attempted llvm-svn: 31602
* For PR786:Reid Spencer2006-11-021-1/+0
| | | | | | | | | | 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
* For PR950:Reid Spencer2006-10-201-12/+12
| | | | | | | | This patch implements the first increment for the Signless Types feature. All changes pertain to removing the ConstantSInt and ConstantUInt classes in favor of just using ConstantInt. llvm-svn: 31063
* Unbreak the JITChris Lattner2006-09-151-2/+2
| | | | llvm-svn: 30384
* Adding dllimport, dllexport and external weak linkage types.Anton Korobeynikov2006-09-141-2/+2
| | | | | | | | | DLL* linkages got full (I hope) codegeneration support in C & both x86 assembler backends. External weak linkage added for future use, we don't provide any codegeneration, etc. support for it. llvm-svn: 30374
* Fix a ton of jit failuresChris Lattner2006-09-131-1/+1
| | | | llvm-svn: 30292
* Reflect MachineConstantPoolEntry changes.Evan Cheng2006-09-121-3/+12
| | | | llvm-svn: 30277
* Behold, more work on relocations. Things are looking pretty good now.Nate Begeman2006-09-101-1/+1
| | | | llvm-svn: 30240
* Completely rearchitect the interface between targets and the pass manager.Chris Lattner2006-09-041-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | 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
* eliminate use of TM.getName()Chris Lattner2006-09-031-2/+1
| | | | llvm-svn: 30068
* Remove extra spaces.Evan Cheng2006-09-011-2/+2
| | | | llvm-svn: 30025
* Last check-in was a mistake...Evan Cheng2006-09-011-4/+6
| | | | | | | | | | | I've been told apple gcc version number is not guaranteed to increase monotonically. Change the preprocess condition to make it less risky. The configuration change is done during the middle 10.4 life cycle so we have to check __APPLE_CC. For future OS X release, we should be able to assume -fenable-cxa-atexit is the default. llvm-svn: 30024
* *** empty log message ***Evan Cheng2006-09-011-2/+2
| | | | llvm-svn: 30023
* Better comments.Evan Cheng2006-09-011-1/+4
| | | | llvm-svn: 30017
* Yikes. This requires checking apple gcc version.Evan Cheng2006-09-011-2/+4
| | | | llvm-svn: 30016
OpenPOWER on IntegriCloud