llvm-6502/include/llvm/Transforms/Utils
Pete Cooper 19a19a9ad1 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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237226 91177308-0d34-0410-b5e6-96231b3b80d8
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 Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
CtorUtils.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
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 [PM] Split the AssumptionTracker immutable pass into two separate APIs: 2015-01-04 12:03:27 +00:00
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 Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
UnrollLoop.h [LoopUnrollRuntime] Avoid high-cost trip count computation. 2015-04-14 03:20:38 +00:00
ValueMapper.h Rename MapValue(Metadata*) to MapMetadata() 2014-12-19 06:06:18 +00:00
VectorUtils.h Re-sort #include lines using my handy dandy ./utils/sort_includes.py 2015-02-13 09:09:03 +00:00