| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 40927
|
| |
|
|
|
|
|
|
| |
indexing an empty std::vector.
Updates to all clients.
llvm-svn: 40660
|
| |
|
|
|
|
| |
things, it wasn't designed to handle.
llvm-svn: 40608
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 40589
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
ManagedStatic control.
This commit fixes two things. One is a pair of VStudio compiler errors stemming from variables
which defined within the for loop statement and also within the body of the for loop. I fixed these
by renaming one of the two variables. Additionally, I've made the Function*->ExFunc map in
ExternalFunctions.cpp a ManagedStatic object, so that cleanup will be done on llvm_shutdown. In repeated
uses of the interpreter, where the same Function* address may get used for completely differnet functions,
this was causing a crash.
llvm-svn: 40558
|
| |
|
|
|
|
| |
the type "unsigned" instead of uintptr_t for a 1-bit structure field.
llvm-svn: 40066
|
| |
|
|
| |
llvm-svn: 38453
|
| |
|
|
|
|
| |
Almost all occurrences of "bytecode" in the sources have been eliminated.
llvm-svn: 37913
|
| |
|
|
|
|
| |
compilation is disabled.
llvm-svn: 37825
|
| |
|
|
| |
llvm-svn: 37405
|
| |
|
|
| |
llvm-svn: 37404
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 37322
|
| |
|
|
|
|
|
| |
turn "putchar" calls into _IO_putc calls which is a lower-level interface.
This patch allows these calls to be executed by lli in interpreter mode.
llvm-svn: 37254
|
| |
|
|
|
|
| |
of verifying result values when debugging.
llvm-svn: 37156
|
| |
|
|
| |
llvm-svn: 37105
|
| |
|
|
|
|
|
| |
on. This helps to speed up the debugging time by showing computational
results as the program executes.
llvm-svn: 37095
|
| |
|
|
|
|
|
|
| |
extension is needed because the constructor for the Destination value
causes the APInt to have a bit width of 1.
Patch by Guoling Han.
llvm-svn: 36733
|
| |
|
|
|
|
|
|
| |
incorrect results (canonicalization was dropped several commits ago).
2. Add support for fscanf.
3. Suppress a warning about cast to pointer from non-pointer-sized integer.
llvm-svn: 36482
|
| |
|
|
|
|
| |
users.
llvm-svn: 36305
|
| |
|
|
| |
llvm-svn: 36289
|
| |
|
|
| |
llvm-svn: 36288
|
| |
|
|
| |
llvm-svn: 36286
|
| |
|
|
| |
llvm-svn: 36198
|
| |
|
|
|
|
|
| |
forcing every small argument of every function regardless of attributes or
calling convention to be expanded.
llvm-svn: 36174
|
| |
|
|
|
|
|
|
|
|
| |
* Rename the FunctionType* parameter from M to FT on all the functions.
* Implement a fix for PR1293 by just asserting that library functions that
must return pointers should have pointer typed results. This just makes
sure that we don't attempt to use an uninitialized integer or something
later on.
llvm-svn: 35508
|
| |
|
|
| |
llvm-svn: 35067
|
| |
|
|
| |
llvm-svn: 35038
|
| |
|
|
| |
llvm-svn: 35037
|
| |
|
|
|
|
| |
implementation of getConstantValue().
llvm-svn: 34988
|
| |
|
|
| |
llvm-svn: 34959
|
| |
|
|
|
|
|
|
| |
to make a copy of the GenericValue.
2. Fix a copy & paste bug in StoreValueToMemory where 64-bit values were
truncated to 32
llvm-svn: 34958
|
| |
|
|
|
|
| |
might need to zext not just trunc the value.
llvm-svn: 34955
|
| |
|
|
|
|
| |
is larger. Adjust so that it truncates to pointer width, only if necessary.
llvm-svn: 34954
|
| |
|
|
|
|
| |
integer field of type APInt instead of different sized integer fields.
llvm-svn: 34952
|
| |
|
|
|
|
|
|
| |
handling for integer of various sizes. GenericValue now has just a single
integer field of type APInt. We use its facilities directly in the
execution of all instructions.
llvm-svn: 34951
|
| |
|
|
|
|
| |
a single integer field of type APInt.
llvm-svn: 34950
|
| |
|
|
|
|
|
| |
members of GenericValue. Consequently the code to clean them up isn't
needed.
llvm-svn: 34948
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
field, of type APInt, instead of multiple integer fields. Also, get rid of
the special endianness code in StoreValueToMemory and LoadValueToMemory.
ExecutionEngine is always used to execute on the host platform so this is
now unnecessary.
llvm-svn: 34946
|
| |
|
|
| |
llvm-svn: 34889
|
| |
|
|
| |
llvm-svn: 34887
|
| |
|
|
|
|
|
| |
have been removed and dealt with. The interpreter should now be able to
execute any LLVM program using any bit width.
llvm-svn: 34884
|
| |
|
|
|
|
| |
destination value of LoadValueFromMemory.
llvm-svn: 34883
|
| |
|
|
|
|
|
| |
Move the getConstantExpr function towards the end of the file so we don't
need a dozen forward declarations.
llvm-svn: 34877
|
| |
|
|
|
|
|
| |
ensure they are cleaned up when the stack frame exits.
2. Move a function to the Execution.cpp file where it belongs.
llvm-svn: 34876
|
| |
|
|
| |
llvm-svn: 34874
|
| |
|
|
| |
llvm-svn: 34552
|
| |
|
|
|
|
|
| |
Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and
PackedTyID -> VectorTyID. No functional changes.
llvm-svn: 34293
|