1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/lib/Transforms
Haicheng Wu 9d77533d54 [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
2016-01-23 06:52:41 +00:00
..
Hello Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
InstCombine AMDGPU: Rename intrinsics to use amdgcn prefix 2016-01-22 21:30:34 +00:00
Instrumentation [PGO] IR level instrumentation of indirect call value profiling 2016-01-21 18:11:44 +00:00
IPO [PruneEH] Don't try to insert a terminator after another terminator 2016-01-23 06:00:44 +00:00
ObjCARC Refactor: Simplify boolean conditional return statements in lib/Transforms/ObjCARC 2015-12-28 16:19:08 +00:00
Scalar [LIR] Add support for structs and hand unrolled loops 2016-01-23 06:52:41 +00:00
Utils move function definitions so we don't need separate declarations ; NFCI 2016-01-21 23:38:43 +00:00
Vectorize [LIR] Add support for structs and hand unrolled loops 2016-01-23 06:52:41 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile