llvm-6502/lib
Pete Cooper 8b351e4040 Added a version of User::new for hung off uses.
There are now 2 versions of User::new.  The first takes a size_t and is the current
implementation for subclasses which need 0 or more Use's allocated for their operands.

The new version takes no extra arguments to say that this subclass needs 'hung off uses'.
The HungOffUses bool is now set in this version of User::new and we can assert in
allocHungOffUses that we are allowed to have hung off uses.
This ensures we call the correct version of User::new for subclasses which need hung off uses.

A future commit will then allocate space for a single Use* which will be used
in place of User::OperandList once that field has been removed.

Reviewed by Duncan Exon Smith.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239622 91177308-0d34-0410-b5e6-96231b3b80d8
2015-06-12 17:48:14 +00:00
..
Analysis Don't create instructions from ConstantExpr's in CFLAliasAnalysis. 2015-06-12 16:13:54 +00:00
AsmParser Fix doxygen comments. NFC 2015-06-07 06:40:24 +00:00
Bitcode Use early return idiom. NFC 2015-06-06 20:44:53 +00:00
CodeGen [WinEH] Put finally pointers in the handler scope table field 2015-06-11 23:37:18 +00:00
DebugInfo
ExecutionEngine fix crash 2015-06-10 03:06:06 +00:00
Fuzzer
IR Added a version of User::new for hung off uses. 2015-06-12 17:48:14 +00:00
IRReader
LibDriver LibDriver, llvm-lib: introduce. 2015-06-09 21:50:22 +00:00
LineEditor
Linker
LTO LTO: expose LTO_SYMBOL_COMDAT flag, which indicates that the definition is part of a comdat group. 2015-06-11 21:41:27 +00:00
MC [WinEH] Create an llvm.x86.seh.exceptioninfo intrinsic 2015-06-11 22:32:23 +00:00
Object Object: Prepend __imp_ when mangling a dllimport symbol in IRObjectFile. 2015-06-11 21:42:18 +00:00
Option
Passes
ProfileData
Support [ARM] Disabling vfp4 should disable fp16 2015-06-12 09:38:51 +00:00
TableGen [TableGen] Change OpInit::getNumOperands and getOperand to use unsigned integers. NFC 2015-06-06 01:34:04 +00:00
Target Remove a hack that tries to align '*'. 2015-06-12 12:42:13 +00:00
Transforms [ASan] format AddressSanitizer.cpp with clang-format -style=Google, NFC 2015-06-12 11:27:06 +00:00
CMakeLists.txt LibDriver, llvm-lib: introduce. 2015-06-09 21:50:22 +00:00
LLVMBuild.txt LibDriver, llvm-lib: introduce. 2015-06-09 21:50:22 +00:00
Makefile LibDriver, llvm-lib: introduce. 2015-06-09 21:50:22 +00:00