[LLVMdev] About writing a modulePass in addPreEmitPass() for NVPTX

Antony Yu swpenim at gmail.com
Tue Jun 25 08:09:30 PDT 2013


Oops! No need of Call Graph!
In fact, what I want to do is to find which function is the kernel function
and which function is called by that kernel. Since OpenCL will make all
functions called by kernels inline, I can use function attribute: Noinline
to distinguish them.

Sorry for bothering you.

Antony Yu



--
View this message in context: http://llvm.1065342.n5.nabble.com/About-writing-a-modulePass-in-addPreEmitPass-for-NVPTX-tp58701p58839.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.



More information about the llvm-dev mailing list