[PATCH] D50220: [DebugInfo] Refactor DbgInfoIntrinsic class hierarchy.
Hsiangkai Wang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 2 20:41:09 PDT 2018
HsiangKai created this revision.
HsiangKai added reviewers: aprantl, probinson, dblaikie.
Herald added a reviewer: deadalnix.
Herald added a subscriber: JDevlieghere.
In the past, DbgInfoIntrinsic has a strong assumption that these
intrinsics all have variables and expressions attached to them.
However, it is too strong to derive the class for other debug entities.
Now, it has problems for debug labels.
In order to make DbgInfoIntrinsic as a base class for 'debug info', I
create a class for 'variable debug info', DbgVariableIntrinsic.
DbgDeclareInst, DbgAddrIntrinsic, and DbgValueInst will be derived from it.
Repository:
rL LLVM
https://reviews.llvm.org/D50220
Files:
include/llvm-c/Core.h
include/llvm/IR/InstVisitor.h
include/llvm/IR/IntrinsicInst.h
include/llvm/Transforms/Utils/Local.h
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/IR/IntrinsicInst.cpp
lib/IR/Verifier.cpp
lib/Transforms/InstCombine/InstructionCombining.cpp
lib/Transforms/Scalar/ADCE.cpp
lib/Transforms/Scalar/Reassociate.cpp
lib/Transforms/Scalar/SROA.cpp
lib/Transforms/Utils/Local.cpp
lib/Transforms/Utils/LoopRotationUtils.cpp
lib/Transforms/Utils/PromoteMemoryToRegister.cpp
unittests/Transforms/Utils/Local.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50220.158906.patch
Type: text/x-patch
Size: 29253 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180803/1cbe29d9/attachment.bin>
More information about the llvm-commits
mailing list