summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2013-10-29 00:53:03 +0000
committerManman Ren <manman.ren@gmail.com>2013-10-29 00:53:03 +0000
commitb987e517f2db1bcb780f460454079d6bea0c83e6 (patch)
treecf9418c9aca4211a98c650dac067b567ee9e372e /llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
parent90173df289f5c2c6eea1b118b941425f9ad7e54c (diff)
downloadbcm5719-llvm-b987e517f2db1bcb780f460454079d6bea0c83e6.tar.gz
bcm5719-llvm-b987e517f2db1bcb780f460454079d6bea0c83e6.zip
Debug Info: add a helper function createAndAddDIE.
It wraps around "new DIE(" and handles the bookkeeping part of the newly-created DIE. It adds the DIE to its parent, and calls insertDIE if necessary. It makes sure that bookkeeping is done at the earliest time and we should not see parentless DIEs if all constructions of DIEs go through this helper function. Later on, we can use an allocator for DIE allocation, and will only need to change createAndAddDIE instead of modifying all the "new DIE(". Reviewed off-list by Eric. llvm-svn: 193566
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/LoopVectorize.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud