Displaying 20 results from an estimated 50 matches for "rasha".
Did you mean:
sasha
2013 Aug 14
3
[LLVMdev] BranchInst comparison
Your question isn't clear; please restate what specifically isn't working.
-Eli
On Wed, Aug 14, 2013 at 11:57 AM, Rasha Omar <rasha.sala7 at gmail.com> wrote:
> or like this
>
> %cmp4 = icmp eq i32 %rem, 0
>
> br i1 %cmp4, label %if.then5, label %if.else7
>
>
> On 14 August 2013 20:08, Rasha Omar <rasha.sala7 at gmail.com> wrote:
>
>> Hi All,
>>
>> How cou...
2013 Aug 15
0
[LLVMdev] BranchInst comparison
...en
br i1 %cmp1, label %if.then, label %if.else
Thanks for your help
On 14 August 2013 21:36, Eli Friedman <eli.friedman at gmail.com> wrote:
> Your question isn't clear; please restate what specifically isn't working.
>
> -Eli
>
> On Wed, Aug 14, 2013 at 11:57 AM, Rasha Omar <rasha.sala7 at gmail.com>wrote:
>
>> or like this
>>
>> %cmp4 = icmp eq i32 %rem, 0
>>
>> br i1 %cmp4, label %if.then5, label %if.else7
>>
>>
>> On 14 August 2013 20:08, Rasha Omar <rasha.sala7 at gmail.com> wrote:
>>
>...
2013 Jun 06
3
[LLVMdev] CFG of a function
....com> wrote:
> Map every basic block from the CFG to a set of integers. The successors
> from the CFG can be used to make the edges in your simplified graph. The
> pair (Callee,Caller) can link the CFG-s between them in a larger CFG-like.
>
>
> On Wed, Jun 5, 2013 at 11:03 PM, Rasha Omar <rasha.sala7 at gmail.com> wrote:
>
>> What do you mean by mapping to integers?
>>
>>
>> On 5 June 2013 22:32, Alexandru Ionut Diaconescu <
>> alexandruionutdiaconescu at gmail.com> wrote:
>>
>>> Why you don't map the basic blocks...
2013 Aug 14
2
[LLVMdev] BranchInst comparison
Hi All,
How could I use BranchInst to implement for example
br label %if.else7
br label %if.then5
br i1 %cmp4, label %if.then5, label %if.else7
I can use BranchInst for only one instruction but how could I compare
between two branches
Thanks
--
* Rasha Salah Omar
Msc Student at E-JUST
Demonestrator at Faculty of Computers and Informatics
Benha University*
* e-mail: rasha.omar at ejust.edu.eg*
P* Please consider the environment before printing this email.*
-------------- next part --------------
An HTML attachment was scrubbe...
2013 Jun 07
1
[LLVMdev] CFG of a function
...ic block. Be aware
> because basic block cannot have the same name (getName) in the same
> function, but they might have the same name being in different functions.
> Therefore, take into account the function name as well.
>
> Good luck
>
>
> On Thu, Jun 6, 2013 at 10:55 AM, Rasha Omar <rasha.sala7 at gmail.com> wrote:
>
>> I think I understood that, but what I mean is what is the function
>> responsible to do mapping is it MapValue() in ValueMapper.h?
>>
>> Thanks for your help
>>
>>
>>
>> On 6 June 2013 09:54, Alexan...
2013 Jun 06
0
[LLVMdev] CFG of a function
...alias an int identifier for each basic block. Be aware because
basic block cannot have the same name (getName) in the same function, but
they might have the same name being in different functions. Therefore, take
into account the function name as well.
Good luck
On Thu, Jun 6, 2013 at 10:55 AM, Rasha Omar <rasha.sala7 at gmail.com> wrote:
> I think I understood that, but what I mean is what is the function
> responsible to do mapping is it MapValue() in ValueMapper.h?
>
> Thanks for your help
>
>
>
> On 6 June 2013 09:54, Alexandru Ionut Diaconescu <
> alexa...
2013 Aug 14
0
[LLVMdev] BranchInst comparison
or like this
%cmp4 = icmp eq i32 %rem, 0
br i1 %cmp4, label %if.then5, label %if.else7
On 14 August 2013 20:08, Rasha Omar <rasha.sala7 at gmail.com> wrote:
> Hi All,
>
> How could I use BranchInst to implement for example
> br label %if.else7
> br label %if.then5
> br i1 %cmp4, label %if.then5, label %if.else7
>
> I can use BranchInst for only one instruction but how could I co...
2013 Jun 05
2
[LLVMdev] CFG of a function
...to integers?
On 5 June 2013 22:32, Alexandru Ionut Diaconescu <
alexandruionutdiaconescu at gmail.com> wrote:
> Why you don't map the basic blocks to integers and apply algorithms on the
> integer graph? And construct your new CFG.
>
>
> On Wed, Jun 5, 2013 at 10:27 PM, Rasha Omar <rasha.sala7 at gmail.com> wrote:
>
>> How could I keep the function CFG in another memory space.
>> I want to be able to change one of the old CFG , but keeping the original
>> one in another space.
>> Thanks
>>
>> --
>> *Rasha Salah Omar
>...
2013 Jun 06
0
[LLVMdev] CFG of a function
Map every basic block from the CFG to a set of integers. The successors
from the CFG can be used to make the edges in your simplified graph. The
pair (Callee,Caller) can link the CFG-s between them in a larger CFG-like.
On Wed, Jun 5, 2013 at 11:03 PM, Rasha Omar <rasha.sala7 at gmail.com> wrote:
> What do you mean by mapping to integers?
>
>
> On 5 June 2013 22:32, Alexandru Ionut Diaconescu <
> alexandruionutdiaconescu at gmail.com> wrote:
>
>> Why you don't map the basic blocks to integers and apply algorithm...
2013 Jun 10
0
[LLVMdev] CFG of a function
Hi Rasha,
First, you should not erase that cloned function XD the idea is that your
pass should create that new function, add it to a module (that could be the
same one where the original function is, or another one that you could be
creating if that is the case), and then just let it be: the pass manager...
2013 Jul 31
1
[LLVMdev] Instruction insertion By Module Pass
...newInst = new AllocaInst(Int32Type,"flag", p);
that works well
but I need to store the value of the variable too.
What's the method that could be used to store specific value??
On 30 July 2013 16:01, John Criswell <criswell at illinois.edu> wrote:
> On 7/30/13 7:44 AM, Rasha Omar wrote:
>
> Hi,
> I need to insert new instruction into every basic block like x=1
> or while loop
> I tried this code, but it doesn't work
>
> Type * Int32Type = IntegerType::getInt32Ty(getGlobalContext());
> AllocaInst* newInst = new AllocaInst(Int32Type,"...
2013 May 29
0
[LLVMdev] CloneFunctionInto() Error
...address to the new function? Is this real copying for the CFG or just
opaque one to do some work?
If it's not real copying, please I need a method that can help me in
copying the function in another with new pointer to another address.
Please I need answer urgent
Thanks
On 29 May 2013 10:14, Rasha Omar <rasha.sala7 at gmail.com> wrote:
> Dear All,
>
> I need your help urgently
> I have to copy the CFG of each function using CloneFunction or
> CloneFunctionInto.
> After I made the copy function. Print the basic blocks then get this error
> :
>
> While deletin...
2013 May 29
2
[LLVMdev] CloneFunctionInto() Error
...ArgTypes, F.getFunctionType()->isVarArg());
>Function *NewF = Function::Create(FTy, F.getLinkage(), F.getName());
> SmallVector<ReturnInst*, 8> Returns;
>CloneFunctionInto(NewF, (Function*) &F, VMap, false, Returns, "_", 0, 0);
Thanks in advance
--
*Rasha Salah Omar
Msc Student at E-JUST
Demonestrator at Faculty of Computers and Informatics
Benha University
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130529/eb457e30/attachment.html>
2013 Jul 30
2
[LLVMdev] Instruction insertion By Module Pass
...eToList(ValueSubClass *) [ValueSubClass =
llvm::Instruction, ItemParentClass = llvm::BasicBlock]: Assertion
`V->getParent() == 0 && "Value already in a container!!"' failed.
Is there a class I could use to insert while loop in Module Pass?
Thank you in advance
--
* Rasha Salah Omar
Msc Student at E-JUST
Demonestrator at Faculty of Computers and Informatics
Benha University*
* e-mail: rasha.omar at ejust.edu.eg*
P* Please consider the environment before printing this email.*
-------------- next part --------------
An HTML attachment was scrubbe...
2013 Jun 05
2
[LLVMdev] CFG of a function
How could I keep the function CFG in another memory space.
I want to be able to change one of the old CFG , but keeping the original
one in another space.
Thanks
--
*Rasha Salah Omar
Msc Student at E-JUST
Demonestrator at Faculty of Computers and Informatics
Benha University
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130605/3868aa58/attachment.html>
2013 Jul 30
0
[LLVMdev] Instruction insertion By Module Pass
On 7/30/13 7:44 AM, Rasha Omar wrote:
> Hi,
> I need to insert new instruction into every basic block like x=1
> or while loop
> I tried this code, but it doesn't work
>
> Type * Int32Type = IntegerType::getInt32Ty(getGlobalContext());
> AllocaInst* newInst = new AllocaInst(Int32Type,"flag&quo...
2013 Jun 05
0
[LLVMdev] CFG of a function
Why you don't map the basic blocks to integers and apply algorithms on the
integer graph? And construct your new CFG.
On Wed, Jun 5, 2013 at 10:27 PM, Rasha Omar <rasha.sala7 at gmail.com> wrote:
> How could I keep the function CFG in another memory space.
> I want to be able to change one of the old CFG , but keeping the original
> one in another space.
> Thanks
>
> --
> *Rasha Salah Omar
> Msc Student at E-JUST
> Dem...
2013 Jul 25
2
[LLVMdev] Error for AllocaInst and Instruction
...nstruction* newInst = new Instruction(Int32Type, 0, "flag", Bb);
Bb->getInstList().push_back(newInst);
error: allocating an object of abstract class type 'llvm::Instruction'
Instruction* newInst = new Instruction(Int32Type, 0, "flag",
Bb);
--
*Rasha Salah Omar
Msc Student at E-JUST
Demonestrator at Faculty of Computers and Informatics
Benha University
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130725/beabb5f5/attachment.html>
2013 Jul 23
2
[LLVMdev] Steps to addDestination
...es the module's symbol
table"
from Value.h source code
3- I'm not sure about "select" instruction, you mean that the address is
the new destination (basic block)that will be added
Thanks
On 23 July 2013 16:38, Tim Northover <t.p.northover at gmail.com> wrote:
> Hi Rasha,
>
> > I need to addDestination to some basic blocks
>
> Just to make sure there's no confusion here: you really are trying to
> create code like:
>
> define i32 @foo(i1 %tst) {
> %Address = select i1 %tst, i8* blockaddress(@foo, %true), i8*
> blockaddress(@foo,...
2013 Aug 12
2
[LLVMdev] TerminatorInst and changing successor
Hi,
Is changing the successors for each basic blocks means by default that the
Terminator Instruction will be changed or this is another problem should be
solved?
If case 2 please tell me how to change it according to the new successors?
Thanks
--
* Rasha Salah Omar
Msc Student at E-JUST
Demonestrator at Faculty of Computers and Informatics
Benha University*
* e-mail: rasha.omar at ejust.edu.eg*
P* Please consider the environment before printing this email.*
-------------- next part --------------
An HTML attachment was scrubbe...