search for: esi7

Displaying 2 results from an estimated 2 matches for "esi7".

Did you mean: esi
2009 Jun 30
0
[LLVMdev] Pinning registers in LLVM
...si esi1 = load esi {esi2, dead} = call @printf(esi1, "register: %d\n", esi1); store esi2 -> esi esi3 = load esi esi4 = esi3*2 store esi4 -> esi esi5 = load esi {esi6, dead} = call @printf(esi5, "register: %d\n", esi5); store esi6 -> esi esi7 = load esi ret {esi7, 0} } Each of printf and main would be marked with the custom CC. After running mem2reg on this, you'd get: {i32,i32} @main(i32 %in_esi) { {esi2, dead} = call @printf(3, "register: %d\n", 3); esi4 = esi2*2 {esi6, dead} = call @printf(esi4, "r...
2009 Jun 29
4
[LLVMdev] Pinning registers in LLVM
Hi all, I'm working on using LLVM as a back-end for an existing compiler (GHC Haskell compiler) and one of the problems I'm having is pinning a global variable to a actual machine register. I've seen mixed terminology for this feature/idea, so what I mean by this is that I want to be able to put a global variable into a specified hardware register. This declaration should