1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-26 14:33:02 +02:00
llvm-mirror/include/llvm/Transforms/Utils
Pete Cooper f82078997d Change LoadAndStorePromoter to take ArrayRef instead of SmallVectorImpl&.
The array passed to LoadAndStorePromoter's constructor was a constant reference to a SmallVectorImpl, which is just the same as passing an ArrayRef.

Also, the data in the array can be 'const Instruction*' instead of 'Instruction*'.  Its not possible to convert a SmallVectorImpl<T*> to SmallVectorImpl<const T*>, but ArrayRef does provide such a method.

Currently this added calls to makeArrayRef which should be a nop, but i'm going to kick off a discussion about improving ArrayRef to not need these.

llvm-svn: 237226
2015-05-13 01:12:16 +00:00
..
ASanStackFrameLayout.h
BasicBlockUtils.h Teach SplitBlockPredecessors how to handle landingpad blocks. 2015-01-28 23:06:47 +00:00
BuildLibCalls.h DataLayout is mandatory, update the API to reflect it with references. 2015-03-10 02:37:25 +00:00
BypassSlowDivision.h
Cloning.h Extended support for native Windows C++ EH outlining 2015-03-11 23:22:06 +00:00
CmpInstAnalysis.h
CodeExtractor.h
CtorUtils.h
GlobalStatus.h
IntegerDivision.h
Local.h DataLayout is mandatory, update the API to reflect it with references. 2015-03-10 02:37:25 +00:00
LoopUtils.h Fix buildbot failure on darwin from r235284. 2015-04-20 07:07:10 +00:00
ModuleUtils.h Implement createSanitizerCtor, common helper function for all sanitizers 2015-05-06 18:48:22 +00:00
PromoteMemToReg.h
SimplifyIndVar.h
SimplifyLibCalls.h SimplifyLibCalls: Add basic optimization of memchr calls. 2015-03-21 15:36:21 +00:00
SSAUpdater.h Change LoadAndStorePromoter to take ArrayRef instead of SmallVectorImpl&. 2015-05-13 01:12:16 +00:00
SSAUpdaterImpl.h
SymbolRewriter.h Remove empty non-virtual destructors or mark them =default when non-public 2015-04-11 15:32:26 +00:00
UnifyFunctionExitNodes.h
UnrollLoop.h [LoopUnrollRuntime] Avoid high-cost trip count computation. 2015-04-14 03:20:38 +00:00
ValueMapper.h
VectorUtils.h Re-sort #include lines using my handy dandy ./utils/sort_includes.py 2015-02-13 09:09:03 +00:00