Displaying 20 results from an estimated 100 matches similar to: "saving in Tiger (Mac users)"
2008 Nov 18
1
[LLVMdev] Writing instructions to file
Hello all,
I am instrumenting the code such that I write the results of some instructions to file. As you can see below, I am writing the results of add instruction to the file. The IR generated for writeToFile is also posted below. My problem is that it is writing to the file in format bytes and it is not human-readable. How do I make it write human readable strings to the file?
define i32
2008 Nov 16
1
[LLVMdev] How do I get the result of an instruction?
Hi,
I am writing an optimization pass where I need to instrument the code such that I need to store the results of some instructions in file. Using llc -march=cpp option I figured out how to add a function(say writeToFile) which takes char* parameter and writes to file. Now, I need put in a CallInst which calls writeToFile passing the Instruction result as parameter. How do I do this?
So, in my
2005 Mar 12
1
New user of R on Mac OS X - Please help
Brand new Mac OS X user, I am transfering my R stuffs from my windows
machine.
When porting some of my functions, I got messages such as :
2005-03-12 15:37:52.456 R[673] *** NSTimer discarding exception
'NSRangeException' (reason '*** NSRunStorage, _NSBlockNumberForIndex():
index (3607) beyond array bounds (2000)') that raised during firing of
timer with target 3ba850 and
2008 Nov 17
2
[LLVMdev] Assertion `castIsValid(getOpcode(), S, Ty) && "Illegal BitCast"' failed.
ok.. So I am trying out what you have suggested. I have written the below code which basically tries to write the constant 10 to a file. myprint is a function pointer to a function which takes char * parameter and writes it to file.
Value *Ten = ConstantInt::get(Type::Int32Ty, 10);
const Type *VoidPtrTy = PointerType::getUnqual(Type::Int8Ty);
AllocaInst *AI = new AllocaInst(Type::Int32Ty);
Value
2008 Nov 17
1
[LLVMdev] Assertion `InReg && "Value not in map!"' failed
Ah! I get it now. Thanks a lot !
I changed it to BitCastInst(AI,VoidPtrTy,"",j);
And now I am getting the following error :(. I have been stuck with this error before also. I know I am missing out something silly. What is the cause of this error and Please let me know how to fix it.
/home/bhavani/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1130: llvm::SDOperand
2008 Nov 17
1
[LLVMdev] Assertion `InReg && "Value not in map!"' failed
Thanks Nick! ok. I ran through the verifier and this is the issue:
verifying... Instruction does not dominate all uses!
%tmp3 = add i32 %b, %a ; <i32> [#uses=2]
store i32 %tmp3, i32* %0, align 4
Broken module found, compilation aborted!
add is existing instruction in function. store is the instruction I have added to the function. How do I fix this now :(?
Thanks,
Bhavani
--- On Mon,
2008 Nov 17
0
[LLVMdev] Assertion `InReg && "Value not in map!"' failed
ok 1 last question for the day...
I created a function in C.
void writeToFile(char *str)
{
FILE *f;
if((f=fopen("example","a"))==NULL){
printf("could not open file");
}
else{
fprintf(f,str);
fclose(f);}
}
used this to create .bc then using llc -march=cpp I got the cpp code to create this function.
While instrumenting my code, I place call to this function.
2004 Dec 02
0
image() or plotting functions or something else broken in 2.0.1 on OS X?
Hello.
I just upgraded to 2.01 on Mac OS 10.3.6. I used to use the image()
function in 1.9.x. Now, running the example code from the image() help
page gives me the following error:
> x <- y <- seq(-4*pi, 4*pi, len=27)
> r <- sqrt(outer(x^2, y^2, "+"))
> image(z = z <- cos(r^2)*exp(-r/6), col=gray((0:32)/32))
2004-12-02 10:35:27.815 R[2649] *** Assertion
2005 Apr 21
0
Internal error on Max OS X?
Dear All,
I hope my question has not already appeared in the forum. I'm new to
the MacOS X platform and
I'am experiencing some strange behaviour on the Mac OS X platform, with
R 2.0.1
Here is the error message I get when doing such a basic thing as ls() or
summary(an_object):
2005-04-15 14:59:48.177 R[1147] *** Assertion failure in
-[NSMutableRLEArray objectAtIndex:effectiveRange:],
2008 Nov 16
0
[LLVMdev] How do I get the result of an instruction?
On Sat, Nov 15, 2008 at 3:58 PM, bhavani krishnan <bhavi63 at yahoo.com> wrote:
> Thanks!
>
> How do I cast the result to a string? I basically need to store the results of some instructions in a file.
If you're confused about how the IR works, http://llvm.org/demo/ can
be useful. The question you're asking doesn't really seem to make
sense.
-Eli
2008 Nov 17
0
[LLVMdev] How do I get the result of an instruction?
Thanks Eli!
But I still have a question. What you have written is in IR. When I am writing the pass, I donot have access to the result of the instruction (%resulttoprint in your example). All I have is a Instruction* right? So, how do I get the result of the instruction? Am I missing something here?
Thanks,
Bhavani
--- On Sun, 11/16/08, Eli Friedman <eli.friedman at gmail.com>
2008 Nov 15
2
[LLVMdev] How do I get the result of an instruction?
Thanks!
How do I cast the result to a string? I basically need to store the results of some instructions in a file.
Thanks,
Bhavani
--- On Sun, 11/16/08, John Criswell <criswell at uiuc.edu> wrote:
> From: John Criswell <criswell at uiuc.edu>
> Subject: Re: [LLVMdev] How do I get the result of an instruction?
> To: "bhavi63 at yahoo.com" <bhavi63 at
2008 Nov 17
1
[LLVMdev] How do I get the result of an instruction?
ok. I think I get it now. I need to create the instructions as you have given. For eg: I could pass Instruction*(for storing the result of this instruction) while creating the store instruction. This is what you meant rite??
Thanks,
Bhavani
--- On Mon, 11/17/08, bhavani krishnan <bhavi63 at yahoo.com> wrote:
> From: bhavani krishnan <bhavi63 at yahoo.com>
> Subject: Re:
2012 Feb 25
0
Speex-with-header-byte and Google ASR
Greetings list,
I am working on a project on which we wish to use Speex with Google Automatic Speech
Recognition (ASR) to transcribe Speex audio being sent on to Google ASR service and return
us the text of the spoken audio in the Speex audio stream. However, Google ASR's Speex
support requires the off-standard Speex-with-header-byte format, and my group cannot find
any worthwhile
2012 Feb 25
0
Speex-with-header-byte and Google ASR
Greetings list,
I am working on a project on which we wish to use Speex with Google Automatic Speech
Recognition (ASR) to transcribe Speex audio being sent on to Google ASR service and return
us the text of the spoken audio in the Speex audio stream. However, Google ASR's Speex
support requires the off-standard Speex-with-header-byte format, and my group cannot find
any worthwhile
2005 Mar 13
0
Objet: New user of R on Mac OS X - Please help
> De: Depiereux Constant <constant.depiereux at aqte.be>
> Date: 12 mars 2005 09:44:08 GMT-05:00
> ?: r-help at stat.math.ethz.ch
> Objet: [R] New user of R on Mac OS X - Please help
>
>
> Brand new Mac OS X user, I am transfering my R stuffs from my windows
> machine.
>
> When porting some of my functions, I got messages such as :
>
> 2005-03-12
2004 Nov 18
0
R bug ?? (PR#7378)
--Apple-Mail-1-74005136
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=SHIFT_JIS;
format=flowed
Sometime, R generates following warning message.
To restore, I must press command+.
> edit(tolerance)
2004-11-18 11:07:27.003 R[420] *** NSTimer discarding exception=20
'NSInvalidArgumentException' (reason '*** -[NSTextView=20
2015 Aug 11
3
libfuzzer questions
First off, thanks -- this is a pretty great library and it feels like I'm
learning a lot. I'm getting some more experience with libfuzzer and
finding that I have a couple of questions:
- How does libfuzzer decide to write a new test file? What distinguishes
this one from all the other cases for which new test inputs were not
written? Must be something about the path taken through the
2015 Aug 11
3
libfuzzer questions
On Mon, Aug 10, 2015 at 8:08 PM, Kostya Serebryany <kcc at google.com> wrote:
>
>
> On Mon, Aug 10, 2015 at 5:53 PM, Brian Cain via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
>>
>> First off, thanks -- this is a pretty great library and it feels like I'm
>> learning a lot.
>>
>
> Thanks!
>
>
>> I'm getting some
2013 Mar 29
4
[Bug 57350] [nouveau, linux-3.7-rc] Broken cursor and kernel log swamped with trapped reads/writes from BAR/PFIFO_READ/FB
https://bugs.freedesktop.org/show_bug.cgi?id=57350
--- Comment #27 from Ankur <ankur at lipidity.com> ---
Bug is still present with linux-3.8.4, xf86-video-nouveau-1.0.7
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: