| /freebsd-head/contrib/llvm-project/llvm/lib/Target/X86/ |
| HD | X86ShuffleDecodeConstantPool.cpp | 47 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()
|
| HD | X86FixupVectorConstants.cpp | 86 unsigned NumBits = C->getType()->getPrimitiveSizeInBits(); in extractConstantBits() 126 unsigned EltBits = CDS->getElementType()->getPrimitiveSizeInBits(); in extractConstantBits() 153 assert((Ty->getPrimitiveSizeInBits() % SplatBitWidth) == 0 && in getSplatableConstant() 254 unsigned NumSclBits = SclTy->getPrimitiveSizeInBits(); in rebuildSplatCst() 270 unsigned NumSclBits = SclTy->getPrimitiveSizeInBits(); in rebuildZeroUpperCst() 363 RegBitWidth ? RegBitWidth : C->getType()->getPrimitiveSizeInBits(); in processInstruction()
|
| HD | X86InstCombineIntrinsic.cpp | 208 unsigned BitWidth = SVT->getPrimitiveSizeInBits(); in simplifyX86immShift() 233 assert(AmtVT->isVectorTy() && AmtVT->getPrimitiveSizeInBits() == 128 && in simplifyX86immShift() 260 assert(AmtVT->isVectorTy() && AmtVT->getPrimitiveSizeInBits() == 128 && in simplifyX86immShift() 450 unsigned NumLanes = ResTy->getPrimitiveSizeInBits() / 128; in simplifyX86pack() 2565 assert(Arg1->getType()->getPrimitiveSizeInBits() == 128 && in instCombineIntrinsic() 2724 assert(Op0->getType()->getPrimitiveSizeInBits() == 128 && in instCombineIntrinsic() 2725 Op1->getType()->getPrimitiveSizeInBits() == 128 && VWidth0 == 2 && in instCombineIntrinsic() 2764 assert(Op0->getType()->getPrimitiveSizeInBits() == 128 && VWidth == 2 && in instCombineIntrinsic() 2788 assert(Op0->getType()->getPrimitiveSizeInBits() == 128 && in instCombineIntrinsic() 2789 Op1->getType()->getPrimitiveSizeInBits() == 128 && VWidth == 2 && in instCombineIntrinsic() [all …]
|
| HD | X86InterleavedAccess.cpp | 210 assert(VecBaseTy->getPrimitiveSizeInBits().isKnownMultipleOf(8) && in decompose() 214 FirstAlignment, VecBaseTy->getPrimitiveSizeInBits().getFixedValue() / 8); in decompose()
|
| /freebsd-head/contrib/llvm-project/llvm/lib/IR/ |
| HD | Type.cpp | 126 return getPrimitiveSizeInBits() == Ty->getPrimitiveSizeInBits(); in canLosslesslyBitCastTo() 130 getPrimitiveSizeInBits().getFixedValue() == 64) in canLosslesslyBitCastTo() 133 Ty->getPrimitiveSizeInBits().getFixedValue() == 64) in canLosslesslyBitCastTo() 138 getPrimitiveSizeInBits().getFixedValue() == 8192) in canLosslesslyBitCastTo() 141 Ty->getPrimitiveSizeInBits().getFixedValue() == 8192) in canLosslesslyBitCastTo() 166 TypeSize Type::getPrimitiveSizeInBits() const { in getPrimitiveSizeInBits() function in Type 192 TypeSize ETS = VTy->getElementType()->getPrimitiveSizeInBits(); in getPrimitiveSizeInBits() 203 return getScalarType()->getPrimitiveSizeInBits().getFixedValue(); in getScalarSizeInBits()
|
| HD | AutoUpgrade.cpp | 590 unsigned IdxSize = Idx->getPrimitiveSizeInBits(); in upgradeX86IntrinsicFunction() 657 size_t OperandWidth = F->getReturnType()->getPrimitiveSizeInBits(); in upgradeArmOrAarch64IntrinsicFunction() 1656 unsigned VecWidth = Ty->getPrimitiveSizeInBits(); in upgradeX86VPERMT2Intrinsics() 1837 ? Align(Data->getType()->getPrimitiveSizeInBits().getFixedValue() / 8) in upgradeMaskedStore() 1859 Passthru->getType()->getPrimitiveSizeInBits().getFixedValue() / in upgradeMaskedLoad() 2003 unsigned VecWidth = CI.getType()->getPrimitiveSizeInBits(); in upgradeAVX512MaskToSelect() 2287 Align(Arg1->getType()->getPrimitiveSizeInBits().getFixedValue() / 8)); in upgradeX86IntrinsicCall() 2328 unsigned NumElts = CI->getType()->getPrimitiveSizeInBits() / in upgradeX86IntrinsicCall() 2329 ExtTy->getPrimitiveSizeInBits(); in upgradeX86IntrinsicCall() 2468 unsigned VecWidth = OpTy->getPrimitiveSizeInBits(); in upgradeX86IntrinsicCall() [all …]
|
| /freebsd-head/contrib/llvm-project/llvm/lib/Target/ARM/ |
| HD | MVEGatherScatterLowering.cpp | 234 computeScale(GEP->getSourceElementType()->getPrimitiveSizeInBits(), in decomposePtr() 507 if (MemoryTy->getPrimitiveSizeInBits() < 128) { in tryCreateMaskedGatherOffset() 514 User->getType()->getPrimitiveSizeInBits() == 128) { in tryCreateMaskedGatherOffset() 521 User->getType()->getPrimitiveSizeInBits() == 128) { in tryCreateMaskedGatherOffset() 531 if (ResultTy->getPrimitiveSizeInBits() < 128 && in tryCreateMaskedGatherOffset() 541 if (ResultTy->getPrimitiveSizeInBits() != 128) { in tryCreateMaskedGatherOffset() 677 if (PreTruncTy->getPrimitiveSizeInBits() == 128) { in tryCreateMaskedScatterOffset() 683 if (InputTy->getPrimitiveSizeInBits() < 128 && in tryCreateMaskedScatterOffset() 695 if (InputTy->getPrimitiveSizeInBits() != 128) { in tryCreateMaskedScatterOffset() 1122 unsigned TargetElemSize = VT->getElementType()->getPrimitiveSizeInBits(); in CheckAndCreateOffsetAdd()
|
| /freebsd-head/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| HD | PPCTargetTransformInfo.cpp | 172 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() 203 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostIntrin() 239 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostInst() 320 (Ty->getPrimitiveSizeInBits() > 128); in isMMAType() 804 unsigned MemBytes = Src->getPrimitiveSizeInBits(); in getMemoryOpCost() 909 return Ty->isIntOrIntVectorTy(1) && Ty->getPrimitiveSizeInBits() > 128; in areTypesABICompatible() 1025 unsigned VecWidth = DataType->getPrimitiveSizeInBits(); in hasActiveVectorLength()
|
| /freebsd-head/contrib/llvm-project/llvm/tools/llvm-stress/ |
| HD | llvm-stress.cpp | 437 APInt RandomInt(Ty->getPrimitiveSizeInBits(), ArrayRef(RandomBits)); in Act() 449 Ty, APInt::getAllOnes(Ty->getPrimitiveSizeInBits()))); in Act() 452 ConstantInt::get(Ty, APInt::getZero(Ty->getPrimitiveSizeInBits()))); in Act() 562 unsigned VSize = VTy->getScalarType()->getPrimitiveSizeInBits(); in Act() 563 unsigned DestSize = DestTy->getScalarType()->getPrimitiveSizeInBits(); in Act()
|
| /freebsd-head/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| HD | SystemZTargetTransformInfo.cpp | 77 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() 113 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostInst() 233 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostIntrin() 661 assert(SrcTy->getPrimitiveSizeInBits().getFixedValue() > in getVectorTruncCost() 662 DstTy->getPrimitiveSizeInBits().getFixedValue() && in getVectorTruncCost() 1342 VType->getPrimitiveSizeInBits() < SystemZ::VectorBits; in shouldExpandReduction()
|
| /freebsd-head/contrib/llvm-project/llvm/lib/Target/Lanai/ |
| HD | LanaiTargetTransformInfo.h | 55 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost()
|
| /freebsd-head/contrib/llvm-project/llvm/lib/Analysis/ |
| HD | BasicAliasAnalysis.cpp | 281 return V->getType()->getPrimitiveSizeInBits() - TruncBits + ZExtBits + in getBitWidth() 292 unsigned ExtendBy = V->getType()->getPrimitiveSizeInBits() - in withZExtOfValue() 293 NewV->getType()->getPrimitiveSizeInBits(); in withZExtOfValue() 312 unsigned ExtendBy = V->getType()->getPrimitiveSizeInBits() - in withSExtOfValue() 313 NewV->getType()->getPrimitiveSizeInBits(); in withSExtOfValue() 328 assert(N.getBitWidth() == V->getType()->getPrimitiveSizeInBits() && in evaluateWith() 337 assert(N.getBitWidth() == V->getType()->getPrimitiveSizeInBits() && in evaluateWith() 1318 int ValOrigBW = Var.Val.V->getType()->getPrimitiveSizeInBits(); in aliasGEP()
|
| HD | LoopUnrollAnalyzer.cpp | 127 unsigned ElemSize = CDS->getElementType()->getPrimitiveSizeInBits() / 8U; in visitLoad()
|
| /freebsd-head/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| HD | CBufferDataLayout.cpp | 103 if (TypeSize ScalarSize = EltTy->getScalarType()->getPrimitiveSizeInBits()) in getStructLayout()
|
| /freebsd-head/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| HD | InstCombineCasts.cpp | 220 SrcTy->getPrimitiveSizeInBits() == DestTy->getPrimitiveSizeInBits()) { in commonCastTransforms() 417 unsigned VecWidth = VecType->getPrimitiveSizeInBits(); in foldVecTruncToExtElt() 418 unsigned DestWidth = DestType->getPrimitiveSizeInBits(); in foldVecTruncToExtElt() 2124 if (SrcTy->getElementType()->getPrimitiveSizeInBits() != in optimizeVectorResizeWithIntegerBitCasts() 2125 DestTy->getElementType()->getPrimitiveSizeInBits()) in optimizeVectorResizeWithIntegerBitCasts() 2183 return Value % Ty->getPrimitiveSizeInBits() == 0; in isMultipleOfTypeSize() 2187 return Value / Ty->getPrimitiveSizeInBits(); in getTypeSizeIndex() 2232 unsigned NumElts = getTypeSizeIndex(C->getType()->getPrimitiveSizeInBits(), in collectInsertionElements() 2244 C->getType()->getPrimitiveSizeInBits())); in collectInsertionElements() 2245 unsigned ElementSize = VecEltTy->getPrimitiveSizeInBits(); in collectInsertionElements() [all …]
|
| /freebsd-head/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
| HD | ExecutionEngine.cpp | 598 Result.IntVal = APInt(C->getType()->getPrimitiveSizeInBits(), 0); in getConstantValue() 609 APInt(ElemTy->getPrimitiveSizeInBits(), 0); in getConstantValue() 629 APInt(ElemTy->getPrimitiveSizeInBits(), 0); in getConstantValue() 641 APInt(ElemTy->getPrimitiveSizeInBits(), 0); in getConstantValue() 1011 APInt(CV->getOperand(i)->getType()->getPrimitiveSizeInBits(), 0); in getConstantValue() 1018 CDV->getElementType()->getPrimitiveSizeInBits(), in getConstantValue()
|
| /freebsd-head/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| HD | VPlanSLP.cpp | 85 unsigned Width = OriginalInstr->getType()->getPrimitiveSizeInBits(); in areVectorizable() 89 I->getType()->getPrimitiveSizeInBits() == Width; in areVectorizable()
|
| /freebsd-head/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| HD | Float2Int.cpp | 173 unsigned BW = I->getOperand(0)->getType()->getPrimitiveSizeInBits(); in walkBackwards() 418 APSInt Val(ToTy->getPrimitiveSizeInBits(), /*isUnsigned=*/false); in convert()
|
| HD | ScalarizeMaskedMemIntrin.cpp | 172 commonAlignment(AlignVal, EltTy->getPrimitiveSizeInBits() / 8); in scalarizeMaskedLoad() 307 commonAlignment(AlignVal, EltTy->getPrimitiveSizeInBits() / 8); in scalarizeMaskedStore() 650 commonAlignment(Alignment, EltTy->getPrimitiveSizeInBits() / 8); in scalarizeMaskedExpandLoad() 778 commonAlignment(Alignment, EltTy->getPrimitiveSizeInBits() / 8); in scalarizeMaskedCompressStore()
|
| /freebsd-head/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| HD | NVPTXISelLowering.h | 501 return SrcTy->getPrimitiveSizeInBits() == 64 && in isTruncateFree() 502 DstTy->getPrimitiveSizeInBits() == 32; in isTruncateFree()
|
| /freebsd-head/contrib/llvm-project/llvm/lib/Target/BPF/ |
| HD | BPFISelLowering.cpp | 200 unsigned NumBits1 = Ty1->getPrimitiveSizeInBits(); in isTruncateFree() 201 unsigned NumBits2 = Ty2->getPrimitiveSizeInBits(); in isTruncateFree() 216 unsigned NumBits1 = Ty1->getPrimitiveSizeInBits(); in isZExtFree() 217 unsigned NumBits2 = Ty2->getPrimitiveSizeInBits(); in isZExtFree()
|
| /freebsd-head/contrib/llvm-project/llvm/lib/CodeGen/ |
| HD | IntrinsicLowering.cpp | 159 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerCTPOP() 191 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerCTLZ()
|
| /freebsd-head/contrib/llvm-project/lldb/source/Plugins/ABI/ARC/ |
| HD | ABISysV_arc.cpp | 524 size_t byte_size = retType.getPrimitiveSizeInBits(); in GetReturnValueObjectImpl() 543 const size_t byte_size = retType.getPrimitiveSizeInBits() / CHAR_BIT; in GetReturnValueObjectImpl()
|
| /freebsd-head/contrib/llvm-project/llvm/include/llvm/IR/ |
| HD | DerivedTypes.h | 455 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getInteger() 486 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getTruncatedElementVectorType()
|
| /freebsd-head/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| HD | HexagonGenExtract.cpp | 161 unsigned BW = Ty->getPrimitiveSizeInBits(); in INITIALIZE_PASS_DEPENDENCY()
|