llvm-6502/include/llvm
Sean Silva 8b8fa7b2f4 Casting.h: Automatically handle isa<Base>(Derived).
Additionally, all such cases are handled with no dynamic check.

All `classof()` of the form

    class Foo {
      [...]
      static bool classof(const Bar *) { return true; }
      [...]
    }

where Foo is an ancestor of Bar are no longer necessary.
Don't write them!

Note: The exact test is `is_base_of<Foo, Bar>`, which is non-strict, so
that Foo is considered an ancestor of itself.

This leads to the following rule of thumb for LLVM-style RTTI:

    The argument type of `classof()` should be a strict ancestor.

For more information about implementing LLVM-style RTTI, see
docs/HowToSetUpLLVMStyleRTTI.rst

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165765 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-11 23:30:40 +00:00
..
ADT Add count() method to MapVector 2012-10-09 23:02:47 +00:00
Analysis Remove extra semicolon. 2012-10-11 22:26:44 +00:00
Assembly
Bitcode Change encoding of instruction operands in bitcode binaries to be relative 2012-10-11 20:20:40 +00:00
CodeGen Change MachineInstrBuilder::addDisp to copy over target flags by default. 2012-10-11 00:15:48 +00:00
Config Make backtraces work again with both the configure and cmake build. 2012-09-28 10:10:46 +00:00
DebugInfo
ExecutionEngine Move TargetData to DataLayout. 2012-10-08 16:38:25 +00:00
MC TODO comment 2012-10-10 05:43:16 +00:00
Object Formatting and 80-col. 2012-10-10 22:37:01 +00:00
Support Casting.h: Automatically handle isa<Base>(Derived). 2012-10-11 23:30:40 +00:00
TableGen tblgen: Put dyn_cast<> machinery in place for Init hierarchy. 2012-10-10 20:24:40 +00:00
Target Revert 165732 for further review. 2012-10-11 21:27:41 +00:00
Transforms Revert 165732 for further review. 2012-10-11 21:27:41 +00:00
AddressingMode.h Use DataTypes.h 2012-10-08 23:14:28 +00:00
Argument.h Fix wrong name in comment. 2012-10-04 13:07:26 +00:00
Attributes.h Add the LLVM context to this c'tor. It will be needed in the future. 2012-10-11 01:10:00 +00:00
AttributesImpl.h Use the enum value of the attributes when adding them to the attributes builder. 2012-10-09 09:11:20 +00:00
AutoUpgrade.h
BasicBlock.h Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION. 2012-09-17 07:16:40 +00:00
CallGraphSCCPass.h
CallingConv.h Add in support for SPIR to LLVM core. This adds a new target and two new calling conventions. 2012-10-01 17:01:31 +00:00
CMakeLists.txt
Constant.h Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION. 2012-09-17 07:16:40 +00:00
Constants.h Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164767 2012-09-27 10:14:43 +00:00
DataLayout.h Revert 165732 for further review. 2012-10-11 21:27:41 +00:00
DebugInfo.h Fix PR14016. 2012-10-09 08:13:15 +00:00
DefaultPasses.h Fix a couple include directives that used angle brackets for llvm files. 2012-09-15 18:41:37 +00:00
DerivedTypes.h Move TargetData to DataLayout. 2012-10-08 16:38:25 +00:00
DIBuilder.h Make sure to generate the right kind of MDNode for enum forward declarations. 2012-10-05 01:49:14 +00:00
Function.h Pass into the AttributeWithIndex::get method an ArrayRef of attribute 2012-10-10 06:13:42 +00:00
GlobalAlias.h Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION. 2012-09-17 07:16:40 +00:00
GlobalValue.h Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION. 2012-09-17 07:16:40 +00:00
GlobalVariable.h Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION. 2012-09-18 02:01:41 +00:00
GVMaterializer.h
InitializePasses.h dependence analysis 2012-10-11 07:32:34 +00:00
InlineAsm.h Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION. 2012-09-17 07:16:40 +00:00
InstrTypes.h Move TargetData to DataLayout. 2012-10-08 16:38:25 +00:00
Instruction.def
Instruction.h Use LLVM_DELETED_FUNCTION for copy constructors and copy assignment operators that aren't implemented. 2012-09-16 21:37:56 +00:00
Instructions.h Revert 165732 for further review. 2012-10-11 21:27:41 +00:00
IntrinsicInst.h Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION. 2012-09-17 07:16:40 +00:00
Intrinsics.h
Intrinsics.td Add in new data types that are used by AMDIL/ANL among others. 2012-09-19 22:47:07 +00:00
IntrinsicsARM.td ARM: Use a dedicated intrinsic for vector bitwise select. 2012-09-21 00:18:20 +00:00
IntrinsicsCellSPU.td
IntrinsicsHexagon.td
IntrinsicsMips.td
IntrinsicsNVVM.td
IntrinsicsPowerPC.td
IntrinsicsX86.td
IntrinsicsXCore.td
IRBuilder.h Add IRBuilder code for adding !tbaa.struct metadata tags to llvm.memcpy calls. 2012-09-26 22:17:14 +00:00
LinkAllPasses.h dependence analysis 2012-10-11 07:32:34 +00:00
LinkAllVMCore.h
Linker.h
LLVMContext.h Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION. 2012-09-17 07:16:40 +00:00
MDBuilder.h Add an MDBuilder utility for creating !tbaa.struct nodes. 2012-09-21 23:00:37 +00:00
Metadata.h Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION. 2012-09-17 07:16:40 +00:00
Module.h
OperandTraits.h
Operator.h Add in some interfaces that will allow easier access to the pointer address space. 2012-10-09 22:27:29 +00:00
Pass.h Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION. 2012-09-17 07:16:40 +00:00
PassAnalysisSupport.h Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164767 2012-09-27 10:14:43 +00:00
PassManager.h
PassManagers.h
PassRegistry.h
PassSupport.h Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION. 2012-09-17 07:16:40 +00:00
SymbolTableListTraits.h
TargetTransformInfo.h Add a new interface to allow IR-level passes to access codegen-specific information. 2012-10-10 22:04:55 +00:00
Type.h Move TargetData to DataLayout. 2012-10-08 16:38:25 +00:00
TypeBuilder.h
TypeFinder.h
Use.h Add includes of Compiler.h to fix build bot failures. 2012-09-16 21:50:09 +00:00
User.h More descriptive, doxygen-ed comments 2012-10-09 17:05:59 +00:00
Value.h Add includes of Compiler.h to fix build bot failures. 2012-09-16 21:50:09 +00:00
ValueSymbolTable.h Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164767 2012-09-27 10:14:43 +00:00