1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 16:33:37 +01:00
llvm-mirror/include/llvm
Nick Lewycky cbe911f7d8 Add support for line profiling. Very work-in-progress.
Use debug info in the IR to find the directory/file:line:col. Each time that location changes, bump a counter.

Unlike the existing profiling system, we don't try to look at argv[], and thusly don't require main() to be present in the IR. This matches GCC's technique where you specify the profiling flag when producing each .o file.

The runtime library is minimal, currently just calling printf at program shutdown time. The API is designed to make it possible to emit GCOV data later on.

llvm-svn: 129340
2011-04-12 01:06:09 +00:00
..
ADT drive by bug fix: DenseMapInfo::isEqual should be determined according to 2011-04-09 21:20:23 +00:00
Analysis Don't include Operator.h from InstrTypes.h. 2011-04-11 09:35:34 +00:00
Assembly
Bitcode Revert r129235 pending a vetting of the EH rewrite. 2011-04-10 23:18:04 +00:00
CodeGen Skip a binary search when possible. 2011-04-11 20:01:44 +00:00
CompilerDriver If a class inherits from RefCountedBaseVPTR allow all its subclasses to be used with IntrusiveRefCntPtr. 2011-03-20 06:14:56 +00:00
Config Add InitializeNativeAsmParser function. 2011-03-09 17:25:46 +00:00
ExecutionEngine Tidy up a bit now that we're using the MemoryManager interface. 2011-04-12 00:23:32 +00:00
MC Adding support for printing operands symbolically to llvm's public 'C' 2011-04-11 18:08:50 +00:00
Object Start migrating mach-o dumping facilities to the object file out of a 2011-04-03 23:51:47 +00:00
Support Make IRBuilder support StringRef for building strings. 2011-04-12 00:29:07 +00:00
Target Change -arm-trap-func= into a non-arm specific option. Now Intrinsic::trap is lowered into a call to the specified trap function at sdisel time. 2011-04-08 21:37:21 +00:00
Transforms Add support for line profiling. Very work-in-progress. 2011-04-12 01:06:09 +00:00
AbstractTypeUser.h
Argument.h
Attributes.h
AutoUpgrade.h
BasicBlock.h Revert r129235 pending a vetting of the EH rewrite. 2011-04-10 23:18:04 +00:00
CallGraphSCCPass.h
CallingConv.h Use X86_thiscall calling convention for Win64 as well. 2011-03-03 07:49:07 +00:00
CMakeLists.txt Put targets on folders, if the IDE supports the feature. 2011-02-20 22:06:10 +00:00
Constant.h Fix or remove code which seemed to think that the operand of a Constant 2011-04-11 09:48:55 +00:00
Constants.h ConstantInt has some getters which return ConstantInt's or ConstantVector's of 2011-03-06 03:36:19 +00:00
DebugInfoProbe.h Introduce DebugInfoProbe. This is used to monitor how llvm optimizer is treating debugging information. 2011-03-10 00:21:25 +00:00
DerivedTypes.h Replace const std::vector& with ArrayRef in the type creation APIs. 2011-04-06 20:28:34 +00:00
Function.h
GlobalAlias.h FixedNumOperandTraits and VariadicOperandTraits assumed that, given a 2011-01-11 15:07:38 +00:00
GlobalValue.h hoist GlobalValue::removeDeadConstantUsers up to being a method on Constant. 2011-02-18 04:41:42 +00:00
GlobalVariable.h FixedNumOperandTraits and VariadicOperandTraits assumed that, given a 2011-01-11 15:07:38 +00:00
GVMaterializer.h
InitializePasses.h Add support for line profiling. Very work-in-progress. 2011-04-12 01:06:09 +00:00
InlineAsm.h Do not model all INLINEASM instructions as having unmodelled side effects. 2011-01-07 23:50:32 +00:00
InstrTypes.h Don't include Operator.h from InstrTypes.h. 2011-04-11 09:35:34 +00:00
Instruction.def
Instruction.h There is no need for isAssociative to take the type as an argument anymore. 2010-12-20 13:10:23 +00:00
Instructions.h Various Instructions' resizeOperands() methods are only used to grow the 2011-04-01 08:00:58 +00:00
IntrinsicInst.h Teach LazyValueInfo that allocas aren't NULL. Over all of llvm-test, this saves 2011-01-15 09:16:12 +00:00
Intrinsics.h
Intrinsics.td Revamp the SjLj "dispatch setup" intrinsic. 2011-04-05 01:37:43 +00:00
IntrinsicsAlpha.td
IntrinsicsARM.td Revert a minor comment change inadvertently included with r128502. 2011-03-30 05:26:51 +00:00
IntrinsicsCellSPU.td
IntrinsicsPowerPC.td
IntrinsicsPTX.td PTX: Set PTX 2.0 as the minimum supported version 2011-03-15 13:24:15 +00:00
IntrinsicsX86.td
IntrinsicsXCore.td Add XCore intrinsics for initializing / starting / synchronizing threads. 2011-03-31 15:13:13 +00:00
LinkAllPasses.h Add support for line profiling. Very work-in-progress. 2011-04-12 01:06:09 +00:00
LinkAllVMCore.h
Linker.h
LLVMContext.h
Metadata.h Add ArrayRef variant. 2011-03-04 01:20:33 +00:00
Module.h Fix typo in doxy-comment. 2011-04-06 20:54:07 +00:00
OperandTraits.h OperandTraits<>::Layout isn't used for anything. Remove it. 2011-01-14 18:41:56 +00:00
Operator.h implement .ll and .bc support for nsw/nuw on shl and exact on lshr/ashr. 2011-02-07 16:40:21 +00:00
Pass.h
PassAnalysisSupport.h Don't add the same analysis implementation pair twice. 2011-03-30 18:32:53 +00:00
PassManager.h
PassManagers.h
PassRegistry.h
PassSupport.h
SymbolTableListTraits.h
Type.h
TypeSymbolTable.h
Use.h Add missing include for ptrdiff_t. Patch by Joerg Sonnenberger! 2011-01-28 03:52:25 +00:00
User.h Fix typos in assert messages. 2011-03-21 16:38:22 +00:00
Value.h fix incorrect comment. 2011-03-08 16:59:03 +00:00
ValueSymbolTable.h