| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 199275
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
into their new header subdirectory: include/llvm/IR. This matches the
directory structure of lib, and begins to correct a long standing point
of file layout clutter in LLVM.
There are still more header files to move here, but I wanted to handle
them in separate commits to make tracking what files make sense at each
layer easier.
The only really questionable files here are the target intrinsic
tablegen files. But that's a battle I'd rather not fight today.
I've updated both CMake and Makefile build systems (I think, and my
tests think, but I may have missed something).
I've also re-sorted the includes throughout the project. I'll be
committing updates to Clang, DragonEgg, and Polly momentarily.
llvm-svn: 171366
|
|
|
|
| |
llvm-svn: 165402
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Modules and ModuleProviders. Because the "ModuleProvider" simply materializes
GlobalValues now, and doesn't provide modules, it's renamed to
"GVMaterializer". Code that used to need a ModuleProvider to materialize
Functions can now materialize the Functions directly. Functions no longer use a
magic linkage to record that they're materializable; they simply ask the
GVMaterializer.
Because the C ABI must never change, we can't remove LLVMModuleProviderRef or
the functions that refer to it. Instead, because Module now exposes the same
functionality ModuleProvider used to, we store a Module* in any
LLVMModuleProviderRef and translate in the wrapper methods. The bindings to
other languages still use the ModuleProvider concept. It would probably be
worth some time to update them to follow the C++ more closely, but I don't
intend to do it.
Fixes http://llvm.org/PR5737 and http://llvm.org/PR5735.
llvm-svn: 94686
|
|
|
|
|
|
|
|
| |
EE::create().
Also a test commit.
llvm-svn: 76276
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
default, this option is not enabled to support clients who rely on
this behavior.
Fixes http://llvm.org/PR4483
A patch to allocate additional memory for globals after we run out is
forthcoming.
Patch by Reid Kleckner!
llvm-svn: 75059
|
|
|
|
|
|
|
|
| |
libraries instead of relinked objects, the interpreter, JIT, and native
target libraries were not being linked in to an ocaml program using the
ExecutionEngine.
llvm-svn: 74117
|
|
|
|
|
|
|
| |
which better identifies what the optimization is doing. And is more flexible for
future uses.
llvm-svn: 70440
|
|
|
|
|
|
|
| |
an optimization level instead of a simple boolean telling it to generate code
"fast" or the other type of "fast".
llvm-svn: 70347
|
|
|
|
| |
llvm-svn: 54523
|
|
|
|
|
|
|
| |
several things that were neither in an anonymous namespace nor static
but not intended to be global.
llvm-svn: 51017
|
|
|
|
|
|
| |
annoying warnings.
llvm-svn: 47367
|
|
|
|
| |
llvm-svn: 45418
|
|
|
|
|
|
| |
delete one ExecutionEngine ctor, minor cleanup.
llvm-svn: 44646
|
|
|
|
|
|
|
| |
Avoid overwriting the APInt instance with 0 bytes which causes the bitwidth
to be set to 0 (illegal) producing a subsequent assert.
llvm-svn: 37391
|
|
|
|
|
|
|
|
| |
Target DataLayout incorrectly. For now, we'll trust that the module has
got the correct DataLayout. In the future, this needs to be changed to
tell the TargetData to be "current host".
llvm-svn: 34947
|
|
|
|
| |
llvm-svn: 34889
|
|
|
|
| |
llvm-svn: 34887
|
|
|
|
| |
llvm-svn: 33620
|
|
|
|
| |
llvm-svn: 33619
|
|
|
|
|
|
|
| |
The Module::setEndianness and Module::setPointerSize methods have been
removed. Instead you can get/set the DataLayout. Adjust thise accordingly.
llvm-svn: 33530
|
|
|
|
|
|
| |
CBE and interpreter.
llvm-svn: 31755
|
|
|
|
| |
llvm-svn: 28832
|
|
|
|
| |
llvm-svn: 28826
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 27037
|
|
|
|
| |
llvm-svn: 26970
|
|
|
|
|
|
| |
Now you can build a tool with just the JIT or just the interpreter.
llvm-svn: 26946
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 22523
|
|
|
|
| |
llvm-svn: 21440
|
|
|
|
|
|
| |
* Convert tabs to spaces
llvm-svn: 21421
|
|
|
|
| |
llvm-svn: 14266
|
|
|
|
| |
llvm-svn: 11224
|
|
|
|
|
|
| |
Reimplement the Interpreters implementation of va_* to be more direct.
llvm-svn: 10627
|
|
|
|
|
|
| |
rename run to runFunction
llvm-svn: 10609
|
|
|
|
| |
llvm-svn: 10465
|
|
|
|
| |
llvm-svn: 9903
|
|
|
|
| |
llvm-svn: 9726
|
|
|
|
|
|
| |
CurFrame, TraceMode, and the CachedWriter are history.
llvm-svn: 9492
|
|
|
|
|
|
| |
Header files will be on the way.
llvm-svn: 9298
|
|
|
|
| |
llvm-svn: 8659
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Switch Interpreter and JIT's "run" methods to take a Function and a vector of
GenericValues.
Move (almost all of) the stuff that constructs a canonical call to main()
into lli (new methods "callAsMain", "makeStringVector").
Nuke getCurrentExecutablePath(), enableTracing(), getCurrentFunction(),
isStopped(), and many dead decls from interpreter.
Add linux strdup() support to interpreter.
Make interpreter's atexit handler runner and JIT's runAtExitHandlers() look
more alike, in preparation for refactoring.
atexit() is spelled "atexit", not "at_exit".
llvm-svn: 8366
|
|
|
|
|
|
|
|
|
| |
Remove printCurrentInstruction, printStackFrame and infoValue
(only used interactively) and other unused methods of Interpreter.
Fold UserInput.cpp containing only callMainFunction() into Interpreter.cpp.
Remove unused Profile flag.
llvm-svn: 8359
|
|
|
|
|
|
|
|
|
|
|
|
| |
Get rid of support for DebugMode (make it always off).
Mung some comments.
Get rid of interpreter's PROFILE_STRUCTURE_FIELDS and PerformExitStuff
which have been disabled forever.
Get rid of -abort-on-exception (make it always on).
Get rid of user interaction stuff (debug mode innards).
Simplify Interpreter's callMainFunction().
llvm-svn: 8344
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
static method here.
Remove some extra blank lines.
ExecutionEngine.h: Add its prototype.
lli.cpp: Call it.
Make creation method for each type of EE into a static method of its
own subclass.
Interpreter/Interpreter.cpp: ExecutionEngine::createInterpreter -->
Interpreter::create
Interpreter/Interpreter.h: Likewise.
JIT/JIT.cpp: ExecutionEngine::createJIT --> VM::create
JIT/VM.h: Likewise.
llvm-svn: 8343
|
|
|
|
|
|
| |
ad-hoc "Config" flags
llvm-svn: 8134
|
|
|
|
|
|
|
| |
starts a program. This allows the GNU env program to compile and JIT under
LLVM.
llvm-svn: 8022
|
|
|
|
| |
llvm-svn: 6194
|
|
|
|
|
|
| |
because the globals may refer to functions that need to be compiled!
llvm-svn: 6105
|