Home
last modified time | relevance | path

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

12345

/freebsd-14.2/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.cpp68 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 DX86InstCombineIntrinsic.cpp207 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 DType.cpp126 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 DAutoUpgrade.cpp590 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 DMVEGatherScatterLowering.cpp234 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 DPPCTargetTransformInfo.cpp172 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 Dllvm-stress.cpp437 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 DAMDGPUAtomicOptimizer.cpp397 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 DBasicAliasAnalysis.cpp271 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 DLoopUnrollAnalyzer.cpp127 unsigned ElemSize = CDS->getElementType()->getPrimitiveSizeInBits() / 8U; in visitLoad()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiTargetTransformInfo.h55 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp214 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 DSystemZTargetTransformInfo.cpp73 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 DCBufferDataLayout.cpp103 if (TypeSize ScalarSize = EltTy->getScalarType()->getPrimitiveSizeInBits()) in getStructLayout()
/freebsd-14.2/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()
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 DNVPTXISelLowering.h497 return SrcTy->getPrimitiveSizeInBits() == 64 && in isTruncateFree()
498 DstTy->getPrimitiveSizeInBits() == 32; in isTruncateFree()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DFloat2Int.cpp173 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 DVPlanSLP.cpp85 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 DBPFISelLowering.cpp201 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 DIntrinsicLowering.cpp159 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 DDerivedTypes.h455 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 DABISysV_arc.cpp524 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 DHexagonGenExtract.cpp161 unsigned BW = Ty->getPrimitiveSizeInBits(); in INITIALIZE_PASS_DEPENDENCY()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp566 ResLTy->getPrimitiveSizeInBits()) in computeVolatileBitfields()
580 const unsigned StorageSize = ResLTy->getPrimitiveSizeInBits(); in computeVolatileBitfields()
636 Types.ConvertTypeForMem(F->getType())->getPrimitiveSizeInBits()) - in computeVolatileBitfields()

12345