Displaying 6 results from an estimated 6 matches for "llvm_install_dir".
2014 Mar 23
2
[LLVMdev] compiler-rt CMake build
...REFIX_PATH really starts saving keystrokes. You can use it to
> find headers (sanitizer/asan_interface.h), binaries (FileCheck),
> libraries, or CMake modules.
>
> A good alternative to CMAKE_PREFIX_PATH is to create one variable per
> install directory. So compiler-rt might accept LLVM_INSTALL_DIR, and
> clang accept COMPILER_RT_INSTALL_DIR and LLVM_INSTALL_DIR. There are
> two advantages to this route:
>
> 1) No need for CMake features such as 'find_program'. Instead, you
> can be explicit:
> ${LLVM_INSTALL_DIR}/bin/llvm-config
> 2) No need to organize the...
2014 Mar 21
2
[LLVMdev] compiler-rt CMake build
On Thu, Mar 20, 2014 at 10:12 PM, Greg Fitzgerald <garious at gmail.com> wrote:
> > ExternalProject_Add(compiler-rt ...)
>
> So that was quite the experiment. Looking at
> clang/runtime/CMakeLists.txt, I'm not seeing a lot of bang for buck
> here, and it looks like this file is prone to bit rot.
Could you please elaborate on this? In fact, I don't plan to give
2011 Jan 25
0
[LLVMdev] install and add backend to llvm.
Have you added the $LLVM_INSTALL_DIR/bin to your PATH environment variable?
Regarding changing a particular backend, check the documentation in
http://llvm.org/docs/WritingAnLLVMBackend.html
http://llvm.org/docs/CodeGenerator.html
A few LLVMdev meetings have good talks to give you a good enough idea.
http://llvm.org/devmtg/
Cheers...
2011 Jan 25
2
[LLVMdev] install and add backend to llvm.
Hi I am new to llvm and Linux (I am using ubuntu 10)
My aim is to add backend to llvm.
I install llvm using
$ sudo apt-get install llvm
and I am able to understand what I read about Writing an LLVM Compiler Backend.
I have seen the assembly codes of the targets on llvm using llc. What I need now is to change some of the TableGen files of one of the target like SparcInstrInfo.td. So I
2011 Jun 06
0
[LLVMdev] Understanding SelectionDAG construction
Hi Ankur,
> The flags "-view-sched-dags".. described in the doc doesn't seem to work. (
> "llc -help" doesn't list it ).
as far as I remember, displaying DAGs during compilation is only enabled
in "debug builds" [1] of LLVM. You probably have to re-configure and
re-compile LLVM to enable this feature.
Best regards,
Christoph
[1]
2011 Jun 06
4
[LLVMdev] Understanding SelectionDAG construction
I am trying to understand the SelectionDAG construction from LLVM IR. I have
gone through the doc "The LLVM Target-Independent Code Generator" on LLVM
site. This gives a great initial overview. However I am unable to catch the
actual control flow for the llvm->selectionDag conversion.
The flags "-view-sched-dags".. described in the doc doesn't seem to work. (
"llc