[PATCH] Add a callback to FunctionPass to enable skipping execution on a per-function basis

Akira Hatanaka ahatanak at gmail.com
Fri Jun 5 15:11:18 PDT 2015


Made changes to remove the typedef and use std::function<bool(const Function &)> to make clearer what signature should be used for the predicate. Also, committed the change that enables inserting machine function printer in r239192 separately.


http://reviews.llvm.org/D8717

Files:
  include/llvm/CodeGen/Passes.h
  include/llvm/Transforms/Scalar.h
  lib/CodeGen/IfConversion.cpp
  lib/CodeGen/MachineInstrBundle.cpp
  lib/Target/ARM/ARM.h
  lib/Target/ARM/ARMTargetMachine.cpp
  lib/Target/ARM/Thumb2SizeReduction.cpp
  lib/Transforms/Scalar/SimplifyCFGPass.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8717.27235.patch
Type: text/x-patch
Size: 10848 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150605/dc680af8/attachment.bin>


More information about the llvm-commits mailing list