| /llvm-project-15.0.7/compiler-rt/lib/tsan/tests/rtl/ |
| H A D | tsan_string.cpp | 18 TEST_F(ThreadSanitizer, Memcpy) { in TEST_F() argument 21 MainThread().Memcpy(data+1, data0+1, 5); in TEST_F() 44 t1.Memcpy(data, data1, 10); in TEST_F() 45 t2.Memcpy(data, data2, 10, true); in TEST_F() 53 t1.Memcpy(data+5, data1, 1); in TEST_F() 54 t2.Memcpy(data+3, data2, 4, true); in TEST_F() 62 t1.Memcpy(data, data1, 10); in TEST_F() 63 t2.Memcpy(data1, data2, 10, true); in TEST_F() 70 t1.Memcpy(data, data1, 10); in TEST_F() 71 t2.Memcpy(data, data1, 10, true); in TEST_F()
|
| H A D | tsan_test_util.h | 119 void Memcpy(void *dst, const void *src, int size, bool expect_race = false);
|
| H A D | tsan_test_util_posix.cpp | 482 void ScopedThread::Memcpy(void *dst, const void *src, int size, in Memcpy() function in ScopedThread
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | LowerMemIntrinsics.cpp | 527 void llvm::expandMemCpyAsLoop(MemCpyInst *Memcpy, in expandMemCpyAsLoop() argument 530 bool CanOverlap = canOverlap(Memcpy, SE); in expandMemCpyAsLoop() 533 /* InsertBefore */ Memcpy, in expandMemCpyAsLoop() 534 /* SrcAddr */ Memcpy->getRawSource(), in expandMemCpyAsLoop() 535 /* DstAddr */ Memcpy->getRawDest(), in expandMemCpyAsLoop() 539 /* SrcIsVolatile */ Memcpy->isVolatile(), in expandMemCpyAsLoop() 540 /* DstIsVolatile */ Memcpy->isVolatile(), in expandMemCpyAsLoop() 545 /* InsertBefore */ Memcpy, in expandMemCpyAsLoop() 546 /* SrcAddr */ Memcpy->getRawSource(), in expandMemCpyAsLoop() 547 /* DstAddr */ Memcpy->getRawDest(), in expandMemCpyAsLoop() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULowerIntrinsics.cpp | 83 auto *Memcpy = cast<MemCpyInst>(Inst); in expandMemIntrinsicUses() local 84 if (shouldExpandOperationWithSize(Memcpy->getLength())) { in expandMemIntrinsicUses() 85 Function *ParentFunc = Memcpy->getParent()->getParent(); in expandMemIntrinsicUses() 88 expandMemCpyAsLoop(Memcpy, TTI); in expandMemIntrinsicUses() 90 Memcpy->eraseFromParent(); in expandMemIntrinsicUses()
|
| /llvm-project-15.0.7/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXLowerAggrCopies.cpp | 127 if (MemCpyInst *Memcpy = dyn_cast<MemCpyInst>(MemCall)) { in runOnFunction() local 128 expandMemCpyAsLoop(Memcpy, TTI); in runOnFunction()
|
| /llvm-project-15.0.7/libc/benchmarks/ |
| H A D | LibcMemoryBenchmark.h | 199 inline void *Call(ParameterType Parameter, MemcpyFunction Memcpy) { in Call() 200 return Memcpy(DstBuffer + Parameter.OffsetBytes, in Call()
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/Scalar/ |
| H A D | LoopIdiomRecognize.h | 36 static bool Memcpy; member
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | memcpy-from-string.ll | 13 ; Memcpy lowering should emit stores of immediates containing string data from
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | memcpy_alloca.ll | 4 ; Memcpy is copying known-undef, and is thus removable
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LoopIdiomRecognize.cpp | 133 bool DisableLIRP::Memcpy; member in DisableLIRP 138 cl::location(DisableLIRP::Memcpy), cl::init(false), 192 Memcpy, enumerator 544 if (HasMemcpy && !DisableLIRP::Memcpy) { in isLegalStore() 577 : LegalStoreKind::Memcpy; in isLegalStore() 607 case LegalStoreKind::Memcpy: in collectStores() 833 if ((!HasMemcpy && !isa<MemCpyInlineInst>(MCI)) || DisableLIRP::Memcpy) in processLoopMemCpy()
|
| /llvm-project-15.0.7/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 41 if (const MemCpyInst *Memcpy = dyn_cast<MemCpyInst>(User)) { in isUsedAsMemCpySource() local 42 if (Memcpy->getOperand(1) == V && !Memcpy->isVolatile()) { in isUsedAsMemCpySource()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | NotNullTerminatedResultCheck.cpp | 750 auto Memcpy = Match({"memcpy", 0, 1, 2, false}); in registerMatchers() local 774 auto AnyOfMatchers = anyOf(Memcpy, MemcpyS, Memmove, MemmoveS, StrncmpRHS, in registerMatchers()
|
| /llvm-project-15.0.7/llvm/test/Transforms/MemCpyOpt/ |
| H A D | memset-memcpy-oversized.ll | 111 ; Memcpy is volatile, memset is not. Cannot be optimized.
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | BuiltinsNVPTX.def | 621 // Memcpy, Memset
|
| /llvm-project-15.0.7/llvm/docs/ |
| H A D | Statepoints.rst | 657 Memcpy and memmove intrinsics take derived pointers as source and destination
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Intrinsics.td | 628 // Memcpy semantic that is guaranteed to be inlined.
|
| /llvm-project-15.0.7/llvm/test/Transforms/LoopIdiom/ |
| H A D | basic.ll | 1582 ;; Memcpy formation is still preferred over memmove.
|