Displaying 3 results from an estimated 3 matches for "createalteredbasicblock".
2012 Jun 21
3
[LLVMdev] Cloning block for newbie
...manipulating the VMap, the
metadatas, cloning each instruction one by one,...).
Is there a way to know if an instruction is a definition (so I could remove
or rename the value)?
Is there a VMap book for newbies?
Is there some documentations I forgot to look at?
Thank you.
virtual BasicBlock* createAlteredBasicBlock(BasicBlock * basicBlock, const
Twine & Name = "", Function * F = 0){
ValueToValueMapTy VMap;
BasicBlock * alteredBB = llvm::CloneBasicBlock (basicBlock,
VMap, Name, F);
return alteredBB;
}
-------------- next part --------------
An HTML attachmen...
2012 Jun 21
0
[LLVMdev] Cloning block for newbie
...d
>> > remove
>> > or rename the value)?
>> > Is there a VMap book for newbies?
>> > Is there some documentations I forgot to look at?
>> >
>> >
>> > Thank you.
>> >
>> >
>> >
>> > virtual BasicBlock* createAlteredBasicBlock(BasicBlock * basicBlock,
>> > const
>> > Twine & Name = "", Function * F = 0){
>> >
>> > ValueToValueMapTy VMap;
>> > BasicBlock * alteredBB = llvm::CloneBasicBlock (basicBlock,
>> > VMap, Name, F);
>>...
2012 Jun 22
1
[LLVMdev] Cloning block for newbie
...e the value)?
> >> > Is there a VMap book for newbies?
> >> > Is there some documentations I forgot to look at?
> >> >
> >> >
> >> > Thank you.
> >> >
> >> >
> >> >
> >> > virtual BasicBlock* createAlteredBasicBlock(BasicBlock * basicBlock,
> >> > const
> >> > Twine & Name = "", Function * F = 0){
> >> >
> >> > ValueToValueMapTy VMap;
> >> > BasicBlock * alteredBB = llvm::CloneBasicBlock
> (basicBlock,
> &g...