|
* Move stub allocation inside the JITEmitter, instead of exposing a way for each TargetJITInfo subclass to allocate its own stubs. This means stubs aren't as exactly-sized anymore, but it lets us get rid of TargetJITInfo::emitFunctionStubAtAddr(), which lets ARM and PPC support the eager JIT, fixing http://llvm.org/PR4816.
* Rename the JITEmitter's stub creation functions to describe the kind of stub they create. So far, all of them create lazy-compilation stubs, but they sometimes get used when far-call stubs are needed. That'll be fixed in a future patch.
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+271 lines, -177 lines) |
Patch |
|
M |
include/llvm/CodeGen/JITCodeEmitter.h
|
View
|
1
2
3
4
|
1 chunk |
+17 lines, -11 lines |
0 comments
|
Download
|
|
M |
include/llvm/CodeGen/MachineCodeEmitter.h
|
View
|
|
1 chunk |
+34 lines, -10 lines |
0 comments
|
Download
|
|
M |
include/llvm/Target/TargetJITInfo.h
|
View
|
1
2
3
4
|
2 chunks |
+17 lines, -10 lines |
0 comments
|
Download
|
|
M |
lib/ExecutionEngine/JIT/JITEmitter.cpp
|
View
|
1
2
3
4
|
19 chunks |
+72 lines, -68 lines |
0 comments
|
Download
|
|
M |
lib/Target/ARM/ARMJITInfo.h
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
lib/Target/ARM/ARMJITInfo.cpp
|
View
|
1
2
3
4
|
5 chunks |
+30 lines, -21 lines |
0 comments
|
Download
|
|
M |
lib/Target/Alpha/AlphaJITInfo.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
lib/Target/Alpha/AlphaJITInfo.cpp
|
View
|
1
2
3
4
|
1 chunk |
+11 lines, -2 lines |
0 comments
|
Download
|
|
M |
lib/Target/PowerPC/PPCJITInfo.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
lib/Target/PowerPC/PPCJITInfo.cpp
|
View
|
1
2
3
4
|
4 chunks |
+16 lines, -9 lines |
0 comments
|
Download
|
|
M |
lib/Target/X86/X86JITInfo.h
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -7 lines |
0 comments
|
Download
|
|
M |
lib/Target/X86/X86JITInfo.cpp
|
View
|
1
2
3
4
|
1 chunk |
+29 lines, -36 lines |
0 comments
|
Download
|
|
M |
unittests/ExecutionEngine/JIT/JITTest.cpp
|
View
|
1
2
3
4
|
5 chunks |
+34 lines, -3 lines |
0 comments
|
Download
|
Total messages: 1
|