HomeSort by: relevance | last modified time | path
    Searched refs:Memcpy (Results 1 - 8 of 8) sorted by relevancy

  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/rtl/
tsan_string.cc 19 TEST(ThreadSanitizer, Memcpy) {
22 MainThread().Memcpy(data+1, data0+1, 5);
45 t1.Memcpy(data, data1, 10);
46 t2.Memcpy(data, data2, 10, true);
54 t1.Memcpy(data+5, data1, 1);
55 t2.Memcpy(data+3, data2, 4, true);
63 t1.Memcpy(data, data1, 10);
64 t2.Memcpy(data1, data2, 10, true);
71 t1.Memcpy(data, data1, 10);
72 t2.Memcpy(data, data1, 10, true)
    [all...]
tsan_test_util.h 113 void Memcpy(void *dst, const void *src, int size, bool expect_race = false);
tsan_test_util_posix.cc 121 memcpy(mtx_, &tmp, sizeof(tmp));
208 MEMCPY,
316 case Event::MEMCPY:
464 void ScopedThread::Memcpy(void *dst, const void *src, int size,
466 Event event(Event::MEMCPY, dst, (uptr)src, size);
  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Scalar/
LoopIdiomRecognize.h 35 /// When true, Memcpy is disabled.
36 static bool Memcpy;
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
AMDGPULowerIntrinsics.cpp 84 case Intrinsic::memcpy: {
85 auto *Memcpy = cast<MemCpyInst>(Inst);
86 if (shouldExpandOperationWithSize(Memcpy->getLength())) {
87 Function *ParentFunc = Memcpy->getParent()->getParent();
90 expandMemCpyAsLoop(Memcpy, TTI);
92 Memcpy->eraseFromParent();
153 case Intrinsic::memcpy:
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
LowerMemIntrinsics.cpp 44 PostLoopBB = PreLoopBB->splitBasicBlock(InsertBefore, "memcpy-split");
141 PreLoopBB->splitBasicBlock(InsertBefore, "post-loop-memcpy-expansion");
168 "expected size argument to memcpy to be an integer type!");
176 BasicBlock::Create(Ctx, "loop-memcpy-expansion", ParentFunc, PostLoopBB);
201 BasicBlock *ResLoopBB = BasicBlock::Create(Ctx, "loop-memcpy-residual",
206 Ctx, "loop-memcpy-residual-header", PreLoopBB->getParent(), nullptr);
211 // non-zero and finally branch to after the residual loop if the memcpy
258 // terminators for the preloop block and the memcpy loop.
422 void llvm::expandMemCpyAsLoop(MemCpyInst *Memcpy,
424 if (ConstantInt *CI = dyn_cast<ConstantInt>(Memcpy->getLength()))
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
NVPTXLowerAggrCopies.cpp 10 // Lower aggregate copies, memset, memcpy, memmov intrinsics into loops when
127 if (MemCpyInst *Memcpy = dyn_cast<MemCpyInst>(MemCall)) {
128 expandMemCpyAsLoop(Memcpy, TTI);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
LoopIdiomRecognize.cpp 111 STATISTIC(NumMemCpy, "Number of memcpy's formed from loop load+stores");
133 bool DisableLIRP::Memcpy;
135 DisableLIRPMemcpy("disable-" DEBUG_TYPE "-memcpy",
137 "not convert loop(s) to memcpy."),
138 cl::location(DisableLIRP::Memcpy), cl::init(false),
192 Memcpy,
367 if (Name == "memset" || Name == "memcpy")
543 // Otherwise, see if the store can be turned into a memcpy.
544 if (HasMemcpy && !DisableLIRP::Memcpy) {
574 // Success. This store can be converted into a memcpy
    [all...]

Completed in 36 milliseconds