search for: ctargetmachin

Displaying 5 results from an estimated 5 matches for "ctargetmachin".

Did you mean: ctargetmachine
2011 Aug 04
1
[LLVMdev] Customizing Passes
For a particular target I would like to replace some of the "standard" passes with customized versions. What would be the cleanest way to do this? At the moment I cannot see a good way of removing an existing pass from within the target library.
2006 May 23
0
[LLVMdev] Adding an object to llc
...ts what's missing? I'm not sure, this is too vauge to give you specific directions. Note that LLC isn't set up to dynamically load passes. Is there any reason you can't use 'opt -yourpass | llc'? If you really have to have it in llc, you can modify the C backend's CTargetMachine::addPassesToEmitFile method to include your pass. -Chris -- http://nondot.org/sabre/ http://llvm.org/
2011 Aug 10
1
[LLVMdev] How to emit a simple stream of machine code.
Hi, I am working on an LLVM backend for GPUs, and I would like to be able to emit a very simple byte stream of machine code, so that it can be fed directly into the GPU. I don't need anything fancy, just the raw machine code, one instruction after another. I think I've already implemented everything in the backend that is required to do this, but I'm not sure how to get a pointer to
2007 Jan 08
1
[LLVMdev] reading, printing, compiling, JIT-ing LLVM modules?
...JIT-compile in memory this module (on Debian/x86 32bits & Debian/AMD64 64bits systems). I believe the JIT class and its JIT::getPointerToFunction (and others) method is ok for this. compile to a C external file, without using any external process for this C file generation. I believe the lvm::CTargetMachine class does this, but I am not sure to understand all the details. possibly, compile to an ELF shared object library, without using any external process (not even an assembler or linker) for this. I am not sure it is doable with LLVM 1.9 (I cannot depend upon any external program) What is importa...
2006 May 23
4
[LLVMdev] Adding an object to llc
Hi I have just written an pass which does some simple ASAP scheduling. First i registered it as optimization pass because it so nice documented and speeds up the compilation and testing times dramaticly :-). Then i just registered this part as an analysis part which should be used in a modified cbackend. All seems to work fine, exept that llc fails to link. I tried removing the