Home
last modified time | relevance | path

Searched refs:Memmove (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerMemIntrinsics.cpp543 bool llvm::expandMemMoveAsLoop(MemMoveInst *Memmove, in expandMemMoveAsLoop() argument
545 Value *CopyLen = Memmove->getLength(); in expandMemMoveAsLoop()
546 Value *SrcAddr = Memmove->getRawSource(); in expandMemMoveAsLoop()
547 Value *DstAddr = Memmove->getRawDest(); in expandMemMoveAsLoop()
548 Align SrcAlign = Memmove->getSourceAlign().valueOrOne(); in expandMemMoveAsLoop()
549 Align DstAlign = Memmove->getDestAlign().valueOrOne(); in expandMemMoveAsLoop()
550 bool SrcIsVolatile = Memmove->isVolatile(); in expandMemMoveAsLoop()
552 IRBuilder<> CastBuilder(Memmove); in expandMemMoveAsLoop()
561 createMemCpyLoopKnownSize(/*InsertBefore=*/Memmove, SrcAddr, DstAddr, in expandMemMoveAsLoop()
566 createMemCpyLoopUnknownSize(/*InsertBefore=*/Memmove, SrcAddr, DstAddr, in expandMemMoveAsLoop()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DPreISelIntrinsicLowering.cpp249 auto *Memmove = cast<MemMoveInst>(Inst); in expandMemIntrinsicUses() local
250 Function *ParentFunc = Memmove->getFunction(); in expandMemIntrinsicUses()
252 if (shouldExpandMemIntrinsicWithSize(Memmove->getLength(), TTI)) { in expandMemIntrinsicUses()
257 if (expandMemMoveAsLoop(Memmove, TTI)) { in expandMemIntrinsicUses()
259 Memmove->eraseFromParent(); in expandMemIntrinsicUses()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXLowerAggrCopies.cpp129 } else if (MemMoveInst *Memmove = dyn_cast<MemMoveInst>(MemCall)) { in runOnFunction() local
130 expandMemMoveAsLoop(Memmove, TTI); in runOnFunction()