Displaying 3 results from an estimated 3 matches for "mcbasicblock".
Did you mean:
basicblock
2014 Oct 30
2
[LLVMdev] Emit a jump instruction to a place inside basicblock
...useful to you, to make
> sure a basic block is starting at the exact place you want to jump.
>
> Best regards,
> Robin
>
Thanks you all! I'm looking at splitBasicBlock and trying to use that.
BTW, is there a way at lower level of LLVM that can implement this
functionality? E.g. MCBasicBlock or MCInst?
Sincerely,
Xiaoguang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141030/78d378da/attachment.html>
2014 Oct 30
2
[LLVMdev] Emit a jump instruction to a place inside basicblock
...exact place you want to jump.
>>>
>>> Best regards,
>>> Robin
>>>
>>
>> Thanks you all! I'm looking at splitBasicBlock and trying to use that.
>> BTW, is there a way at lower level of LLVM that can implement this
>> functionality? E.g. MCBasicBlock or MCInst?
>>
>>
> You are unlikely to want to do this at the MC level, maybe the MI level.
> What are you trying to accomplish?
>
> -eric
>
Thanks for the answer. I want to construct a table which can jump to the
address after a call instruction. And replace the call/ret...
2014 Oct 29
4
[LLVMdev] Emit a jump instruction to a place inside basicblock
Hi all,
I'm a beginner in LLVM. Currently, I want to implement a pass that
generates a jump table. The entry in that table is a jump to some place
(may be an instruction) in a basic block.
I'm reading the JumpTable code in llvm 3.5, there is a table which contains
jump entries to functions. In AsmPrinter::doFinalization function from file
lib/CodeGen/AsmPrinter/AsmPrinter.cpp, it gets a