Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerMemIntrinsics.cpp516 bool llvm::expandMemMoveAsLoop(MemMoveInst *Memmove, in expandMemMoveAsLoop() argument
518 Value *CopyLen = Memmove->getLength(); in expandMemMoveAsLoop()
519 Value *SrcAddr = Memmove->getRawSource(); in expandMemMoveAsLoop()
520 Value *DstAddr = Memmove->getRawDest(); in expandMemMoveAsLoop()
521 Align SrcAlign = Memmove->getSourceAlign().valueOrOne(); in expandMemMoveAsLoop()
522 Align DstAlign = Memmove->getDestAlign().valueOrOne(); in expandMemMoveAsLoop()
523 bool SrcIsVolatile = Memmove->isVolatile(); in expandMemMoveAsLoop()
525 IRBuilder<> CastBuilder(Memmove); in expandMemMoveAsLoop()
534 createMemCpyLoopKnownSize(/*InsertBefore=*/Memmove, SrcAddr, DstAddr, in expandMemMoveAsLoop()
539 createMemCpyLoopUnknownSize(/*InsertBefore=*/Memmove, SrcAddr, DstAddr, in expandMemMoveAsLoop()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DPreISelIntrinsicLowering.cpp234 auto *Memmove = cast<MemMoveInst>(Inst); in expandMemIntrinsicUses() local
235 Function *ParentFunc = Memmove->getFunction(); in expandMemIntrinsicUses()
237 if (shouldExpandMemIntrinsicWithSize(Memmove->getLength(), TTI)) { in expandMemIntrinsicUses()
242 if (expandMemMoveAsLoop(Memmove, TTI)) { in expandMemIntrinsicUses()
244 Memmove->eraseFromParent(); in expandMemIntrinsicUses()
/freebsd-14.2/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()