llvm-6502/include/llvm/IR
Duncan P. N. Exon Smith 9ca230f11c IR: Move NumOperands from User to Value, NFC
Store `User::NumOperands` (and `MDNode::NumOperands`) in `Value`.

On 64-bit host architectures, this reduces `sizeof(User)` and all
subclasses by 8, and has no effect on `sizeof(Value)` (or, incidentally,
on `sizeof(MDNode)`).

On 32-bit host architectures, this increases `sizeof(Value)` by 4.
However, it has no effect on `sizeof(User)` and `sizeof(MDNode)`, so the
only concrete subclasses of `Value` that actually see the increase are
`BasicBlock`, `Argument`, `InlineAsm`, and `MDString`.  Moreover, I'll
be shocked and confused if this causes a tangible memory regression.

This has no functionality change (other than memory footprint).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219845 91177308-0d34-0410-b5e6-96231b3b80d8
2014-10-15 20:39:05 +00:00
..
Argument.h
AssemblyAnnotationWriter.h
Attributes.h Revert accidentally committed r217107 2014-09-03 23:38:05 +00:00
AutoUpgrade.h
BasicBlock.h
CallingConv.h Make CallingConv::ID an alias of "unsigned". 2014-09-10 18:00:17 +00:00
CallSite.h
CFG.h
CMakeLists.txt
Comdat.h
Constant.h
ConstantFolder.h
ConstantRange.h
Constants.h Add isInfinity to ConstantFP 2014-10-10 02:15:04 +00:00
DataLayout.h Add doInitialization/doFinalization to DataLayoutPass. 2014-09-10 21:27:43 +00:00
DebugInfo.h DI: Make comments "brief"-er, NFC 2014-10-15 17:01:28 +00:00
DebugLoc.h
DerivedTypes.h
DiagnosticInfo.h Re-factor sample profile reader into lib/ProfileData. 2014-09-09 12:40:50 +00:00
DiagnosticPrinter.h
DIBuilder.h DI: Use a DenseMap instead of named metadata, NFC 2014-10-15 16:11:41 +00:00
Dominators.h
Function.h
GetElementPtrTypeIterator.h
GlobalAlias.h
GlobalObject.h
GlobalValue.h
GlobalVariable.h
GVMaterializer.h
InlineAsm.h
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 Update comment on AtomicRMWInst::Nand 2014-09-22 06:47:10 +00:00
InstVisitor.h
IntrinsicInst.h Move the complex address expression out of DIVariable and into an extra 2014-10-01 18:55:02 +00:00
Intrinsics.h
Intrinsics.td Move the complex address expression out of DIVariable and into an extra 2014-10-01 18:55:02 +00:00
IntrinsicsAArch64.td
IntrinsicsARM.td
IntrinsicsHexagon.td
IntrinsicsMips.td
IntrinsicsNVVM.td
IntrinsicsPowerPC.td [Power] Use AtomicExpandPass for fence insertion, and use lwsync where appropriate 2014-09-23 20:46:49 +00:00
IntrinsicsR600.td Reapply "R600: Add new intrinsic to read work dimensions" 2014-10-14 20:05:26 +00:00
IntrinsicsX86.td [AVX512] Intrinsics for vextract*x4 2014-10-08 23:25:37 +00:00
IntrinsicsXCore.td
IRBuilder.h Fix typos in comments, NFC 2014-08-29 21:53:01 +00:00
IRPrintingPasses.h
LeakDetector.h
LegacyPassManager.h
LegacyPassManagers.h FunctionPassManager isn't used by the JIT anymore, it is used in 2014-09-10 10:48:06 +00:00
LegacyPassNameParser.h
LLVMContext.h LTO: Ignore disabled diagnostic remarks 2014-10-01 18:36:03 +00:00
Mangler.h
MDBuilder.h
Metadata.h IR: Move NumOperands from User to Value, NFC 2014-10-15 20:39:05 +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 remove function names from comments; NFC 2014-10-15 16:20:45 +00:00
PassManager.h
PatternMatch.h
PredIteratorCache.h
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
User.h IR: Move NumOperands from User to Value, NFC 2014-10-15 20:39:05 +00:00
Value.h IR: Move NumOperands from User to Value, NFC 2014-10-15 20:39:05 +00:00
ValueHandle.h IR: Cleanup comments for Value, User, and MDNode 2014-10-15 20:28:31 +00:00
ValueMap.h
ValueSymbolTable.h
Verifier.h