1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/include/llvm/Transforms/Utils
Dávid Bolvanský 27bed65f11 [InstCombine] Optimize some memccpy calls to memcpy/null
Summary:
return memccpy(d, "helloworld", 'r', 20)
=>
return memcpy(d, "helloworld", 8 /* pos of 'r' in string */), d + 8

Reviewers: efriedma, jdoerfert

Reviewed By: jdoerfert

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D68089
2019-11-26 10:54:47 +01:00
..
AddDiscriminators.h
ASanStackFrameLayout.h
BasicBlockUtils.h [Utils] Cleanup similar cases to MergeBlockIntoPredecessor. 2019-10-16 22:23:20 +00:00
BreakCriticalEdges.h
BuildLibCalls.h [SLC] Convert some strndup calls to strdup calls 2019-09-23 18:20:01 +00:00
BypassSlowDivision.h [DivRemPairs] Recommit: Handling for expanded-form rem - recomposition (PR42673) 2019-07-31 12:06:51 +00:00
CallPromotionUtils.h
CanonicalizeAliases.h
Cloning.h
CodeExtractor.h [CodeExtractor] Factor out and reuse shrinkwrap analysis 2019-10-08 17:17:51 +00:00
CodeMoverUtils.h [NFC][LoopFusion] Use isControlFlowEquivalent() from CodeMoverUtils. 2019-11-25 17:54:42 +00:00
CtorUtils.h
Debugify.h [debugify] Move the Debugify pass from tools/opt to lib/Transform/Utils 2019-11-07 14:41:54 -08:00
EntryExitInstrumenter.h
EscapeEnumerator.h
Evaluator.h
FunctionComparator.h
FunctionImportUtils.h [ThinLTO] Avoid extra index lookup during promotion 2019-11-18 12:55:53 -08:00
GlobalStatus.h
GuardUtils.h Move widenable branch formation into makeGuardControlFlowExplicit helper 2019-11-20 12:54:05 -08:00
ImportedFunctionsInliningStatistics.h
InjectTLIMappings.h [SVFS] Inject TLI Mappings in VFABI attribute. 2019-11-15 18:42:56 +00:00
IntegerDivision.h
LCSSA.h
LibCallsShrinkWrap.h
Local.h Wrong debug info generated at -O2 (-O0 is correct) 2019-11-07 11:19:41 -08:00
LoopRotationUtils.h
LoopSimplify.h
LoopUtils.h [LICM] Invalidate SCEV upon instruction hoisting 2019-10-31 17:37:53 +07:00
LoopVersioning.h
LowerInvoke.h
LowerMemIntrinsics.h
Mem2Reg.h
MisExpect.h Reland "clang-misexpect: Profile Guided Validation of Performance Annotations in LLVM" 2019-09-11 16:19:50 +00:00
ModuleUtils.h [ModuleUtils] Clean up header file. [NFC] 2019-11-14 04:36:45 +00:00
NameAnonGlobals.h
PredicateInfo.h [PredicateInfo] Use SmallVector instead of SmallPtrSet. 2019-07-25 15:35:10 +00:00
PromoteMemToReg.h
SanitizerStats.h
SimplifyIndVar.h
SimplifyLibCalls.h [InstCombine] Optimize some memccpy calls to memcpy/null 2019-11-26 10:54:47 +01:00
SizeOpts.h [PGO][PGSO] Temporarily disable the large working set size behavior. 2019-11-13 14:00:47 -08:00
SplitModule.h
SSAUpdater.h
SSAUpdaterBulk.h
SSAUpdaterImpl.h
SymbolRewriter.h
UnifyFunctionExitNodes.h Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
UnrollLoop.h [Unroll] Do NOT unroll a loop with small runtime upperbound 2019-09-26 21:40:27 +00:00
ValueMapper.h Linker: Add support for GlobalIFunc. 2019-08-08 22:09:18 +00:00
VNCoercion.h