Displaying 20 results from an estimated 200 matches similar to: "[LLVMdev] Typedef struct types"
2012 Sep 22
0
[LLVMdev] Typedef struct types
Hi Pankaj, you may find include/llvm/TypeFinder.h useful.
Ciao, Duncan.
On 22/09/12 16:26, Pankaj Gode wrote:
> Hi All,
> I was searching for, extracting information about 'typedefed struct types' from
> 'module'.
> I have 'struct' typedefed in a .h file. I try to use this structure instance
> inside a function.
> My .ll file rightly defines this type in
2019 Aug 01
5
RFC: Strong typedef for LLVM
Lately I've been using some utilities to increase the number of logic
errors caught at compile time. I thought they might be useful to the
LLVM project. I'd appreciate feedback on the below proposal. Would the
community find these useful?
-David
RFC: Strong typedef utilities for LLVM
--------------------------------------
Abstract
--------
This proposal
2008 Mar 11
0
[LLVMdev] Subversion head: build problem on cygwin?
Hi, Jules.
On Tue, March 11, 2008 2:14 pm, Jules wrote:
> Not sure if this is me or not, because this is the first time I've built
> LLVM on Cygwin, but I can't get a working compile.
Last I checked, LLVM-on-Cygwin has at least two problems, and you've hit
one of them. Working around them isn't too bad, though patches to fix
them would be appreciated.
>
2004 Dec 08
3
yuv2rgb
hi all,
i'm trying to code a tool to get some images from a ogg/theora file ....
so basically i need to get a frame and convert to rgb ... and here is my
question (sorry, i'm newbe here) ...
how to convert a yuv_buffer to a rgb matrix ?
i tryied diferent ways but my mistakes are bassically cause i don't
understant how yuv_buffer structure works ...
anybody can help? thanks a lot.
2008 Mar 11
3
[LLVMdev] Subversion head: build problem on cygwin?
Not sure if this is me or not, because this is the first time I've built
LLVM on Cygwin, but I can't get a working compile. I've configured with
the following options:
$ ./configure --with-llvmgccdir=/cygdrive/i/Projects/llvm-gcc4.2-2.2
--enable-debug-runtime --enable-jit --enable-targets=x86
Configure doesn't suggest there's anything wrong, but when I try make, I
almost
2006 Nov 23
0
[751] trunk/wxruby2/swig/typedefs.i: Added wxUint32 typedef
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2006 Nov 22
0
[ wxruby-Bugs-6825 ] Missing typedef for Wx::FindReplaceData constructor
Bugs item #6825, was opened at 2006-11-22 18:19
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=6825&group_id=35
Category: Incorrect behavior
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Kevin Smith (qualitycode)
Summary: Missing typedef for Wx::FindReplaceData constructor
Initial Comment:
2004 Oct 14
0
[LLVMdev] Removed unnecessary typedef in include/llvm/Analysis/IntervalIterator.h
The typedef of _BB was causing problems with Visual Studio, it looks
like something else is #define'ing _BB so I get a compilation error.
Since it seems nothing is using this typedef, I just removed it - here
is the patch.
m.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff.txt
URL:
2009 Oct 02
2
[LLVMdev] typedef struct
Hi all,
If I have a C struct declaration like this:
typedef struct typeA {...} typeB;
In the type symbol table generated should it contain an entry for struct.typeA
or struct.typeB? I seem to have seen both cases using the same llvm toolchain
so I just wonder if I have done something wrong.
Thanks,
Alvin
2009 Oct 03
0
[LLVMdev] typedef struct
Hi Alvin,
> If I have a C struct declaration like this:
>
> typedef struct typeA {...} typeB;
>
> In the type symbol table generated should it contain an entry for struct.typeA
> or struct.typeB? I seem to have seen both cases using the same llvm toolchain
> so I just wonder if I have done something wrong.
it doesn't matter what the name is since it has no effect on
2009 Oct 04
1
[LLVMdev] typedef struct
Hi Duncan,
Actually what I am doing is matching up each Type with its corresponding debug
info. I have checked that the debug info generated is consistent (i.e., typeA
is recorded as a derived type from composite type typeB in my example), but I
have seen cases where the name recorded in the Type object is typeA and
sometimes typeB, that's why I am confused.
Alvin
Duncan Sands wrote:
2011 Jun 30
1
[LLVMdev] sparse typedef int v8qi __attribute__ ((mode(V8QI))) warning
While solving a clang build issue with netpbm10 on fink darwin11, I noticed that
clang seems to provide poor error messages compared to llvm-gcc. For llvm-gcc, we get
the very helpful warning...
libpbm3.c: In function 'packBitsWithMmxSse':
libpbm3.c:120: warning: specifying vector types with __attribute__ ((mode)) is deprecated
libpbm3.c:120: warning: use __attribute__ ((vector_size))
2018 Apr 24
0
[PATCH] gpu: drm: qxl: Adding new typedef vm_fault_t
On Mon, Apr 23, 2018 at 12:49:24PM +0200, Gerd Hoffmann wrote:
> On Tue, Apr 17, 2018 at 07:08:44PM +0530, Souptick Joarder wrote:
> > Use new return type vm_fault_t for fault handler. For
> > now, this is just documenting that the function returns
> > a VM_FAULT value rather than an errno. Once all instances
> > are converted, vm_fault_t will become a distinct type.
2018 May 14
0
[PATCH] gpu: drm: qxl: Adding new typedef vm_fault_t
Hi,
> > So my expectation that a backmerge happens anyway after -rc1/2 is in
> > line with reality, it is just to be delayed this time. I'll stay
> > tuned ;)
>
> Is this patch already merged in drm-misc-next tree ?
Pushed now.
cheers,
Gerd
2016 Sep 07
3
typedef or using in C++ code
Hi!
What should be used for type declarations: typedef or using? typedef
is there because of historical reasons, but LLVM code based is C++11
now.
LLVM Coding Standards are not clear on this matter.
Eugene.
Clang-tidy has modernize-use-using, but fix-it functionality is not
perfect (https://llvm.org/bugs/show_bug.cgi?id=28334).
2004 Aug 06
0
hmm, howabout a typedef instead of void *
Hey,
can we make the pointers to the encoder and decoder state variables
somewhat more strongly typed? ;) I made a mistake where I basically
wrote
speex_decode(&st, ...
instead of
speex_decode(st, ...
That is why my decoder blew up all the time. The compiler wouldn't
complain. I suspected a corrupt speex bitstream, a corrupted stack
frame, etc... So much time wasted because of an
2008 Mar 19
1
Problem in using typedef with c++
Hi
My code is as follows :-
example.h
#include"iostream.h"
using namespace std;
typedef int MYINT;
void sum(MYINT a, MYINT b);
example.cpp
#include"example.h"
void sum(MYINT a, MYINT b)
{
MYINT c;
c=a +b;
cout<<c;
}
example.i
%module example
%{
#include"example.h"
extern void sum(MYINT a, MYINT b);
%}
#include "example.h"
2006 Oct 31
0
1183369 scsi_types.h: remove non-STDC typedef of opaque_t as a char *
Author: cth
Repository: /hg/zfs-crypto/gate
Revision: e20f560984a502dbdb00d562c0d053cf86afabe1
Log message:
1183369 scsi_types.h: remove non-STDC typedef of opaque_t as a char *
Files:
update: usr/src/uts/common/sys/scsi/conf/autoconf.h
update: usr/src/uts/common/sys/scsi/conf/device.h
update: usr/src/uts/common/sys/scsi/impl/services.h
update: usr/src/uts/common/sys/scsi/scsi_ctl.h
update:
2006 Nov 04
1
[LLVMdev] llvm windows re-port
Hello Žiga
Sat, 04 Nov 2006 12:48:23 +0100 you wrote:
> I decided to make llvm port on windows, to support at least Visual
> Studio 7.1 and Visual Studio 8. I guess I will make only Visual
> Studio 7.1 version, since it can be easily converted to version 8.
Good. Please note, that they're something about 1.5 years old. There
already were some attempts to do visual studio port,
2018 Apr 23
3
[PATCH] gpu: drm: qxl: Adding new typedef vm_fault_t
On Tue, Apr 17, 2018 at 07:08:44PM +0530, Souptick Joarder wrote:
> Use new return type vm_fault_t for fault handler. For
> now, this is just documenting that the function returns
> a VM_FAULT value rather than an errno. Once all instances
> are converted, vm_fault_t will become a distinct type.
>
> Reference id -> 1c8f422059ae ("mm: change return type to
>