Displaying 20 results from an estimated 60000 matches similar to: "[LLVMdev] Compiler-rt for 16-bit architectures"
2009 Jun 24
4
[LLVMdev] LLVM frontend supporting arbitrary bit-width integral datatypes
On Thu, 04 Jun 2009 22:55:04 +0200, Pertti Kellomäki <pertti.kellomaki at tut.fi> wrote:
> Hi Adam,
>
> John is right, the TCE stuff would be useful for you. Our
> compiler targets a processor template that the designer can
> populate pretty freely. The compiler then reads the architecture
> description and creates an LLVM backend on the fly.
>
> Please don't
2009 Jun 02
3
[LLVMdev] LLVM frontend supporting arbitrary bit-width integral datatypes
Hello gyus,
I am working on a project, where we are trying to create a development environment
for new ASIP processor design. Part of this project is a compiler generator,
where we would like to generate C compiler from some instruction description.
To keep it short, let's say, that in each instruction's semantics
is described by some C code. What I would like to do is to compile this
2014 Aug 04
3
[LLVMdev] Publication: Languages Used in LLVM During Compilation
Hello,
for one course at our Brno University of Technology, I made a
presentation about languages used in LLVM during compilation.
I think also other may find it useful, so I am sending it
here, so you can add it somewhere on the web if you will
would like to.
It is not exactly a publication, rather lecture
slides.
Title: Languages Used in LLVM During Compilation
Date: 30th April 2014
2009 Jun 24
3
[LLVMdev] Replacing instruction in LLVM IR by an intrinsics
Hi everyone,
I am trying to write a pass, that finds some instructions and replaces them with my intrinsics,
but I am having problem understanding, how this should be done.
Let's say I have this instruction:
%tmp14 = load i32* getelementptr ([32 x i32]* @gpregs, i32 0, i64 28)
and i need to read the load's operands and replace it by let's say:
%tmp14 = call i32
2011 Feb 15
2
[LLVMdev] How to use ConstantFoldConstantExpression?
Adam,
I just fixed this issue a few days ago. A version from the trunk should work for you.
Cheers,
Nadav
-----Original Message-----
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of ihusar
Sent: Tuesday, February 15, 2011 15:52
To: llvmdev at cs.uiuc.edu
Subject: Re: [LLVMdev] How to use ConstantFoldConstantExpression?
I forgot to mention, that I use
2011 Feb 15
0
[LLVMdev] How to use ConstantFoldConstantExpression?
I forgot to mention, that I use LLVM release 2.8, I did not try it with the latest revision, but I expect that I
am rather doing something wrong than using non-implemented functions.
On Tue, 15 Feb 2011 14:09:57 +0100, ihusar <ihusar at fit.vutbr.cz> wrote:
> Hello,
>
> i need to fold constants, i found that a function ConstantFoldConstantExpression could be used,
> however
2011 Feb 15
3
[LLVMdev] How to use ConstantFoldConstantExpression?
Hello,
i need to fold constants, i found that a function ConstantFoldConstantExpression could be used,
however I am not able to make it fold anything. Could you please give me some advice, what I am doing wrong?
My code looks something like this:
//data layout is obtained from clang-generated code for triple arm-none-linux-gnueabi with added v32:32:32
const char* const TARGET_DATA_LAYOUT =
2009 Jun 25
0
[LLVMdev] Replacing instruction in LLVM IR by an intrinsics
On Thu, Jun 25, 2009 at 12:32 AM, ihusar<ihusar at fit.vutbr.cz> wrote:
> //now i need to create an instruction that represents a call to a intrinsic
> Function* FIntr = Intrinsic::getDeclaration(&M, Intrinsic::regread_i32);
>
> // here it fails: void llvm::CallInst::init(llvm::Value*):
> //Assertion
2013 Jun 10
3
[LLVMdev] Whole program alias analysis in backend
Hello everyone,
we are planning to implement a stronger alias analysis
for backend, because e.g. for VLIW architectures, this is our main
performance limitation.
I would have 2 questions regarding this.
I know that backend processes one function at a time,
is it somehow possible to do there a whole program analysis,
or could you give me some guidelines?
Which alias analysis algorithm
2017 Apr 07
2
compiler-rt builtin library in ppc64le architecture
Hi,
I'm building compiler-rt in a ppc64le machine and it is generating the
sanitizers fine but it is not generating the builtin library. I tried to
compile it in a x86_64 machine and I got the builtin library generated
(libclang_rt.builtins-x86_64.a).
Taking a look in a cmake config file from compiler-rt, I saw that ppc64
is not in the supported architecture list to generate the builtin
2009 Jun 04
0
[LLVMdev] LLVM frontend supporting arbitrary bit-width integral datatypes
Hi Adam,
John is right, the TCE stuff would be useful for you. Our
compiler targets a processor template that the designer can
populate pretty freely. The compiler then reads the architecture
description and creates an LLVM backend on the fly.
Please don't hesitate to get in touch with us if you have
questions.
--
Pertti
2015 Feb 13
2
[LLVMdev] [Compiler-rt] i386 is not supported in compiler-rt build
I am trying to build compiler-rt on a x86_64 machine using clang.
Command used:
CC=clang CXX=clang++ cmake <path to compiler-rt> -DLLVM_CONFIG_PATH=<Path
to llvm toolchain>/bin/llvm-config -DCOMPILER_RT_INSTALL_PATH=<Path to llvm
toolchain>/lib/clang/3.7.0
after this command on console it prints,
-- Compiler-RT supported architectures: x86_64
Instead if I use gcc in above
2016 Apr 14
2
Question about compiler-rt builtins targets
Hi,
Short version: Is it possible to enable *all* builtins architectures? How?
Longer explanation:
I don't quite understand how compiler-rt targets are decided to be
built while invoking cmake from the LLVM tree.
I tend to believe that builtins and sanitizers (the two big parts in
compiler-rt) are quite different monsters, but however they share the
same build decisions and (if I'm not
2016 Sep 09
2
compiler-rt for arm-none-eabi targets
I'm trying to build compiler-rt for bare-metal arm-none-eabi targets. I
don't need any of the existing compiler-rt functionality(though the
builtin(s) may be nice). I want to extend it with custom functionality for
the arm-none-eabi targets.
Can anyone give me some pointers on how to go about doing this. I'm
currently doing a combined build of llvm, clang and compiler-rt for both
2018 Apr 11
2
[compiler-rt] r329776 - [XRay][compiler-rt] Fix osx-based builds
Hi Dean,
For me the build is still broken:
-- Builtin supported architectures: i386;x86_64;x86_64h
CMake Error at projects/compiler-rt/lib/xray/tests/CMakeLists.txt:21 (add_library):
add_library cannot create target "RTXRay.test.osx" because another target
with the same name already exists. The existing target is a static library
created in source directory
2018 Apr 11
0
[compiler-rt] r329776 - [XRay][compiler-rt] Fix osx-based builds
Hi Dean,
I have fixed the build failure in r329832.
In general, do you think it would be possible to perform the task using higher-level functions available from AddCompilerRT.cmake?
They were written exactly to avoid such errors.
Regards,
George
> On Apr 11, 2018, at 10:50 AM, George Karpenkov <ekarpenkov at apple.com> wrote:
>
> Hi Dean,
>
> For me the build is still
2014 Jan 30
3
[LLVMdev] Sanitizers libs in Compiler-RT
On 30 January 2014 20:33, Reid Kleckner <rnk at google.com> wrote:
> Basically, compiler-rt contains the only runtime libraries we ship with
> Clang. The sanitizers are runtime libraries shipped with clang (they have
> some version dependence), so they went in compiler-rt. Now they are
> starting to feel much larger than compiler-rt, so perhaps they should be
> split out.
2023 Jan 14
1
[klibc:time64] time: Use 64-bit time types on all architectures
On Sat, Jan 14, 2023, at 23:03, klibc-bot for Ben Hutchings wrote:
>
> #include <klibc/extern.h>
> +#include <klibc/endian.h>
> #include <stddef.h>
> #include <sys/types.h>
> -#include <linux/time.h>
> +
> +struct timespec {
> + __kernel_time64_t tv_sec;
> +#if __BYTE_ORDER == __BIG_ENDIAN && __BITS_PER_LONG == 32
> + long
2009 Jun 24
0
[LLVMdev] LLVM frontend supporting arbitrary bit-width integral datatypes
Hi Adam,
> One problem, I was trying to solve was, that I need to declare variables of let's say 5-bit width like 'i5 var',
> the maximal bit-width may be limited to 64 bits. I need such variables to represent instruction's operands,
> example is at the end this message.
any standard compliant C compiler supports i5, believe it or not.
Try this:
#include
2016 Apr 27
2
compiler-rt: inconsistant build of i386 support on x86_64
I'm the maintainer of FreeBSD's llvm packages and I'm running into
trouble building compiler-rt in a consistent way. In particular,
when building on FreeBSD amd64, the x86_64 libraries always build (as
expected), but depending on something about the build environment, i386
libraries are sometimes built. My knowledge of CMakeFiles has proved
insufficient to either figure out why this