llvm-6502/include/llvm/IR
Alexey Samsonov e769dc39fd Be more careful in parsing Module::ModFlagBehavior value
to make sure we don't do invalid load of an enum. Share the
conversion code between llvm::Module implementation and the
verifier.

This bug was reported by UBSan.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217395 91177308-0d34-0410-b5e6-96231b3b80d8
2014-09-08 19:16:28 +00:00
..
Argument.h Provide convenient access to the zext/sext attributes of function arguments. NFC. 2014-08-05 05:43:41 +00:00
AssemblyAnnotationWriter.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
Attributes.h Revert accidentally committed r217107 2014-09-03 23:38:05 +00:00
AutoUpgrade.h
BasicBlock.h Move helper for getting a terminating musttail call to BasicBlock 2014-08-12 00:05:15 +00:00
CallingConv.h
CallSite.h Add a dereferenceable attribute 2014-07-18 15:51:28 +00:00
CFG.h Revert "[C++11] Add predecessors(BasicBlock *) / successors(BasicBlock *) iterator ranges." 2014-07-21 17:06:51 +00:00
CMakeLists.txt
Comdat.h
Constant.h InstCombine: sub nsw %x, C -> add nsw %x, -C if C isn't INT_MIN 2014-08-22 16:41:23 +00:00
ConstantFolder.h Add CreatePointerBitCastOrAddrSpaceCast to IRBuilder and co. 2014-07-14 17:24:35 +00:00
ConstantRange.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
Constants.h Constants.h: Fix possible typo in r216015. [-Wdocumentation] 2014-08-20 04:22:47 +00:00
DataLayout.h
DebugInfo.h Debug info: Add a new explicit DIDescriptor flag for the "public" access 2014-08-29 22:44:07 +00:00
DebugLoc.h
DerivedTypes.h IR: remove dead code 2014-08-25 00:28:27 +00:00
DiagnosticInfo.h Remove 'virtual' keyword from methods markedwith 'override' keyword. 2014-08-30 16:48:34 +00:00
DiagnosticPrinter.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
DIBuilder.h Use DILexicalBlockFile, rather than DILexicalBlock, to track discriminator changes to ensure discriminator changes don't introduce new DWARF DW_TAG_lexical_blocks. 2014-08-21 22:45:21 +00:00
Dominators.h
Function.h Add a dereferenceable attribute 2014-07-18 15:51:28 +00:00
GetElementPtrTypeIterator.h
GlobalAlias.h
GlobalObject.h
GlobalValue.h Add the missing hasLinkOnceODRLinkage predicate. 2014-07-30 15:57:51 +00:00
GlobalVariable.h
GVMaterializer.h Pass a MemoryBufferRef when we can avoid taking ownership. 2014-08-26 21:49:01 +00:00
InlineAsm.h Reapply r215966, r215965, r215964, r215963, r215960, r215959, r215958, and r215957 2014-08-19 16:39:58 +00:00
InstIterator.h
InstrTypes.h house cleaning: "Don’t duplicate function or class name at the beginning of the comment." 2014-09-03 20:08:51 +00:00
Instruction.def
Instruction.h Refactor AtomicExpandPass and add a generic isAtomic() method to Instruction 2014-09-03 21:29:59 +00:00
Instructions.h Refactor AtomicExpandPass and add a generic isAtomic() method to Instruction 2014-09-03 21:29:59 +00:00
InstVisitor.h
IntrinsicInst.h
Intrinsics.h
Intrinsics.td Add @llvm.assume, lowering, and some basic properties 2014-07-25 21:13:35 +00:00
IntrinsicsAArch64.td Port memory barriers intrinsics to AArch64 2014-07-17 10:50:20 +00:00
IntrinsicsARM.td ARM: Add patterns for dbg 2014-08-26 12:47:26 +00:00
IntrinsicsHexagon.td
IntrinsicsMips.td
IntrinsicsNVVM.td [NVPTX] Make the alignment an explicit argument to ldu/ldg 2014-08-29 15:30:20 +00:00
IntrinsicsPowerPC.td
IntrinsicsR600.td R600/SI: Add intrinsic for ldexp 2014-08-15 17:30:25 +00:00
IntrinsicsX86.td [x86] Fix a pretty horrible bug and inconsistency in the x86 asm 2014-09-06 10:00:01 +00:00
IntrinsicsXCore.td
IRBuilder.h Fix typos in comments, NFC 2014-08-29 21:53:01 +00:00
IRPrintingPasses.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
LeakDetector.h
LegacyPassManager.h
LegacyPassManagers.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
LegacyPassNameParser.h
LLVMContext.h IR: Fix up doxygen comment for LLVMContext::diagnose 2014-08-04 21:49:15 +00:00
Mangler.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
MDBuilder.h Simplify and improve scoped-noalias metadata semantics 2014-07-25 15:50:02 +00:00
Metadata.h Add scoped-noalias metadata 2014-07-24 14:25:39 +00:00
Module.h Be more careful in parsing Module::ModFlagBehavior value 2014-09-08 19:16:28 +00:00
NoFolder.h
OperandTraits.h
Operator.h Fix a logic bug when copying fast-math flags. 2014-09-02 20:03:00 +00:00
PassManager.h Use range based for loops to avoid needing to re-mention SmallPtrSet size. 2014-08-24 23:23:06 +00:00
PatternMatch.h Reland r216439 215441, majnemer has a real fix for PR20771. 2014-08-27 20:06:19 +00:00
PredIteratorCache.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
SymbolTableListTraits.h
Type.h Fix typos in comments, NFC 2014-08-29 21:53:01 +00:00
TypeBuilder.h
TypeFinder.h
Use.h
UseListOrder.h verify-uselistorder: Force -preserve-bc-use-list-order 2014-08-19 21:08:27 +00:00
User.h
Value.h IR: Add Value::reverseUseList() 2014-08-01 23:28:49 +00:00
ValueHandle.h Fix downcasts of unaligned empty/tombstone DenseMap keys for DenseMap<AssertVH<T>, Foo>. 2014-09-03 18:11:48 +00:00
ValueMap.h Support: add llvm::unique_lock 2014-08-23 23:07:14 +00:00
ValueSymbolTable.h
Verifier.h