Home
last modified time | relevance | path

Searched refs:DstAlign (Results 1 – 15 of 15) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerMemIntrinsics.cpp25 ConstantInt *CopyLen, Align SrcAlign, Align DstAlign, bool SrcIsVolatile, in createMemCpyLoopKnownSize() argument
47 Ctx, CopyLen, SrcAS, DstAS, SrcAlign.value(), DstAlign.value(), in createMemCpyLoopKnownSize()
67 Align PartDstAlign(commonAlignment(DstAlign, LoopOpSize)); in createMemCpyLoopKnownSize()
118 Align PartDstAlign(commonAlignment(DstAlign, BytesCopied)); in createMemCpyLoopKnownSize()
179 Ctx, CopyLen, SrcAS, DstAS, SrcAlign.value(), DstAlign.value(), in createMemCpyLoopUnknownSize()
205 Align PartDstAlign(commonAlignment(DstAlign, LoopOpSize)); in createMemCpyLoopUnknownSize()
348 Align DstAlign, bool SrcIsVolatile, in createMemMoveLoop() argument
384 Align PartDstAlign(commonAlignment(DstAlign, PartSize)); in createMemMoveLoop()
455 Align PartAlign(commonAlignment(DstAlign, PartSize)); in createMemSetLoop()
522 Align DstAlign = Memmove->getDestAlign().valueOrOne(); in expandMemMoveAsLoop() local
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DIRBuilder.cpp164 CallInst *IRBuilderBase::CreateMemSetInline(Value *Dst, MaybeAlign DstAlign, in CreateMemSetInline() argument
176 if (DstAlign) in CreateMemSetInline()
177 cast<MemSetInlineInst>(CI)->setDestAlignment(*DstAlign); in CreateMemSetInline()
220 Intrinsic::ID IntrID, Value *Dst, MaybeAlign DstAlign, Value *Src, in CreateMemTransferInst() argument
234 if (DstAlign) in CreateMemTransferInst()
235 MCI->setDestAlignment(*DstAlign); in CreateMemTransferInst()
257 Value *Dst, Align DstAlign, Value *Src, Align SrcAlign, Value *Size, in CreateElementUnorderedAtomicMemCpy() argument
260 assert(DstAlign >= ElementSize && in CreateElementUnorderedAtomicMemCpy()
274 AMCI->setDestAlignment(DstAlign); in CreateElementUnorderedAtomicMemCpy()
373 Value *Dst, Align DstAlign, Value *Src, Align SrcAlign, Value *Size, in CreateElementUnorderedAtomicMemMove() argument
[all …]
H A DCore.cpp3608 LLVMValueRef Dst, unsigned DstAlign, in LLVMBuildMemCpy() argument
3611 return wrap(unwrap(B)->CreateMemCpy(unwrap(Dst), MaybeAlign(DstAlign), in LLVMBuildMemCpy()
3617 LLVMValueRef Dst, unsigned DstAlign, in LLVMBuildMemMove() argument
3620 return wrap(unwrap(B)->CreateMemMove(unwrap(Dst), MaybeAlign(DstAlign), in LLVMBuildMemMove()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerHelper.h264 uint64_t KnownLen, Align DstAlign,
267 uint64_t KnownLen, uint64_t Limit, Align DstAlign,
270 uint64_t KnownLen, Align DstAlign, Align SrcAlign,
H A DCallLowering.h308 const MachinePointerInfo &DstPtrInfo, Align DstAlign,
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DIRBuilder.h653 CallInst *CreateMemCpy(Value *Dst, MaybeAlign DstAlign, Value *Src,
659 return CreateMemCpy(Dst, DstAlign, Src, SrcAlign, getInt64(Size),
665 Intrinsic::ID IntrID, Value *Dst, MaybeAlign DstAlign, Value *Src,
670 CallInst *CreateMemCpy(Value *Dst, MaybeAlign DstAlign, Value *Src,
676 return CreateMemTransferInst(Intrinsic::memcpy, Dst, DstAlign, Src,
682 CreateMemCpyInline(Value *Dst, MaybeAlign DstAlign, Value *Src,
700 Value *Dst, Align DstAlign, Value *Src, Align SrcAlign, Value *Size,
705 CallInst *CreateMemMove(Value *Dst, MaybeAlign DstAlign, Value *Src,
710 return CreateMemMove(Dst, DstAlign, Src, SrcAlign, getInt64(Size),
714 CallInst *CreateMemMove(Value *Dst, MaybeAlign DstAlign, Value *Src,
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp827 Align DstAlign = std::max(Flags.getNonZeroByValAlign(), in handleAssignments() local
834 DstMPO, DstAlign, SrcMPO, SrcAlign, in handleAssignments()
1156 const MachinePointerInfo &DstPtrInfo, Align DstAlign, in copyArgumentMemory() argument
1168 MemSize, DstAlign); in copyArgumentMemory()
H A DIRTranslator.cpp1714 Align DstAlign; in translateMemFunc() local
1722 DstAlign = MCI->getDestAlign().valueOrOne(); in translateMemFunc()
1726 DstAlign = MCI->getDestAlign().valueOrOne(); in translateMemFunc()
1730 DstAlign = MMI->getDestAlign().valueOrOne(); in translateMemFunc()
1735 DstAlign = MSI->getDestAlign().valueOrOne(); in translateMemFunc()
1767 StoreFlags, 1, DstAlign, AAInfo)); in translateMemFunc()
H A DLegalizerHelper.cpp8375 Align DstAlign = DstMMO.getBaseAlign(); in lowerMemcpyInline() local
8378 return lowerMemcpyInline(MI, Dst, Src, KnownLen, DstAlign, SrcAlign, in lowerMemcpyInline()
8384 uint64_t KnownLen, Align DstAlign, in lowerMemcpyInline() argument
8388 std::numeric_limits<uint64_t>::max(), DstAlign, SrcAlign, in lowerMemcpyInline()
8394 uint64_t KnownLen, uint64_t Limit, Align DstAlign, in lowerMemcpy() argument
8405 Align Alignment = std::min(DstAlign, SrcAlign); in lowerMemcpy()
8513 Align Alignment = std::min(DstAlign, SrcAlign); in lowerMemmove()
8617 Align DstAlign = MemOp->getBaseAlign(); in lowerMemCpyFamily() local
8640 return lowerMemcpyInline(MI, Dst, Src, KnownLen, DstAlign, SrcAlign, in lowerMemCpyFamily()
8655 return lowerMemcpy(MI, Dst, Src, KnownLen, Limit, DstAlign, SrcAlign, in lowerMemCpyFamily()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h119 Align DstAlign; // Specified alignment of the memory operation. member
131 static MemOp Copy(uint64_t Size, bool DstAlignCanChange, Align DstAlign,
137 Op.DstAlign = DstAlign;
146 static MemOp Set(uint64_t Size, bool DstAlignCanChange, Align DstAlign, in Set()
151 Op.DstAlign = DstAlign; in Set()
162 return DstAlign; in getDstAlign()
184 return DstAlignCanChange || llvm::isAligned(AlignCheck, DstAlign.value()); in isDstAligned()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp1148 const Align DstAlign = *MC->getDestAlign(); in getNumMemOps() local
1151 MOp = MemOp::Copy(Size, /*DstAlignCanChange*/ false, DstAlign, SrcAlign, in getNumMemOps()
1163 const Align DstAlign = *MS->getDestAlign(); in getNumMemOps() local
1165 MOp = MemOp::Set(Size, /*DstAlignCanChange*/ false, DstAlign, in getNumMemOps()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h4159 LLVMValueRef Dst, unsigned DstAlign,
4168 LLVMValueRef Dst, unsigned DstAlign,
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp6141 Align DstAlign = MCI.getDestAlign().valueOrOne(); in visitIntrinsicCall() local
6143 Align Alignment = std::min(DstAlign, SrcAlign); in visitIntrinsicCall()
6163 Align DstAlign = MCI.getDestAlign().valueOrOne(); in visitIntrinsicCall() local
6165 Align Alignment = std::min(DstAlign, SrcAlign); in visitIntrinsicCall()
6200 Align DstAlign = MSII.getDestAlign().valueOrOne(); in visitIntrinsicCall() local
6204 SDValue MC = DAG.getMemset(Root, sdl, Dst, Value, Size, DstAlign, isVol, in visitIntrinsicCall()
6217 Align DstAlign = MMI.getDestAlign().valueOrOne(); in visitIntrinsicCall() local
6219 Align Alignment = std::min(DstAlign, SrcAlign); in visitIntrinsicCall()
8601 Align DstAlign = DAG.InferPtrAlign(Dst).valueOrOne(); in visitMemPCpyCall() local
8604 Align Alignment = std::min(DstAlign, SrcAlign); in visitMemPCpyCall()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp116 Align DstAlign = getKnownAlignment(MI->getRawDest(), DL, MI, &AC, &DT); in SimplifyAnyMemTransfer() local
118 if (!CopyDstAlign || *CopyDstAlign < DstAlign) { in SimplifyAnyMemTransfer()
119 MI->setDestAlignment(DstAlign); in SimplifyAnyMemTransfer()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp3478 MaybeAlign DstAlign = SliceAlign; in visitMemTransferInst() local
3480 std::swap(SrcAlign, DstAlign); in visitMemTransferInst()
3528 IRB.CreateAlignedStore(Src, DstPtr, DstAlign, II.isVolatile())); in visitMemTransferInst()