search for: indirectaddr

Displaying 1 result from an estimated 1 matches for "indirectaddr".

Did you mean: indirect_addr
2008 Jun 23
1
[LLVMdev] Advice - llvm as binary to binary translator ?
...o the address stored in legacy register B1. I can represent register B1 as a local variable: %B1 = alloca i32 ; storage for emulated register B1 I can generate IR corresponding to legacy machine code that calculates the value to store in %B1. I can generate the IR to store in %B1. store i32 %indirectAddr, i32* %B1 Now, how do I generate an IR "br" instruction to the calculated address in %B1 ? I don't have a suitable destination label in my IR. I can't create a block for the destination address if the address is calculated by the legacy code (can I?) Am I off to the wrong...