search for: orctargetsupport

Displaying 3 results from an estimated 3 matches for "orctargetsupport".

2015 Jul 28
0
[LLVMdev] Help with using LLVM to re-compile hot functions at run-time
...function implementations), but hopefully it gives you a place to start. Regarding laziness, as Hal mentioned you'll have to provide some target support for PowerPC to support lazy compilation. For a rough guide you can check out the X86_64 support code in llvm/include/llvm/ExecutionEngine/Orc/OrcTargetSupport.h and llvm/lib/ExecutionEngine/Orc/OrcTargetSupport.cpp. There are two methods that you'll need to implement: insertCompileCallbackTrampoline and insertResolverBlock. These work together to enable lazy compilation. Both of these methods inject blobs of target specific code in to the JIT proces...
2015 Jul 27
15
[LLVMdev] Help with using LLVM to re-compile hot functions at run-time
Hi Again, I'm a little confused regarding what is the exact Orc's functions I should use in order to save the functions code in a code cache so it could be later replaced with different versions of it and I appreciate your help. Just a reminder I want to dynamically recompile the program based on profile collected at the run-time. I would like to start executing the program from the
2015 Jul 29
1
[LLVMdev] Error when i am using command make -j4 command in cygwin to compile safecode
...serts build llvm[2]: Compiling TargetIntrinsicInfo.cpp for Release+Asserts build llvm[2]: Compiling CallingConvLower.cpp for Release+Asserts build llvm[2]: Compiling TargetLoweringObjectFile.cpp for Release+Asserts build llvm[3]: Compiling Scalarizer.cpp for Release+Asserts build llvm[3]: Compiling OrcTargetSupport.cpp for Release+Asserts build llvm[2]: Compiling CodeGen.cpp for Release+Asserts build llvm[2]: Compiling TargetMachine.cpp for Release+Asserts build llvm[2]: Compiling CodeGenPrepare.cpp for Release+Asserts build llvm[3]: Building Release+Asserts Archive Library libLLVMOrcJIT.a make[3]: Leaving di...