2 years ago
#57206
David Livshin
getting providers of a llvm instruction
Analyzing llvm IR file ( .bc or .ll ) for every instruction it is possible, using the provided functions, to determine the list of instructions that consume it result. What about the other way around – are there llvm functions that allow for every instruction ( or better – for every operand of an instruction ) to determine the list of instructions that provide it with the necessary resources. Being able to know the users of the result of an instruction it is possible to calculate such a data. The question is if it is already calculated and, if yes, how to obtain it.
llvm
llvm-ir
0 Answers
Your Answer