[LLVMdev] What's the BasicInliner for?

Matthijs Kooijman matthijs at stdin.nl
Thu May 8 04:17:36 PDT 2008


Hi all,

I was looking around in the lib/Transforms/Utils dir and ran into the
BasicInliner class. Seeing a large similarity between it and the SimpleInliner
Pass, I grep'd around for BasicInliner, but it doesn't seem to be used.

The difference between them seems that SimpleInliner is a pass that looks at
all functions, while BasicInliner is not a pass and looks only at explicitely
given functions. They do however both declare an inline-threshold commandline
parameter, which doesn't seem like a good idea.

Is BasicInliner deprecated and forgotten, or is it used by someone externally?

Gr.

Matthijs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080508/d191c892/attachment.sig>


More information about the llvm-dev mailing list