Home
last modified time | relevance | path

Searched refs:MemSizeInBits (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp252 uint64_t MemSizeInBits = SizeCst->getZExtValue() * 8; in analyzeLoadFromClobberingMemInst() local
263 MemSizeInBits, DL); in analyzeLoadFromClobberingMemInst()
281 MemSizeInBits, DL); in analyzeLoadFromClobberingMemInst()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DGlobalISelEmitter.cpp616 auto MemSizeInBits = getMemSizeBitsFromPredicate(Predicate); in addBuiltinPredicates() local
617 if (!MemSizeInBits) in addBuiltinPredicates()
620 InsnMatcher.addPredicate<MemorySizePredicateMatcher>(0, *MemSizeInBits / in addBuiltinPredicates()
653 auto MemSizeInBits = getMemSizeBitsFromPredicate(Predicate); in addBuiltinPredicates() local
654 if (!MemSizeInBits) in addBuiltinPredicates()
658 *MemSizeInBits / 8); in addBuiltinPredicates()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DCombinerHelper.h930 const unsigned MemSizeInBits);
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp3478 unsigned MemSizeInBits = MemTy.getSizeInBits(); in lowerLoad() local
3481 if (MemSizeInBits != MemStoreSizeInBits) { in lowerLoad()
3503 MIRBuilder.buildSExtInReg(LoadReg, NewLoad, MemSizeInBits); in lowerLoad()
3508 MIRBuilder.buildAssertZExt(LoadReg, NewLoad, MemSizeInBits); in lowerLoad()
3541 if (!isPowerOf2_32(MemSizeInBits)) { in lowerLoad()
3543 LargeSplitSize = llvm::bit_floor(MemSizeInBits); in lowerLoad()
3544 SmallSplitSize = MemSizeInBits - LargeSplitSize; in lowerLoad()
3554 SmallSplitSize = LargeSplitSize = MemSizeInBits / 2; in lowerLoad()
3657 unsigned MemSizeInBits = MemTy.getSizeInBits(); in lowerStore() local
3660 if (!isPowerOf2_32(MemSizeInBits)) { in lowerStore()
[all …]
H A DCombinerHelper.cpp3748 matchLoadAndBytePosition(Register Reg, unsigned MemSizeInBits, in matchLoadAndBytePosition() argument
3760 if (Shift % MemSizeInBits != 0) in matchLoadAndBytePosition()
3768 if (!Load->isUnordered() || Load->getMemSizeInBits() != MemSizeInBits) in matchLoadAndBytePosition()
3771 return std::make_pair(Load, Shift / MemSizeInBits); in matchLoadAndBytePosition()
3777 const SmallVector<Register, 8> &RegsToVisit, const unsigned MemSizeInBits) { in findLoadOffsetsForLoadOrCombine() argument
3812 auto LoadAndPos = matchLoadAndBytePosition(Reg, MemSizeInBits, MRI); in findLoadOffsetsForLoadOrCombine()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp2885 unsigned MemSizeInBits = LdSt.getMemSizeInBits().getValue(); in select() local
2910 if (MRI.getType(ValReg).getSizeInBits() == 64 && MemSizeInBits != 64) { in select()
2939 if (isa<GStore>(LdSt) && ValTy.getSizeInBits() > MemSizeInBits) { in select()
2952 } else if (isa<GLoad>(LdSt) && ValTy.getSizeInBits() > MemSizeInBits) { in select()
2983 selectLoadStoreUIOp(I.getOpcode(), RB.getID(), MemSizeInBits); in select()
3030 ValTy == LLT::scalar(64) && MemSizeInBits == 32)) { in select()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULegalizerInfo.cpp520 const unsigned MemSizeInBits = MemTy.getSizeInBits(); in shouldBitcastLoadStoreType() local
522 if (Size != MemSizeInBits) in shouldBitcastLoadStoreType()