search for: scalaropts

Displaying 20 results from an estimated 61 matches for "scalaropts".

2010 Jan 04
2
[LLVMdev] [PATCH] Add InstCombine to CMake.
...ansforms/Scalar) add_subdirectory(lib/Transforms/IPO) diff --git a/tools/bugpoint/CMakeLists.txt b/tools/bugpoint/CMakeLists.txt index 90f24ba..fd32a68 100644 --- a/tools/bugpoint/CMakeLists.txt +++ b/tools/bugpoint/CMakeLists.txt @@ -1,4 +1,4 @@ -set(LLVM_LINK_COMPONENTS asmparser instrumentation scalaropts ipo +set(LLVM_LINK_COMPONENTS asmparser instcombine instrumentation scalaropts ipo linker bitreader bitwriter) set(LLVM_REQUIRES_EH 1) diff --git a/tools/llvm-ld/CMakeLists.txt b/tools/llvm-ld/CMakeLists.txt index 2ae4a1d..257d1e9 100644 --- a/tools/llvm-ld/CMakeLists.txt +++ b/tools/llvm-ld/...
2010 Jul 26
2
[LLVMdev] LLVM Dependency Graph
...ox,style=filled,color=olivedrab1]; TransformUtils [shape=box,style=filled,color=olivedrab1]; Target [shape=box,style=filled,color=olivedrab1]; System [shape=box,style=filled,color=olivedrab1]; Support [shape=box,style=filled,color=olivedrab1]; SelectionDAG [shape=box,style=filled,color=olivedrab1]; ScalarOpts [shape=box,style=filled,color=olivedrab1]; MCParser [shape=box,style=filled,color=olivedrab1]; MC [shape=box,style=filled,color=olivedrab1]; Linker [shape=box,style=filled,color=olivedrab1]; JIT [shape=box,style=filled,color=olivedrab1]; Interpreter [shape=box,style=filled,color=olivedrab1]; Instru...
2011 Mar 05
1
[LLVMdev] llvm-config example need update
Hi This llvm-config --libs engine bcreader scalaropts <http://llvm.org/cmds/llvm-config.html> in website http://llvm.org/cmds/llvm-config.html But actually bcreader components is not there anymore. The new name of it is bitreader. I thinks this webpage may need to update and also. If i do "llvm-config --help". It will also show wron...
2008 Apr 15
2
[LLVMdev] Bugs in Kaleidoscope tutorial code, and a bus error
...port, Line 29 has a comma at the end of line that shouldn't be there I get several link errors when compiling the code for section 2.4. These errors go away if I make the following change to the relevant Makefile (tools/sample/Makefile): old: LINK_COMPONENTS = core new LINK_COMPONENTS = core scalaropts ExecutionEngine ------- After successfully compiling the code in section 2.4 Adding JIT and Optimizer Support, I attempted to run that code: $ ./Release/bin/Sample ready> 4 + 5; Bus error I was able to successfully run the program using the code in section 2.2, and also the code in section...
2018 Mar 02
2
EngineBuilder().create() => NULL
...ion engine, but I always got a nullptr value :     _executionEngine = EngineBuilder(std::move(_module)).create(); I build my project with cmake and add the following command in my cmake.     llvm_map_components_to_libnames(llvm_libs Analysis Core ExecutionEngine InstCombine Object RuntimeDyld ScalarOpts Support native mcjit) BTW, I have also try to execute the LLVM example project "HowToUseJIT", and it also return NULL ! And then crash ! Any idea ? -- Luciad Email Signature *Christophe Demez * PROJECT LEADER *LUCIAD* <http://www.luciad.com/> CONNECT •  VISUALIZE •  ANALYZE •...
2006 Mar 22
2
[LLVMdev] Virtual "components" for llvm-config
...all: Include all LLVM libraries. backend: Include either a working native backend or cbackend. engine: Include a working subclass of ExecutionEngine, either the JIT or interpreter. You could, for example, get a typical set of JIT-related libs using: $ llvm-config --libs engine bcreader scalaropts Of course, the exact names and details are up to you folks. :-) But if you're building a project outside the LLVM tree, please let me know what I can do to make your life easier. Cheers, Eric
2010 Mar 09
2
[LLVMdev] Changed: Build errors for poolalloc using MinGW/gcc 4.4.0
...y populated with registered Passes by the Index: tools/opt/Makefile =================================================================== --- tools/opt/Makefile (revision 97995) +++ tools/opt/Makefile (working copy) @@ -12,3 +12,8 @@ LINK_COMPONENTS := bitreader bitwriter asmparser instrumentation scalaropts ipo include $(LEVEL)/Makefile.common + +CPP.Flags += -I../../projects/poolalloc/include + +ExtraLibs := ../../projects/poolalloc/$(BuildMode)/lib/libpoolalloc.a \ + ../../projects/poolalloc/$(BuildMode)/lib/libLLVMDataStructure.a On Tue, Mar 9, 2010 at 11:13 AM, John Criswell <criswell...
2016 Feb 12
3
llvm-config error for aarch64
...e reproduced with: ./bin/llvm-config "--ldflags" "--libs" "--system-libs" all-targets analysis asmparser asmprinter bitreader bitwriter codegen core debuginfodwarf executionengine instrumentation interpreter ipo irreader linker mc mcjit objcarcopts option profiledata scalaropts support target Looking... -- Mehdi > On Feb 12, 2016, at 10:30 AM, Quentin Colombet <qcolombet at apple.com> wrote: > > Hi, > > This may happen because of r260569. > Now the libAArch64 has a dependency on libGlobalISel, though this one should also be generated but em...
2011 Jan 27
1
[LLVMdev] Missing some passes in llvm-ld
Hi All, It seems that I can't force some passes to run in llvm-ld as what I can do with opt. $ ~/opt/bin/llvm-ld -reassociate llvm-ld: Unknown command line argument '-reassociate. Try: 'opt/bin/llvm-ld -help' llvm-ld definitely linked with scalaropts, and RegisterPass<ReassociatePass> is in the library. Running with these passes with opt definitely work, but it'll take some time as my .bc is big (~40M). I'll appreciate any ideas how to make llvm-ld run these passes. Thanks. Cheers, Haohui
2006 Jul 25
1
[LLVMdev] Dubious Library Dependencies
...nkVar) libLLVMCodeGen.a: libLLVMipo.a(PATypeHolder::get() const) libLLVMArchive.a: libLLVMCore.a(Module::~Module) libLLVMAsmParser.a: libLLVMSupport.a(IncludeFile::IncludeFile(void*) libLLVMCBackend.a: libLLVMAnalysis.a(llvm::LoopInfoLinkVar) libLLVMInstrumentation.a: libLLVMScalarOpts.a(llvm::DemoteRegisterToMemoryID) LLVMIA64.o: libLLVMCodeGen.a(vtable for llvm::DefaultIntrinsicLowering) libLLVMTarget.a: libLLVMCodeGen.a( llvm::MVT::getVectorType(llvm::MVT::ValueType, unsigned int)) The following dependencies is not a singleton, but they it just seemed...
2008 Nov 14
1
[LLVMdev] vmkit, jvm, newbie bytecode translation + jit question
Greetings, I am searching for an alternative to sun's java implementation - one that is not under gpl.. I've been reading the vmkit code for JNI.. And I notice that it is not completely filled out yet... That's fine though, I see there is filled in function like most of the non implemented functions.. Couple of questions: Is the entire llvm required for java/cli vmkit to run?
2018 Mar 02
0
EngineBuilder().create() => NULL
...t a nullptr value : > > _executionEngine = EngineBuilder(std::move(_module)).create(); > > I build my project with cmake and add the following command in my cmake. > > llvm_map_components_to_libnames(llvm_libs Analysis Core ExecutionEngine InstCombine Object RuntimeDyld ScalarOpts Support native mcjit) > > BTW, I have also try to execute the LLVM example project "HowToUseJIT", and it also return NULL ! And then crash ! > > Any idea ? > -- > CHRISTOPHE DEMEZ > PROJECT LEADER > > LUCIAD CONNECT • VISUALIZE • ANALYZE • ACT &g...
2006 Mar 23
2
[LLVMdev] Virtual "components" for llvm-config
...ode). What would you include in each set? > There are > probably a few other categories, for example utilities that only mess > with passes (e.g. opt, LLVM bc -> LLVM bc). In many of these cases, you can just ask for the components you need: $ llvm-config --libs bcreader bcwriter scalaropts I think this is pretty reasonable. Do you think we need to provide short aliases for all these combinations, or can we just let the user specify them manually? "Virtual" components are quite useful, though, when (a) the exact set of libraries needed varies by platform or (b) novic...
2006 Mar 23
0
[LLVMdev] Virtual "components" for llvm-config
...t; backend: Include either a working native backend or cbackend. > engine: Include a working subclass of ExecutionEngine, either the > JIT or interpreter. > > You could, for example, get a typical set of JIT-related libs using: > > $ llvm-config --libs engine bcreader scalaropts > > Of course, the exact names and details are up to you folks. :-) But > if you're building a project outside the LLVM tree, please let me > know what I can do to make your life easier. > > Cheers, > Eric > > _______________________________________________ &gt...
2009 Dec 08
2
[LLVMdev] Rebuilding LLVM libraries with LLVM-GCC on Windows
...ta$linkonce_ZTVN4llvm8ConstantE+0x10): > undefined reference to `llvm::Value::dump() const' > > Apparently it's not being linked with libLLVMCore.a among other libs. What's the output of this command: bin/llvm-config --libs "bitreader asmparser bitwriter instrumentation scalaropts ipo" (executed from the root of your build directory) Does it mention libLLVMCore ? From your command line it seems that CMake was unable to determine the library dependencies. Either the dependencies are wrong (hence the llvm-config check above) or the CMake build is misinterpreting the out...
2010 Mar 14
0
[LLVMdev] Changed: Build errors for poolalloc using MinGW/gcc 4.4.0
...Passes by the > Index: tools/opt/Makefile > =================================================================== > --- tools/opt/Makefile (revision 97995) > +++ tools/opt/Makefile (working copy) > @@ -12,3 +12,8 @@ > LINK_COMPONENTS := bitreader bitwriter asmparser instrumentation scalaropts ipo > > include $(LEVEL)/Makefile.common > + > +CPP.Flags += -I../../projects/poolalloc/include > + > +ExtraLibs := ../../projects/poolalloc/$(BuildMode)/lib/libpoolalloc.a \ > + ../../projects/poolalloc/$(BuildMode)/lib/libLLVMDataStructure.a > > > On Tue, Mar 9, 2...
2013 Dec 06
0
[LLVMdev] [RFC] CGContext skeleton implementation
...end on TargetMachine anyway, they can do something like TM.getCGContext(Function). > > This sounds like you want IR-level passes which have direct, hard dependencies on the target and codegen. That would be a radical departure from the core design of the IR / MI separation. It might nice if scalaropts did not need to link against libTarget—we could easily avoid introducing more dependence on libTarget if that’s a goal. Either way, we need an IR-level API that requires subtarget initialization. It should be explicit which passes do and don’t require the subtarget. This would add *a lot* of clari...
2013 Dec 06
1
[LLVMdev] [RFC] CGContext skeleton implementation
On Thu, Dec 5, 2013 at 7:36 PM, Andrew Trick <atrick at apple.com> wrote: > It might nice if scalaropts did not need to link against libTarget—we > could easily avoid introducing more dependence on libTarget if that’s a > goal. > We already have that state today in the overwhelming majority of the cases. The pass manager built by the PassManagerBuilder doesn't need a target at all. Yes,...
2019 Jan 07
2
Kaleidoscope tutorial: extern functions failing
...n/link process: from within GDB, I can successfully run call putchard(120), so the symbol is definitely being included in the executable. Just for some reason the JIT can't find it. Finally, my makefile looks like LIBS=core orcjit native analysis executionengine instcombine object runtimedyld scalaropts support FLAGS=`llvm-config --cxxflags --ldflags --system-libs --libs $(LIBS)` %: %.cpp clang++ -v -g3 -O0 $^ -o $@ $(FLAGS) -rdynamic Please let me know if I can provide any additional code or debug information. I don't know a ton about LLVM so am a bit lost as to where to go from her...
2013 Dec 06
2
[LLVMdev] [RFC] CGContext skeleton implementation
On Thu, Dec 5, 2013 at 5:04 PM, Andrew Trick <atrick at apple.com> wrote: > Right. On the flip side, some passes should be able to make hard queries > against target/subtarget that fail if the driver doesn’t initialize them. I > don’t want any way to accidentally run the vectorizer or LSR without > initializing my subtarget info. Also, I want to prevent early passes from >