output runtime library calls in IR

Hi,

Is there a way to get clang to add runtime library calls into the IR…? I know the LLVM backends handle and override runtime calls, but I was hoping this may be possible earlier on? Maybe using compiler-rt as a default?

Cheers,
Sam

Sam Parker
Research Student
Electronic Systems Design Group
Loughborough University
s.parker3@lboro.ac.uk