Home
last modified time | relevance | path

Searched refs:MemoryTy (Results 1 – 10 of 10) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp90 FixedVectorType *Ty, Type *MemoryTy,
229 Type *MemoryTy, in decomposePtr() argument
235 MemoryTy->getScalarSizeInBits()); in decomposePtr()
244 if (PtrTy->getNumElements() != 4 || MemoryTy->getScalarSizeInBits() == 32) in decomposePtr()
499 Type *MemoryTy = I->getType(); in tryCreateMaskedGatherOffset() local
500 Type *ResultTy = MemoryTy; in tryCreateMaskedGatherOffset()
507 if (MemoryTy->getPrimitiveSizeInBits() < 128) { in tryCreateMaskedGatherOffset()
551 Ptr, Offsets, Scale, cast<FixedVectorType>(ResultTy), MemoryTy, Builder); in tryCreateMaskedGatherOffset()
562 {BasePtr, Offsets, Builder.getInt32(MemoryTy->getScalarSizeInBits()), in tryCreateMaskedGatherOffset()
568 {BasePtr, Offsets, Builder.getInt32(MemoryTy->getScalarSizeInBits()), in tryCreateMaskedGatherOffset()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DLegalityPredicates.cpp58 Query.MMODescrs[MMOIdx].MemoryTy, in typePairAndMemDescInSet()
187 return !isPowerOf2_32(Query.MMODescrs[MMOIdx].MemoryTy.getSizeInBytes()); in memSizeInBytesNotPow2()
193 const LLT MemTy = Query.MMODescrs[MMOIdx].MemoryTy; in memSizeNotByteSizePow2()
H A DLegalizerInfo.cpp88 OS << MMODescr.MemoryTy << ", "; in print()
H A DCombinerHelper.cpp753 MemDesc.MemoryTy = LLT::scalar(MaskSizeBits); in matchCombineLoadWithAndMask()
766 auto *NewMMO = MF.getMachineMemOperand(&MMO, PtrInfo, MemDesc.MemoryTy); in matchCombineLoadWithAndMask()
871 MMDesc.MemoryTy = LLT::scalar(NewSizeBits); in matchSextInRegOfLoad()
3590 MMDesc.MemoryTy = Ty; in matchLoadOrCombine()
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerInfo.h113 LLT MemoryTy; member
118 MemDesc(LLT MemoryTy, uint64_t AlignInBits, AtomicOrdering Ordering) in MemDesc()
119 : MemoryTy(MemoryTy), AlignInBits(AlignInBits), Ordering(Ordering) {} in MemDesc()
121 : MemoryTy(MMO.getMemoryType()), in MemDesc()
/openbsd-src/gnu/llvm/llvm/lib/Target/Mips/
H A DMipsLegalizerInfo.cpp41 unsigned QueryMemSize = Query.MMODescrs[0].MemoryTy.getSizeInBits(); in CheckTy0Ty1MemSizeAlign()
131 unsigned QueryMemSize = Query.MMODescrs[0].MemoryTy.getSizeInBits(); in MipsLegalizerInfo()
137 if (!isPowerOf2_64(Query.MMODescrs[0].MemoryTy.getSizeInBits())) in MipsLegalizerInfo()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp772 Type *MemoryTy = A.getPointeeInMemoryValueType(); in visitArgument() local
774 if (!MemoryTy|| !MemoryTy->isSized()) { in visitArgument()
779 APInt Size(IntTyBits, DL.getTypeAllocSize(MemoryTy)); in visitArgument()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPULegalizerInfo.cpp234 Query.MMODescrs[0].MemoryTy.getSizeInBits() < Ty.getSizeInBits(); in isWideScalarExtLoadTruncStore()
274 uint64_t MemSize = Query.MMODescrs[0].MemoryTy.getSizeInBits(); in isLoadStoreSizeLegal()
381 static bool shouldWidenLoad(const GCNSubtarget &ST, LLT MemoryTy, in shouldWidenLoad() argument
384 unsigned SizeInBits = MemoryTy.getSizeInBits(); in shouldWidenLoad()
420 return shouldWidenLoad(ST, Query.MMODescrs[0].MemoryTy, in shouldWidenLoad()
1111 unsigned MemSize = Query.MMODescrs[0].MemoryTy.getSizeInBits(); in AMDGPULegalizerInfo()
1197 Query.MMODescrs[0].MemoryTy); in AMDGPULegalizerInfo()
1220 unsigned MemSize = Query.MMODescrs[0].MemoryTy.getSizeInBits(); in AMDGPULegalizerInfo()
1254 unsigned MemSize = Query.MMODescrs[0].MemoryTy.getSizeInBits(); in AMDGPULegalizerInfo()
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/GISel/
H A DAArch64LegalizerInfo.cpp337 Query.Types[0] != Query.MMODescrs[0].MemoryTy && in AArch64LegalizerInfo()
378 Query.Types[0] != Query.MMODescrs[0].MemoryTy; in AArch64LegalizerInfo()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGBuiltin.cpp9220 auto *MemoryTy = llvm::ScalableVectorType::get(MemEltTy, VectorTy); in EmitSVEPrefetchLoad() local
9222 Value *Predicate = EmitSVEPredicateCast(Ops[0], MemoryTy); in EmitSVEPrefetchLoad()
9227 BasePtr = Builder.CreateBitCast(BasePtr, MemoryTy->getPointerTo()); in EmitSVEPrefetchLoad()
9228 BasePtr = Builder.CreateGEP(MemoryTy, BasePtr, Ops[2]); in EmitSVEPrefetchLoad()
9251 auto MemoryTy = llvm::ScalableVectorType::get(MemEltTy, VectorTy); in EmitSVEMaskedLoad() local
9253 Value *Predicate = EmitSVEPredicateCast(Ops[0], MemoryTy); in EmitSVEMaskedLoad()
9254 Value *BasePtr = Builder.CreateBitCast(Ops[1], MemoryTy->getPointerTo()); in EmitSVEMaskedLoad()
9258 BasePtr = Builder.CreateGEP(MemoryTy, BasePtr, Ops[2]); in EmitSVEMaskedLoad()
9261 Function *F = CGM.getIntrinsic(BuiltinID, MemoryTy); in EmitSVEMaskedLoad()
9281 auto MemoryTy = llvm::ScalableVectorType::get(MemEltTy, VectorTy); in EmitSVEMaskedStore() local
[all …]