search for: reifier

Displaying 4 results from an estimated 4 matches for "reifier".

2006 Aug 18
2
[LLVMdev] Weird behavior of llvm-ld
...assManager* load_weaver_passes(PassManager*); } #endif #endif b) c-Loader.c #include "loader/Loader.h" void RunOptimizations(PassManager* mgr,...){ load_weaver_passes(mgr); } c) Loader.cpp #include "loader/Loader.h" #include "matcher/Matcher.h" #include "reifier/Reifier.h" PassManager* load_weaver_passes(PassManager* mgr){ mgr->add(createFirstPass()); mgr->add(createSecondPass()); return mgr; } In short, the C part (RunOptimizations) hands its first argument over to a global C++ method to add my passes. When using this machinery with...
2006 Aug 16
0
[LLVMdev] Weird behavior of llvm-ld
Hi Bram, On Wed, 2006-08-16 at 22:41 +0200, Bram Adams wrote: > Op 16-aug-06, om 18:59 heeft Reid Spencer het volgende geschreven: > Are there any workarounds (using other LLVM-tools) to link a native > library with LLVM-bytecode? Yes. The general approach is to use llvm-as, llvm-dis, opt and llvm-link to work with the bytecode. You can also use gccld and gccas to run some canned
2006 Aug 16
2
[LLVMdev] Weird behavior of llvm-ld
Hi, Op 16-aug-06, om 18:59 heeft Reid Spencer het volgende geschreven: >> llvm-ld: warning: Supposed library 'SOME_OTHER_LIB' isn't a library. > > The -l option is used to link libraries into the resulting executable. > I'm hoping "SOME_OTHER_LIB" is not the actual name and you're just > paraphrasing the actual command line. Note that native
2006 Aug 20
0
[LLVMdev] Weird behavior of llvm-ld
...b) c-Loader.c > > #include "loader/Loader.h" > > void RunOptimizations(PassManager* mgr,...){ > load_weaver_passes(mgr); > } > > > c) Loader.cpp > > #include "loader/Loader.h" > #include "matcher/Matcher.h" > #include "reifier/Reifier.h" > > PassManager* load_weaver_passes(PassManager* mgr){ > mgr->add(createFirstPass()); > mgr->add(createSecondPass()); > > return mgr; > } > > In short, the C part (RunOptimizations) hands its first argument over > to a global C++ method t...