Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerMemIntrinsics.cpp26 ConstantInt *CopyLen, Align SrcAlign, Align DstAlign, bool SrcIsVolatile, in createMemCpyLoopKnownSize() argument
48 Ctx, CopyLen, SrcAS, DstAS, SrcAlign.value(), DstAlign.value(), in createMemCpyLoopKnownSize()
68 Align PartDstAlign(commonAlignment(DstAlign, LoopOpSize)); in createMemCpyLoopKnownSize()
115 DstAlign.value(), AtomicElementSize); in createMemCpyLoopKnownSize()
119 Align PartDstAlign(commonAlignment(DstAlign, BytesCopied)); in createMemCpyLoopKnownSize()
181 Align SrcAlign, Align DstAlign, bool SrcIsVolatile, bool DstIsVolatile, in createMemCpyLoopUnknownSize() argument
200 Ctx, CopyLen, SrcAS, DstAS, SrcAlign.value(), DstAlign.value(), in createMemCpyLoopUnknownSize()
228 Align PartDstAlign(commonAlignment(DstAlign, LoopOpSize)); in createMemCpyLoopUnknownSize()
374 Align DstAlign, bool SrcIsVolatile, in createMemMoveLoop() argument
410 Align PartDstAlign(commonAlignment(DstAlign, PartSize)); in createMemMoveLoop()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DIRBuilder.cpp165 CallInst *IRBuilderBase::CreateMemSetInline(Value *Dst, MaybeAlign DstAlign, in CreateMemSetInline() argument
177 if (DstAlign) in CreateMemSetInline()
178 cast<MemSetInlineInst>(CI)->setDestAlignment(*DstAlign); in CreateMemSetInline()
221 Intrinsic::ID IntrID, Value *Dst, MaybeAlign DstAlign, Value *Src, in CreateMemTransferInst() argument
235 if (DstAlign) in CreateMemTransferInst()
236 MCI->setDestAlignment(*DstAlign); in CreateMemTransferInst()
258 Value *Dst, Align DstAlign, Value *Src, Align SrcAlign, Value *Size, in CreateElementUnorderedAtomicMemCpy() argument
261 assert(DstAlign >= ElementSize && in CreateElementUnorderedAtomicMemCpy()
275 AMCI->setDestAlignment(DstAlign); in CreateElementUnorderedAtomicMemCpy()
374 Value *Dst, Align DstAlign, Value *Src, Align SrcAlign, Value *Size, in CreateElementUnorderedAtomicMemMove() argument
[all …]
H A DCore.cpp3824 LLVMValueRef Dst, unsigned DstAlign, in LLVMBuildMemCpy() argument
3827 return wrap(unwrap(B)->CreateMemCpy(unwrap(Dst), MaybeAlign(DstAlign), in LLVMBuildMemCpy()
3833 LLVMValueRef Dst, unsigned DstAlign, in LLVMBuildMemMove() argument
3836 return wrap(unwrap(B)->CreateMemMove(unwrap(Dst), MaybeAlign(DstAlign), in LLVMBuildMemMove()
/freebsd/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.h319 const MachinePointerInfo &DstPtrInfo, Align DstAlign,
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DIRBuilder.h605 CallInst *CreateMemSetInline(Value *Dst, MaybeAlign DstAlign, Value *Val,
656 CallInst *CreateMemCpy(Value *Dst, MaybeAlign DstAlign, Value *Src,
662 return CreateMemCpy(Dst, DstAlign, Src, SrcAlign, getInt64(Size),
668 Intrinsic::ID IntrID, Value *Dst, MaybeAlign DstAlign, Value *Src,
673 CallInst *CreateMemCpy(Value *Dst, MaybeAlign DstAlign, Value *Src,
679 return CreateMemTransferInst(Intrinsic::memcpy, Dst, DstAlign, Src,
685 CreateMemCpyInline(Value *Dst, MaybeAlign DstAlign, Value *Src,
689 return CreateMemTransferInst(Intrinsic::memcpy_inline, Dst, DstAlign, Src,
703 Value *Dst, Align DstAlign, Value *Src, Align SrcAlign, Value *Size,
708 CallInst *CreateMemMove(Value *Dst, MaybeAlign DstAlign, Value *Src,
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h121 Align DstAlign; // Specified alignment of the memory operation. member
133 static MemOp Copy(uint64_t Size, bool DstAlignCanChange, Align DstAlign,
139 Op.DstAlign = DstAlign;
148 static MemOp Set(uint64_t Size, bool DstAlignCanChange, Align DstAlign, in Set()
153 Op.DstAlign = DstAlign; in Set()
164 return DstAlign; in getDstAlign()
186 return DstAlignCanChange || llvm::isAligned(AlignCheck, DstAlign.value()); in isDstAligned()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp927 Align DstAlign = std::max(Flags.getNonZeroByValAlign(), in handleAssignments() local
934 DstMPO, DstAlign, SrcMPO, SrcAlign, in handleAssignments()
1271 const MachinePointerInfo &DstPtrInfo, Align DstAlign, in copyArgumentMemory() argument
1283 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.cpp8898 Align DstAlign = DstMMO.getBaseAlign(); in lowerMemcpyInline() local
8901 return lowerMemcpyInline(MI, Dst, Src, KnownLen, DstAlign, SrcAlign, in lowerMemcpyInline()
8907 uint64_t KnownLen, Align DstAlign, in lowerMemcpyInline() argument
8911 std::numeric_limits<uint64_t>::max(), DstAlign, SrcAlign, in lowerMemcpyInline()
8917 uint64_t KnownLen, uint64_t Limit, Align DstAlign, in lowerMemcpy() argument
8928 Align Alignment = std::min(DstAlign, SrcAlign); in lowerMemcpy()
9024 uint64_t KnownLen, Align DstAlign, Align SrcAlign, in lowerMemmove() argument
9036 Align Alignment = std::min(DstAlign, SrcAlign); in lowerMemmove()
9140 Align DstAlign = MemOp->getBaseAlign(); in lowerMemCpyFamily() local
9163 return lowerMemcpyInline(MI, Dst, Src, KnownLen, DstAlign, SrcAlign, in lowerMemCpyFamily()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp1152 const Align DstAlign = *MC->getDestAlign(); in getNumMemOps() local
1155 MOp = MemOp::Copy(Size, /*DstAlignCanChange*/ false, DstAlign, SrcAlign, in getNumMemOps()
1167 const Align DstAlign = *MS->getDestAlign(); in getNumMemOps() local
1169 MOp = MemOp::Set(Size, /*DstAlignCanChange*/ false, DstAlign, in getNumMemOps()
/freebsd/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h4424 LLVMValueRef Dst, unsigned DstAlign,
4433 LLVMValueRef Dst, unsigned DstAlign,
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp6461 Align DstAlign = MCI.getDestAlign().valueOrOne(); in visitIntrinsicCall() local
6463 Align Alignment = std::min(DstAlign, SrcAlign); in visitIntrinsicCall()
6483 Align DstAlign = MCI.getDestAlign().valueOrOne(); in visitIntrinsicCall() local
6485 Align Alignment = std::min(DstAlign, SrcAlign); in visitIntrinsicCall()
6519 Align DstAlign = MSII.getDestAlign().valueOrOne(); in visitIntrinsicCall() local
6522 SDValue MC = DAG.getMemset(Root, sdl, Dst, Value, Size, DstAlign, isVol, in visitIntrinsicCall()
6535 Align DstAlign = MMI.getDestAlign().valueOrOne(); in visitIntrinsicCall() local
6537 Align Alignment = std::min(DstAlign, SrcAlign); in visitIntrinsicCall()
9034 Align DstAlign = DAG.InferPtrAlign(Dst).valueOrOne(); in visitMemPCpyCall() local
9037 Align Alignment = std::min(DstAlign, SrcAlign); in visitMemPCpyCall()
/freebsd/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/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp3443 MaybeAlign DstAlign = SliceAlign; in visitMemTransferInst() local
3445 std::swap(SrcAlign, DstAlign); in visitMemTransferInst()
3494 IRB.CreateAlignedStore(Src, DstPtr, DstAlign, II.isVolatile())); in visitMemTransferInst()