summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/Module.cpp
diff options
context:
space:
mode:
authorHaicheng Wu <haicheng@codeaurora.org>2016-01-23 06:52:41 +0000
committerHaicheng Wu <haicheng@codeaurora.org>2016-01-23 06:52:41 +0000
commitdd5e9d2159385e2f195c5977871ccae310f4a258 (patch)
treed13a525090f2c185c741647734f7112c93436faa /lldb/source/Core/Module.cpp
parent327bca776c3e0c91af08ba715f390c678f6ac0ad (diff)
downloadbcm5719-llvm-dd5e9d2159385e2f195c5977871ccae310f4a258.tar.gz
bcm5719-llvm-dd5e9d2159385e2f195c5977871ccae310f4a258.zip
[LIR] Add support for structs and hand unrolled loops
Now LIR can turn following codes into memset: typedef struct foo { int a; int b; } foo_t; void bar(foo_t *f, unsigned n) { for (unsigned i = 0; i < n; ++i) { f[i].a = 0; f[i].b = 0; } } void test(foo_t *f, unsigned n) { for (unsigned i = 0; i < n; i += 2) { f[i] = 0; f[i+1] = 0; } } llvm-svn: 258620
Diffstat (limited to 'lldb/source/Core/Module.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud