Displaying 4 results from an estimated 4 matches for "cvrfi".
2016 Oct 10
2
Embedding llvm as a git submodule in Project
...Although I don't embed clang/llvm, my config might help you figure it --
clang/llvm installed under (could have used build directory) ~/usr :
$ cd /Users/dhinton/projects/cover/build/ && rm -rf * && CC=~/usr/bin/clang
CXX=~/usr/bin/clang++ LLVM_DIR=~/usr/lib/cmake/llvm cmake ../CVRFI/ -GNinja
$ cat ../CVRFI/CMakeLists.txt
cmake_minimum_required(VERSION 2.8)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
#...
2016 Oct 10
2
Embedding llvm as a git submodule in Project
...ed clang/llvm, my config might help you figure it --
> clang/llvm installed under (could have used build directory) ~/usr :
>
> $ cd /Users/dhinton/projects/cover/build/ && rm -rf * &&
> CC=~/usr/bin/clang CXX=~/usr/bin/clang++ LLVM_DIR=~/usr/lib/cmake/llvm
> cmake ../CVRFI/ -GNinja
>
> $ cat ../CVRFI/CMakeLists.txt
> cmake_minimum_required(VERSION 2.8)
>
> set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
>
> set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
> set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
> set(CMAKE_ARCHIVE_OUT...
2016 Oct 09
3
Embedding llvm as a git submodule in Project
Hi all.
I want to use llvm in my project and I want to make llvm a git submodule
in my project.
http://llvm.org/docs/CMake.html#embedding-llvm-in-your-project
At this in the documentation it claims to describe how to embed llvm
into a project. I tried it that way but it doesn't work, because there
isn't any findLLVM.cmake in the llvm/cmake/modules directory anymore (i
don't
2017 Jun 12
2
Force casting a Value*
On 11 June 2017 at 14:04, don hinton <hintonda at gmail.com> wrote:
> Assuming you know it's a 64 bit value, and the function you are calling
> takes a uint64_t, try this:
>
The values from the test program are of type: i32/i32*/i32**. Can't I
interpret these as uint64_t some way?
>
> Value* args[] = {store_inst->getOperand(0)};
>
>
> On Sun, Jun 11,