summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/CalcSpillWeights.cpp
diff options
context:
space:
mode:
authorYuchen Wu <yuchenericwu@hotmail.com>2013-12-03 00:24:44 +0000
committerYuchen Wu <yuchenericwu@hotmail.com>2013-12-03 00:24:44 +0000
commit8ad9b04ff2d8350ee6d0300d753f50913b850cb6 (patch)
tree5b137ee8cf0359d7b7078900633a37fed282e9c2 /llvm/lib/CodeGen/CalcSpillWeights.cpp
parentc3deeb5f89f0fa733e4e2c4d260d6f816d6b1b5e (diff)
downloadbcm5719-llvm-8ad9b04ff2d8350ee6d0300d753f50913b850cb6.tar.gz
bcm5719-llvm-8ad9b04ff2d8350ee6d0300d753f50913b850cb6.zip
llvm-cov: Added edge struct for traversal in block.
Added GCOVEdge which are simple structs owned by the GCOVFunction that stores the source and destination GCOVBlocks, as well as the counts. Changed GCOVBlocks so that it stores a vector of source GCOVEdges and a vector of destination GCOVEdges, rather than just the block number. Storing the block number was only useful for knowing the number of edges and for debug info. Using a struct is useful for traversing the edges, especially back edges which may be needed later. llvm-svn: 196175
Diffstat (limited to 'llvm/lib/CodeGen/CalcSpillWeights.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud