llvm-6502/lib
Duncan P. N. Exon Smith fafe7a41a5 SelectionDAG: Stop using DIVariable::isInlinedFnArgument()
Instead of calling the somewhat confusingly-named
`DIVariable::isInlinedFnArgument()`, do the check directly here.
There's possibly a small functionality change here: instead of
`dyn_cast<>`'ing `DV->getScope()` to `MDSubprogram`, I'm looking up the
scope chain for the actual subprogram.  I suspect that this is a no-op
for function arguments so in practise there isn't a real difference.

I've also added a `FIXME` to check the `inlinedAt:` chain instead, since
I wonder if that would be more reliable than the
`MDSubprogram::describes()` function.

Since this was the only user of `DIVariable::isInlinedFnArgument()`,
delete it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234799 91177308-0d34-0410-b5e6-96231b3b80d8
2015-04-13 21:38:48 +00:00
..
Analysis [inliner] Don't inline a function if it doesn't have exactly the same 2015-04-13 18:43:38 +00:00
AsmParser Remove empty non-virtual destructors or mark them =default when non-public 2015-04-11 15:32:26 +00:00
Bitcode DebugInfo: Make MDSubprogram::getFunction() return Constant 2015-04-11 20:27:40 +00:00
CodeGen SelectionDAG: Stop using DIVariable::isInlinedFnArgument() 2015-04-13 21:38:48 +00:00
DebugInfo
ExecutionEngine [Orc] During module partitioning, rename anonymous and asm-private globals. 2015-04-12 20:05:51 +00:00
Fuzzer
IR SelectionDAG: Stop using DIVariable::isInlinedFnArgument() 2015-04-13 21:38:48 +00:00
IRReader
LineEditor
Linker
LTO
MC [MC] Write padding into fragments when -mc-relax-all flag is used 2015-04-12 23:42:25 +00:00
Object
Option
Passes
ProfileData
Support Fix SupportsSeeking detection on windows. 2015-04-13 11:09:48 +00:00
TableGen Remove empty non-virtual destructors or mark them =default when non-public 2015-04-11 15:32:26 +00:00
Target Expand ADDO/SUBO on Hexagon 2015-04-13 20:37:01 +00:00
Transforms StripSymbols: Use DIGlobalVariable::getConstant() instead of getGlobal() 2015-04-13 20:13:30 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile