Home
last modified time | relevance | path

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

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ShuffleDecodeConstantPool.cpp45 unsigned CstSizeInBits = CstTy->getPrimitiveSizeInBits(); in extractConstantMask()
117 C->getType()->getPrimitiveSizeInBits() >= Width && in DecodePSHUFBMask()
155 C->getType()->getPrimitiveSizeInBits() >= Width && in DecodeVPERMILPMask()
191 unsigned MaskTySize = MaskTy->getPrimitiveSizeInBits(); in DecodeVPERMIL2PMask()
246 unsigned MaskTySize = MaskTy->getPrimitiveSizeInBits(); in DecodeVPPERMMask()
298 C->getType()->getPrimitiveSizeInBits() >= Width && in DecodeVPERMVMask()
324 C->getType()->getPrimitiveSizeInBits() >= Width && in DecodeVPERMV3Mask()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DDerivedTypes.h383 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getInteger()
392 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getExtendedElementVectorType()
400 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getTruncatedElementVectorType()
429 return getNumElements() * getElementType()->getPrimitiveSizeInBits(); in getBitWidth()
DType.h279 unsigned getPrimitiveSizeInBits() const LLVM_READONLY;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp472 unsigned VecWidth = VecType->getPrimitiveSizeInBits(); in foldVecTruncToExtElt()
473 unsigned DestWidth = DestType->getPrimitiveSizeInBits(); in foldVecTruncToExtElt()
766 unsigned ASize = A->getType()->getPrimitiveSizeInBits(); in visitTrunc()
790 const unsigned SExtSize = SExt->getType()->getPrimitiveSizeInBits(); in visitTrunc()
791 const unsigned ASize = A->getType()->getPrimitiveSizeInBits(); in visitTrunc()
792 const unsigned CISize = CI.getType()->getPrimitiveSizeInBits(); in visitTrunc()
1877 if (SrcTy->getElementType()->getPrimitiveSizeInBits() != in optimizeVectorResizeWithIntegerBitCasts()
1878 DestTy->getElementType()->getPrimitiveSizeInBits()) in optimizeVectorResizeWithIntegerBitCasts()
1940 return Value % Ty->getPrimitiveSizeInBits() == 0; in isMultipleOfTypeSize()
1944 return Value / Ty->getPrimitiveSizeInBits(); in getTypeSizeIndex()
[all …]
DInstCombinePHI.cpp914 return Inst->getType()->getPrimitiveSizeInBits() < in operator <()
915 RHS.Inst->getType()->getPrimitiveSizeInBits(); in operator <()
925 : PN(pn), Shift(Sh), Width(Ty->getPrimitiveSizeInBits()) {} in LoweredPHIRecord()
1273 !DL.isLegalInteger(PN.getType()->getPrimitiveSizeInBits())) in visitPHINode()
DInstCombineCalls.cpp375 unsigned BitWidth = VT->getElementType()->getPrimitiveSizeInBits(); in simplifyX86immShift()
394 unsigned BitWidth = SVT->getPrimitiveSizeInBits(); in simplifyX86immShift()
561 unsigned NumLanes = ResTy->getPrimitiveSizeInBits() / 128; in simplifyX86pack()
1901 unsigned C = X->getType()->getPrimitiveSizeInBits() - in visitCallInst()
1902 IIOperand->getType()->getPrimitiveSizeInBits(); in visitCallInst()
2888 assert(Arg1->getType()->getPrimitiveSizeInBits() == 128 && in visitCallInst()
3001 assert(Op0->getType()->getPrimitiveSizeInBits() == 128 && in visitCallInst()
3002 Op1->getType()->getPrimitiveSizeInBits() == 128 && VWidth0 == 2 && in visitCallInst()
3039 assert(Op0->getType()->getPrimitiveSizeInBits() == 128 && VWidth == 2 && in visitCallInst()
3063 assert(Op0->getType()->getPrimitiveSizeInBits() == 128 && in visitCallInst()
[all …]
DInstCombineCompares.cpp316 if (Idx->getType()->getPrimitiveSizeInBits() > PtrSize) in foldCmpLoadFromIndexedGlobal()
489 if (VariableIdx->getType()->getPrimitiveSizeInBits() > IntPtrWidth) { in evaluateGEPOffsetExpression()
944 if (LHSIndexTy->getPrimitiveSizeInBits() < in foldGEPICmp()
945 RHSIndexTy->getPrimitiveSizeInBits()) { in foldGEPICmp()
983 if (LHSType->getPrimitiveSizeInBits() != in foldGEPICmp()
984 RHSType->getPrimitiveSizeInBits() || in foldGEPICmp()
1307 if (!TI || TI->getType()->getPrimitiveSizeInBits() > NewWidth) in processUGT_ADDCST_ADD()
4282 unsigned ASize = cast<IntegerType>(A->getType())->getPrimitiveSizeInBits(); in foldICmpEquality()
4286 APInt::getLowBitsSet(ASize, Op0->getType()->getPrimitiveSizeInBits()); in foldICmpEquality()
4584 unsigned WidthA = TyA->getPrimitiveSizeInBits(), in processUMulZExtIdiom()
[all …]
DInstructionCombining.cpp208 unsigned FromWidth = From->getPrimitiveSizeInBits(); in shouldChangeType()
209 unsigned ToWidth = To->getPrimitiveSizeInBits(); in shouldChangeType()
1330 unsigned SmallSize = Cast->getSrcTy()->getPrimitiveSizeInBits(); in Descale()
1361 unsigned LargeSize = Cast->getSrcTy()->getPrimitiveSizeInBits(); in Descale()
1364 if (logScale + 1 == (int32_t)Cast->getType()->getPrimitiveSizeInBits()) in Descale()
2109 unsigned BitWidth = Idx->getType()->getPrimitiveSizeInBits(); in visitGetElementPtrInst()
2150 unsigned BitWidth = Idx->getType()->getPrimitiveSizeInBits(); in visitGetElementPtrInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDerivedTypes.h469 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getInteger()
500 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in getTruncatedElementVectorType()
557 return getNumElements() * getElementType()->getPrimitiveSizeInBits(); in getBitWidth()
DType.h293 TypeSize getPrimitiveSizeInBits() const LLVM_READONLY;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp36 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost()
69 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostInst()
187 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostIntrin()
565 assert (SrcTy->getPrimitiveSizeInBits() > DstTy->getPrimitiveSizeInBits() && in getVectorTruncCost()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp64 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost()
94 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostIntrin()
128 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostInst()
852 unsigned MemBytes = Src->getPrimitiveSizeInBits(); in getMemoryOpCost()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.h467 return SrcTy->getPrimitiveSizeInBits() == 64 && in isTruncateFree()
468 DstTy->getPrimitiveSizeInBits() == 32; in isTruncateFree()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DVPlanSLP.cpp93 unsigned Width = OriginalInstr->getType()->getPrimitiveSizeInBits(); in areVectorizable()
97 I->getType()->getPrimitiveSizeInBits() == Width; in areVectorizable()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTypePromotion.cpp136 assert(OrigTy->getPrimitiveSizeInBits() < ExtTy->getPrimitiveSizeInBits() in IRPromoter()
811 TypeSize = OrigTy->getPrimitiveSizeInBits(); in TryToPromote()
DIntrinsicLowering.cpp160 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerCTPOP()
192 unsigned BitSize = V->getType()->getPrimitiveSizeInBits(); in LowerCTLZ()
DScalarizeMaskedMemIntrin.cpp154 AlignVal = MinAlign(AlignVal, EltTy->getPrimitiveSizeInBits() / 8); in scalarizeMaskedLoad()
290 AlignVal = MinAlign(AlignVal, EltTy->getPrimitiveSizeInBits() / 8); in scalarizeMaskedStore()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp208 unsigned BW = I->getOperand(0)->getType()->getPrimitiveSizeInBits(); in walkBackwards()
451 APSInt Val(ToTy->getPrimitiveSizeInBits(), /*isUnsigned=*/false); in convert()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp607 Result.IntVal = APInt(C->getType()->getPrimitiveSizeInBits(), 0); in getConstantValue()
618 APInt(ElemTy->getPrimitiveSizeInBits(), 0); in getConstantValue()
636 APInt(ElemTy->getPrimitiveSizeInBits(), 0); in getConstantValue()
996 APInt(CV->getOperand(i)->getType()->getPrimitiveSizeInBits(), 0); in getConstantValue()
1003 CDV->getElementType()->getPrimitiveSizeInBits(), in getConstantValue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLoopUnrollAnalyzer.cpp119 unsigned ElemSize = CDS->getElementType()->getPrimitiveSizeInBits() / 8U; in visitLoad()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAutoUpgrade.cpp469 unsigned IdxSize = Idx->getPrimitiveSizeInBits(); in UpgradeX86IntrinsicFunction()
1056 unsigned VecWidth = Ty->getPrimitiveSizeInBits(); in UpgradeX86VPERMT2Intrinsics()
1419 unsigned VecWidth = CI.getType()->getPrimitiveSizeInBits(); in upgradeAVX512MaskToSelect()
1808 unsigned NumElts = CI->getType()->getPrimitiveSizeInBits() / in UpgradeIntrinsicCall()
1809 ExtTy->getPrimitiveSizeInBits(); in UpgradeIntrinsicCall()
1952 unsigned VecWidth = OpTy->getPrimitiveSizeInBits(); in UpgradeIntrinsicCall()
1966 unsigned VecWidth = OpTy->getPrimitiveSizeInBits(); in UpgradeIntrinsicCall()
1989 unsigned VecWidth = OpTy->getPrimitiveSizeInBits(); in UpgradeIntrinsicCall()
2305 unsigned NumSrcElts = 128 / EltTy->getPrimitiveSizeInBits(); in UpgradeIntrinsicCall()
2320 unsigned NumLanes = VT->getPrimitiveSizeInBits() / 128; in UpgradeIntrinsicCall()
[all …]
DType.cpp115 TypeSize Type::getPrimitiveSizeInBits() const { in getPrimitiveSizeInBits() function in Type
135 return getScalarType()->getPrimitiveSizeInBits(); in getScalarSizeInBits()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonGenExtract.cpp161 unsigned BW = Ty->getPrimitiveSizeInBits(); in INITIALIZE_PASS_DEPENDENCY()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.cpp63 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCost()
88 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostInst()
154 unsigned BitSize = Ty->getPrimitiveSizeInBits(); in getIntImmCostIntrin()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DMVEGatherScatterLowering.cpp246 BasePtr->getType()->getPointerElementType()->getPrimitiveSizeInBits(); in tryCreateMaskedGatherOffset()

123