summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveVariables.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-03-29 18:56:03 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-03-29 18:56:03 +0000
commit40b44e1d0a2beafb86d402bbed521423d473aa81 (patch)
tree3380f76cf52ca5654c93b27da6b4e20bd2d9a218 /llvm/lib/CodeGen/LiveVariables.cpp
parent89daa29fa610db912fbcef8c283ae8c40702a7dd (diff)
downloadbcm5719-llvm-40b44e1d0a2beafb86d402bbed521423d473aa81.tar.gz
bcm5719-llvm-40b44e1d0a2beafb86d402bbed521423d473aa81.zip
IR: Add DbgInfoIntrinsic::getVariableLocation
Create a common accessor, DbgInfoIntrinsic::getVariableLocation, which doesn't care about the type of debug info intrinsic. Use this to further unify the implementations of DbgDeclareInst::getAddress and DbgValueInst::getValue. Besides being a cleanup, I'm planning to use this to prepare DEBUG output without having to branch on the concrete type. llvm-svn: 264767
Diffstat (limited to 'llvm/lib/CodeGen/LiveVariables.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud