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.cpp911 bool llvm::expandMemMoveAsLoop(MemMoveInst *Memmove, in expandMemMoveAsLoop() argument
913 Value *CopyLen = Memmove->getLength(); in expandMemMoveAsLoop()
914 Value *SrcAddr = Memmove->getRawSource(); in expandMemMoveAsLoop()
915 Value *DstAddr = Memmove->getRawDest(); in expandMemMoveAsLoop()
916 Align SrcAlign = Memmove->getSourceAlign().valueOrOne(); in expandMemMoveAsLoop()
917 Align DstAlign = Memmove->getDestAlign().valueOrOne(); in expandMemMoveAsLoop()
918 bool SrcIsVolatile = Memmove->isVolatile(); in expandMemMoveAsLoop()
920 IRBuilder<> CastBuilder(Memmove); in expandMemMoveAsLoop()
929 createMemCpyLoopKnownSize(/*InsertBefore=*/Memmove, SrcAddr, DstAddr, in expandMemMoveAsLoop()
934 createMemCpyLoopUnknownSize(/*InsertBefore=*/Memmove, SrcAddr, DstAddr, in expandMemMoveAsLoop()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXLowerAggrCopies.cpp128 } else if (MemMoveInst *Memmove = dyn_cast<MemMoveInst>(MemCall)) { in runOnFunction() local
129 expandMemMoveAsLoop(Memmove, TTI); in runOnFunction()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DPreISelIntrinsicLowering.cpp347 auto *Memmove = cast<MemMoveInst>(Inst); in expandMemIntrinsicUses() local
348 Function *ParentFunc = Memmove->getFunction(); in expandMemIntrinsicUses()
350 if (shouldExpandMemIntrinsicWithSize(Memmove->getLength(), TTI)) { in expandMemIntrinsicUses()
355 if (expandMemMoveAsLoop(Memmove, TTI)) { in expandMemIntrinsicUses()
357 Memmove->eraseFromParent(); in expandMemIntrinsicUses()