Displaying 2 results from an estimated 2 matches for "resultblock".
Did you mean:
result_loc
2013 Jul 25
0
[LLVMdev] Steps to addDestination
Hi Rasha,
> for(rit=Result.begin();rit!=Result.end();++rit)
> {
> Value* Address= BlockAddress::get (*rit);
>
> IndirectBrInst *IBI = IndirectBrInst::Create(Address, Result.size(),i->getTerminator() );
> IBI->addDestination((*rit));
> }
This would be creating a block looking something like:
[ Do stuff ]
indirectbr i8*
2013 Jul 24
2
[LLVMdev] Steps to addDestination
Hi
1-
for(rit=Result.begin();rit!=Result.end();++rit)
{
Value* Address= BlockAddress::get (*rit);
IndirectBrInst *IBI = IndirectBrInst::Create(Address,
Result.size(),i->getTerminator() );
IBI->addDestination((*rit));
}
I tried this code , but the needed destination wasn't added.
2- About LLVM backend
$ llc -march=cpp example_file.ll -o
I think it