diff options
| author | Zhongxing Xu <xuzhongxing@gmail.com> | 2010-04-30 04:14:20 +0000 |
|---|---|---|
| committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2010-04-30 04:14:20 +0000 |
| commit | 685a1d818d5c42e7bd88cba2d49e2e95daa56f7a (patch) | |
| tree | 5375cdc3596512da00b235614789a98cee1b338b /llvm/lib/System/Threading.cpp | |
| parent | e7db86ddb01ce22de3923822cfcc98bdc48b494e (diff) | |
| download | bcm5719-llvm-685a1d818d5c42e7bd88cba2d49e2e95daa56f7a.tar.gz bcm5719-llvm-685a1d818d5c42e7bd88cba2d49e2e95daa56f7a.zip | |
Refactor the AnalysisConsumer to analyze functions after the whole
translation unit is parsed. This enables us to inline some calls when still
analyzing one function at a time.
Actions are classified into Function, CXXMethod, ObjCMethod,
ObjCImplementation.
This does not hurt performance much. The analysis time for sqlite3.c:
before:
real 17m52.440s
user 17m49.460s
sys 0m2.010s
after:
real 18m0.500s
user 17m56.900s
sys 0m2.330s
DisplayProgress option is broken now. -inine-call action is removed. It
will be reenabled in another form, perhaps as an indenpendant option.
llvm-svn: 102689
Diffstat (limited to 'llvm/lib/System/Threading.cpp')
0 files changed, 0 insertions, 0 deletions

