LLVM: Check if physical register is live -



LLVM: Check if physical register is live -

how can find out whether @ given time physical cpu register contains "used" value, ie if live? using llvm 3.4 c++ api.

short answer: cannot. long answer: llvm ir represents virtual machine infinite number of typed registers. there no info how turned physical registers before codegeneration.

register liveness info available within backend after register allocation performed.

llvm llvm-c++-api

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -