Home
last modified time | relevance | path

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

1234

/freebsd-13.1/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 DX86InstCombineIntrinsic.cpp206 unsigned BitWidth = SVT->getPrimitiveSizeInBits(); in simplifyX86immShift()
231 assert(AmtVT->isVectorTy() && AmtVT->getPrimitiveSizeInBits() == 128 && in simplifyX86immShift()
258 assert(AmtVT->isVectorTy() && AmtVT->getPrimitiveSizeInBits() == 128 && in simplifyX86immShift()
449 unsigned NumLanes = ResTy->getPrimitiveSizeInBits() / 128; in simplifyX86pack()
1351 assert(Arg1->getType()->getPrimitiveSizeInBits() == 128 && in instCombineIntrinsic()
1470 assert(Op0->getType()->getPrimitiveSizeInBits() == 128 && in instCombineIntrinsic()
1534 assert(Op0->getType()->getPrimitiveSizeInBits() == 128 && in instCombineIntrinsic()
1571 assert(Op0->getType()->getPrimitiveSizeInBits() == 128 && in instCombineIntrinsic()
1637 assert(Mask->getType()->getPrimitiveSizeInBits() == in instCombineIntrinsic()
1638 II.getType()->getPrimitiveSizeInBits() && in instCombineIntrinsic()
[all …]
H A DX86InterleavedAccess.cpp214 assert(VecBaseTy->getPrimitiveSizeInBits().isKnownMultipleOf(8) && in decompose()
218 FirstAlignment, VecBaseTy->getPrimitiveSizeInBits().getFixedSize() / 8); in decompose()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DType.cpp81 return getPrimitiveSizeInBits() == Ty->getPrimitiveSizeInBits(); in canLosslesslyBitCastTo()
85 getPrimitiveSizeInBits().getFixedSize() == 64) in canLosslesslyBitCastTo()
88 Ty->getPrimitiveSizeInBits().getFixedSize() == 64) in canLosslesslyBitCastTo()
93 getPrimitiveSizeInBits().getFixedSize() == 8192) in canLosslesslyBitCastTo()
96 Ty->getPrimitiveSizeInBits().getFixedSize() == 8192) in canLosslesslyBitCastTo()
128 TypeSize Type::getPrimitiveSizeInBits() const { in getPrimitiveSizeInBits() function in Type
145 TypeSize ETS = VTy->getElementType()->getPrimitiveSizeInBits(); in getPrimitiveSizeInBits()
155 return getScalarType()->getPrimitiveSizeInBits().getFixedSize(); in getScalarSizeInBits()
H A DAutoUpgrade.cpp510 unsigned IdxSize = Idx->getPrimitiveSizeInBits(); in UpgradeX86IntrinsicFunction()
1210 unsigned VecWidth = Ty->getPrimitiveSizeInBits(); in UpgradeX86VPERMT2Intrinsics()
1559 unsigned VecWidth = CI.getType()->getPrimitiveSizeInBits(); in upgradeAVX512MaskToSelect()
1947 unsigned NumElts = CI->getType()->getPrimitiveSizeInBits() / in UpgradeIntrinsicCall()
1948 ExtTy->getPrimitiveSizeInBits(); in UpgradeIntrinsicCall()
2091 unsigned VecWidth = OpTy->getPrimitiveSizeInBits(); in UpgradeIntrinsicCall()
2105 unsigned VecWidth = OpTy->getPrimitiveSizeInBits(); in UpgradeIntrinsicCall()
2130 unsigned VecWidth = OpTy->getPrimitiveSizeInBits(); in UpgradeIntrinsicCall()
2460 unsigned NumSrcElts = 128 / EltTy->getPrimitiveSizeInBits(); in UpgradeIntrinsicCall()
2474 unsigned NumLanes = VT->getPrimitiveSizeInBits() / 128; in UpgradeIntrinsicCall()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp232 computeScale(GEP->getSourceElementType()->getPrimitiveSizeInBits(), in decomposePtr()
492 if (MemoryTy->getPrimitiveSizeInBits() < 128) { in tryCreateMaskedGatherOffset()
499 User->getType()->getPrimitiveSizeInBits() == 128) { in tryCreateMaskedGatherOffset()
506 User->getType()->getPrimitiveSizeInBits() == 128) { in tryCreateMaskedGatherOffset()
516 if (ResultTy->getPrimitiveSizeInBits() < 128 && in tryCreateMaskedGatherOffset()
526 if (ResultTy->getPrimitiveSizeInBits() != 128) { in tryCreateMaskedGatherOffset()
662 if (PreTruncTy->getPrimitiveSizeInBits() == 128) { in tryCreateMaskedScatterOffset()
668 if (InputTy->getPrimitiveSizeInBits() < 128 && in tryCreateMaskedScatterOffset()
680 if (InputTy->getPrimitiveSizeInBits() != 128) { in tryCreateMaskedScatterOffset()
1096 unsigned TargetElemSize = VT->getElementType()->getPrimitiveSizeInBits(); in CheckAndCreateOffsetAdd()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp443 APInt RandomInt(Ty->getPrimitiveSizeInBits(), makeArrayRef(RandomBits)); in Act()
455 Ty, APInt::getAllOnesValue(Ty->getPrimitiveSizeInBits()))); in Act()
458 Ty, APInt::getNullValue(Ty->getPrimitiveSizeInBits()))); in Act()
572 unsigned VSize = VTy->getScalarType()->getPrimitiveSizeInBits(); in Act()
573 unsigned DestSize = DestTy->getScalarType()->getPrimitiveSizeInBits(); in Act()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp37 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost()
72 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostInst()
192 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostIntrin()
613 assert(SrcTy->getPrimitiveSizeInBits().getFixedSize() > in getVectorTruncCost()
614 DstTy->getPrimitiveSizeInBits().getFixedSize() && in getVectorTruncCost()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.h467 return SrcTy->getPrimitiveSizeInBits() == 64 && in isTruncateFree()
468 DstTy->getPrimitiveSizeInBits() == 32; in isTruncateFree()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp334 SrcTy->getPrimitiveSizeInBits() == DestTy->getPrimitiveSizeInBits()) { in commonCastTransforms()
514 unsigned VecWidth = VecType->getPrimitiveSizeInBits(); in foldVecTruncToExtElt()
515 unsigned DestWidth = DestType->getPrimitiveSizeInBits(); in foldVecTruncToExtElt()
2106 if (SrcTy->getElementType()->getPrimitiveSizeInBits() != in optimizeVectorResizeWithIntegerBitCasts()
2107 DestTy->getElementType()->getPrimitiveSizeInBits()) in optimizeVectorResizeWithIntegerBitCasts()
2169 return Value % Ty->getPrimitiveSizeInBits() == 0; in isMultipleOfTypeSize()
2173 return Value / Ty->getPrimitiveSizeInBits(); in getTypeSizeIndex()
2218 unsigned NumElts = getTypeSizeIndex(C->getType()->getPrimitiveSizeInBits(), in collectInsertionElements()
2230 C->getType()->getPrimitiveSizeInBits())); in collectInsertionElements()
2231 unsigned ElementSize = VecEltTy->getPrimitiveSizeInBits(); in collectInsertionElements()
[all …]
H A DInstCombinePHI.cpp1005 return Inst->getType()->getPrimitiveSizeInBits() < in operator <()
1006 RHS.Inst->getType()->getPrimitiveSizeInBits(); in operator <()
1016 : PN(pn), Shift(Sh), Width(Ty->getPrimitiveSizeInBits()) {} in LoweredPHIRecord()
1475 !DL.isLegalInteger(PN.getType()->getPrimitiveSizeInBits())) in visitPHINode()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DBasicAliasAnalysis.cpp245 return V->getType()->getPrimitiveSizeInBits() + ZExtBits + SExtBits; in getBitWidth()
253 unsigned ExtendBy = V->getType()->getPrimitiveSizeInBits() - in withZExtOfValue()
254 NewV->getType()->getPrimitiveSizeInBits(); in withZExtOfValue()
260 unsigned ExtendBy = V->getType()->getPrimitiveSizeInBits() - in withSExtOfValue()
261 NewV->getType()->getPrimitiveSizeInBits(); in withSExtOfValue()
267 assert(N.getBitWidth() == V->getType()->getPrimitiveSizeInBits() && in evaluateWith()
H A DLoopUnrollAnalyzer.cpp124 unsigned ElemSize = CDS->getElementType()->getPrimitiveSizeInBits() / 8U; in visitLoad()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp177 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost()
208 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostIntrin()
244 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostInst()
1142 unsigned MemBytes = Src->getPrimitiveSizeInBits(); in getMemoryOpCost()
1243 EltTy->getPrimitiveSizeInBits() > 128); in areFunctionArgsABICompatible()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanSLP.cpp93 unsigned Width = OriginalInstr->getType()->getPrimitiveSizeInBits(); in areVectorizable()
97 I->getType()->getPrimitiveSizeInBits() == Width; in areVectorizable()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DFloat2Int.cpp207 unsigned BW = I->getOperand(0)->getType()->getPrimitiveSizeInBits(); in walkBackwards()
450 APSInt Val(ToTy->getPrimitiveSizeInBits(), /*isUnsigned=*/false); in convert()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelLowering.cpp194 unsigned NumBits1 = Ty1->getPrimitiveSizeInBits(); in isTruncateFree()
195 unsigned NumBits2 = Ty2->getPrimitiveSizeInBits(); in isTruncateFree()
210 unsigned NumBits1 = Ty1->getPrimitiveSizeInBits(); in isZExtFree()
211 unsigned NumBits2 = Ty2->getPrimitiveSizeInBits(); in isZExtFree()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DTypePromotion.cpp134 assert(OrigTy->getPrimitiveSizeInBits().getFixedSize() < in IRPromoter()
135 ExtTy->getPrimitiveSizeInBits().getFixedSize() && in IRPromoter()
810 TypeSize = OrigTy->getPrimitiveSizeInBits().getFixedSize(); in TryToPromote()
H A DIntrinsicLowering.cpp159 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerCTPOP()
191 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerCTLZ()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp598 Result.IntVal = APInt(C->getType()->getPrimitiveSizeInBits(), 0); in getConstantValue()
609 APInt(ElemTy->getPrimitiveSizeInBits(), 0); in getConstantValue()
630 APInt(ElemTy->getPrimitiveSizeInBits(), 0); in getConstantValue()
993 APInt(CV->getOperand(i)->getType()->getPrimitiveSizeInBits(), 0); in getConstantValue()
1000 CDV->getElementType()->getPrimitiveSizeInBits(), in getConstantValue()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/ARC/
H A DABISysV_arc.cpp525 size_t byte_size = retType.getPrimitiveSizeInBits(); in GetReturnValueObjectImpl()
544 const size_t byte_size = retType.getPrimitiveSizeInBits() / CHAR_BIT; in GetReturnValueObjectImpl()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DDerivedTypes.h440 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getInteger()
471 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getTruncatedElementVectorType()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonGenExtract.cpp161 unsigned BW = Ty->getPrimitiveSizeInBits(); in INITIALIZE_PASS_DEPENDENCY()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/
H A DRenderScriptx86ABIFixups.cpp58 ->getPrimitiveSizeInBits() > 128; in isRSLargeReturnCall()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp555 ResLTy->getPrimitiveSizeInBits()) in computeVolatileBitfields()
569 const unsigned StorageSize = ResLTy->getPrimitiveSizeInBits(); in computeVolatileBitfields()
625 Types.ConvertTypeForMem(F->getType())->getPrimitiveSizeInBits()) - in computeVolatileBitfields()

1234