]> granicus.if.org Git - clang/commit
CodeGen: Introduce CodeGenPGO::setCurrentRegionUnreachable
authorJustin Bogner <mail@justinbogner.com>
Mon, 13 Jan 2014 21:24:18 +0000 (21:24 +0000)
committerJustin Bogner <mail@justinbogner.com>
Mon, 13 Jan 2014 21:24:18 +0000 (21:24 +0000)
commitd1361b32e7934a5cfaffffa2bad75c25bba08e88
tree1a17e8346d776363b5673975fe78576b621f0ac9
parentf1c6bf3d4bdcc6f5ff0e4218db985b65aca782d3
CodeGen: Introduce CodeGenPGO::setCurrentRegionUnreachable

There are a number of places where we do PGO.setCurrentRegionCount(0)
directly after an unconditional branch. Give this operation a name so
that it's clearer why we're doing this.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199138 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCall.cpp
lib/CodeGen/CGStmt.cpp
lib/CodeGen/CodeGenPGO.h