Home
last modified time | relevance | path

Searched refs:getPrimitiveSizeInBits (Results 1 – 25 of 111) sorted by relevance

12345

/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ShuffleDecodeConstantPool.cpp47 unsigned CstSizeInBits = CstTy->getPrimitiveSizeInBits(); in extractConstantMask()
119 C->getType()->getPrimitiveSizeInBits() >= Width && in DecodePSHUFBMask()
157 C->getType()->getPrimitiveSizeInBits() >= Width && in DecodeVPERMILPMask()
192 unsigned MaskTySize = MaskTy->getPrimitiveSizeInBits(); in DecodeVPERMIL2PMask()
247 unsigned MaskTySize = MaskTy->getPrimitiveSizeInBits(); in DecodeVPPERMMask()
H A DX86FixupVectorConstants.cpp85 unsigned NumBits = C->getType()->getPrimitiveSizeInBits(); in extractConstantBits()
133 unsigned EltBits = CDS->getElementType()->getPrimitiveSizeInBits(); in extractConstantBits()
160 assert((Ty->getPrimitiveSizeInBits() % SplatBitWidth) == 0 && in getSplatableConstant()
261 unsigned NumSclBits = SclTy->getPrimitiveSizeInBits(); in rebuildSplatCst()
277 unsigned NumSclBits = SclTy->getPrimitiveSizeInBits(); in rebuildZeroUpperCst()
402 unsigned CstBitWidth = C->getType()->getPrimitiveSizeInBits(); in processInstruction()
H A DX86InstCombineIntrinsic.cpp202 unsigned BitWidth = SVT->getPrimitiveSizeInBits(); in simplifyX86immShift()
227 assert(AmtVT->isVectorTy() && AmtVT->getPrimitiveSizeInBits() == 128 && in simplifyX86immShift()
254 assert(AmtVT->isVectorTy() && AmtVT->getPrimitiveSizeInBits() == 128 && in simplifyX86immShift()
444 unsigned NumLanes = ResTy->getPrimitiveSizeInBits() / 128; in simplifyX86pack()
2573 assert(Arg1->getType()->getPrimitiveSizeInBits() == 128 && in instCombineIntrinsic()
2732 assert(Op0->getType()->getPrimitiveSizeInBits() == 128 && in instCombineIntrinsic()
2733 Op1->getType()->getPrimitiveSizeInBits() == 128 && VWidth0 == 2 && in instCombineIntrinsic()
2772 assert(Op0->getType()->getPrimitiveSizeInBits() == 128 && VWidth == 2 && in instCombineIntrinsic()
2796 assert(Op0->getType()->getPrimitiveSizeInBits() == 128 && in instCombineIntrinsic()
2797 Op1->getType()->getPrimitiveSizeInBits() == 128 && VWidth == 2 && in instCombineIntrinsic()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp233 computeScale(GEP->getSourceElementType()->getPrimitiveSizeInBits(), in decomposePtr()
506 if (MemoryTy->getPrimitiveSizeInBits() < 128) { in tryCreateMaskedGatherOffset()
513 User->getType()->getPrimitiveSizeInBits() == 128) { in tryCreateMaskedGatherOffset()
520 User->getType()->getPrimitiveSizeInBits() == 128) { in tryCreateMaskedGatherOffset()
530 if (ResultTy->getPrimitiveSizeInBits() < 128 && in tryCreateMaskedGatherOffset()
540 if (ResultTy->getPrimitiveSizeInBits() != 128) { in tryCreateMaskedGatherOffset()
676 if (PreTruncTy->getPrimitiveSizeInBits() == 128) { in tryCreateMaskedScatterOffset()
682 if (InputTy->getPrimitiveSizeInBits() < 128 && in tryCreateMaskedScatterOffset()
694 if (InputTy->getPrimitiveSizeInBits() != 128) { in tryCreateMaskedScatterOffset()
1120 unsigned TargetElemSize = VT->getElementType()->getPrimitiveSizeInBits(); in CheckAndCreateOffsetAdd()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DType.cpp166 return getPrimitiveSizeInBits() == Ty->getPrimitiveSizeInBits(); in canLosslesslyBitCastTo()
170 getPrimitiveSizeInBits().getFixedValue() == 8192) in canLosslesslyBitCastTo()
173 Ty->getPrimitiveSizeInBits().getFixedValue() == 8192) in canLosslesslyBitCastTo()
198 TypeSize Type::getPrimitiveSizeInBits() const { in getPrimitiveSizeInBits() function in Type
222 TypeSize ETS = VTy->getElementType()->getPrimitiveSizeInBits(); in getPrimitiveSizeInBits()
233 return getScalarType()->getPrimitiveSizeInBits().getFixedValue(); in getScalarSizeInBits()
H A DAutoUpgrade.cpp600 unsigned IdxSize = Idx->getPrimitiveSizeInBits(); in upgradeX86IntrinsicFunction()
668 size_t OperandWidth = F->getReturnType()->getPrimitiveSizeInBits(); in upgradeArmOrAarch64IntrinsicFunction()
1843 unsigned VecWidth = Ty->getPrimitiveSizeInBits(); in upgradeX86VPERMT2Intrinsics()
2017 ? Align(Data->getType()->getPrimitiveSizeInBits().getFixedValue() / 8) in upgradeMaskedStore()
2037 Passthru->getType()->getPrimitiveSizeInBits().getFixedValue() / in upgradeMaskedLoad()
2180 unsigned VecWidth = CI.getType()->getPrimitiveSizeInBits(); in upgradeAVX512MaskToSelect()
2608 Align(Arg1->getType()->getPrimitiveSizeInBits().getFixedValue() / 8)); in upgradeX86IntrinsicCall()
2644 unsigned NumElts = CI->getType()->getPrimitiveSizeInBits() / in upgradeX86IntrinsicCall()
2645 ExtTy->getPrimitiveSizeInBits(); in upgradeX86IntrinsicCall()
2777 unsigned VecWidth = OpTy->getPrimitiveSizeInBits(); in upgradeX86IntrinsicCall()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp426 APInt RandomInt(Ty->getPrimitiveSizeInBits(), ArrayRef(RandomBits)); in Act()
438 Ty, APInt::getAllOnes(Ty->getPrimitiveSizeInBits()))); in Act()
441 ConstantInt::get(Ty, APInt::getZero(Ty->getPrimitiveSizeInBits()))); in Act()
549 unsigned VSize = VTy->getScalarType()->getPrimitiveSizeInBits(); in Act()
550 unsigned DestSize = DestTy->getScalarType()->getPrimitiveSizeInBits(); in Act()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp170 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost()
202 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostIntrin()
238 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostInst()
319 (Ty->getPrimitiveSizeInBits() > 128); in isMMAType()
804 unsigned MemBits = Src->getPrimitiveSizeInBits(); in getMemoryOpCost()
927 return Ty->isIntOrIntVectorTy(1) && Ty->getPrimitiveSizeInBits() > 128; in areTypesABICompatible()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.h150 return SrcTy->getPrimitiveSizeInBits() == 64 && in isTruncateFree()
151 DstTy->getPrimitiveSizeInBits() == 32; in isTruncateFree()
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiTargetTransformInfo.h56 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp156 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost()
192 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostInst()
312 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostIntrin()
784 assert(SrcTy->getPrimitiveSizeInBits().getFixedValue() > in getVectorTruncCost()
785 DstTy->getPrimitiveSizeInBits().getFixedValue() && in getVectorTruncCost()
1543 VType->getPrimitiveSizeInBits() < SystemZ::VectorBits; in shouldExpandReduction()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDerivedTypes.h482 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getInteger()
513 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getTruncatedElementVectorType()
568 if (!SizeTy->getPrimitiveSizeInBits().isKnownMultipleOf(EltSize)) in getWithSizeAndScalar()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DBasicAliasAnalysis.cpp291 return V->getType()->getPrimitiveSizeInBits() - TruncBits + ZExtBits + in getBitWidth()
302 unsigned ExtendBy = V->getType()->getPrimitiveSizeInBits() - in withZExtOfValue()
303 NewV->getType()->getPrimitiveSizeInBits(); in withZExtOfValue()
322 unsigned ExtendBy = V->getType()->getPrimitiveSizeInBits() - in withSExtOfValue()
323 NewV->getType()->getPrimitiveSizeInBits(); in withSExtOfValue()
338 assert(N.getBitWidth() == V->getType()->getPrimitiveSizeInBits() && in evaluateWith()
347 assert(N.getBitWidth() == V->getType()->getPrimitiveSizeInBits() && in evaluateWith()
1335 int ValOrigBW = Var.Val.V->getType()->getPrimitiveSizeInBits(); in aliasGEP()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp222 SrcTy->getPrimitiveSizeInBits() == DestTy->getPrimitiveSizeInBits()) { in commonCastTransforms()
427 unsigned VecWidth = VecType->getPrimitiveSizeInBits(); in foldVecTruncToExtElt()
428 unsigned DestWidth = DestType->getPrimitiveSizeInBits(); in foldVecTruncToExtElt()
2186 if (SrcTy->getElementType()->getPrimitiveSizeInBits() != in optimizeVectorResizeWithIntegerBitCasts()
2187 DestTy->getElementType()->getPrimitiveSizeInBits()) in optimizeVectorResizeWithIntegerBitCasts()
2245 return Value % Ty->getPrimitiveSizeInBits() == 0; in isMultipleOfTypeSize()
2249 return Value / Ty->getPrimitiveSizeInBits(); in getTypeSizeIndex()
2294 unsigned NumElts = getTypeSizeIndex(C->getType()->getPrimitiveSizeInBits(), in collectInsertionElements()
2306 C->getType()->getPrimitiveSizeInBits())); in collectInsertionElements()
2307 unsigned ElementSize = VecEltTy->getPrimitiveSizeInBits(); in collectInsertionElements()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DFloat2Int.cpp169 unsigned BW = I->getOperand(0)->getType()->getPrimitiveSizeInBits(); in walkBackwards()
414 APSInt Val(ToTy->getPrimitiveSizeInBits(), /*isUnsigned=*/false); in convert()
H A DScalarizeMaskedMemIntrin.cpp177 commonAlignment(AlignVal, EltTy->getPrimitiveSizeInBits() / 8); in scalarizeMaskedLoad()
347 commonAlignment(AlignVal, EltTy->getPrimitiveSizeInBits() / 8); in scalarizeMaskedStore()
726 commonAlignment(Alignment, EltTy->getPrimitiveSizeInBits() / 8); in scalarizeMaskedExpandLoad()
859 commonAlignment(Alignment, EltTy->getPrimitiveSizeInBits() / 8); in scalarizeMaskedCompressStore()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DType.h252 TypeSize getPrimitiveSizeInBits() const { in getPrimitiveSizeInBits() function
253 return LLVMTy->getPrimitiveSizeInBits(); in getPrimitiveSizeInBits()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DCBufferDataLayout.cpp103 if (TypeSize ScalarSize = EltTy->getScalarType()->getPrimitiveSizeInBits()) in getStructLayout()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp597 Result.IntVal = APInt(C->getType()->getPrimitiveSizeInBits(), 0); in getConstantValue()
608 APInt(ElemTy->getPrimitiveSizeInBits(), 0); in getConstantValue()
628 APInt(ElemTy->getPrimitiveSizeInBits(), 0); in getConstantValue()
640 APInt(ElemTy->getPrimitiveSizeInBits(), 0); in getConstantValue()
1007 APInt(CV->getOperand(i)->getType()->getPrimitiveSizeInBits(), 0); in getConstantValue()
1014 CDV->getElementType()->getPrimitiveSizeInBits(), in getConstantValue()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanSLP.cpp141 unsigned Width = OriginalInstr->getType()->getPrimitiveSizeInBits(); in areVectorizable()
145 I->getType()->getPrimitiveSizeInBits() == Width; in areVectorizable()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp159 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerCTPOP()
191 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerCTLZ()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonGenExtract.cpp150 unsigned BW = Ty->getPrimitiveSizeInBits(); in INITIALIZE_PASS_DEPENDENCY()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelLowering.cpp208 unsigned NumBits1 = Ty1->getPrimitiveSizeInBits(); in isTruncateFree()
209 unsigned NumBits2 = Ty2->getPrimitiveSizeInBits(); in isTruncateFree()
224 unsigned NumBits1 = Ty1->getPrimitiveSizeInBits(); in isZExtFree()
225 unsigned NumBits2 = Ty2->getPrimitiveSizeInBits(); in isZExtFree()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/ARC/
H A DABISysV_arc.cpp529 size_t byte_size = retType.getPrimitiveSizeInBits(); in GetReturnValueObjectImpl()
548 const size_t byte_size = retType.getPrimitiveSizeInBits() / CHAR_BIT; in GetReturnValueObjectImpl()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp766 ResLTy->getPrimitiveSizeInBits()) in computeVolatileBitfields()
780 const unsigned StorageSize = ResLTy->getPrimitiveSizeInBits(); in computeVolatileBitfields()
836 Types.ConvertTypeForMem(F->getType())->getPrimitiveSizeInBits()) - in computeVolatileBitfields()

12345