/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZTargetTransformInfo.cpp | 333 static unsigned getScalarSizeInBits(Type *Ty) { in getScalarSizeInBits() function 335 (Ty->isPtrOrPtrVectorTy() ? 64U : Ty->getScalarSizeInBits()); in getScalarSizeInBits() 345 unsigned WideBits = getScalarSizeInBits(Ty) * Ty->getVectorNumElements(); in getNumVectorRegs() 362 unsigned ScalarBits = Ty->getScalarSizeInBits(); in getArithmeticInstrCost() 552 unsigned Bits0 = Ty0->getScalarSizeInBits(); in getElSizeLog2Diff() 553 unsigned Bits1 = Ty1->getScalarSizeInBits(); in getElSizeLog2Diff() 593 if (VF == 8 && SrcTy->getScalarSizeInBits() == 64 && in getVectorTruncCost() 594 DstTy->getScalarSizeInBits() == 8) in getVectorTruncCost() 608 unsigned SrcScalarBits = SrcTy->getScalarSizeInBits(); in getVectorBitmaskConversionCost() 609 unsigned DstScalarBits = DstTy->getScalarSizeInBits(); in getVectorBitmaskConversionCost() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 74 (Sh0->getType()->getScalarSizeInBits() - 1) + in reassociateShiftAmtsOfTwoSameDirectionShifts() 75 (Sh1->getType()->getScalarSizeInBits() - 1); in reassociateShiftAmtsOfTwoSameDirectionShifts() 77 APInt::getAllOnesValue(ShAmt0->getType()->getScalarSizeInBits()); in reassociateShiftAmtsOfTwoSameDirectionShifts() 108 unsigned NewShAmtBitWidth = NewShAmt->getType()->getScalarSizeInBits(); in reassociateShiftAmtsOfTwoSameDirectionShifts() 109 unsigned XBitWidth = X->getType()->getScalarSizeInBits(); in reassociateShiftAmtsOfTwoSameDirectionShifts() 241 ExtendedTy->getScalarSizeInBits())); in dropRedundantMaskingOfLeftShiftInput() 271 unsigned WidestTyBitWidth = WidestTy->getScalarSizeInBits(); in dropRedundantMaskingOfLeftShiftInput() 345 (*C0 + *C1).ult(Ty->getScalarSizeInBits()); in foldShiftOfShiftedLogic() 452 unsigned TypeWidth = InnerShift->getType()->getScalarSizeInBits(); in canEvaluateShiftedShift() 497 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in canEvaluateShifted() [all …]
|
D | InstCombineCasts.cpp | 365 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in canEvaluateTruncated() 366 uint32_t BitWidth = Ty->getScalarSizeInBits(); in canEvaluateTruncated() 381 uint32_t BitWidth = Ty->getScalarSizeInBits(); in canEvaluateTruncated() 393 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in canEvaluateTruncated() 394 uint32_t BitWidth = Ty->getScalarSizeInBits(); in canEvaluateTruncated() 411 uint32_t OrigBitWidth = OrigTy->getScalarSizeInBits(); in canEvaluateTruncated() 412 uint32_t BitWidth = Ty->getScalarSizeInBits(); in canEvaluateTruncated() 504 unsigned NarrowWidth = DestTy->getScalarSizeInBits(); in narrowRotate() 559 unsigned WideWidth = Trunc.getSrcTy()->getScalarSizeInBits(); in narrowRotate() 724 if (DestTy->getScalarSizeInBits() == 1) { in visitTrunc() [all …]
|
D | InstCombineSelect.cpp | 273 return APInt::getNullValue(I->getType()->getScalarSizeInBits()); in getSelectFoldableConstant() 275 return APInt::getAllOnesValue(I->getType()->getScalarSizeInBits()); in getSelectFoldableConstant() 277 return APInt(I->getType()->getScalarSizeInBits(), 1); in getSelectFoldableConstant() 549 unsigned Bitwidth = CmpRHS->getType()->getScalarSizeInBits(); in foldSelectICmpLshrAshr() 626 C1Log = CmpLHS->getType()->getScalarSizeInBits() - 1; in foldSelectICmpAndOr() 647 bool NeedZExtTrunc = Y->getType()->getScalarSizeInBits() != in foldSelectICmpAndOr() 648 V->getType()->getScalarSizeInBits(); in foldSelectICmpAndOr() 658 APInt C1 = APInt::getOneBitSet(V->getType()->getScalarSizeInBits(), C1Log); in foldSelectICmpAndOr() 814 unsigned BitWidth = TrueVal->getType()->getScalarSizeInBits(); in foldSelectCtlzToCttz() 881 unsigned SizeOfInBits = Count->getType()->getScalarSizeInBits(); in foldSelectCttzCtlz() [all …]
|
D | InstCombineAddSub.cpp | 891 X->getType()->getScalarSizeInBits() == 1) in foldAddWithConstant() 895 X->getType()->getScalarSizeInBits() == 1) in foldAddWithConstant() 926 C2->isMinSignedValue() && C2->sext(Ty->getScalarSizeInBits()) == *C) in foldAddWithConstant() 936 X->getType()->getScalarSizeInBits() == 1) in foldAddWithConstant() 943 C2 == C3 && *C2 == Ty->getScalarSizeInBits() - 1) { in foldAddWithConstant() 1144 APInt(C->getType()->getScalarSizeInBits(), in canonicalizeCondSignextOfHighBitExtractToSignextHighBitExtract() 1145 X->getType()->getScalarSizeInBits())))) in canonicalizeCondSignextOfHighBitExtractToSignextHighBitExtract() 1234 unsigned TySizeBits = Ty->getScalarSizeInBits(); in visitAdd() 1787 unsigned BitWidth = Op1Wide->getType()->getScalarSizeInBits(); in visitSub() 1995 Y->getType()->getScalarSizeInBits() == 1) { in visitSub() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | MVEGatherScatterLowering.cpp | 149 if (OffsType->getScalarSizeInBits() > in checkGEP() 150 Offsets->getType()->getScalarSizeInBits()) { in checkGEP() 189 Ty->getScalarSizeInBits(), Alignment)) in lowerGather() 247 int ResultElemSize = Ty->getScalarSizeInBits(); in tryCreateMaskedGatherOffset() 267 {BasePtr, Offsets, Builder.getInt32(Ty->getScalarSizeInBits()), in tryCreateMaskedGatherOffset() 273 {BasePtr, Offsets, Builder.getInt32(Ty->getScalarSizeInBits()), in tryCreateMaskedGatherOffset()
|
D | ARMTargetTransformInfo.cpp | 416 ValTy->isVectorTy() && ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost() 429 ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost() 514 unsigned EltWidth = DataTy->getScalarSizeInBits(); in isLegalMaskedLoad() 536 unsigned EltWidth = Ty->getScalarSizeInBits(); in isLegalMaskedGather() 1124 if (T->getScalarSizeInBits() > 32) { in canTailPredicateLoop() 1277 unsigned ScalarBits = Ty->getScalarSizeInBits(); in useReductionIntrinsic()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | LowLevelTypeImpl.h | 110 return getScalarSizeInBits(); in getSizeInBits() 111 return getScalarSizeInBits() * getNumElements(); in getSizeInBits() 142 unsigned getScalarSizeInBits() const { in getScalarSizeInBits() function 170 return pointer(getAddressSpace(), getScalarSizeInBits()); in getElementType() 172 return scalar(getScalarSizeInBits()); in getElementType()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/AggressiveInstCombine/ |
D | TruncInstCombine.cpp | 143 unsigned TruncBitWidth = DstTy->getScalarSizeInBits(); in getMinBitWidth() 145 CurrentTruncInst->getOperand(0)->getType()->getScalarSizeInBits(); in getMinBitWidth() 214 MinBitWidth = Ty ? Ty->getScalarSizeInBits() : OrigBitWidth; in getMinBitWidth() 251 I->getOperand(0)->getType()->getScalarSizeInBits(); in getBestTruncatedType() 259 CurrentTruncInst->getOperand(0)->getType()->getScalarSizeInBits(); in getBestTruncatedType()
|
D | AggressiveInstCombine.cpp | 73 if (!isPowerOf2_32(I.getType()->getScalarSizeInBits())) in foldGuardedRotateToFunnelShift() 80 unsigned Width = V->getType()->getScalarSizeInBits(); in foldGuardedRotateToFunnelShift() 233 MaskOps MOps(I.getType()->getScalarSizeInBits(), MatchAllBitsSet); in foldAnyOrAllBitsSet() 273 unsigned Len = Ty->getScalarSizeInBits(); in tryToRecognizePopCount()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | LegalityPredicates.cpp | 114 return QueryTy.getScalarSizeInBits() < Size; in scalarOrEltNarrowerThan() 122 return QueryTy.getScalarSizeInBits() > Size; in scalarOrEltWiderThan() 129 return !isPowerOf2_32(QueryTy.getScalarSizeInBits()); in scalarOrEltSizeNotPow2()
|
D | LegalizerInfo.cpp | 166 if (NewTy.getScalarSizeInBits() >= OldTy.getScalarSizeInBits()) in mutationIsSane() 170 if (NewTy.getScalarSizeInBits() <= OldTy.getScalarSizeInBits()) in mutationIsSane() 665 findAction(ElemSizeVec, Aspect.Type.getScalarSizeInBits()); in findVectorLegalAction() 672 IntermediateType.getScalarSizeInBits()); in findVectorLegalAction() 681 IntermediateType.getScalarSizeInBits())}; in findVectorLegalAction()
|
D | GISelKnownBits.cpp | 80 unsigned BitWidth = Ty.getScalarSizeInBits(); in signBitIsZero() 414 unsigned Tmp = DstTy.getScalarSizeInBits() - SrcTy.getScalarSizeInBits(); in computeNumSignBits() 422 unsigned DstTyBits = DstTy.getScalarSizeInBits(); in computeNumSignBits() 423 unsigned NumSrcBits = SrcTy.getScalarSizeInBits(); in computeNumSignBits()
|
D | LegalizeMutations.cpp | 51 std::max(1u << Log2_32_Ceil(Ty.getScalarSizeInBits()), Min); in widenScalarOrEltToNextPow2()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Instructions.cpp | 2502 return DL.getIntPtrType(SrcTy)->getScalarSizeInBits() == in isNoopCast() 2503 DestTy->getScalarSizeInBits(); in isNoopCast() 2505 return DL.getIntPtrType(DestTy)->getScalarSizeInBits() == in isNoopCast() 2506 SrcTy->getScalarSizeInBits(); in isNoopCast() 2635 unsigned MidSize = MidTy->getScalarSizeInBits(); in isEliminableCastPair() 2646 unsigned PtrSize = SrcIntPtrTy->getScalarSizeInBits(); in isEliminableCastPair() 2655 unsigned SrcSize = SrcTy->getScalarSizeInBits(); in isEliminableCastPair() 2656 unsigned DstSize = DstTy->getScalarSizeInBits(); in isEliminableCastPair() 2670 unsigned PtrSize = MidIntPtrTy->getScalarSizeInBits(); in isEliminableCastPair() 2671 unsigned SrcSize = SrcTy->getScalarSizeInBits(); in isEliminableCastPair() [all …]
|
D | Constants.cpp | 1669 if (C->getType()->getScalarSizeInBits() == Ty->getScalarSizeInBits()) in getZExtOrBitCast() 1675 if (C->getType()->getScalarSizeInBits() == Ty->getScalarSizeInBits()) in getSExtOrBitCast() 1681 if (C->getType()->getScalarSizeInBits() == Ty->getScalarSizeInBits()) in getTruncOrBitCast() 1715 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in getIntegerCast() 1716 unsigned DstBits = Ty->getScalarSizeInBits(); in getIntegerCast() 1727 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in getFPCast() 1728 unsigned DstBits = Ty->getScalarSizeInBits(); in getFPCast() 1744 assert(C->getType()->getScalarSizeInBits() > Ty->getScalarSizeInBits()&& in getTrunc() 1758 assert(C->getType()->getScalarSizeInBits() < Ty->getScalarSizeInBits()&& in getSExt() 1772 assert(C->getType()->getScalarSizeInBits() < Ty->getScalarSizeInBits()&& in getZExt() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64TargetTransformInfo.cpp | 217 if (!DstTy->isVectorTy() || DstTy->getScalarSizeInBits() < 16) in isWideningInstruction() 248 unsigned DstElTySize = DstTyL.second.getScalarSizeInBits(); in isWideningInstruction() 249 if (!DstTyL.second.isVector() || DstElTySize != DstTy->getScalarSizeInBits()) in isWideningInstruction() 256 unsigned SrcElTySize = SrcTyL.second.getScalarSizeInBits(); in isWideningInstruction() 257 if (!SrcTyL.second.isVector() || SrcElTySize != SrcTy->getScalarSizeInBits()) in isWideningInstruction() 713 if (I->getScalarSizeInBits() * I->getVectorNumElements() == 128) in getCostOfKeepingLiveOverCall() 906 unsigned ScalarBits = Ty->getScalarSizeInBits(); in useReductionIntrinsic()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | SanitizerCoverage.cpp | 752 if (Cond->getType()->getScalarSizeInBits() > in InjectTraceForSwitch() 753 Int64Ty->getScalarSizeInBits()) in InjectTraceForSwitch() 757 ConstantInt::get(Int64Ty, Cond->getType()->getScalarSizeInBits())); in InjectTraceForSwitch() 758 if (Cond->getType()->getScalarSizeInBits() < in InjectTraceForSwitch() 759 Int64Ty->getScalarSizeInBits()) in InjectTraceForSwitch() 763 if (C->getType()->getScalarSizeInBits() < in InjectTraceForSwitch() 764 Int64Ty->getScalarSizeInBits()) in InjectTraceForSwitch()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeVectorOps.cpp | 1064 unsigned BW = VT.getScalarSizeInBits(); in ExpandSEXTINREG() 1065 unsigned OrigBW = OrigTy.getScalarSizeInBits(); in ExpandSEXTINREG() 1085 assert((VT.getSizeInBits() % SrcVT.getScalarSizeInBits()) == 0 && in ExpandANY_EXTEND_VECTOR_INREG() 1087 NumSrcElements = VT.getSizeInBits() / SrcVT.getScalarSizeInBits(); in ExpandANY_EXTEND_VECTOR_INREG() 1123 unsigned EltWidth = VT.getScalarSizeInBits(); in ExpandSIGN_EXTEND_VECTOR_INREG() 1124 unsigned SrcEltWidth = SrcVT.getScalarSizeInBits(); in ExpandSIGN_EXTEND_VECTOR_INREG() 1145 assert((VT.getSizeInBits() % SrcVT.getScalarSizeInBits()) == 0 && in ExpandZERO_EXTEND_VECTOR_INREG() 1147 NumSrcElements = VT.getSizeInBits() / SrcVT.getScalarSizeInBits(); in ExpandZERO_EXTEND_VECTOR_INREG() 1175 int ScalarSizeInBytes = VT.getScalarSizeInBits() / 8; in createBSWAPShuffleMask() 1213 unsigned ScalarSizeInBits = VT.getScalarSizeInBits(); in ExpandBITREVERSE() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | DemandedBits.cpp | 331 if (AliveBits.try_emplace(&I, T->getScalarSizeInBits(), 0).second) in performAnalysis() 342 AliveBits[J] = APInt::getAllOnesValue(T->getScalarSizeInBits()); in performAnalysis() 386 unsigned BitWidth = T->getScalarSizeInBits(); in performAnalysis()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | TargetTransformInfoImpl.h | 76 unsigned OpSize = OpTy->getScalarSizeInBits(); in getOperationCost() 87 unsigned DestSize = Ty->getScalarSizeInBits(); in getOperationCost() 665 return Cast->getSrcTy()->getScalarSizeInBits() - 1; in minRequiredElementSize() 670 return Cast->getSrcTy()->getScalarSizeInBits(); in minRequiredElementSize() 674 return Val->getType()->getScalarSizeInBits(); in minRequiredElementSize()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | TypePromotion.cpp | 206 return V->getType()->getScalarSizeInBits() == TypeSize; in EqualTypeSize() 210 return V->getType()->getScalarSizeInBits() <= TypeSize; in LessOrEqualTypeSize() 214 return V->getType()->getScalarSizeInBits() > TypeSize; in GreaterThanTypeSize() 218 return V->getType()->getScalarSizeInBits() < TypeSize; in LessThanTypeSize() 663 unsigned NumBits = DestTy->getScalarSizeInBits(); in ConvertTruncs()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | LowLevelType.cpp | 43 OS << "s" << getScalarSizeInBits(); in print()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | LegalizerInfo.h | 746 scalarOrEltNarrowerThan(TypeIdx, Ty.getScalarSizeInBits()), in minScalarOrElt() 757 TypeIdx, Ty.getScalarSizeInBits())), in minScalarOrEltIf() 775 scalarOrEltWiderThan(TypeIdx, Ty.getScalarSizeInBits()), in maxScalarOrElt() 821 return Query.Types[LargeTypeIdx].getScalarSizeInBits() > in minScalarSameAs() 837 return Query.Types[LargeTypeIdx].getScalarSizeInBits() > in minScalarEltSameAsIf() 838 Query.Types[TypeIdx].getScalarSizeInBits() && in minScalarEltSameAsIf()
|
D | LegalizationArtifactCombiner.h | 115 APInt Mask = APInt::getAllOnesValue(SrcTy.getScalarSizeInBits()); in tryCombineZExt() 117 DstTy, Mask.zext(DstTy.getScalarSizeInBits())); in tryCombineZExt() 158 uint64_t SizeInBits = SrcTy.getScalarSizeInBits(); in tryCombineSExt()
|