Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerMemIntrinsics.cpp19 Align SrcAlign, Align DstAlign, in createMemCpyLoopKnownSize() argument
37 Ctx, CopyLen, SrcAS, DstAS, SrcAlign.value(), DstAlign.value()); in createMemCpyLoopKnownSize()
62 Align PartDstAlign(commonAlignment(DstAlign, LoopOpSize)); in createMemCpyLoopKnownSize()
96 DstAlign.value()); in createMemCpyLoopKnownSize()
100 Align PartDstAlign(commonAlignment(DstAlign, BytesCopied)); in createMemCpyLoopKnownSize()
136 Align DstAlign, bool SrcIsVolatile, in createMemCpyLoopUnknownSize() argument
150 Ctx, CopyLen, SrcAS, DstAS, SrcAlign.value(), DstAlign.value()); in createMemCpyLoopUnknownSize()
180 Align PartDstAlign(commonAlignment(DstAlign, LoopOpSize)); in createMemCpyLoopUnknownSize()
293 Align DstAlign, bool SrcIsVolatile, in createMemMoveLoop() argument
328 Align PartDstAlign(commonAlignment(DstAlign, PartSize)); in createMemMoveLoop()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DIRBuilder.cpp170 Intrinsic::ID IntrID, Value *Dst, MaybeAlign DstAlign, Value *Src, in CreateMemTransferInst() argument
184 if (DstAlign) in CreateMemTransferInst()
185 MCI->setDestAlignment(*DstAlign); in CreateMemTransferInst()
207 Value *Dst, MaybeAlign DstAlign, Value *Src, MaybeAlign SrcAlign, in CreateMemCpyInline() argument
222 if (DstAlign) in CreateMemCpyInline()
223 MCI->setDestAlignment(*DstAlign); in CreateMemCpyInline()
248 assert(DstAlign >= ElementSize && in CreateElementUnorderedAtomicMemCpy()
265 AMCI->setDestAlignment(DstAlign); in CreateElementUnorderedAtomicMemCpy()
301 if (DstAlign) in CreateMemMove()
302 MMI->setDestAlignment(*DstAlign); in CreateMemMove()
[all …]
H A DCore.cpp3521 LLVMValueRef Dst, unsigned DstAlign, in LLVMBuildMemCpy() argument
3524 return wrap(unwrap(B)->CreateMemCpy(unwrap(Dst), MaybeAlign(DstAlign), in LLVMBuildMemCpy()
3530 LLVMValueRef Dst, unsigned DstAlign, in LLVMBuildMemMove() argument
3533 return wrap(unwrap(B)->CreateMemMove(unwrap(Dst), MaybeAlign(DstAlign), in LLVMBuildMemMove()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DCombinerHelper.h566 uint64_t KnownLen, Align DstAlign, Align SrcAlign,
569 uint64_t KnownLen, uint64_t Limit, Align DstAlign,
572 uint64_t KnownLen, Align DstAlign, Align SrcAlign,
575 uint64_t KnownLen, Align DstAlign, bool IsVolatile);
H A DCallLowering.h296 const MachinePointerInfo &DstPtrInfo, Align DstAlign,
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DIRBuilder.h622 CallInst *CreateMemCpy(Value *Dst, MaybeAlign DstAlign, Value *Src,
628 return CreateMemCpy(Dst, DstAlign, Src, SrcAlign, getInt64(Size),
634 Intrinsic::ID IntrID, Value *Dst, MaybeAlign DstAlign, Value *Src,
639 CallInst *CreateMemCpy(Value *Dst, MaybeAlign DstAlign, Value *Src,
645 return CreateMemTransferInst(Intrinsic::memcpy, Dst, DstAlign, Src,
651 CreateMemCpyInline(Value *Dst, MaybeAlign DstAlign, Value *Src,
665 Value *Dst, Align DstAlign, Value *Src, Align SrcAlign, Value *Size,
670 CallInst *CreateMemMove(Value *Dst, MaybeAlign DstAlign, Value *Src,
675 return CreateMemMove(Dst, DstAlign, Src, SrcAlign, getInt64(Size),
679 CallInst *CreateMemMove(Value *Dst, MaybeAlign DstAlign, Value *Src,
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h117 Align DstAlign; // Specified alignment of the memory operation. member
129 static MemOp Copy(uint64_t Size, bool DstAlignCanChange, Align DstAlign,
135 Op.DstAlign = DstAlign;
144 static MemOp Set(uint64_t Size, bool DstAlignCanChange, Align DstAlign, in Set()
149 Op.DstAlign = DstAlign; in Set()
160 return DstAlign; in getDstAlign()
182 return DstAlignCanChange || llvm::isAligned(AlignCheck, DstAlign.value()); in isDstAligned()
H A DSelectionDAG.h1040 unsigned DstAlign, SDValue Src, unsigned SrcAlign,
1046 unsigned DstAlign, SDValue Src, unsigned SrcAlign,
1052 unsigned DstAlign, SDValue Value, SDValue Size,
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp1348 Align DstAlign = DstMMO.getBaseAlign(); in tryEmitMemcpyInline() local
1351 return tryEmitMemcpyInline(MI, Dst, Src, KnownLen, DstAlign, SrcAlign, in tryEmitMemcpyInline()
1357 Align DstAlign, Align SrcAlign, in tryEmitMemcpyInline() argument
1361 std::numeric_limits<uint64_t>::max(), DstAlign, in tryEmitMemcpyInline()
1367 uint64_t Limit, Align DstAlign, in optimizeMemcpy() argument
1378 Align Alignment = commonAlignment(DstAlign, SrcAlign); in optimizeMemcpy()
1471 Align DstAlign, Align SrcAlign, in optimizeMemmove() argument
1483 Align Alignment = commonAlignment(DstAlign, SrcAlign); in optimizeMemmove()
1584 Align DstAlign = MemOp->getBaseAlign(); in tryCombineMemCpyFamily() local
1609 return tryEmitMemcpyInline(MI, Dst, Src, KnownLen, DstAlign, SrcAlign, in tryCombineMemCpyFamily()
[all …]
H A DCallLowering.cpp720 Align DstAlign = std::max(Flags.getNonZeroByValAlign(), in handleAssignments() local
727 DstMPO, DstAlign, SrcMPO, SrcAlign, in handleAssignments()
1041 const MachinePointerInfo &DstPtrInfo, Align DstAlign, in copyArgumentMemory() argument
1053 MemSize, DstAlign); in copyArgumentMemory()
H A DIRTranslator.cpp1590 Align DstAlign; in translateMemFunc() local
1597 DstAlign = MCI->getDestAlign().valueOrOne(); in translateMemFunc()
1600 DstAlign = MCI->getDestAlign().valueOrOne(); in translateMemFunc()
1603 DstAlign = MMI->getDestAlign().valueOrOne(); in translateMemFunc()
1607 DstAlign = MSI->getDestAlign().valueOrOne(); in translateMemFunc()
1621 MachineMemOperand::MOStore | VolFlag, 1, DstAlign)); in translateMemFunc()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp1083 const Align DstAlign = *MC->getDestAlign(); in getNumMemOps() local
1086 MOp = MemOp::Copy(Size, /*DstAlignCanChange*/ false, DstAlign, SrcAlign, in getNumMemOps()
1098 const Align DstAlign = *MS->getDestAlign(); in getNumMemOps() local
1100 MOp = MemOp::Set(Size, /*DstAlignCanChange*/ false, DstAlign, in getNumMemOps()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp5861 Align DstAlign = MCI.getDestAlign().valueOrOne(); in visitIntrinsicCall() local
5863 Align Alignment = commonAlignment(DstAlign, SrcAlign); in visitIntrinsicCall()
5885 Align DstAlign = MCI.getDestAlign().valueOrOne(); in visitIntrinsicCall() local
5887 Align Alignment = commonAlignment(DstAlign, SrcAlign); in visitIntrinsicCall()
5924 Align DstAlign = MMI.getDestAlign().valueOrOne(); in visitIntrinsicCall() local
5926 Align Alignment = commonAlignment(DstAlign, SrcAlign); in visitIntrinsicCall()
5946 unsigned DstAlign = MI.getDestAlignment(); in visitIntrinsicCall() local
5964 unsigned DstAlign = MI.getDestAlignment(); in visitIntrinsicCall() local
5982 unsigned DstAlign = MI.getDestAlignment(); in visitIntrinsicCall() local
7751 Align DstAlign = DAG.InferPtrAlign(Dst).valueOrOne(); in visitMemPCpyCall() local
[all …]
H A DSelectionDAG.cpp6876 SDValue Dst, unsigned DstAlign, in getAtomicMemcpy() argument
6979 SDValue Dst, unsigned DstAlign, in getAtomicMemmove() argument
7080 SDValue Dst, unsigned DstAlign, in getAtomicMemset() argument
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h3840 LLVMValueRef Dst, unsigned DstAlign,
3849 LLVMValueRef Dst, unsigned DstAlign,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp112 Align DstAlign = getKnownAlignment(MI->getRawDest(), DL, MI, &AC, &DT); in SimplifyAnyMemTransfer() local
114 if (!CopyDstAlign || *CopyDstAlign < DstAlign) { in SimplifyAnyMemTransfer()
115 MI->setDestAlignment(DstAlign); in SimplifyAnyMemTransfer()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp3059 MaybeAlign DstAlign = SliceAlign; in visitMemTransferInst() local
3062 std::swap(SrcAlign, DstAlign); in visitMemTransferInst()
3100 IRB.CreateAlignedStore(Src, DstPtr, DstAlign, II.isVolatile())); in visitMemTransferInst()