Add flags for function attributes and a GraphTrait implementation for the Index. The information added in this patch will allow SCC's to be created for the index and will be used in optimization and analysis passes.
Details
Details
Diff Detail
Diff Detail
Event Timeline
include/llvm/IR/ModuleSummaryIndex.h | ||
---|---|---|
381 | I don't think creating an empty FunctionSummary is correct, however I have it here right now because there has to be some way of handling external functions that aren't in the index (i.e. library functions like printf, etc). | |
844 | I'm not sure that this is the proper way to handle a function that have any calls. Should this function just be return F;? |
I don't think creating an empty FunctionSummary is correct, however I have it here right now because there has to be some way of handling external functions that aren't in the index (i.e. library functions like printf, etc).