Displaying 20 results from an estimated 7000 matches similar to: "[LLVMdev] donot support uint datatype?"
2012 Dec 12
0
[LLVMdev] donot support uint datatype?
Hi Chen,
On Tue, Dec 11, 2012 at 04:37:20PM -0800, Dong Chen wrote:
> hi guys,
> i use clang to compile a program with datatype uint, but i get errors saying
> " use of undeclared identifier 'uint'; did you mean 'int'? ".
>
> it really doesn't support it? if true, how can i add a datatype?
clang related question should go to cfe-dev at cs.uiuc.edu
2012 Dec 12
2
[LLVMdev] donot support uint datatype?
hi Wei-Ren,
i got it, i have to add a "typedef int uint;"
that's not a big problem
thank you
--
View this message in context: http://llvm.1065342.n5.nabble.com/donot-support-uint-datatype-tp52523p52528.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.
2012 Dec 12
0
[LLVMdev] donot support uint datatype?
On Tue, Dec 11, 2012 at 05:30:46PM -0800, Dong Chen wrote:
> hi Wei-Ren,
> i got it, i have to add a "typedef int uint;"
> that's not a big problem
Souldn't you use "typedef unsigned uint"?
--
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Homepage:
2017 Nov 01
2
Memory address of character datatype
Hi,
?
To get the memory address of where the value of variable "x" (of datatype "numeric") is stored one does the following in R (in 32 bit):
?
??? ? library(pryr)
? ?? ?x <- 1024
?? ?? addr <- as.numeric(address(x)) +?24?? ?# 24 is needed to jump the variable info and point to the data itself (i.e. 1024)
?
The question now is what is the value of the jump?so that one
2006 May 22
3
Using the MySQL SET datatype
Does anyone have any links to example code showing how to use the MySQL
SET datatype in my ActiveRecord objects.
--
Posted via http://www.ruby-forum.com/.
2005 May 11
2
[LLVMdev] avoid live range overlap of "vector" registers
Chris Lattner wrote:
> None, that documentation is out of date and doesn't make a ton of sense
> for your application. I would suggest that you implement it in the
> context of the SelectionDAG framework that all of the code generators
> either currently use or are moving to. I updated the documentation
> here:
2008 Feb 26
5
Rails 2.0.2 MySQL 'year' datatype missing from ActiveRecord?
Hi all,
This is my first post to the forum, and I''ll point out right away that
I''m a noob to everything, Ruby, Rails, MySQL, etc., so I expect that I''m
wrong here, but is the ''year'' datatype missing from ActiveRecord in
2.0.2? According to my MySQL 5.0 reference manual, ''year'' is a datatype,
but when I try to run a migration that has
2006 Aug 15
1
Interval datatype in migrations
How can I use an interval datatype inside migrations ? execute ?
TIA,
ngw
--
Nicholas Wieland
nicholas_wieland@yahoo.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060815/1c262694/attachment.html
2017 May 22
2
How exactly is datatype alignment determined?
Hi,
I'm seeing a bug in the AVR backend that seems to be caused by LLVM
thinking things will be aligned to 8 bytes whereas they are unaligned.
Specifically, MF->getDataLayout().getPrefTypeAlignment(Ty) returns 8 for
the following two types:
%opt = type { i8, [0 x i8], [3 x i8] }
%Machine = type { i16, [0 x i8], i16, [0 x i8], [16 x i8], [0 x i8] }
The target datalayout specifies that
2010 Mar 03
2
uint decode error on visual studio...
Is this a common warning? The decoder doesn't return an error on it, but I
see it a lot in my test application on windows. It is non existent on my
linux box. I haven't tried mingw yet.
please note that I'm using visual studio 2008 w/the vcproj that Bjoern
Rasmussen made for 0.5.2 (w/some file references removed) at the moment and
it is giving a lot of C4554 warnings
2005 May 11
0
[LLVMdev] avoid live range overlap of "vector" registers
On Wed, 11 May 2005, Tzu-Chien Chiu wrote:
> On Tue May 10 2005, Chris Lattner wrote:
>> On Tue, 10 May 2005, Morten Ofstad wrote:
>>> Actually, I think it would be better to define the registers as a machine
>>> value type for packed float x4, and providing some 'extract' and 'inject'
>>> instructions to access individual components... There
2006 Jan 14
1
[LLVMdev] A question about alias analysis
Hello,
I got a strange result when I used alias analysis DSAA, can you tell what is
wrong?
1. The following is the primary body of my pass "fps.cpp":
AliasAnalysis *AA = &getAnalysis<AliasAnalysis>();
AliasSetTracker AST(*AA);
for (Module::iterator fi = M.begin(), fe = M.end(); fi != fe; ++fi )
for (Function::iterator bi = fi->begin(), be = fi->end(); bi
2007 Mar 01
2
[LLVMdev] Version 1.9 SSA form question
int %nlz10(uint %param.x) {
%.t3 = shr uint %param.x, ubyte 1 ; <uint>
[#uses=1]
%.t4 = or uint %.t3, %param.x ; <uint> [#uses=2]
%.t7 = shr uint %.t4, ubyte 2 ; <uint> [#uses=1]
%.t8 = or uint %.t7, %.t4 ; <uint> [#uses=2]
%.t11 = shr uint %.t8, ubyte 4 ; <uint> [#uses=1]
2006 May 25
1
how to get the data in a circle
I want to get the data in a circle from a large square plot.
If the data includes only two columns or more columns which is number style,
I can do it.
But if the data includes other columns which is not number style (e.g.
species name), I donot know how to do it. And I donot want to delete the
columns because it is useful to me.
e.g. species x y
a 12
2017 Nov 02
0
Memory address of character datatype
If you were curious about the hidden details of the memory layout in R,
the best reference is the source code. In your example, you are not
getting to your string because there is one more pointer in the way, "x"
is a vector of strings, each string is represented by a pointer.
At C level, there is an API for getting an address of the value, e.g.
INTEGER(x) or CHAR(STRING_ELT(x)).
At
2014 Feb 21
2
[LLVMdev] [lldb-dev] How is variable info retrieved in debugging for executables generated by llvm backend?
Thank you, Clayton. It works now!
Our debugger server responds
"name:J28;generic:fp;bitsize:32;encoding:uint;format:hex;gcc:60;dwarf:60".
And I also set other "generic" attributes like sp, pc, ra, arg1~arg8 to
related registers.
I dig a little and find llvm dwarf generator uses
TargetRegisterInfo::getFrameRegister() to obtain frame base, and uses
2009 Nov 04
1
variable selectin---reduce the numbers of initial variable
hello,
my problem is like this: now after processing the varibles, the remaining
160 varibles(independent) and a dependent y. when I used PLS method, with 10
components, the good r2 can be obtained. but I donot know how can I express
my equation with the less varibles and the y. It is better to use less
indepent varibles. that is how can I select my indepent varibles. Maybe
GA is good
2005 Mar 21
0
[LLVMdev] Recursive Types using the llvm support library
On Wed, Mar 09, 2005 at 04:05:32PM +0300, Vladimir Merzliakov wrote:
> >>Is assert(!NewSTy->isAbstract()) must pass after this line?
> >
> >In this case, yup.
> >
> I create test program and assert failed in it:
>
> { \2 *, sbyte * }
How do I decode the \2 in this? I am creating types through this
interface and I get quite a mess seen below. And this is
2004 Jun 12
2
[LLVMdev] getelementptr results in seg-fault.
Hi,
I'm trying to compile and run the following code-snippet:
implementation
uint %fie(uint* %x) {
%e = getelementptr uint* %x, int 1
; %f = load uint* %e
ret uint 3
}
int %main(int %argc, sbyte** %argv) {
%z = malloc uint, uint 10
%g = call uint %fie(uint* %z)
ret int 0
}
But the getelementptr instruction gives a segmentation fault. Have I
misunderstood its use? I
2005 Jul 30
1
[LLVMdev] gmake check failures
The only non-empty output file I can find is ops_after_indvar.ll.out:
Instruction does not dominate all uses!
%idx = cast int %idx to uint ; <uint> [#uses=1]
%tmp. = mul uint %idx, 4 ; <uint> [#uses=1]
Instruction does not dominate all uses!
%tmp. = mul uint %idx, 4 ; <uint> [#uses=1]
%tmp.1 = add uint %P,