llvm-6502/include/llvm/IR
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
..
Argument.h
AssemblyAnnotationWriter.h
Attributes.h
AutoUpgrade.h
BasicBlock.h Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
CallingConv.h
CallSite.h [CallSite] Use the injected base class name. NFC. 2015-04-10 16:02:34 +00:00
CFG.h
CMakeLists.txt
Comdat.h
Constant.h
ConstantFolder.h
ConstantRange.h
Constants.h Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
DataLayout.h
DebugInfo.h SelectionDAG: Stop using DIVariable::isInlinedFnArgument() 2015-04-13 21:38:48 +00:00
DebugInfoFlags.def
DebugInfoMetadata.h DebugInfo: Migrate DISubprogram::describes() to new hierarchy, NFC 2015-04-13 19:07:27 +00:00
DebugLoc.h
DerivedTypes.h
DiagnosticInfo.h
DiagnosticPrinter.h
DIBuilder.h DebugInfo: Introduce DIBuilder::replaceTemporary() 2015-04-11 19:04:09 +00:00
Dominators.h
Function.h Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
GetElementPtrTypeIterator.h
GlobalAlias.h
GlobalObject.h
GlobalValue.h Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
GlobalVariable.h Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
GVMaterializer.h
InlineAsm.h Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
InstIterator.h
InstrTypes.h Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
Instruction.def
Instruction.h Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
Instructions.h Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
InstVisitor.h
IntrinsicInst.h
Intrinsics.h
Intrinsics.td
IntrinsicsAArch64.td
IntrinsicsARM.td
IntrinsicsBPF.td
IntrinsicsHexagon.td
IntrinsicsMips.td
IntrinsicsNVVM.td
IntrinsicsPowerPC.td Add LLVM support for remaining integer divide and permute instructions from ISA 2.06 2015-04-09 23:54:37 +00:00
IntrinsicsR600.td
IntrinsicsSystemZ.td
IntrinsicsX86.td
IntrinsicsXCore.td
IRBuilder.h
IRPrintingPasses.h
LegacyPassManager.h Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
LegacyPassManagers.h
LegacyPassNameParser.h Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
LLVMContext.h
Mangler.h
MDBuilder.h
Metadata.def
Metadata.h Remove empty non-virtual destructors or mark them =default when non-public 2015-04-11 15:32:26 +00:00
MetadataTracking.h
Module.h
NoFolder.h
OperandTraits.h
Operator.h Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
PassManager.h
PassManagerInternal.h
PatternMatch.h [InstCombine][CodeGenPrep] Create llvm.uadd.with.overflow in CGP. 2015-04-10 21:07:09 +00:00
PredIteratorCache.h
Statepoint.h
SymbolTableListTraits.h
TrackingMDRef.h
Type.h Remove empty non-virtual destructors or mark them =default when non-public 2015-04-11 15:32:26 +00:00
TypeBuilder.h
TypeFinder.h
Use.h
UseListOrder.h
User.h Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
Value.h
ValueHandle.h
ValueMap.h Remove empty non-virtual destructors or mark them =default when non-public 2015-04-11 15:32:26 +00:00
ValueSymbolTable.h
Verifier.h