search for: dllvm_tablegen

Displaying 16 results from an estimated 16 matches for "dllvm_tablegen".

Did you mean: llvm_tablegen
2018 Jul 23
2
Requesting for help.
...some errors. I need some help in this. I use the following command to cross compile for ARM Cortex A72 (ARM v8-a), 64 bit architecture: *cmake -v CC='clang' CXX='clang++' -DCMAKE_C_COMPILER=../build_directory_llvm/bin/clang -DCMAKE_CXX_COMPILER=../build_directory_llvm/bin/clang++ -DLLVM_TABLEGEN=../build_llvm_directory/bin/llvm-tblgen -DCLANG_TABLEGEN=../build_llvm_directory/bin/clang-tblgen -DCROSSCOMPILING=True -DCMAKE_INSTALL_PREFIX=../tmp_two -DLLVM_DEFAULT_TARGET_TRIPLE=aarch64-linux-gnu -DLLVM_TARGET_ARCH=AARCH64 -DLLVM_TARGETS_TO_BUILD=ARM -DCMAKE_CXX_FLAGS='-target aarch64-linu...
2016 May 05
2
LLVM cross compilation for arm target
...vm.org/docs/CrossCompilation.html *However when I tried following cmake command for build tool chain it gives the error message :* #CC='clang' CXX='clang++' cmake -G Ninja /home/iiita/llvm-exp/llvm -DCMAKE_CROSSCOMPILING=True -DCMAKE_INSTALL_PREFIX=/home/iiita/llvm-exp/llvm/build -DLLVM_TABLEGEN=/usr/bin/host/llvm-tblgen -DCLANG_TABLEGEN=/usr/bin/host/clang-tblgen -DLLVM_DEFAULT_TARGET_TRIPLE=arm-linux-gnueabihf -DLLVM_TARGET_ARCH=ARM -DLLVM_TARGETS_TO_BUILD=ARM -DCMAKE_CXX_FLAGS='-target armv7a-linux-gnueabihf -mcpu=cortex-a9 -I/usr/arm-linux-gnueabihf/include/c++/4.7.1/arm-linux-gnue...
2017 May 30
2
Should we split llvm Support and ADT?
...make anything depend on tablegen's output", but I couldn't >> come up with the right magic. If anyone knows, I can test a side-by-side >> comparison without tablegen. >> > > I mentioned earlier in the thread that there is already a CMake option for > this: -DLLVM_TABLEGEN=path/to/llvm-tblgen > > > -- > Mehdi > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170530/332f7d92/attachment.html>
2020 Jun 09
2
Cross compile x64 to AArch64 issues
...d the directions listed at [1] are not completing the initial cmake step. I'm currently running Manjaro, with the aarch64-linux-gnu package (and associated binutils, headers, and glibc packages). My cmake command is cmake -DCMAKE_CROSSCOMPILING=True -DCMAKE_INSTALL_PREFIX=`realpath install` -DLLVM_TABLEGEN=`realpath ../build-10.x/install/bin/llvm-tblgen` -DLLVM_DEFAULT_TARGET_TRIPLE=aarch64-linux-gnu -DLLVM_TARGET_ARCH=AArch64 -DLLVM_TARGETS_TO_BUILD=AArch64 -DCMAKE_CXX_FLAGS="-target aarch64-linux-gnu --sysroot=/usr/aarch64-linux-gnu -L/usr/lib/gcc/aarch64-linux-gnu/10.1.0" -DCMAKE_C_COMPI...
2016 May 06
3
build issue in llvm-clang cross tool chain for arm target
...ow error message which seems to be confusing and not getting any idea how to resolve this issue. *Command :* #CC='clang' CXX='clang++' cmake -G Ninja /home/iiita/crossbuild/llvm -DLLVM_ENABLE_LIBCXX=ON -DCMAKE_CROSSCOMPILING=True -DCMAKE_INSTALL_PREFIX=/home/iiita/crossbuild/build -DLLVM_TABLEGEN=/home/iiita/llvm-3.8/build/bin/llvm-tblgen -DCLANG_TABLEGEN=/home/iiita/llvm-3.8/build/bin/clang-tblgen -DLLVM_DEFAULT_TARGET_TRIPLE=arm-linux-gnueabihf -DLLVM_TARGET_ARCH=ARM -DLLVM_TARGETS_TO_BUILD=ARM -DCMAKE_CXX_FLAGS='-target armv7a-linux-gnueabihf -mcpu=cortex-a9 -I/usr/arm-linux-gnueabih...
2016 Apr 25
2
bug: cross-compile Clang/LLVM for ARM using Clang/LLVM
...to.golin at linaro.org>: > On 25 April 2016 at 10:39, 李阳 via llvm-dev <llvm-dev at lists.llvm.org> > wrote: > >> CC='clang' CXX='clang++' cmake -G Ninja ../llvm-source-code >> -DCMAKE_CROSSCOMPILING=True >> -DCMAKE_INSTALL_PREFIX=./llvm >> -DLLVM_TABLEGEN=/home/lab/workspace/llvm/build4x86/bin/llvm-tblgen >> -DCLANG_TABLEGEN=/home/lab/workspace/llvm/build4x86/bin/clang-tblgen >> -DLLVM_DEFAULT_TARGET_TRIPLE=arm-linux-gnueabihf >> -DLLVM_TARGET_ARCH=ARM >> -DLLVM_TARGETS_TO_BUILD=ARM >> -DCMAKE_CXX_FLAGS='-target arm...
2020 Apr 11
2
using the bat script build_llvm_package.bat on windows
where should the file build_llvm_package.bat be placed and how should the build_llvm_package.bat be called? or is there a another way to do a two stage build of the llvm project on windows starting with using visual studio 2017 community. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2013 Dec 17
2
[LLVMdev] compiler-rt for ARM-Linux with CMake?
...ULT_TARGET_TRIPLE=arm-none-linux-gnueabi \ -DLLVM_TARGET_ARCH=arm-none-linux-gnueabi \ -DCMAKE_C_COMPILER=`which arm-none-linux-gnueabi-gcc` \ -DCMAKE_CXX_COMPILER=`which arm-none-linux-gnueabi-g++` \ -DLLVM_EXTERNAL_COMPILER_RT_SOURCE_DIR=../compiler-rt \ -DCMAKE_CROSSCOMPILING=True \ -DLLVM_TABLEGEN=`pwd`/../release/ship/bin/llvm-tblgen $ ninja install As a sanity-check, I was expecting to see a 'lib' directory for the sanitizers in 'lib/clang/3.5', but there's only an 'include' directory. For Android, I've used the toolchain file in llvm/cmake, but for ARM-Li...
2016 Apr 25
2
bug: cross-compile Clang/LLVM for ARM using Clang/LLVM
Hi James, renato, So how do I download the missing ARM libraries on Ubuntu14.04? I cannot find any available libraries. Best, Liyang -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160425/04dfc553/attachment.html>
2017 Oct 31
3
Cross compiling for Baremetal ARM without using GCC
...MYCFLAGS="--specs=nosys.specs -mcpu=cortex-m4 -mthumb -mfloat-abi=softfp -mfpu=fpv4-sp-d16" cmake -G "Ninja" \ -DCMAKE_CROSSCOMPILING=True \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=${HOME}/clang/toInstall \ -DLLVM_TABLEGEN=${MYHOSTBIN}/llvm-tblgen \ -DCLANG_TABLEGEN=${MYHOSTBIN}/clang-tblgen \ -DLLVM_DEFAULT_TARGET_TRIPLE=arm-none-eabi \ -DLLVM_TARGET_ARCH=ARM \ -DLLVM_TARGETS_TO_BUILD=ARM \ -DLLVM_ENABLE_LTO=Full \ -DCMAKE_C_FL...
2017 May 30
5
Should we split llvm Support and ADT?
On Tue, May 30, 2017 at 12:52 PM Bob Haarman <llvm at inglorion.net> wrote: > I would like to better understand how you came to conclude that the > tablegen re-runs based on changes in Support are what's causing your build > to be slow and what part specifically is taking all that time. I can do a > clean release + assertions build of LLVM, Clang, compiler-rt and lld in >
2014 Apr 22
2
[LLVMdev] SCEV and induction variable identification
Hi Fellows, The goal is to find the induction variable for a loop, where the induction variable increments with the multiplication, division or shift operations, like this one: sz = 8; do { ... ... sz = sz / 2; } while (sz) Is SCEV capable of detecting the induction variable 'sz' in this case? The code snippet I am using to solve the problem is for each basic-block in a
2016 Apr 01
2
[cfe-dev] RFC: Up front type information generation in clang and llvm
...mpiled llvm-tblgen's object files with -flto (I would've used all of clang, but I don't have the lto plugin setup, so I couldn't get past tblgen) I guess you have a non-LTO build somewhere, so you should be able to build other tools by bypassing the llvm-tblgen build using: cmake -DLLVM_TABLEGEN=path/to/llvm-tblgen .. -- Mehdi > > Without debug info: 77 MB of bitcode files > With debug info: 24 MB > With debug info, but no types: 46 MB > > so... 59% is pure type descriptions (these are the pure ones, the same things we put in type units - I didn't even remove t...
2016 Apr 01
0
[cfe-dev] RFC: Up front type information generation in clang and llvm
...39;s object files with -flto (I would've used all of clang, but I don't have the lto plugin setup, so I couldn't get past tblgen) > > I guess you have a non-LTO build somewhere, so you should be able to build other tools by bypassing the llvm-tblgen build using: > > cmake -DLLVM_TABLEGEN=path/to/llvm-tblgen .. To be clear: that was meant as FYI / good to know, I was not asking you for more data. -- Mehdi > > > >> >> Without debug info: 77 MB of bitcode files >> With debug info: 24 MB >> With debug info, but no types: 46 MB >> >&gt...
2016 Apr 01
0
[cfe-dev] RFC: Up front type information generation in clang and llvm
On Tue, Mar 29, 2016 at 11:50 PM, Eric Christopher via cfe-dev < cfe-dev at lists.llvm.org> wrote: > > > On Tue, Mar 29, 2016 at 11:20 PM Robinson, Paul < > Paul_Robinson at playstation.sony.com> wrote: > >> Skipping a serialization and doing something clever about LTO uniquing >> sounds awesome. I'm guessing you achieve this by extracting types out of
2016 Mar 30
5
[cfe-dev] RFC: Up front type information generation in clang and llvm
On Tue, Mar 29, 2016 at 11:20 PM Robinson, Paul < Paul_Robinson at playstation.sony.com> wrote: > Skipping a serialization and doing something clever about LTO uniquing > sounds awesome. I'm guessing you achieve this by extracting types out of > DI metadata and packaging them as lumps-o-DWARF that the back-end can then > paste together? Reading between the lines a bit