Searched refs:MemCpy (Results 1 – 11 of 11) sorted by relevance
/external/llvm/lib/Transforms/Scalar/ |
D | MemCpyOptimizer.cpp | 1046 bool MemCpyOptPass::processMemSetMemCpyDependence(MemCpyInst *MemCpy, in processMemSetMemCpyDependence() argument 1049 if (MemSet->getDest() != MemCpy->getDest()) in processMemSetMemCpyDependence() 1055 MemCpy->getIterator(), MemCpy->getParent()); in processMemSetMemCpyDependence() 1060 Value *Dest = MemCpy->getRawDest(); in processMemSetMemCpyDependence() 1062 Value *SrcSize = MemCpy->getLength(); in processMemSetMemCpyDependence() 1069 std::max(MemSet->getAlignment(), MemCpy->getAlignment()); in processMemSetMemCpyDependence() 1074 IRBuilder<> Builder(MemCpy); in processMemSetMemCpyDependence() 1111 bool MemCpyOptPass::performMemCpyToMemSetOptzn(MemCpyInst *MemCpy, in performMemCpyToMemSetOptzn() argument 1114 if (MemSet->getRawDest() != MemCpy->getRawSource()) in performMemCpyToMemSetOptzn() 1117 ConstantInt *CopySize = cast<ConstantInt>(MemCpy->getLength()); in performMemCpyToMemSetOptzn() [all …]
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUPromoteAlloca.cpp | 800 MemCpyInst *MemCpy = cast<MemCpyInst>(Intr); in handleAlloca() local 801 Builder.CreateMemCpy(MemCpy->getRawDest(), MemCpy->getRawSource(), in handleAlloca() 802 MemCpy->getLength(), MemCpy->getAlignment(), in handleAlloca() 803 MemCpy->isVolatile()); in handleAlloca()
|
/external/llvm/test/Transforms/MemCpyOpt/ |
D | lifetime.ll | 3 ; performCallSlotOptzn in MemCpy should not exchange the calls to
|
/external/llvm/test/Transforms/InstCombine/ |
D | simplify-libcalls.ll | 117 define i32 @MemCpy() { 128 ; CHECK-LABEL: @MemCpy(
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 143 Value *MemCpy = M->getOrInsertFunction("__memcpy_chk", in EmitMemCpyChk() local 152 CallInst *CI = B.CreateCall4(MemCpy, Dst, Src, Len, ObjSize); in EmitMemCpyChk() 153 if (const Function *F = dyn_cast<Function>(MemCpy->stripPointerCasts())) in EmitMemCpyChk()
|
/external/llvm/test/Feature/ |
D | optnone-opt.ll | 45 ; OPT-O1-DAG: Skipping pass 'MemCpy Optimization'
|
/external/llvm/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 816 Value *MemCpy = M->getOrInsertFunction( in emitMemCpyChk() local 822 CallInst *CI = B.CreateCall(MemCpy, {Dst, Src, Len, ObjSize}); in emitMemCpyChk() 823 if (const Function *F = dyn_cast<Function>(MemCpy->stripPointerCasts())) in emitMemCpyChk()
|
/external/llvm/test/Instrumentation/MemorySanitizer/ |
D | msan_basic.ll | 215 define void @MemCpy(i8* nocapture %x, i8* nocapture %y) nounwind uwtable sanitize_memory { 223 ; CHECK-LABEL: @MemCpy
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | SimplifyLibCalls.cpp | 1458 MemCmpOpt MemCmp; MemCpyOpt MemCpy; MemMoveOpt MemMove; MemSetOpt MemSet; member in __anon693922940311::SimplifyLibCalls 1530 if (TLI->has(LibFunc::memcpy)) Optimizations["memcpy"] = &MemCpy; in InitOptimizations()
|
/external/llvm/docs/ |
D | Passes.rst | 875 ``-memcpyopt``: MemCpy Optimization
|
/external/clang/lib/Sema/ |
D | SemaDeclCXX.cpp | 9834 FunctionDecl *MemCpy = R.getAsSingle<FunctionDecl>(); in buildMemcpyForAssignmentOp() local 9835 if (!MemCpy) in buildMemcpyForAssignmentOp() 9840 ExprResult MemCpyRef = S.BuildDeclRefExpr(MemCpy, S.Context.BuiltinFnTy, in buildMemcpyForAssignmentOp()
|