aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUtils.cpp
diff options
context:
space:
mode:
authorArtem Dergachev <artem.dergachev@gmail.com>2018-08-15 00:33:55 +0000
committerArtem Dergachev <artem.dergachev@gmail.com>2018-08-15 00:33:55 +0000
commit3ccf14eb8e17aa166a456f6fec527f4fa97ecc71 (patch)
tree0e6056c4a42258ee14df717722c55c87a0090db5 /llvm/lib/Transforms/Utils/LoopUtils.cpp
parent4ec8bca13e7fd756dfd1ebfe24ffa09f5554e505 (diff)
downloadllvm-3ccf14eb8e17aa166a456f6fec527f4fa97ecc71.zip
llvm-3ccf14eb8e17aa166a456f6fec527f4fa97ecc71.tar.gz
llvm-3ccf14eb8e17aa166a456f6fec527f4fa97ecc71.tar.bz2
[analyzer] Add support for constructors of arguments.
Once CFG-side support for argument construction contexts landed in r338436, the analyzer could make use of them to evaluate argument constructors properly. When evaluated as calls, constructors of arguments now use the variable region of the parameter as their target. The corresponding stack frame does not yet exist when the parameter is constructed, and this stack frame is created eagerly. Construction of functions whose body is unavailable and of virtual functions is not yet supported. Part of the reason is the analyzer doesn't consistently use canonical declarations o identify the function in these cases, and every re-declaration or potential override comes with its own set of parameter declarations. Also it is less important because if the function is not inlined, there's usually no benefit in inlining the argument constructor. Differential Revision: https://reviews.llvm.org/D49443 llvm-svn: 339745
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions