Searched refs:Memcpy (Results 1 - 6 of 6) sorted by relevance

/freebsd-current/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DLoopIdiomRecognize.h35 /// When true, Memcpy is disabled.
36 static bool Memcpy; member in struct:llvm::DisableLIRP
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerMemIntrinsics.cpp475 static bool canOverlap(MemTransferBase<T> *Memcpy, ScalarEvolution *SE) { argument
477 auto *SrcSCEV = SE->getSCEV(Memcpy->getRawSource());
478 auto *DestSCEV = SE->getSCEV(Memcpy->getRawDest());
479 if (SE->isKnownPredicateAt(CmpInst::ICMP_NE, SrcSCEV, DestSCEV, Memcpy))
485 void llvm::expandMemCpyAsLoop(MemCpyInst *Memcpy, argument
488 bool CanOverlap = canOverlap(Memcpy, SE);
489 if (ConstantInt *CI = dyn_cast<ConstantInt>(Memcpy->getLength())) {
491 /* InsertBefore */ Memcpy,
492 /* SrcAddr */ Memcpy->getRawSource(),
493 /* DstAddr */ Memcpy
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXLowerAggrCopies.cpp127 if (MemCpyInst *Memcpy = dyn_cast<MemCpyInst>(MemCall)) {
128 expandMemCpyAsLoop(Memcpy, TTI);
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/
H A DPreISelIntrinsicLowering.cpp217 auto *Memcpy = cast<MemCpyInst>(Inst); local
218 Function *ParentFunc = Memcpy->getFunction();
220 if (shouldExpandMemIntrinsicWithSize(Memcpy->getLength(), TTI)) {
226 expandMemCpyAsLoop(Memcpy, TTI);
228 Memcpy->eraseFromParent();
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp124 bool DisableLIRP::Memcpy; member in class:DisableLIRP
129 cl::location(DisableLIRP::Memcpy), cl::init(false),
183 Memcpy, enumerator in enum:__anon2924::LoopIdiomRecognize::LegalStoreKind
471 if (HasMemcpy && !DisableLIRP::Memcpy) {
504 : LegalStoreKind::Memcpy;
534 case LegalStoreKind::Memcpy:
760 if ((!HasMemcpy && !isa<MemCpyInlineInst>(MCI)) || DisableLIRP::Memcpy)
1471 << " : LIR " << (IsMemset ? "Memset" : "Memcpy")
/freebsd-current/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp41 if (const MemCpyInst *Memcpy = dyn_cast<MemCpyInst>(User)) {
42 if (Memcpy->getOperand(1) == V && !Memcpy->isVolatile()) {

Completed in 136 milliseconds