| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 33076
|
|
|
|
|
|
| |
Convert signed integer types to signless ones.
llvm-svn: 32787
|
|
|
|
|
|
| |
now cerr, cout, and NullStream resp.
llvm-svn: 32298
|
|
|
|
| |
llvm-svn: 32113
|
|
|
|
| |
llvm-svn: 31949
|
|
|
|
| |
llvm-svn: 31561
|
|
|
|
|
|
| |
linking the program on the fly.
llvm-svn: 29721
|
|
|
|
| |
llvm-svn: 28635
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 21440
|
|
|
|
|
|
| |
* Convert tabs to spaces
llvm-svn: 21421
|
|
|
|
|
|
|
|
| |
since we are dirty, special case __main. This should fix the infinite loop
horrible stuff that happens on linux-alpha when configuring llvm-gcc. It
might also help cygwin, who knows??
llvm-svn: 19729
|
|
|
|
| |
llvm-svn: 19586
|
|
|
|
| |
llvm-svn: 19392
|
|
|
|
| |
llvm-svn: 18357
|
|
|
|
| |
llvm-svn: 17284
|
|
|
|
|
|
|
|
| |
Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.
llvm-svn: 16137
|
|
|
|
| |
llvm-svn: 14201
|
|
|
|
| |
llvm-svn: 14194
|
|
|
|
| |
llvm-svn: 13856
|
|
|
|
| |
llvm-svn: 13747
|
|
|
|
|
|
| |
functions with wrappers that either take or return size_ts.
llvm-svn: 13296
|
|
|
|
|
|
| |
Reimplement the Interpreters implementation of va_* to be more direct.
llvm-svn: 10627
|
|
|
|
| |
llvm-svn: 10465
|
|
|
|
|
|
| |
use it to return the result of strlen.
llvm-svn: 10433
|
|
|
|
|
|
|
|
| |
argument to be returned by va_arg. This allows va_lists to be passed
between different LLVM procedures (though it is unlikely that an LLI
va_list would make sense to an external function, except by chance.)
llvm-svn: 9965
|
|
|
|
| |
llvm-svn: 9903
|
|
|
|
|
|
| |
and calling exit(1).
llvm-svn: 9716
|
|
|
|
| |
llvm-svn: 9502
|
|
|
|
|
|
| |
Header files will be on the way.
llvm-svn: 9298
|
|
|
|
| |
llvm-svn: 9222
|
|
|
|
| |
llvm-svn: 9128
|
|
|
|
| |
llvm-svn: 9031
|
|
|
|
| |
llvm-svn: 9021
|
|
|
|
|
|
|
|
|
| |
In lookupFunction():
Change to use "F" for Function argument instead of ancient "M".
Remove commented-out code.
Change to use GetAddressOfSymbol instead of dlsym.
llvm-svn: 9013
|
|
|
|
| |
llvm-svn: 8986
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
to change soon though.
llvm-svn: 8123
|
|
|
|
| |
llvm-svn: 7944
|
|
|
|
|
|
| |
system.
llvm-svn: 7014
|
|
|
|
|
|
| |
Remove isnan; it's too unportable to handle cleanly at this point.
llvm-svn: 6866
|
|
|
|
|
|
| |
future, by the reconciliation of the C++ and C99 standards. Someday.
llvm-svn: 6751
|
|
|
|
| |
llvm-svn: 6194
|
|
|
|
| |
llvm-svn: 6043
|
|
|
|
|
|
|
| |
* s/Method/Function
* Kill some obsolete (external) functions that used to be to support tracing
llvm-svn: 6041
|
|
|
|
|
|
| |
host
llvm-svn: 5942
|
|
|
|
| |
llvm-svn: 5941
|
|
|
|
| |
llvm-svn: 5887
|
|
|
|
| |
llvm-svn: 5885
|