search for: sharkbuild

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

Did you mean: sharkbuilder
2012 Oct 23
4
[LLVMdev] Here need your help
...tion which can replace the "make_function" in the following function, 2 , Or is there any different paramters in make_function with the similar action with the following one 3 ,Is there a function similar with "nop" which can return a address in LLVM or Shark , Value* SharkBuilder::memory_barrier() { return make_function( #if defined(ARM) (address) 0xffff0fa0, // __kernel_dmb #else "llvm.memory.barrier", #endif // ARM "11111", "v"); } what's more the Dir of the function is :/openjdk-ecj/hotspot/src...
2009 Jan 28
1
[LLVMdev] Newbie question: Getting info about JIT-compiled function
...size (in bytes) of the native function? > > The answer seems to be "create your own memory manager and define > endFunctionBody()". If you have a look at class MyJITMemoryManager in > http://icedtea.classpath.org/hg/icedtea6/file/0507a324ec22/ports/hotspot/src/share/vm/shark/sharkBuilder.hpp you'll see how I did it. I took a look and it makes sense (though it does seem a bit heavyweight). I'll give it a try. > > Question (2): Does LLVM have any routines for printing the > > disassembly of a native code function? I see that lli can do this, > > but I...
2009 Jan 27
1
[LLVMdev] Newbie question: Getting info about JIT-compiled function
Apologies if this is a FAQ. I am using the LLVM JIT facility on an x86_64 platform. I generate IR for a single function using IRBuilder(), use the FunctionPassManager to do some optimization passes, and then call ExecutionEngine::getPointerToFunction() to get a native-code version of the function. Everything works fine so far. Two questions: Question (1): How can I get the size of the native