Displaying 20 results from an estimated 200000 matches similar to: "[LLVMdev] Linking header files in CLANG"
2011 Sep 03
2
[LLVMdev] PTX optimizations
Hi everyone,
I am trying to add some optimizations to LLVM's PTX backend. But i am
unaware of the existing optimizations. Can you please guide me about the
same?
Thank You:)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110903/bc038a07/attachment.html>
2019 Jan 06
2
LLVM IR linking separate function definitions in header files in single IR
Thank You..
I am observing memory allocation instructions malloc and new operator in
LLVM IR.
In my considered benchmark memory is allocated using new operator as
follows.
*return static_cast<_Tp*>(::operator new(__n * sizeof(_Tp)));*
How can I observe such allocations in IR? I mean which instruction in IR is
equivalent to above code i.e new operator.
Please help
Thank You
On Sun, Jan 6,
2012 Nov 14
2
[LLVMdev] Linking Clang with an optional external library
Hi,
I'd like to link Clang against the STP theorem prover. Since Clang is built by the LLVM build system, I hope this is the correct place to ask for advice.
The attached patch allows me to pass `configure` a --with-stp option and provide a path to the install prefix for STP. However, I am not familiar with autoconf, so I am not confident that my changes are the correct way to do this. I
2019 Jan 01
4
LLVM IR linking separate function definitions in header files in single IR
Hello,
I have different codes with separate files with functions implemented. I
want to view all function definitions/ instructions in single IR. I am able
to do this by llvm-link for codes which have definition implemented in .c
files...
But there are some codes which have definitions instructions in header
files. These functions are called from .c file. I want to have a single IR
with all the
2017 Mar 20
2
-ffast-math optimizations impacted by symbol renaming in header files
Hi,
I came across an issue where some optimizations that would normally be applied to standard math function calls are not getting applied when the –ffast-math option is enabled on the Clang command line on a Linux x86_64 target.
I tracked down the issue to occurring because the –ffast-math option is triggering Clang to preprocess the math.h header file with the __FINITE_MATH_ONLY__ macro set
2002 Feb 16
1
Proposed header file changes to allow for dynamic linking of DLLs at runtime
Sorry for the attachment, but I do not know of another way to communicate
the details of my proposed changes to the dev team.
While writing RipTrax (a ripper + encoder program), I wanted to make all
encoder DLLs dynamically linkable at runtime. I first check for the
existence of the dll, open the library with Load Library and then do a
GetProcAddress for each routine I plan to use. With the
2013 Oct 20
1
[LLVMdev] Parsing C++ headers with Clang bindings for Python
Hi Elliott,
On Oct 18, 2013, at 9:29 PM, Elliott Slaughter <elliottslaughter at gmail.com> wrote:
> Answering my own question:
>
> On Fri, Oct 18, 2013 at 8:51 PM, Elliott Slaughter <elliottslaughter at gmail.com> wrote:
> I'd like to parse a C++ header file (say, math.h) with the Clang bindings for Python. (Yes, I know math.h is technically a C header, but for my
2015 Jul 05
2
[LLVMdev] How to run LLVM3.6.1 on OS X (Yosemite, Xcode6.4) OR how to link bitcode generated by OS X clang with LLVM3.6.1
I’m developing a Common Lisp compiler for OS X and Linux that uses LLVM as its backend and interoperates with C++.
It’s at: github.com/drmeister/clang
I need to compile one C++ source file containing small, intrinsic functions into an LLVM-IR bitcode file and link it with bitcode generated by my compiler running LLVM3.6.1. I have been unable to do this for more than a year and I was hoping
2012 May 27
0
[LLVMdev] Linking clang.exe takes more than two hours?
于 2012/5/27 11:04, Mikael Lyngvig 写道:
> Hi,
>
> I'm building using MINGW64 on a very slow system (Intel Atom 330 X2
> 1.6 GHz), but it seems rather odd that the system has been linking
> clang.exe for the past two hours. It appears that a couple of
> gigabytes of virtual memory are being used (causing constant swapping)
> - the system has only 2 GB of physical memory.
2013 Oct 19
0
[LLVMdev] Parsing C++ headers with Clang bindings for Python
Answering my own question:
On Fri, Oct 18, 2013 at 8:51 PM, Elliott Slaughter <
elliottslaughter at gmail.com> wrote:
> I'd like to parse a C++ header file (say, math.h) with the Clang bindings
> for Python. (Yes, I know math.h is technically a C header, but for my
> purposes I want to pretend that it is C++.) For some reason, Clang is able
> to parse the file as C, but not
2010 Mar 03
0
[LLVMdev] Extracting type information from header files
Hello Vitaly,
Clang supports LLVM Bitcode formatted precompiled headers if that is what you are looking for. LLVM-GCC might be a different story though. Also note that these headers will be different from one operating system to the next. If you're looking for something portable, test out my wrapper at http://sourceforge.net/projects/llvmlibc/ in the SVN repo.
--Sam
----- Original
2012 May 27
2
[LLVMdev] Linking clang.exe takes more than two hours?
Hi,
I'm building using MINGW64 on a very slow system (Intel Atom 330 X2 1.6
GHz), but it seems rather odd that the system has been linking clang.exe
for the past two hours. It appears that a couple of gigabytes of virtual
memory are being used (causing constant swapping) - the system has only 2
GB of physical memory.
Is this a bug in MINGW64 (binutils 2.22) or is it just too little RAM in
2013 Oct 19
2
[LLVMdev] Parsing C++ headers with Clang bindings for Python
I'd like to parse a C++ header file (say, math.h) with the Clang bindings
for Python. (Yes, I know math.h is technically a C header, but for my
purposes I want to pretend that it is C++.) For some reason, Clang is able
to parse the file as C, but not as C++.
Here is an example session:
>>> import clang.cindex
>>> idx = clang.cindex.Index.create()
>>> tu =
2011 Nov 29
1
[LLVMdev] RFC: How should Clang/LLVM runtime libraries be installed and found during link steps?
So, is there an agreement now?
In particular, is it fine to have the asan run-time for linux x86/x86_64 at
lib/clang/linux/TC.getArchName())/libclang_rt.asan.a ?
Thanks,
--kcc
On Mon, Nov 28, 2011 at 12:53 PM, Daniel Dunbar <daniel at zuster.org> wrote:
> Hey Chandler,
>
> We already have a certain precedent for how we do this on Darwin. The
> current library set is:
> --
2015 Jul 08
2
[LLVMdev] How to run LLVM3.6.1 on OS X (Yosemite, Xcode6.4) OR how to link bitcode generated by OS X clang with LLVM3.6.1
Thank you. I found a partial answer to the problem (1), namely “how to run Clang compiled with LLVM3.6.1 on OS X Yosemite/Xcode6.4"
It’s a combination of -isysroot and -resource-dir
I’m using these compiler options:
"/Users/meister/Development/externals-clasp/build/release/bin/clang" -v \
-resource-dir
2013 Aug 16
1
[LLVMdev] workflow for linking clang
On 08/16/2013 02:13 PM, Eli Friedman wrote:
> On Fri, Aug 16, 2013 at 2:01 PM, reed kotler <rkotler at mips.com
> <mailto:rkotler at mips.com>> wrote:
>
> the good news is that (thanks to Simon) the clang driver is
> working so well for Mips now that we are more or less switching
> away from using llc during development for all our various
>
2011 Nov 28
0
[LLVMdev] RFC: How should Clang/LLVM runtime libraries be installed and found during link steps?
Hey Chandler,
We already have a certain precedent for how we do this on Darwin. The
current library set is:
--
$ find lib/clang/3.1/lib
lib/clang/3.1/lib
lib/clang/3.1/lib/darwin
lib/clang/3.1/lib/darwin/libclang_rt.10.4.a
lib/clang/3.1/lib/darwin/libclang_rt.cc_kext.a
lib/clang/3.1/lib/darwin/libclang_rt.eprintf.a
lib/clang/3.1/lib/darwin/libclang_rt.ios.a
2011 Nov 23
2
[LLVMdev] [cfe-dev] RFC: How should Clang/LLVM runtime libraries be installed and found during link steps?
2011/11/23 Chandler Carruth <chandlerc at google.com>
> It has come up when reviewing Kostya's patch to add the necessary support
> fort linking in the Address Sanitizer runtime library that we need a proper
> scheme and plan for deploying runtime libraries along with Clang.
>
> I've CC'ed llvmdev on this for compiler-rt developers' input.
>
> The key
2013 Sep 16
0
[LLVMdev] why not the binary files: clang clang-check clang-format llvm-tblgen clang-tblgen link to the shared common library to save space.
I have tried to do this work, to link them to libLLVM-3.3.so or/and
libclang.so, but failed.
Only succeed with llvm-tblgen, to link it to shared libraries instead
of static ones.
Then I tried to link clang to libclang.so, exclude the clang***.a
files that included in libclang.so.
but it show many "undefined reference" error.
Thanks.
2018 May 14
1
Parsing C header files
Hi,
I wish to make a program that parses C header files and lists all the
declarations.
Can anyone help point me in the right direction. Where in the LLVM or
CLANG source code could maybe help me?
Kind Regards
James