| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | 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()
|
| H A D | X86FixupVectorConstants.cpp | 68 unsigned NumBits = C->getType()->getPrimitiveSizeInBits(); in extractConstantBits() 93 unsigned EltBits = CDS->getElementType()->getPrimitiveSizeInBits(); in extractConstantBits() 113 assert((Ty->getPrimitiveSizeInBits() % SplatBitWidth) == 0 && in getSplatableConstant() 214 unsigned NumSclBits = SclTy->getPrimitiveSizeInBits(); in rebuildSplatableConstant()
|
| H A D | X86InstCombineIntrinsic.cpp | 207 unsigned BitWidth = SVT->getPrimitiveSizeInBits(); in simplifyX86immShift() 232 assert(AmtVT->isVectorTy() && AmtVT->getPrimitiveSizeInBits() == 128 && in simplifyX86immShift() 259 assert(AmtVT->isVectorTy() && AmtVT->getPrimitiveSizeInBits() == 128 && in simplifyX86immShift() 449 unsigned NumLanes = ResTy->getPrimitiveSizeInBits() / 128; in simplifyX86pack() 2416 assert(Arg1->getType()->getPrimitiveSizeInBits() == 128 && in instCombineIntrinsic() 2535 assert(Op0->getType()->getPrimitiveSizeInBits() == 128 && in instCombineIntrinsic() 2599 assert(Op0->getType()->getPrimitiveSizeInBits() == 128 && in instCombineIntrinsic() 2636 assert(Op0->getType()->getPrimitiveSizeInBits() == 128 && in instCombineIntrinsic() 2702 assert(Mask->getType()->getPrimitiveSizeInBits() == in instCombineIntrinsic() 2703 II.getType()->getPrimitiveSizeInBits() && in instCombineIntrinsic() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | 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()
|
| H A D | AutoUpgrade.cpp | 590 unsigned IdxSize = Idx->getPrimitiveSizeInBits(); in upgradeX86IntrinsicFunction() 1609 unsigned VecWidth = Ty->getPrimitiveSizeInBits(); in upgradeX86VPERMT2Intrinsics() 1956 unsigned VecWidth = CI.getType()->getPrimitiveSizeInBits(); in upgradeAVX512MaskToSelect() 2473 unsigned NumElts = CI->getType()->getPrimitiveSizeInBits() / in UpgradeIntrinsicCall() 2474 ExtTy->getPrimitiveSizeInBits(); in UpgradeIntrinsicCall() 2616 unsigned VecWidth = OpTy->getPrimitiveSizeInBits(); in UpgradeIntrinsicCall() 2630 unsigned VecWidth = OpTy->getPrimitiveSizeInBits(); in UpgradeIntrinsicCall() 2654 unsigned VecWidth = OpTy->getPrimitiveSizeInBits(); in UpgradeIntrinsicCall() 2980 unsigned NumSrcElts = 128 / EltTy->getPrimitiveSizeInBits(); in UpgradeIntrinsicCall() 2994 unsigned NumLanes = VT->getPrimitiveSizeInBits() / 128; in UpgradeIntrinsicCall() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | 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() 1116 unsigned TargetElemSize = VT->getElementType()->getPrimitiveSizeInBits(); in CheckAndCreateOffsetAdd()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | 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() 793 unsigned MemBytes = Src->getPrimitiveSizeInBits(); in getMemoryOpCost() 898 return Ty->isIntOrIntVectorTy(1) && Ty->getPrimitiveSizeInBits() > 128; in areTypesABICompatible() 1014 unsigned VecWidth = DataType->getPrimitiveSizeInBits(); in hasActiveVectorLength()
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-stress/ |
| H A D | 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-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUAtomicOptimizer.cpp | 397 Type *IntNTy = B.getIntNTy(AtomicTy->getPrimitiveSizeInBits()); in buildReduction() 449 Type *IntNTy = B.getIntNTy(AtomicTy->getPrimitiveSizeInBits()); in buildScan() 514 Type *IntNTy = B.getIntNTy(AtomicTy->getPrimitiveSizeInBits()); in buildShiftRight() 595 Type *IntNTy = B.getIntNTy(Ty->getPrimitiveSizeInBits()); in buildScanIteratively() 640 const unsigned BitWidth = Ty->getPrimitiveSizeInBits(); in getIdentityValueForAtomicOp() 711 Type *IntNTy = B.getIntNTy(Ty->getPrimitiveSizeInBits()); in optimizeAtomic()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | BasicAliasAnalysis.cpp | 271 return V->getType()->getPrimitiveSizeInBits() - TruncBits + ZExtBits + in getBitWidth() 281 unsigned ExtendBy = V->getType()->getPrimitiveSizeInBits() - in withZExtOfValue() 282 NewV->getType()->getPrimitiveSizeInBits(); in withZExtOfValue() 293 unsigned ExtendBy = V->getType()->getPrimitiveSizeInBits() - in withSExtOfValue() 294 NewV->getType()->getPrimitiveSizeInBits(); in withSExtOfValue() 304 assert(N.getBitWidth() == V->getType()->getPrimitiveSizeInBits() && in evaluateWith() 313 assert(N.getBitWidth() == V->getType()->getPrimitiveSizeInBits() && in evaluateWith() 1245 int ValOrigBW = Var.Val.V->getType()->getPrimitiveSizeInBits(); in aliasGEP()
|
| H A D | LoopUnrollAnalyzer.cpp | 127 unsigned ElemSize = CDS->getElementType()->getPrimitiveSizeInBits() / 8U; in visitLoad()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Lanai/ |
| H A D | LanaiTargetTransformInfo.h | 55 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 214 SrcTy->getPrimitiveSizeInBits() == DestTy->getPrimitiveSizeInBits()) { in commonCastTransforms() 409 unsigned VecWidth = VecType->getPrimitiveSizeInBits(); in foldVecTruncToExtElt() 410 unsigned DestWidth = DestType->getPrimitiveSizeInBits(); in foldVecTruncToExtElt() 2034 if (SrcTy->getElementType()->getPrimitiveSizeInBits() != in optimizeVectorResizeWithIntegerBitCasts() 2035 DestTy->getElementType()->getPrimitiveSizeInBits()) in optimizeVectorResizeWithIntegerBitCasts() 2093 return Value % Ty->getPrimitiveSizeInBits() == 0; in isMultipleOfTypeSize() 2097 return Value / Ty->getPrimitiveSizeInBits(); in getTypeSizeIndex() 2142 unsigned NumElts = getTypeSizeIndex(C->getType()->getPrimitiveSizeInBits(), in collectInsertionElements() 2154 C->getType()->getPrimitiveSizeInBits())); in collectInsertionElements() 2155 unsigned ElementSize = VecEltTy->getPrimitiveSizeInBits(); in collectInsertionElements() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 73 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost() 109 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostInst() 229 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostIntrin() 659 assert(SrcTy->getPrimitiveSizeInBits().getFixedValue() > in getVectorTruncCost() 660 DstTy->getPrimitiveSizeInBits().getFixedValue() && in getVectorTruncCost()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | CBufferDataLayout.cpp | 103 if (TypeSize ScalarSize = EltTy->getScalarType()->getPrimitiveSizeInBits()) in getStructLayout()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
| H A D | 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-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXISelLowering.h | 497 return SrcTy->getPrimitiveSizeInBits() == 64 && in isTruncateFree() 498 DstTy->getPrimitiveSizeInBits() == 32; in isTruncateFree()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | Float2Int.cpp | 173 unsigned BW = I->getOperand(0)->getType()->getPrimitiveSizeInBits(); in walkBackwards() 412 APSInt Val(ToTy->getPrimitiveSizeInBits(), /*isUnsigned=*/false); in convert()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanSLP.cpp | 85 unsigned Width = OriginalInstr->getType()->getPrimitiveSizeInBits(); in areVectorizable() 89 I->getType()->getPrimitiveSizeInBits() == Width; in areVectorizable()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFISelLowering.cpp | 201 unsigned NumBits1 = Ty1->getPrimitiveSizeInBits(); in isTruncateFree() 202 unsigned NumBits2 = Ty2->getPrimitiveSizeInBits(); in isTruncateFree() 217 unsigned NumBits1 = Ty1->getPrimitiveSizeInBits(); in isZExtFree() 218 unsigned NumBits2 = Ty2->getPrimitiveSizeInBits(); in isZExtFree()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | IntrinsicLowering.cpp | 159 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerCTPOP() 191 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerCTLZ()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | DerivedTypes.h | 455 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getInteger() 486 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getTruncatedElementVectorType()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ABI/ARC/ |
| H A D | 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-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonGenExtract.cpp | 161 unsigned BW = Ty->getPrimitiveSizeInBits(); in INITIALIZE_PASS_DEPENDENCY()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGRecordLayoutBuilder.cpp | 566 ResLTy->getPrimitiveSizeInBits()) in computeVolatileBitfields() 580 const unsigned StorageSize = ResLTy->getPrimitiveSizeInBits(); in computeVolatileBitfields() 636 Types.ConvertTypeForMem(F->getType())->getPrimitiveSizeInBits()) - in computeVolatileBitfields()
|