Refactor memory access getting code in ScopStmt.
authorHongbin Zheng <etherzhhb@gmail.com>
Sat, 29 Jun 2013 06:31:39 +0000 (06:31 +0000)
committerHongbin Zheng <etherzhhb@gmail.com>
Sat, 29 Jun 2013 06:31:39 +0000 (06:31 +0000)
commitb5f24a665ea717badb9e9574c78c111cff3ec656
tree9e3ed879dca9f21b92a0d625aac1af2a5e35508c
parentf4adf0fc44c9759a23f920863d9500ab9f281b69
Refactor memory access getting code in ScopStmt.

1. Do not allow creating new memory access record in the InstructionToAccess map
   on the fly in function getAccessFor.
2. Do not allow user to modify the memory accesses returned by getAccessFor
   during the code generation process.

llvm-svn: 185253
polly/include/polly/ScopInfo.h
polly/lib/CodeGen/BlockGenerators.cpp