Home
last modified time | relevance | path

Searched refs:MemCpy (Results 1 – 11 of 11) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp1046 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/
DAMDGPUPromoteAlloca.cpp800 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/
Dlifetime.ll3 ; performCallSlotOptzn in MemCpy should not exchange the calls to
/external/llvm/test/Transforms/InstCombine/
Dsimplify-libcalls.ll117 define i32 @MemCpy() {
128 ; CHECK-LABEL: @MemCpy(
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DBuildLibCalls.cpp143 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/
Doptnone-opt.ll45 ; OPT-O1-DAG: Skipping pass 'MemCpy Optimization'
/external/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp816 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/
Dmsan_basic.ll215 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/
DSimplifyLibCalls.cpp1458 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/
DPasses.rst875 ``-memcpyopt``: MemCpy Optimization
/external/clang/lib/Sema/
DSemaDeclCXX.cpp9834 FunctionDecl *MemCpy = R.getAsSingle<FunctionDecl>(); in buildMemcpyForAssignmentOp() local
9835 if (!MemCpy) in buildMemcpyForAssignmentOp()
9840 ExprResult MemCpyRef = S.BuildDeclRefExpr(MemCpy, S.Context.BuiltinFnTy, in buildMemcpyForAssignmentOp()