| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
llvm-svn: 43002
|
| |
|
|
|
|
| |
return NULL.
llvm-svn: 42871
|
| |
|
|
|
|
|
|
| |
input. APInt unfortunately zero-extends signed integers, so Dale
modified the function to expect zero-extended input. Make this
assumption explicit in the function name.
llvm-svn: 42732
|
| |
|
|
|
|
|
|
| |
use APFloat for int-to-float/double; use
round-to-nearest for these (implementation-defined,
seems to match gcc).
llvm-svn: 42484
|
| |
|
|
|
|
|
|
|
|
| |
bit width instead of number of words allocated, which
makes it actually work for int->APF conversions.
Adjust callers. Add const to one of the APInt constructors
to prevent surprising match when called with const
argument.
llvm-svn: 42210
|
| |
|
|
| |
llvm-svn: 42205
|
| |
|
|
|
|
| |
complete, but common cases work)
llvm-svn: 42043
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use APFloat in UpgradeParser and AsmParser.
Change all references to ConstantFP to use the
APFloat interface rather than double. Remove
the ConstantFP double interfaces.
Use APFloat functions for constant folding arithmetic
and comparisons.
(There are still way too many places APFloat is
just a wrapper around host float/double, but we're
getting there.)
llvm-svn: 41747
|
| |
|
|
|
|
| |
Add an APSInt::toString() method.
llvm-svn: 41309
|
| |
|
|
| |
llvm-svn: 41050
|
| |
|
|
| |
llvm-svn: 41018
|
| |
|
|
| |
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
|