Displaying 20 results from an estimated 73 matches for "baah".
Did you mean:
bah
2012 Oct 04
2
[LLVMdev] question
That's because instructions have a location associated with them, not
a compile unit.
-eric
On Thu, Oct 4, 2012 at 12:46 PM, George Baah <georgebaah at gmail.com> wrote:
> I used DILocation instead of DICompileUnit and it works. Hmmm, interesting.
>
> George
>
> On Thu, Oct 4, 2012 at 1:33 AM, George Baah <georgebaah at gmail.com> wrote:
>>
>> Here is the code. I am running on llvm 3.1 on Lion...
2012 Oct 04
2
[LLVMdev] question
...e
On Wed, Oct 3, 2012 at 12:40 PM, Eric Christopher <echristo at gmail.com>wrote:
> Without knowing the code that you've written and the IR that you're
> running on I'm
> not sure what I can do to help you.
>
> -eric
>
> On Wed, Oct 3, 2012 at 9:32 AM, George Baah <georgebaah at gmail.com> wrote:
> > Yeah, It looks like I am doing exactly what's in Dwarf*.cpp files, yet I
> am
> > getting blanks.
> >
> > George
> >
> > On Tue, Oct 2, 2012 at 2:10 PM, Eric Christopher <echristo at gmail.com>
> wrote:
&...
2012 Oct 05
1
[LLVMdev] question
...;s not going to tell you that you goofed.
If you _did_ have a CU metadata node, then DICompileUnit's getDirectory() would
work just fine. But you don't.
--paulr
________________________________
From: llvmdev-bounces at cs.uiuc.edu [llvmdev-bounces at cs.uiuc.edu] on behalf of George Baah [georgebaah at gmail.com]
Sent: Thursday, October 04, 2012 7:19 PM
To: Eric Christopher
Cc: LLVM Developers Mailing List
Subject: Re: [LLVMdev] question
Hmmm, but it has a getDirectory function.
-G
On Thu, Oct 4, 2012 at 3:50 PM, Eric Christopher <echristo at gmail.com<mailto:echristo at g...
2012 Oct 05
0
[LLVMdev] question
Hmmm, but it has a getDirectory function.
-G
On Thu, Oct 4, 2012 at 3:50 PM, Eric Christopher <echristo at gmail.com> wrote:
> That's because instructions have a location associated with them, not
> a compile unit.
>
> -eric
>
> On Thu, Oct 4, 2012 at 12:46 PM, George Baah <georgebaah at gmail.com> wrote:
> > I used DILocation instead of DICompileUnit and it works. Hmmm,
> interesting.
> >
> > George
> >
> > On Thu, Oct 4, 2012 at 1:33 AM, George Baah <georgebaah at gmail.com>
> wrote:
> >>
> >> Here i...
2012 Oct 04
0
[LLVMdev] question
I used DILocation instead of DICompileUnit and it works. Hmmm, interesting.
George
On Thu, Oct 4, 2012 at 1:33 AM, George Baah <georgebaah at gmail.com> wrote:
> Here is the code. I am running on llvm 3.1 on Lion (Mac 10.7.4)
>
> *string getFileDirectory*(*const* Instruction &I){
>
> MDNode *MD = I.getMetadata("dbg");
>
> DICompileUnit compileUnit(MD);
>
> return compil...
2012 Oct 03
2
[LLVMdev] question
Yeah, It looks like I am doing exactly what's in Dwarf*.cpp files, yet I am
getting blanks.
George
On Tue, Oct 2, 2012 at 2:10 PM, Eric Christopher <echristo at gmail.com> wrote:
> On Tue, Oct 2, 2012 at 11:00 AM, George Baah <georgebaah at gmail.com> wrote:
> > Hi Guys,
> > How does one get the directory of the compilation unit in llvm?
> > I am using DICompileUnit but for some reason I am getting blanks
> > for the directory name. Here is my code ...
> >
> > MDNode *MD = I.g...
2013 May 06
2
[LLVMdev] convert switch stmts to If statements
...ments into if statements.
For example, if I have code with switch statements then running the pass
will convert all switches to ifs in the bytecode.
George
On Mon, May 6, 2013 at 4:20 PM, Hal Finkel <hfinkel at anl.gov> wrote:
> ----- Original Message -----
> > From: "George Baah" <georgebaah at gmail.com>
> > To: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu>
> > Sent: Monday, May 6, 2013 3:09:33 PM
> > Subject: [LLVMdev] convert switch stmts to If statements
> >
> >
> >
> >
> > Hi All, Is...
2012 Oct 03
0
[LLVMdev] question
Without knowing the code that you've written and the IR that you're
running on I'm
not sure what I can do to help you.
-eric
On Wed, Oct 3, 2012 at 9:32 AM, George Baah <georgebaah at gmail.com> wrote:
> Yeah, It looks like I am doing exactly what's in Dwarf*.cpp files, yet I am
> getting blanks.
>
> George
>
> On Tue, Oct 2, 2012 at 2:10 PM, Eric Christopher <echristo at gmail.com> wrote:
>>
>> On Tue, Oct 2, 2012 at...
2013 May 06
0
[LLVMdev] convert switch stmts to If statements
There is also the LowerSwitch pass that converts switch instructions to a sequence of branches.
On May 6, 2013, at 1:24 PM, George Baah <georgebaah at gmail.com> wrote:
> I mean an llvm Pass that transforms switch statements into if statements. For example, if I have code with switch statements then running the pass will convert all switches to ifs in the bytecode.
>
> George
>
>
> On Mon, May 6, 2013 at...
2011 Mar 31
1
[LLVMdev] inserting exit function into IR
Thank you very much guys, I really appreciate your help.
George
On Thu, Mar 31, 2011 at 3:58 PM, Frits van Bommel <fvbommel at gmail.com>wrote:
> On Thu, Mar 31, 2011 at 9:57 PM, George Baah <georgebaah at gmail.com> wrote:
> > I did M.getOrInsertFunction and called the exit function with .
> >
> > IRBuilder<> builder = IRBuilder<>(...);
> >
> > Value *one = ConstantInt::get(Type::getInt32Ty(M.getContext()),1);
> >
> > builder...
2012 Jul 26
3
[LLVMdev] java frontend
Hi Folks,
Is a java frontend still being developed for llvm?
George
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120726/95b28fc7/attachment.html>
2012 Jul 26
0
[LLVMdev] java frontend
On 26 July 2012 08:45, George Baah <georgebaah at gmail.com> wrote:
> Hi Folks,
> Is a java frontend still being developed for llvm?
Closest thing I know is gcj + dragonegg, but it is a lot of work to be
done in gcj before it works with dragonegg.
> George
>
Cheers,
Rafael
2012 Aug 21
3
[LLVMdev] Fwd: DomTreeNode
On 08/21/2012 10:35 AM, George Baah wrote:
> That is what I don't understand. This symbol is defined in Dominators.h,
> which I include
> in my file. I don't understand why I am getting this error. Here is my
> opt command,
>
> "opt -load LLVMMyDomPass.dylib -mdp < test.bc > test.d.bc"
It ma...
2012 Aug 21
2
[LLVMdev] Fwd: DomTreeNode
On 08/21/2012 01:44 PM, George Baah wrote:
> When I compile llvm in release mode, the problem goes away! I don't
> understand?
Interesting. I have no idea what is going on, but it would be
interesting to investigate that.
Tobi
2011 Mar 31
2
[LLVMdev] inserting exit function into IR
...one,"tmp4");
"Instruction has a name, but provides a void value!
%tmp4 = call void @exit(i32 1)
Broken module found, compilation aborted! "
On Thu, Mar 31, 2011 at 3:51 PM, Frits van Bommel <fvbommel at gmail.com>wrote:
> On Thu, Mar 31, 2011 at 9:31 PM, George Baah <georgebaah at gmail.com> wrote:
> > Hi Joshua,
> > I have a function foo and I want to insert exit(0) at the end of
> foo.
> > The problem is M.getFunction returns null, which is understandable. I am
> not
> > sure what to do. Below is the code snippet.
&g...
2011 Mar 29
3
[LLVMdev] IR in SSA form?
Hi All,
When I run the following command
llvm-gcc -03 -emit-llvm test.cpp -c -o test.bc or llvm-gcc -emit-llvm
test.cpp -c -o test.bc
on the program test.cpp, the IR representation is not in SSA form.
I do not see any phi functions.
program: test.cpp
int main(int argc, char **argv)
{
int a[2],i,j;
for(i=0;i<2;i++)
{
a[i] = i;
}
return a[1];
}
Any clarifications will be
2011 May 23
1
[LLVMdev] library functions
...nitD1Ev to void (i8*)*),
i8* getelementptr
inbounds (%"class.std::ios_base::Init"* @_ZStL8__ioinit, i32 0, i32 0), i8*
bitcast (i8** @__dso_handle to i8*))
ret void
}
On Mon, May 23, 2011 at 2:24 PM, John Criswell <criswell at illinois.edu>wrote:
> On 5/23/11 1:05 PM, George Baah wrote:
>
> Hi,
> I am writing a pass which is supposed to ignore library functions. Is
> there a way to
> distinguish functions declared and defined by a developer from non-local
> functions (library functions)?
> Thanks.
>
>
> There is no reliable way to do this, but...
2011 Mar 31
3
[LLVMdev] inserting exit function into IR
...Hi George,
>
> Could you be a more specific about what you are trying to do, how you are
> trying to do it, and what is failing. A couple of relevant snippets of code
> would do wonders in helping you.
>
> Thanks,
>
> Joshua
>
> On Wed, Mar 30, 2011 at 3:59 PM, George Baah <georgebaah at gmail.com> wrote:
>
>> Hi Everyone,
>> I am trying to insert an exit function into my IR.
>> However, I thought I can get access to exit by using
>> Module.getOrInsertFunction or Module.getFunction. However, I am
>> getting a null value retu...
2011 Mar 29
0
[LLVMdev] IR in SSA form?
On 3/29/11 12:26 PM, George Baah wrote:
> Hi All,
> When I run the following command
> llvm-gcc -03 -emit-llvm test.cpp -c -o test.bc or llvm-gcc -emit-llvm
> test.cpp -c -o test.bc
>
> on the program test.cpp, the IR representation is not in SSA form.
> I do not see any phi functions.
Actually, it is in S...
2011 Mar 31
0
[LLVMdev] inserting exit function into IR
On Thu, Mar 31, 2011 at 9:31 PM, George Baah <georgebaah at gmail.com> wrote:
> Hi Joshua,
> I have a function foo and I want to insert exit(0) at the end of foo.
> The problem is M.getFunction returns null, which is understandable. I am not
> sure what to do. Below is the code snippet.
> void foo(int argc, char* ar...