1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 16:33:37 +01:00
llvm-mirror/include/llvm/Support
Dan Gohman 6c6e9a45ff Give NamedRegionTimer an Enabled flag, allowing all its clients to
switch from this:

  if (TimePassesIsEnabled) {
    NamedRegionTimer T(Name, GroupName);
    do_something();
  } else {
    do_something(); // duplicate the code, this time without a timer!
  }

to this:

  {
    NamedRegionTimer T(Name, GroupName, TimePassesIsEnabled);
    do_something();
  }

llvm-svn: 106285
2010-06-18 15:56:31 +00:00
..
AlignOf.h
Allocator.h
CallSite.h
Casting.h
CFG.h
circular_raw_ostream.h
CommandLine.h
Compiler.h
ConstantFolder.h
ConstantRange.h
DataFlow.h
Debug.h
DebugLoc.h
DOTGraphTraits.h
Dwarf.h
DynamicLinker.h
ELF.h
ErrorHandling.h
FileUtilities.h
Format.h
FormattedStream.h
GetElementPtrTypeIterator.h
GraphWriter.h
InstIterator.h
InstVisitor.h
IRBuilder.h
IRReader.h
LeakDetector.h
MachO.h
ManagedStatic.h
MathExtras.h
MemoryBuffer.h
MemoryObject.h
MutexGuard.h
NoFolder.h
OutputBuffer.h
PassNameParser.h
PatternMatch.h
PluginLoader.h
PointerLikeTypeTraits.h
PredIteratorCache.h
PrettyStackTrace.h
raw_os_ostream.h
raw_ostream.h
Recycler.h
RecyclingAllocator.h
Regex.h
Registry.h
RegistryParser.h
SlowOperationInformer.h
SMLoc.h
SourceMgr.h
StableBasicBlockNumbering.h
StandardPasses.h
StringPool.h
SystemUtils.h
TargetFolder.h
Timer.h
type_traits.h
TypeBuilder.h
ValueHandle.h