Displaying 20 results from an estimated 100 matches similar to: "[LLVMdev] Structure Alignment"
2009 Jun 04
1
[LLVMdev] Structure Alignment
struct xfirstStru
{
int var1;
double var2;
int var3;
char *var4;
};
%FIRSTSTRU_PLUSPLUS_TOTVS. = type { i32, double, i32, i8* }
Hi,
I had not applied the layout at run time, only during the emission of the .bc.
Now it's running ok when I allocate the structure point at LLVM side, but, when I allocate the structure pointer in the C
2009 Jun 08
3
[LLVMdev] Structure alignment
%FIRSTSTRU = type { i32, double, i32, i8* }
struct {
int var1;
double var2;
int var3;
char *var4;
}firstStru ;
Could someone help?
If, running a application in windows with MSVC, I allocate a memmory buffer and call a LLVM
function with such buffer, there's a structure alignment problem.
If the LLVM function call a C function using the same buffer, it runs fine.
Any ideas?
2009 Jun 09
1
[LLVMdev] Structure alignment
Hi,
It's not ok yet.
When a C function calls a LLVM function, or a LLVM function calls a C function, the offset of the variables are wrong.
When a don't mix LLVM with C, it's ok, but I need call extern functions using structs.
Ciao
Manoel
Subject: Re: [LLVMdev] Structure alignment
To: LLVM Developers Mailing List <llvmdev at cs.uiuc.edu>
Message-ID:
2005 Oct 06
3
playing with R: make a animated GIF file...
Hello all
I am playing with R for to make a animated GIF.
any suggestions, improvements are welcome :-)
case somebody could help me, i thanks!
Cleber N. Borges ( klebyn )
my objective:
(steps TODO)
-------------------
1) to save PNG files;
-----> i don't know the best way to make this;
2) transform the PNG files into GIF files (easy! no problem! ... i
think ...)
3)
2010 Jan 04
0
ggplot2 = bar size
Hi,
i am newbie into ggplot and i thow that i have to learn a lot about this package.
I am doing this function to draw an graphic:
library(ggplot2)
posx <- theme_text(angle=45,hjust=1,face='bold',size=12)
posy <- theme_text(angle=0,hjust=1,face='bold',size=12)
y1 <- c(1,4,6,1,8,10,6,1,5,4)
x <-
2003 Apr 10
1
Starcraft Patch
I've done some work getting the patches from
http://starcraft-wine.sourceforge.net/ working with CVS wine. Using the
patch I'm including, starcraft works perfectly on my machine, run as
root using DGA on a 640x480 XF86 layout.
In particular the changes to event.c enable the mouse and keyboard with
DGA. The changes to input.c make the mouse acceleration work the same
in all directions.
2017 Sep 02
2
getelementptr
No.
It would be helpful to understand what you are trying to accomplish
overall, which may help people give you details about the best way to
accomplish it.
For example, if you are trying to understand or recover array indexes from
GEP's, that is non-trivial.
On Sat, Sep 2, 2017 at 3:53 AM, Anastasiya Ruzhanskaya via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Is there a way
2006 Oct 17
0
[680] trunk/wxruby2/samples/printing/printing.rb: Cleaned up to use the Ruby naming convention, added #! line, now uses Wx default ID''s in standard menu items.
<!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:
2016 Apr 17
2
Problems with GEP and CallInst
I got a little problems with strings (const char pointers). Global variables holding the string literal are declared correctly, but i have a problem when I pass this string to a function: it asserts with this message.
Assertion failed: ((i >= FTy->getNumParams() || FTy->getParamType(i) == Args[i]->getType()) && "Calling a function with a bad signature!"), function
2005 Jun 14
6
VOIP-INFO down?
Seems to be all morning. I have not been able to access for several
hours now.
W
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Marcel van
Kaam, Fonetica
Sent: Tuesday, June 14, 2005 7:18 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: [Asterisk-Users] VOIP-INFO down?
Hi
2005 May 29
2
CallerID of calls FROM queue
Hi to all,
I have a question about the callerid (msn number) off calls comming FROM
a queue.
This is my setup:
- ISDN using zap (zaphfc)
- Incomming calls arrive in a queue
- One of the members of the queue is my cell phone... member =>
Zap/g1/XXX73XX19 (X to protect my privacy ;-))
The problem is the call from the queue to my cell phone. In a dailplan i
can set the outgoing msn using
2017 Sep 02
3
getelementptr
Ok, thank you. I have also one question about getelementptr. In different
versions of clang I see that sometimes array[i][i] is preceded by two
getelementptr instructions and sometimes only by one - with an already
complex index.
2017-09-01 12:50 GMT+02:00 David Chisnall <David.Chisnall at cl.cam.ac.uk>:
> On 1 Sep 2017, at 11:44, Anastasiya Ruzhanskaya via llvm-dev <
> llvm-dev
2018 Apr 12
3
Bivariate Normal Distribution Plots
R-Help
I am attempting to create a series of bivariate normal distributions. So using the mvtnorm library I have created the following code ...
# Standard deviations and correlation
sig_x <- 1
sig_y <- 1
rho_xy <- 0.0
# Covariance between X and Y
sig_xy <- rho_xy * sig_x *sig_y
# Covariance matrix
Sigma_xy <- matrix(c(sig_x ^ 2, sig_xy, sig_xy, sig_y ^ 2), nrow = 2, ncol = 2)
2005 Jun 14
5
RJ45 instead RJ11 in Digium's TDM20B card help me please
Dear all,
I am happy to tell you that I received a Digium's TDM20B card for my
Asterisk box today. but the phone jack is RJ45 instead of RJ11. So Please I
need precise instructions to connect a phone to this card. please, assume
that I have a phone (a normal analouge phone connected to the one end of a
cable with an RJ11 jack (at the phone side). and now I want to connect the
other end to the
2011 Aug 30
3
having trouble extracting week from chron object
Running R 2.13.1 on Windows XP.
I would like to get week of the year (1-52) for each date.
library(chron)
dts <- dates(c("02/27/92", "02/27/92", "01/14/92","02/28/92", "02/01/92"))
dts
dts.chron <- as.chron(dts)
dts.chron
class(dts.chron)
# all of these component extractions work:
months(dts.chron)
weekdays(dts.chron)
years(dts.chron)
2005 Jun 29
4
Music oh hold
Sorry, i also tried this:
exten => 6000,1,Answer
exten => 6000,2,MusicOnHold(default)
and i got this result:
*CLI> -- Executing Answer("SIP/2391-8cdd", "") in new stack
-- Executing MusicOnHold("SIP/2391-8cdd", "default") in new stack
Jun 29 19:33:47 WARNING[1616]: res_musiconhold.c:354 moh0_exec: Unable to start music on hold (class
2005 Jun 26
30
LiveVoip is Bankrupt
So it looks like Livevoip went Bankrupt
-------------------------------------------
There is a Federal Court Order in place and has been since Friday early a.m. ALL Suppliers are now under a Court Order that prevents them from terminating any and all services to LiveVoip LLC. If they take such any action they will be in direct
violation of a U.S. Federal Court Order. If you have any questions
2009 Jan 06
2
[LLVMdev] LLVM Optmizer
The following C code :
#include <stdio.h>
#include <stdlib.h>
int TESTE2( int parami , int paraml ,double paramd )
{
int varx=0,vary;
int nI =0;
//varx= parami;
if( parami > 0 )
{
varx = parami;
vary = varx + 1;
}
else
{
varx = vary + 1;
vary = paraml;
}
varx = varx + parami + paraml;
for( nI = 1 ; nI <= paraml; nI++)
{
varx =
2009 Jan 08
0
[LLVMdev] LLVMdev Digest, Vol 55, Issue 16
1. Re: LLVM optmization (Bill Wendling)
Hi,
The IR is not wrong. I said that the assembler generated by MSVC is quicker. We can see that the for loop, in the TESTE function, is done without jump's in the MSVC and with jumps in LLVM. I think thats the point.
If we don't use threads, the result is the same. My test were done with one billion interactions in the for loop. The MSVC
2005 Jun 30
3
R: Music oh hold
This is my musiconhold.conf and my folder:
root@voip:/etc/asterisk# less musiconhold.conf
[classes]
default => quietmp3:/var/lib/asterisk/mohmp3
;loud => mp3:/var/lib/asterisk/mohmp3
;random => mp3:/var/lib/asterisk/mohmp3,-z
;unbuffered => mp3nb:/var/lib/asterisk/mohmp3
;quietunbuf => quietmp3nb:/var/lib/asterisk/mohmp3
; Note that the custom mode cannot handle escaped parameters