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 Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
ExecutionEngine [Orc] During module partitioning, rename anonymous and asm-private globals. 2015-04-12 20:05:51 +00:00
Fuzzer Removing a spurious space; NFC. 2015-04-06 16:09:13 +00:00
IR SelectionDAG: Stop using DIVariable::isInlinedFnArgument() 2015-04-13 21:38:48 +00:00
IRReader
LineEditor
Linker IR: Stop using DIDescriptor::is*() and auto-casting 2015-04-06 23:18:49 +00:00
LTO Simplify use of formatted_raw_ostream. 2015-04-09 21:06:08 +00:00
MC [MC] Write padding into fragments when -mc-relax-all flag is used 2015-04-12 23:42:25 +00:00
Object Remove more superfluous .str() and replace std::string concatenation with Twine. 2015-03-30 15:42:36 +00:00
Option Remove more superfluous .str() and replace std::string concatenation with Twine. 2015-03-30 15:42:36 +00:00
Passes
ProfileData Re-sort includes with sort-includes.py and insert raw_ostream.h where it's used. 2015-03-23 19:32:43 +00:00
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