Relative Content

Tag Archive for c++clangllvm

Obtain LLVM IR after linking with C++ STD library?

I am trying to analyse instruction count of a C++ program using LLVM passes. Issue is the when i use function from standard library like sqrt() from cmath, the LLVM IR does not contain the instructions from sqrt() but instead represents it like