[LLVMdev] Re: how can I identify external functions?

Juan Nicolas Ruiz juanruiz at students.uiuc.edu
Fri Nov 22 17:53:00 PST 2002


G->isExternal(), sorry.

On Fri, 22 Nov 2002, Juan Nicolas Ruiz wrote:

> How do I recognize that the callee function for a Instruction::Call is
> external? I have:
>
> CallInst *CI = cast<CallInst>(Inst);
> Function *G = CI->getCalledFunction();
>
> nicolas
>
>
>

 Juan Nicolas Ruiz | Dept. of Computer Science
                   |     Univ. of Illinois
                   | #213 CSL, +1-217-244-1134




More information about the llvm-dev mailing list