| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
index by using I.getOperand() here. This was failing an assertion on
basically every struct access.
llvm-svn: 10426
|
|
|
|
| |
llvm-svn: 10390
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
interpreting them.
Move support for getting the value of a ConstantExpr into
getConstantExprValue(), and add support for the rest of the different
kinds of ConstantExprs. (I don't think I like ConstantExprs!)
This requires separate procedures executeShlInst() and executeShrInst().
Reduce the number of references to TheEE.
Get rid of an old comment mentioning annotations.
Fix exitCalled(), which was crashing the Interpreter. This was a
leftover from the return-value code refactoring.
llvm-svn: 10389
|
|
|
|
| |
llvm-svn: 10321
|
|
|
|
| |
llvm-svn: 10320
|
|
|
|
| |
llvm-svn: 10318
|
|
|
|
|
|
|
|
| |
constraints.
If this doesn't work Misha, feel free to revert it.
llvm-svn: 10267
|
|
|
|
|
|
|
|
| |
allow unaligned loads, that is probably the problem I've been seeing in numerous
SPARC test cases failing. X86, on the other hand, just slows down unaligned
accesses, since it must make 2 aligned accesses for each unaligned one.
llvm-svn: 10266
|
|
|
|
| |
llvm-svn: 10224
|
|
|
|
| |
llvm-svn: 10093
|
|
|
|
| |
llvm-svn: 10060
|
|
|
|
|
|
|
| |
* Delete blank comment lines
* Eliminate space between function name and open-paren ( to be consistent
llvm-svn: 10059
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
longer used.
llvm-svn: 9823
|
|
|
|
|
|
| |
still causes a crash. But it's better than before.
llvm-svn: 9794
|
|
|
|
|
|
|
|
| |
destination, if returning from an invoke.
Implement 'unwind' instruction.
llvm-svn: 9792
|
|
|
|
| |
llvm-svn: 9790
|
|
|
|
| |
llvm-svn: 9789
|
|
|
|
|
|
| |
Use visitCallSite to implement both CallInsts and InvokeInsts.
llvm-svn: 9788
|
|
|
|
| |
llvm-svn: 9787
|
|
|
|
| |
llvm-svn: 9784
|
|
|
|
|
|
| |
Make external function calls slightly less special; now they get a stack frame.
llvm-svn: 9765
|
|
|
|
| |
llvm-svn: 9726
|
|
|
|
|
|
| |
and calling exit(1).
llvm-svn: 9716
|
|
|
|
| |
llvm-svn: 9713
|
|
|
|
| |
llvm-svn: 9712
|
|
|
|
|
|
| |
because the Arch variable will likely be undefined.
llvm-svn: 9576
|
|
|
|
| |
llvm-svn: 9502
|
|
|
|
|
|
|
|
|
|
| |
CurFrame, TraceMode, and the CachedWriter are history.
The ExecutionAnnotations (SlotNumber, InstNumber, and FunctionInfo) are history.
ExecutionContext now keeps Values for each stack frame in a std::map.
printValue() and print() are history.
executeInstruction() is now part of run().
llvm-svn: 9493
|
|
|
|
|
|
| |
CurFrame, TraceMode, and the CachedWriter are history.
llvm-svn: 9492
|
|
|
|
| |
llvm-svn: 9490
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CurFrame, TraceMode, and the CachedWriter are history.
ArrayChecksEnabled and non-QuietMode are history.
The ExecutionAnnotations (SlotNumber, InstNumber, and FunctionInfo) are history.
ExecutionContext now keeps Values for each stack frame in a std::map.
Stop pre-initializing Values on the stack to 42.
Remove some dead variables, excess whitespace and commented-out code.
executeInstruction() is now part of run().
printValue() and print() are history.
llvm-svn: 9489
|
|
|
|
| |
llvm-svn: 9488
|
|
|
|
|
|
|
| |
recompile and relink. This keeps it from failing an assertion when
it goes and tries to construct a new MachineFunction for that Function.
llvm-svn: 9459
|
|
|
|
| |
llvm-svn: 9321
|
|
|
|
| |
llvm-svn: 9312
|
|
|
|
|
|
| |
Header files will be on the way.
llvm-svn: 9298
|
|
|
|
| |
llvm-svn: 9283
|
|
|
|
| |
llvm-svn: 9222
|
|
|
|
|
|
|
| |
ModuleProvider, which has bad consequences in lli::callAsMain() which tries to
access that same Module*.
llvm-svn: 9205
|
|
|
|
|
|
| |
Add prototypes for recompileAndRelinkFunction() and runJITOnFunction().
llvm-svn: 9200
|
|
|
|
|
|
|
|
|
| |
runJITOnFunction().
Add new method for recompiling and patching in new versions of functions,
recompileAndRelinkFunction().
llvm-svn: 9199
|
|
|
|
| |
llvm-svn: 9184
|
|
|
|
|
|
|
|
|
|
|
|
| |
* #include "llvm/ModuleProvider"
* alphabetize #includes
* omit extraneous parens in pointer expressions
VM.cpp:
* #include "llvm/ModuleProvider"
* alphabetize #includes
llvm-svn: 9182
|
|
|
|
|
|
|
|
| |
* Move the constructors from .h file here
* Document ExecutionEngine::create()
* Catch exception possibly thrown by ModuleProvider::releaseModule()
llvm-svn: 9181
|
|
|
|
| |
llvm-svn: 9128
|
|
|
|
|
|
| |
* The VM is now constructed with a ModuleProvider
llvm-svn: 9125
|
|
|
|
|
|
| |
* ExecutionEngine and VM can be constructed using a ModuleProvider.
llvm-svn: 9124
|
|
|
|
|
|
|
| |
Linux. This is consistent with what FreeBSD and Solaris both want.
This makes the JIT work on FreeBSD 5.1-RELEASE. Whee.
llvm-svn: 9045
|