For live variable follow this link
https://en.m.wikipedia.org/wiki/Live_variable_analysis
For dead coded elimination follow this link
https://en.m.wikipedia.org/wiki/Dead_code_elimination
64.3k questions
77.9k answers
244k comments
80.0k users