/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | CombinerHelper.h | 188 unsigned KnownLen, unsigned DstAlign, unsigned SrcAlign, 191 unsigned KnownLen, unsigned DstAlign, unsigned SrcAlign, 194 unsigned KnownLen, unsigned DstAlign, bool IsVolatile);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | IRBuilder.cpp | 155 CallInst *IRBuilderBase::CreateMemCpy(Value *Dst, unsigned DstAlign, Value *Src, in CreateMemCpy() argument 160 return CreateMemCpy(Dst, MaybeAlign(DstAlign), Src, MaybeAlign(SrcAlign), in CreateMemCpy() 165 CallInst *IRBuilderBase::CreateMemCpy(Value *Dst, MaybeAlign DstAlign, in CreateMemCpy() argument 181 if (DstAlign) in CreateMemCpy() 182 MCI->setDestAlignment(*DstAlign); in CreateMemCpy() 204 Value *Dst, unsigned DstAlign, Value *Src, unsigned SrcAlign, Value *Size, in CreateElementUnorderedAtomicMemCpy() argument 207 assert(DstAlign >= ElementSize && in CreateElementUnorderedAtomicMemCpy() 224 AMCI->setDestAlignment(DstAlign); in CreateElementUnorderedAtomicMemCpy() 244 CallInst *IRBuilderBase::CreateMemMove(Value *Dst, MaybeAlign DstAlign, in CreateMemMove() argument 260 if (DstAlign) in CreateMemMove() [all …]
|
D | Core.cpp | 3450 LLVMValueRef Dst, unsigned DstAlign, in LLVMBuildMemCpy() argument 3453 return wrap(unwrap(B)->CreateMemCpy(unwrap(Dst), MaybeAlign(DstAlign), in LLVMBuildMemCpy() 3459 LLVMValueRef Dst, unsigned DstAlign, in LLVMBuildMemMove() argument 3462 return wrap(unwrap(B)->CreateMemMove(unwrap(Dst), MaybeAlign(DstAlign), in LLVMBuildMemMove()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | CombinerHelper.cpp | 858 std::vector<LLT> &MemOps, unsigned Limit, uint64_t Size, unsigned DstAlign, in findGISelOptimalMemOpLowering() argument 869 if (SrcAlign != 0 && SrcAlign < DstAlign) in findGISelOptimalMemOpLowering() 872 LLT Ty = TLI.getOptimalMemOpLLT(Size, DstAlign, SrcAlign, IsMemset, in findGISelOptimalMemOpLowering() 880 while (DstAlign && DstAlign < Ty.getSizeInBytes() && in findGISelOptimalMemOpLowering() 881 !TLI.allowsMisalignedMemoryAccesses(Ty, DstAS, DstAlign)) in findGISelOptimalMemOpLowering() 908 VT, DstAS, DstAlign, MachineMemOperand::MONone, &Fast) && in findGISelOptimalMemOpLowering() 1078 unsigned DstAlign, unsigned SrcAlign, in optimizeMemcpy() argument 1090 unsigned Alignment = MinAlign(DstAlign, SrcAlign); in optimizeMemcpy() 1186 unsigned DstAlign, unsigned SrcAlign, in optimizeMemmove() argument 1198 unsigned Alignment = MinAlign(DstAlign, SrcAlign); in optimizeMemmove() [all …]
|
D | IRTranslator.cpp | 1136 unsigned DstAlign = 0, SrcAlign = 0; in translateMemFunc() local 1142 DstAlign = std::max<unsigned>(MCI->getDestAlignment(), 1); in translateMemFunc() 1145 DstAlign = std::max<unsigned>(MMI->getDestAlignment(), 1); in translateMemFunc() 1149 DstAlign = std::max<unsigned>(MSI->getDestAlignment(), 1); in translateMemFunc() 1161 MachineMemOperand::MOStore | VolFlag, 1, DstAlign)); in translateMemFunc()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | IRBuilder.h | 523 CallInst *CreateMemCpy(Value *Dst, unsigned DstAlign, Value *Src, 530 return CreateMemCpy(Dst, MaybeAlign(DstAlign), Src, MaybeAlign(SrcAlign), 535 CallInst *CreateMemCpy(Value *Dst, MaybeAlign DstAlign, Value *Src, 541 return CreateMemCpy(Dst, DstAlign, Src, SrcAlign, getInt64(Size), 549 CallInst *CreateMemCpy(Value *Dst, unsigned DstAlign, Value *Src, 556 CallInst *CreateMemCpy(Value *Dst, MaybeAlign DstAlign, Value *Src, 572 Value *Dst, unsigned DstAlign, Value *Src, unsigned SrcAlign, 577 Dst, DstAlign, Src, SrcAlign, getInt64(Size), ElementSize, TBAATag, 582 Value *Dst, unsigned DstAlign, Value *Src, unsigned SrcAlign, Value *Size, 597 Value *Dst, unsigned DstAlign, Value *Src, unsigned SrcAlign, [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/ |
D | BPFISelLowering.h | 102 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign, unsigned SrcAlign, in getOptimalMemOpType() argument
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.h | 425 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign, unsigned SrcAlign, 429 LLT getOptimalMemOpLLT(uint64_t Size, unsigned DstAlign, unsigned SrcAlign,
|
D | AArch64ISelLowering.cpp | 9368 static bool memOpAlign(unsigned DstAlign, unsigned SrcAlign, in memOpAlign() argument 9371 (DstAlign == 0 || DstAlign % AlignCheck == 0)); in memOpAlign() 9375 uint64_t Size, unsigned DstAlign, unsigned SrcAlign, bool IsMemset, in getOptimalMemOpType() argument 9387 if (memOpAlign(SrcAlign, DstAlign, AlignCheck)) in getOptimalMemOpType() 9408 uint64_t Size, unsigned DstAlign, unsigned SrcAlign, bool IsMemset, in getOptimalMemOpLLT() argument 9420 if (memOpAlign(SrcAlign, DstAlign, AlignCheck)) in getOptimalMemOpLLT()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | SelectionDAG.h | 978 unsigned DstAlign, SDValue Src, unsigned SrcAlign, 984 unsigned DstAlign, SDValue Src, unsigned SrcAlign, 990 unsigned DstAlign, SDValue Value, SDValue Size,
|
D | TargetLowering.h | 3093 unsigned DstAlign, unsigned SrcAlign,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMTargetTransformInfo.cpp | 555 const unsigned DstAlign = MI->getDestAlignment(); in getMemcpyCost() local 565 MemOps, Limit, Size, DstAlign, SrcAlign, false /*IsMemset*/, in getMemcpyCost()
|
D | ARMISelLowering.h | 349 unsigned DstAlign, unsigned SrcAlign,
|
D | ARMISelLowering.cpp | 14840 static bool memOpAlign(unsigned DstAlign, unsigned SrcAlign, in memOpAlign() argument 14843 (DstAlign == 0 || DstAlign % AlignCheck == 0)); in memOpAlign() 14847 uint64_t Size, unsigned DstAlign, unsigned SrcAlign, bool IsMemset, in getOptimalMemOpType() argument 14855 (memOpAlign(SrcAlign, DstAlign, 16) || in getOptimalMemOpType() 14861 (memOpAlign(SrcAlign, DstAlign, 8) || in getOptimalMemOpType()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonISelLowering.h | 304 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign,
|
D | HexagonISelLowering.cpp | 3236 unsigned DstAlign, unsigned SrcAlign, bool IsMemset, bool ZeroMemset, in getOptimalMemOpType() argument 3243 if (Size >= 8 && Aligned(DstAlign, 8) && (IsMemset || Aligned(SrcAlign, 8))) in getOptimalMemOpType() 3245 if (Size >= 4 && Aligned(DstAlign, 4) && (IsMemset || Aligned(SrcAlign, 4))) in getOptimalMemOpType() 3247 if (Size >= 2 && Aligned(DstAlign, 2) && (IsMemset || Aligned(SrcAlign, 2))) in getOptimalMemOpType()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | SIISelLowering.h | 256 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MipsISelLowering.h | 672 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 5850 unsigned DstAlign = std::max<unsigned>(MCI.getDestAlignment(), 1); in visitIntrinsicCall() local 5852 unsigned Align = MinAlign(DstAlign, SrcAlign); in visitIntrinsicCall() 5886 unsigned DstAlign = std::max<unsigned>(MMI.getDestAlignment(), 1); in visitIntrinsicCall() local 5888 unsigned Align = MinAlign(DstAlign, SrcAlign); in visitIntrinsicCall() 5906 unsigned DstAlign = MI.getDestAlignment(); in visitIntrinsicCall() local 5911 SDValue MC = DAG.getAtomicMemcpy(getRoot(), sdl, Dst, DstAlign, Src, in visitIntrinsicCall() 5924 unsigned DstAlign = MI.getDestAlignment(); in visitIntrinsicCall() local 5929 SDValue MC = DAG.getAtomicMemmove(getRoot(), sdl, Dst, DstAlign, Src, in visitIntrinsicCall() 5942 unsigned DstAlign = MI.getDestAlignment(); in visitIntrinsicCall() local 5946 SDValue MC = DAG.getAtomicMemset(getRoot(), sdl, Dst, DstAlign, Val, Length, in visitIntrinsicCall() [all …]
|
D | TargetLowering.cpp | 182 unsigned DstAlign, unsigned SrcAlign, in findOptimalMemOpLowering() argument 196 if (!(SrcAlign == 0 || SrcAlign >= DstAlign)) in findOptimalMemOpLowering() 199 EVT VT = getOptimalMemOpType(Size, DstAlign, SrcAlign, in findOptimalMemOpLowering() 208 while (DstAlign && DstAlign < VT.getSizeInBits() / 8 && in findOptimalMemOpLowering() 209 !allowsMisalignedMemoryAccesses(VT, DstAS, DstAlign)) in findOptimalMemOpLowering() 261 allowsMisalignedMemoryAccesses(VT, DstAS, DstAlign, in findOptimalMemOpLowering()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/ |
D | Core.h | 3772 LLVMValueRef Dst, unsigned DstAlign, 3781 LLVMValueRef Dst, unsigned DstAlign,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.h | 907 getOptimalMemOpType(uint64_t Size, unsigned DstAlign, unsigned SrcAlign,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.h | 770 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign, unsigned SrcAlign,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 3026 MaybeAlign DstAlign = SliceAlign; in visitMemTransferInst() local 3029 std::swap(SrcAlign, DstAlign); in visitMemTransferInst() 3065 IRB.CreateAlignedStore(Src, DstPtr, DstAlign, II.isVolatile())); in visitMemTransferInst()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 117 unsigned DstAlign = getKnownAlignment(MI->getRawDest(), DL, MI, &AC, &DT); in SimplifyAnyMemTransfer() local 119 if (CopyDstAlign < DstAlign){ in SimplifyAnyMemTransfer() 120 MI->setDestAlignment(DstAlign); in SimplifyAnyMemTransfer()
|