Home
last modified time | relevance | path

Searched refs:isKnownMultipleOf (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGenTypes/
H A DLowLevelType.h240 assert(getElementCount().isKnownMultipleOf(Factor)); in divide()
262 return getSizeInBits().isKnownMultipleOf(8); in isByteSized()
H A DMachineValueType.h381 bool isByteSized() const { return getSizeInBits().isKnownMultipleOf(8); } in isByteSized()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DTypeSize.h184 constexpr bool isKnownMultipleOf(ScalarTy RHS) const { in isKnownMultipleOf() function
189 constexpr bool isKnownMultipleOf(const FixedOrScalableQuantity &RHS) const { in isKnownMultipleOf() function
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDerivedTypes.h545 assert(EltCnt.isKnownMultipleOf(Denominator) && in getOneNthElementsVectorType()
568 if (!SizeTy->getPrimitiveSizeInBits().isKnownMultipleOf(EltSize)) in getWithSizeAndScalar()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DValueTypes.h239 return !isZeroSized() && getSizeInBits().isKnownMultipleOf(8); in isByteSized()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp565 assert(AccessSize.isKnownMultipleOf(DL.getTypeStoreSize(VecEltTy))); in promoteAllocaUserToVector()
620 assert(AccessSize.isKnownMultipleOf(DL.getTypeStoreSize(VecEltTy))); in promoteAllocaUserToVector()
734 return AccTS.isKnownMultipleOf(VecTS); in isSupportedAccessType()
H A DAMDGPULowerBufferFatPointers.cpp795 if (Size.isKnownMultipleOf(32)) in legalNonAggregateFor()
797 else if (Size.isKnownMultipleOf(16)) in legalNonAggregateFor()
H A DAMDGPURegisterBankInfo.cpp692 assert(Ty.getElementCount().isKnownMultipleOf(2)); in getHalfSizedType()
H A DSIISelLowering.cpp12904 assert(Src.getValueSizeInBits().isKnownMultipleOf(8)); in getDWordFromOffset()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVRegisterInfo.cpp453 assert(OldLoc.isPrecise() && OldLoc.getValue().isKnownMultipleOf(NF)); in lowerVSPILL()
535 assert(OldLoc.isPrecise() && OldLoc.getValue().isKnownMultipleOf(NF)); in lowerVRELOAD()
H A DRISCVTargetTransformInfo.cpp308 !AccumType->isIntegerTy(32) || !VF.isKnownMultipleOf(4)) in getPartialReductionCost()
994 if (VTy->getElementCount().isKnownMultipleOf(Factor) && in getInterleavedMemoryOpCost()
H A DRISCVISelDAGToDAG.cpp2535 .isKnownMultipleOf(Subtarget->expandVScale(VecRegSize)); in Select()
H A DRISCVISelLowering.cpp11528 .isKnownMultipleOf(Subtarget.expandVScale(VecRegSize)); in lowerINSERT_SUBVECTOR()
12279 ContainerVT.getVectorElementCount().isKnownMultipleOf(2)) { in lowerVECTOR_REVERSE()
18699 assert(OpEC.isKnownMultipleOf(4) && OpVT.getVectorElementType() == MVT::i8); in getQDOTXResultType()
18732 !InVec.getValueType().getVectorElementCount().isKnownMultipleOf(4)) in foldReduceOperandViaVQDOT()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InterleavedAccess.cpp207 assert(VecBaseTy->getPrimitiveSizeInBits().isKnownMultipleOf(8) && in decompose()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DScalarEvolution.h1068 isKnownMultipleOf(const SCEV *S, uint64_t M,
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/
H A DRISCVLegalizerInfo.cpp1209 .isKnownMultipleOf(STI.expandVScale(VecRegSize)); in legalizeInsertSubvector()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp3675 if (!SE->isKnownMultipleOf(SrcEv, EltSize, Assume) || in depends()
3676 !SE->isKnownMultipleOf(DstEv, EltSize, Assume)) { in depends()
H A DScalarEvolution.cpp10974 bool ScalarEvolution::isKnownMultipleOf( in isKnownMultipleOf() function in ScalarEvolution
10986 return isKnownMultipleOf(AddRec->getStart(), M, Assumptions) && in isKnownMultipleOf()
10987 isKnownMultipleOf(AddRec->getStepRecurrence(*this), M, Assumptions); in isKnownMultipleOf()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp5473 if (WidenEC.isKnownMultipleOf(InVTEC.getKnownMinValue())) { in WidenVecRes_Convert()
5485 if (InVTEC.isKnownMultipleOf(WidenEC.getKnownMinValue())) { in WidenVecRes_Convert()
7172 if (InWidenSize.isKnownMultipleOf(EltSize)) { in WidenVecOp_BITCAST()
8054 NewLdTySize.isKnownMultipleOf(LdTySize.getKnownMinValue())); in GenWidenVectorLoads()
H A DTargetLowering.cpp11547 while (VT.getVectorElementCount().isKnownMultipleOf(2)) { in expandVecReduce()
12275 if (!VT.isVector() || !VT.getVectorElementCount().isKnownMultipleOf(2)) in expandVectorNaryOpBySplitting()
H A DDAGCombiner.cpp25888 if (NVT.getVectorElementCount().isKnownMultipleOf(DestSrcRatio)) { in visitEXTRACT_SUBVECTOR()
27712 if (NumElts.isKnownMultipleOf(Scale) && (InsIdx % Scale) == 0) { in visitINSERT_SUBVECTOR()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp4522 !VTy->getElementCount().isKnownMultipleOf( in getMemoryOpCost()
5613 SrcTy->getPrimitiveSizeInBits().isKnownMultipleOf( in getShuffleCost()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp1490 if (!FromTy->getElementCount().isKnownMultipleOf(8)) { in CoerceScalableToFixed()
H A DCGExprScalar.cpp2547 if (!ScalableSrcTy->getElementCount().isKnownMultipleOf(8)) { in VisitCastExpr()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp3492 if (!DstTy.getElementCount().isKnownMultipleOf(UnmergeSrcTy.getNumElements())) in matchUseVectorTruncate()

12