llvm-6502/include/llvm/IR
Duncan P. N. Exon Smith a9902daa5c Verifier: Check fields of MDVariable subclasses
Check fields from `MDLocalVariable` and `MDGlobalVariable` and change
the accessors to downcast to the right types.  `getType()` still returns
`Metadata*` since it could be an `MDString`-based reference.

Since local variables require non-null scopes, I also updated `LLParser`
to require a `scope:` field.

A number of testcases had grown bitrot and started failing with this
patch; I committed them separately in r233349.  If I just broke your
out-of-tree testcases, you're probably hitting similar problems (so have
a look there).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233389 91177308-0d34-0410-b5e6-96231b3b80d8
2015-03-27 17:29:58 +00:00
..
Argument.h
AssemblyAnnotationWriter.h
Attributes.h
AutoUpgrade.h
BasicBlock.h Remove getDataLayout() from Instruction/GlobalValue/BasicBlock/Function 2015-03-03 22:01:13 +00:00
CallingConv.h
CallSite.h Revert busted CallSite change from r231386 2015-03-05 18:32:14 +00:00
CFG.h Fix the build broken in r231142 2015-03-03 21:56:11 +00:00
CMakeLists.txt
Comdat.h
Constant.h
ConstantFolder.h
ConstantRange.h [ConstantRange] Split makeICmpRegion in two. 2015-03-18 00:41:24 +00:00
Constants.h Avoid conversion to float when creating ConstantDataArray/ConstantDataVector. 2015-02-19 16:08:20 +00:00
DataLayout.h COFF: Let globals with private linkage reside in their own section 2015-03-17 23:54:51 +00:00
DebugInfo.h Remove dead prototype DebugInfoFinder::processExpression(), NFC 2015-03-23 22:10:27 +00:00
DebugInfoFlags.def IR: Move DebugInfo Flag* definitions to .def file, NFC 2015-02-21 00:37:53 +00:00
DebugInfoMetadata.h Verifier: Check fields of MDVariable subclasses 2015-03-27 17:29:58 +00:00
DebugLoc.h Remove commented out function. 2015-02-26 23:36:28 +00:00
DerivedTypes.h
DiagnosticInfo.h std::function is part of <functional>, not <utility> 2015-03-01 21:49:21 +00:00
DiagnosticPrinter.h
DIBuilder.h
Dominators.h
Function.h
GetElementPtrTypeIterator.h
GlobalAlias.h
GlobalObject.h
GlobalValue.h Remove getDataLayout() from Instruction/GlobalValue/BasicBlock/Function 2015-03-03 22:01:13 +00:00
GlobalVariable.h
GVMaterializer.h Be lazy about loading metadata in IRObjectFile. 2015-03-13 21:54:20 +00:00
InlineAsm.h [mips] Distinguish 'R', 'ZC', and 'm' inline assembly memory constraint. 2015-03-24 11:26:34 +00:00
InstIterator.h Fix uses of reserved identifiers starting with an underscore followed by an uppercase letter 2015-03-16 18:06:57 +00:00
InstrTypes.h DataLayout is mandatory, update the API to reflect it with references. 2015-03-10 02:37:25 +00:00
Instruction.def
Instruction.h Remove getDataLayout() from Instruction/GlobalValue/BasicBlock/Function 2015-03-03 22:01:13 +00:00
Instructions.h [NFC] Fix typo in comment. 2015-03-27 06:06:48 +00:00
InstVisitor.h
IntrinsicInst.h DbgIntrinsicInst: Downcast to specialized MDNodes in accessors 2015-03-15 01:23:20 +00:00
Intrinsics.h
Intrinsics.td WinEH: Create a parent frame alloca for HandlerType xdata tables 2015-03-27 04:17:07 +00:00
IntrinsicsAArch64.td
IntrinsicsARM.td
IntrinsicsBPF.td
IntrinsicsHexagon.td [Hexagon] Intrinsics for circular and bit-reversed loads and stores 2015-03-18 16:23:44 +00:00
IntrinsicsMips.td
IntrinsicsNVVM.td
IntrinsicsPowerPC.td Add Hardware Transactional Memory (HTM) Support 2015-03-25 19:36:23 +00:00
IntrinsicsR600.td
IntrinsicsX86.td [X86, AVX2] Replace inserti128 and extracti128 intrinsics with generic shuffles 2015-03-12 23:16:18 +00:00
IntrinsicsXCore.td
IRBuilder.h [opaque pointer type] IRBuilder gep migration progress 2015-03-15 01:03:19 +00:00
IRPrintingPasses.h
LegacyPassManager.h
LegacyPassManagers.h
LegacyPassNameParser.h
LLVMContext.h
Mangler.h Revert "Address review comments" 2015-03-17 20:40:21 +00:00
MDBuilder.h [IC] Turn non-null MD on pointer loads to range MD on integer loads. 2015-02-25 05:10:25 +00:00
Metadata.def DebugInfo: Add MDLocalScope, a legal scope for locals 2015-03-24 16:44:29 +00:00
Metadata.h IR: Default the Metadata::dump() argument "harder" after r232275 2015-03-15 06:53:32 +00:00
MetadataTracking.h
Module.h Be lazy about loading metadata in IRObjectFile. 2015-03-13 21:54:20 +00:00
NoFolder.h [opaque pointer type] more gep API migrations 2015-03-14 19:24:04 +00:00
OperandTraits.h
Operator.h [opaque pointer type] Bitcode support for explicit type parameter on the gep operator 2015-03-13 21:03:36 +00:00
PassManager.h More missing includes only visible to MSVC. 2015-03-23 18:23:08 +00:00
PassManagerInternal.h [Modules] Include the header needed for make_unique, otherwise we can't 2015-03-07 10:55:47 +00:00
PatternMatch.h
PredIteratorCache.h
Statepoint.h Generalize statepoint lowering to use ImmutableStatepoint. Move statepoint lowering into a separate function 'LowerStatepoint' which uses ImmutableStatepoint instead of a CallInst. Also related utility functions are changed to receive ImmutableCallSite. 2015-02-20 15:28:35 +00:00
SymbolTableListTraits.h
TrackingMDRef.h
Type.h
TypeBuilder.h
TypeFinder.h
Use.h
UseListOrder.h
User.h
Value.h DataLayout is mandatory, update the API to reflect it with references. 2015-03-10 02:37:25 +00:00
ValueHandle.h Revert "Remove the explicit SDNodeIterator::operator= in favor of the implicit default" 2015-03-03 21:18:16 +00:00
ValueMap.h
ValueSymbolTable.h
Verifier.h Verifier: Remove the separate -verify-di pass 2015-03-19 22:24:17 +00:00