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

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

ubuntu - Bash Script to Check That Files Are Being Created -