Displaying 20 results from an estimated 30000 matches similar to: "[LLVMdev] how can I compile gnu find utilities"
2019 Mar 29
4
[PATCH v2] drm: prefix header search paths with $(srctree)/
Currently, the Kbuild core manipulates header search paths in a crazy
way [1].
To fix this mess, I want all Makefiles to add explicit $(srctree)/ to
the search paths in the srctree. Some Makefiles are already written in
that way, but not all. The goal of this work is to make the notation
consistent, and finally get rid of the gross hacks.
Having whitespaces after -I does not matter since commit
2009 Jan 09
2
[LLVMdev] implicit CC register Defs cause "physreg was not killed in defining block!" assert
Hello,
For my backend, I define and use a CC register similiarly to the EFLAGS register in X86 (I call it CCFLAGS).
But if I make all arithmetic/logic instructions affect it ('let Defs = [CCFLAGS] in...' in InstrInfo.td) I run into
// The only case we should have a dead physreg here without a killing or
// instruction where we know it's dead is if it is live-in to the function
2019 Jan 31
2
[PATCH] drm: prefix header search paths with $(srctree)/
Currently, the Kbuild core manipulates header search paths in a crazy
way [1].
To fix this mess, I want all Makefiles to add explicit $(srctree)/ to
the search paths in the srctree. Some Makefiles are already written in
that way, but not all. The goal of this work is to make the notation
consistent, and finally get rid of the gross hacks.
Having whitespaces after -I does not matter since commit
2009 Jan 09
0
[LLVMdev] implicit CC register Defs cause "physreg was not killed in defining block!" assert
A physical register cannot be live across the block. So it must have a
use in the block or it must be marked dead. From your dump, it looks
like the CCFLAGS defs are not being marked dead. It's unclear where
things went wrong, but you can step through LiveVariables to debug this.
Evan
On Jan 9, 2009, at 2:50 AM, Christian Sayer wrote:
> Hello,
>
> For my backend, I define and
2009 Aug 31
2
[LLVMdev] accessing a bitcode library exported from C++ using the JIT
Hello,
My partner and I am making a small app needs to access a C++ library from the LLVM 2.5 JIT. We've made sure that there are no classes and have put 'extern "c"' in front of the functions we need to access. In order to make this work, we seem to need to have a bitcode version of libstdc++ so we can avoid writing our own implementations of std::string and std::vector.
2010 Apr 13
1
[LLVMdev] who can recommand me some books?
Hi,
Who can recommand me some books about static analysis including systems
verification, shape analysis and logic, termination analysis, security and
safety, abstract interpretation and algorithms, abstract domain and data
structures, pointer analysis, shape analysis, and data flow analysis.
I want to read some basic books about the topic, Thank you!
With Best Regards to you!
--------------
2024 May 23
1
[PATCH 4/4] drm: enable -Wformat-truncation across the subsystem
With the -Wformat-truncation warnings fixed, finish the job started in
commit a61ddb4393ad ("drm: enable (most) W=1 warnings by default across
the subsystem"), and enable that warning too.
Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
Gut feeling says there are more issues, and my configs just don't catch
them all, but let's see what the build bots have to
2024 May 23
1
[PATCH 4/4] drm: enable -Wformat-truncation across the subsystem
Hi Jani,
On Thu, May 23, 2024 at 06:51:09PM +0300, Jani Nikula wrote:
> With the -Wformat-truncation warnings fixed, finish the job started in
> commit a61ddb4393ad ("drm: enable (most) W=1 warnings by default across
> the subsystem"), and enable that warning too.
>
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
When it is enabled for all of drm then the
2016 Dec 07
1
[PATCH 10/10] virtio: enable endian checks for sparse builds
On Tue, 2016-12-06 at 17:41 +0200, Michael S. Tsirkin wrote:
> It seems that there should be a better way to do it,
> but this works too.
In some cases there might be:
> --- a/drivers/s390/virtio/Makefile
> +++ b/drivers/s390/virtio/Makefile
> @@ -6,6 +6,8 @@
> ?# it under the terms of the GNU General Public License (version 2
> only)
> ?# as published by the Free
2016 Dec 07
1
[PATCH 10/10] virtio: enable endian checks for sparse builds
On Tue, 2016-12-06 at 17:41 +0200, Michael S. Tsirkin wrote:
> It seems that there should be a better way to do it,
> but this works too.
In some cases there might be:
> --- a/drivers/s390/virtio/Makefile
> +++ b/drivers/s390/virtio/Makefile
> @@ -6,6 +6,8 @@
> ?# it under the terms of the GNU General Public License (version 2
> only)
> ?# as published by the Free
2010 Apr 11
2
[LLVMdev] call for suggestions
Hi, Dear LLVMers
I just touch llvm source code for several days, and I didn't know the
interfaces of the analysises and transformations of LLVM. For exampe, how
to backtrace CFG, and whether exits a backtracking interator to do such
work?
For a novice, I also seek for suggestions about how to become familiar with
LLVM interfaces as soon as possible. Now I have a plan to write a pass based
on
2010 Apr 21
2
[LLVMdev] How to delete a instruction?
I did a simple test just now, but I alse failed.
I delete several ordered instructions from end to begin,
but after deleting the first instruction(the last instruction of F), the
program crashed.
My test code is below (F is a function only containing several sequential
instructions):
for (inst_iterator inst == --inst_end(F); inst != inst_begin(F); --inst) {
Instruction * i = &*inst;
2013 Dec 02
2
[LLVMdev] Segmentation fault when traverse call graph
Dear everyone,
I want to traverse call graph, but I have some trouble .
In my pass MyPass which need to traverse call graph, I firstly added the
CallGraph analysis to the pass requirements by
*AU.addRequired<CallGraph>();*
My pass MyPass then will be added to a pass manager by
*manager.add(new MyPass());*
and then I want to traverse the call graph such as:
CallGraph CG =
2024 May 23
4
[PATCH 0/4] drm: enable -Wformat-truncation
Jani Nikula (4):
drm/amdgpu: fix -Wformat-truncation warning in
amdgpu_gfx_kiq_init_ring()
drm/nouveau: fix -Wformat-truncation warning in
nouveau_backlight_init()
drm/imx: fix -Wformat-truncation warning in imx_ldb_probe()
drm: enable -Wformat-truncation across the subsystem
drivers/gpu/drm/Makefile | 3 +--
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 6
2009 Aug 31
0
[LLVMdev] accessing a bitcode library exported from C++ using the JIT
On Mon, Aug 31, 2009 at 12:17 PM, Samuel Crow<samuraileumas at yahoo.com> wrote:
> Hello,
>
> My partner and I am making a small app needs to access a C++ library from the LLVM 2.5 JIT. We've made sure that there are no classes and have put 'extern "c"' in front of the functions we need to access. In order to make this work, we seem to need to have a bitcode
2009 Jan 12
1
[LLVMdev] implicit CC register Defs cause "physreg was not killed in defining block!" assert
Evan,
>A physical register cannot be live across the block. So it
>must have a use in the block or it must be marked dead. From
>your dump, it looks like the CCFLAGS defs are not being marked
>dead. It's unclear where things went wrong, but you can step
>through LiveVariables to debug this.
Thanks for your response. I did quite some stepping through the llc
passes, and it
2005 Feb 20
1
Mandrake & CAPI
All,
I have been trying to get CAPI4Linux working on my machine and being
frank am failing miserably! I am looking for any help available, I am
real newbie (so please be gentle) and choose to run Mandrake 9.2 as it
appears quite friendly (or so I thought!).
I have been following the guidance found at
http://www.voip-info.org/wiki-Asterisk+How+to+connect+with+CAPI for the
AVM card (actually I
2010 Apr 12
0
[LLVMdev] call for suggestions
On Sun, 2010-04-11 at 10:54 +0800, lucefe wrote:
> Hi, Dear LLVMers
>
> I just touch llvm source code for several days, and I didn't know the
> interfaces of the analysises and transformations of LLVM. For exampe,
> how to backtrace CFG, and whether exits a backtracking interator to do
> such work?
>
> For a novice, I also seek for suggestions about how to become
2013 Dec 03
0
[LLVMdev] Segmentation fault when traverse call graph
I recall having a similar problem while coding my own special-purpose
"opt". My guess: try adding the following lines before your pass is
inserted into the PassManager:
PassRegistry &Registry = *PassRegistry::getPassRegistry();
initializeIPA(Registry);
You might require other library initializations. Have a look at the
"opt" source code.
On 02/12/13 10:36,
2010 Apr 21
0
[LLVMdev] How to delete a instruction?
lucefe wrote:
> I did a simple test just now, but I alse failed.
>
> I delete several ordered instructions from end to begin,
> but after deleting the first instruction(the last instruction of F),
> the program crashed.
> My test code is below (F is a function only containing several
> sequential instructions):
>
> for (inst_iterator inst == --inst_end(F); inst !=