[LLVMdev] jump tables

Dale Johannesen dalej at apple.com
Mon Aug 13 19:25:32 PDT 2007


On Aug 13, 2007, at 4:58 PM, Fernando Magno Quintao Pereira wrote:

>
> Guys,
>
>      two questions:
>
>      1) where, in the LLVM source tree, is the code that creates jump
> tables?
>
>      2) is it possible to change the destiny of a jump table with a
> MachineFunction pass?

1.  They're originally created by front ends, such as llvm-gcc.
2.  Sure, see ReplaceMBBInJumpTables.





More information about the llvm-dev mailing list