llvm-6502/include/llvm/IR
Reid Kleckner 118a0659ab Explicitly request unsigned enum types when desired
The underlying type of all plain enums in MSVC is 'int', even if the
enumerator contains large 32-bit unsigned values or values greater than
UINT_MAX.  The only way to get a large or unsigned enum type is to
request it explicitly with the C++11 strong enum types feature.

However, since LLVM isn't C++11 yet, I had to add a conditional
LLVM_ENUM_INT_TYPE to Compiler.h to control its usage.

The motivating true positive for this change is compiling PointerIntPair
with MSVC for win64.  The PointerIntMask value is supposed to be pointer
sized value of all ones with some low zeros.  Instead, it's truncated to
32-bits!  We are only saved later because it is sign extended back in
the AND with int64_t, and we happen to want all ones.

This silences lots of -Wmicrosoft warnings during a clang self-host
targeting Windows.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191241 91177308-0d34-0410-b5e6-96231b3b80d8
2013-09-23 23:26:57 +00:00
..
Argument.h
Attributes.h Explicitly request unsigned enum types when desired 2013-09-23 23:26:57 +00:00
BasicBlock.h
CallingConv.h
CMakeLists.txt
Constant.h
Constants.h
DataLayout.h MemCpyOptimizer: Use max legal int size instead of pointer size 2013-09-16 22:43:16 +00:00
DerivedTypes.h
Function.h Implement function prefix data as an IR feature. 2013-09-16 01:08:15 +00:00
GlobalAlias.h
GlobalValue.h Revert "Add r159136 back now that pr13124 has been fixed." 2013-09-04 16:09:01 +00:00
GlobalVariable.h
InlineAsm.h Explicitly request unsigned enum types when desired 2013-09-23 23:26:57 +00:00
InstrTypes.h
Instruction.def
Instruction.h
Instructions.h Revert patches to add case-range support for PR1255. 2013-09-09 19:14:35 +00:00
IntrinsicInst.h
Intrinsics.h
Intrinsics.td
IntrinsicsAArch64.td
IntrinsicsARM.td [ARMv8] Add support for the v8 cryptography extensions. 2013-09-19 11:59:01 +00:00
IntrinsicsHexagon.td
IntrinsicsMips.td [mips][msa] Added support for matching insert and copy from normal IR (i.e. not intrinsics) 2013-09-23 14:03:12 +00:00
IntrinsicsNVVM.td
IntrinsicsPowerPC.td
IntrinsicsR600.td
IntrinsicsX86.td Add llvm.x86.* intrinsics for Intel SHA Extensions 2013-09-17 13:44:39 +00:00
IntrinsicsXCore.td
IRBuilder.h
LLVMContext.h
MDBuilder.h
Metadata.h TBAA: add isTBAAVtableAccess to MDNode so clients can call the function 2013-09-06 22:47:05 +00:00
Module.h
OperandTraits.h
Operator.h Fix comment to match what the assert actually enforces 2013-09-12 01:07:54 +00:00
SymbolTableListTraits.h
Type.h
TypeBuilder.h
TypeFinder.h
Use.h
User.h
Value.h
ValueSymbolTable.h