llvm-6502/include/llvm/IR
Diego Novillo ccbf1d2a05 Add support for optimization reports.
Summary:
This patch adds backend support for -Rpass=, which indicates the name
of the optimization pass that should emit remarks stating when it
made a transformation to the code.

Pass names are taken from their DEBUG_NAME definitions.

When emitting an optimization report diagnostic, the lack of debug
information causes the diagnostic to use "<unknown>:0:0" as the
location string.

This is the back end counterpart for

http://llvm-reviews.chandlerc.com/D3226

Reviewers: qcolombet

CC: llvm-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D3227

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205774 91177308-0d34-0410-b5e6-96231b3b80d8
2014-04-08 16:42:34 +00:00
..
Argument.h
AssemblyAnnotationWriter.h
Attributes.h Remove copy ctors that did the same thing as the default one. 2014-03-11 11:32:49 +00:00
AutoUpgrade.h [Layering] Move AutoUpgrade.h into the IR library where its 2014-03-05 10:34:14 +00:00
BasicBlock.h
CallingConv.h Revert r203488 and r203520. 2014-03-12 18:09:37 +00:00
CallSite.h [C++11] Add range based accessors for the Use-Def chain of a Value. 2014-03-09 03:16:01 +00:00
CFG.h [C++11] Add range based accessors for the Use-Def chain of a Value. 2014-03-09 03:16:01 +00:00
CMakeLists.txt
Constant.h [C++11] Add 'override' keyword to IR library. 2014-03-05 06:35:38 +00:00
ConstantFolder.h
ConstantRange.h
Constants.h [C++11] Add 'override' keyword to IR library. 2014-03-05 06:35:38 +00:00
DataLayout.h Add missing slash to make the doxygen output less confusing. 2014-03-25 17:20:28 +00:00
DebugInfo.h fix a comment to use ASCII aprostrophes. 2014-04-02 15:49:37 +00:00
DebugLoc.h [Layering] Move DebugLoc.h into the IR library. The implementation 2014-03-05 10:30:38 +00:00
DerivedTypes.h Intrinsics: add LLVMHalfElementsVectorType constraint 2014-03-29 07:04:54 +00:00
DiagnosticInfo.h Add support for optimization reports. 2014-04-08 16:42:34 +00:00
DiagnosticPrinter.h [C++11] Add 'override' keyword to IR library. 2014-03-05 06:35:38 +00:00
DIBuilder.h DebugInfo: Support namespace aliases as DW_TAG_imported_declaration instead of DW_TAG_imported_module 2014-04-06 06:29:01 +00:00
Dominators.h Fix fixme: remove unused method. 2014-03-11 09:32:50 +00:00
Function.h Add args() iteartor adapter to Function, for range-for loops. 2014-03-26 18:04:27 +00:00
GetElementPtrTypeIterator.h
GlobalAlias.h Prevent alias from pointing to weak aliases. 2014-03-27 15:26:56 +00:00
GlobalValue.h Remove the linker_private and linker_private_weak linkages. 2014-03-13 23:18:37 +00:00
GlobalVariable.h [C++11] Add 'override' keyword to IR library. 2014-03-05 06:35:38 +00:00
GVMaterializer.h [Layering] Move GVMaterializer.h into the IR library where its 2014-03-06 03:50:29 +00:00
InlineAsm.h Remove copy ctors that did the same thing as the default one. 2014-03-11 11:32:49 +00:00
InstIterator.h
InstrTypes.h [C++11] Remove 'virtual' keyword from methods marked with 'override' keyword. 2014-03-10 05:29:18 +00:00
Instruction.def
Instruction.h [C++11] Add range based accessors for the Use-Def chain of a Value. 2014-03-09 03:16:01 +00:00
Instructions.h Fix problem with r204836 2014-03-26 20:41:15 +00:00
InstVisitor.h [Layering] Move InstVisitor.h into the IR library as it is pretty 2014-03-06 03:23:41 +00:00
IntrinsicInst.h
Intrinsics.h Intrinsics: add LLVMHalfElementsVectorType constraint 2014-03-29 07:04:54 +00:00
Intrinsics.td ARM64: initial backend import 2014-03-29 10:18:08 +00:00
IntrinsicsAArch64.td Intrinsics: expand semantics of LLVMExtendedVectorType (& trunc) 2014-03-28 12:31:39 +00:00
IntrinsicsARM64.td ARM64: add intrinsic for pmull (p64 x p64 = p128) operations. 2014-04-01 12:22:37 +00:00
IntrinsicsARM.td Intrinsics: expand semantics of LLVMExtendedVectorType (& trunc) 2014-03-28 12:31:39 +00:00
IntrinsicsHexagon.td
IntrinsicsMips.td
IntrinsicsNVVM.td Expose "noduplicate" attribute as a property for intrinsics. 2014-03-18 23:51:07 +00:00
IntrinsicsPowerPC.td
IntrinsicsR600.td
IntrinsicsX86.td AVX-512: masked load/store + intrinsics for them. 2014-03-13 12:05:52 +00:00
IntrinsicsXCore.td
IRBuilder.h IR: add a second ordering operand to cmpxhg for failure 2014-03-11 10:48:52 +00:00
IRPrintingPasses.h
LeakDetector.h
LegacyPassManager.h [C++11] Add 'override' keyword to IR library. 2014-03-05 06:35:38 +00:00
LegacyPassManagers.h [C++11] Add 'override' keyword to IR library. 2014-03-05 06:35:38 +00:00
LegacyPassNameParser.h [C++11] Add 'override' keyword to IR library. 2014-03-05 06:35:38 +00:00
LLVMContext.h Add support for optimization reports. 2014-04-08 16:42:34 +00:00
Mangler.h
MDBuilder.h [C++11] Modernize the IR library a bit. 2014-03-10 15:03:06 +00:00
Metadata.h Remove copy ctors that did the same thing as the default one. 2014-03-11 11:32:49 +00:00
Module.h [C++11] Add range views for various parts of a Module. 2014-03-09 12:20:30 +00:00
NoFolder.h
OperandTraits.h
Operator.h
PassManager.h [PM] As was pointed out in review, I need to define a custom swap in 2014-03-13 10:42:18 +00:00
PatternMatch.h
PredIteratorCache.h
SymbolTableListTraits.h
Type.h
TypeBuilder.h
TypeFinder.h
Use.h
User.h [C++11] Modernize the IR library a bit. 2014-03-10 15:03:06 +00:00
Value.h Remove unused parameter 2014-04-05 23:33:25 +00:00
ValueHandle.h
ValueMap.h [C++11] Replace LLVM-style type traits with C++11 standard ones. 2014-03-07 14:42:25 +00:00
ValueSymbolTable.h
Verifier.h