Home
last modified time | relevance | path

Searched refs:CstTy (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ShuffleDecodeConstantPool.cpp37 Type *CstTy = C->getType(); in extractConstantMask() local
38 if (!CstTy->isVectorTy()) in extractConstantMask()
41 Type *CstEltTy = CstTy->getVectorElementType(); in extractConstantMask()
45 unsigned CstSizeInBits = CstTy->getPrimitiveSizeInBits(); in extractConstantMask()
46 unsigned CstEltSizeInBits = CstTy->getScalarSizeInBits(); in extractConstantMask()
47 unsigned NumCstElts = CstTy->getVectorNumElements(); in extractConstantMask()
DX86ISelLowering.cpp6282 Type *CstTy = Cst->getType(); in getTargetConstantBitsFromNode() local
6283 unsigned CstSizeInBits = CstTy->getPrimitiveSizeInBits(); in getTargetConstantBitsFromNode()
6284 if (!CstTy->isVectorTy() || (CstSizeInBits % SizeInBits) != 0) in getTargetConstantBitsFromNode()
6287 unsigned SrcEltSizeInBits = CstTy->getScalarSizeInBits(); in getTargetConstantBitsFromNode()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64PromoteConstant.cpp240 static bool isConstantUsingVectorTy(const Type *CstTy) { in isConstantUsingVectorTy() argument
241 if (CstTy->isVectorTy()) in isConstantUsingVectorTy()
243 if (CstTy->isStructTy()) { in isConstantUsingVectorTy()
244 for (unsigned EltIdx = 0, EndEltIdx = CstTy->getStructNumElements(); in isConstantUsingVectorTy()
246 if (isConstantUsingVectorTy(CstTy->getStructElementType(EltIdx))) in isConstantUsingVectorTy()
248 } else if (CstTy->isArrayTy()) in isConstantUsingVectorTy()
249 return isConstantUsingVectorTy(CstTy->getArrayElementType()); in isConstantUsingVectorTy()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp3018 Type *CstTy = Cst->getType(); in computeKnownBits() local
3019 if ((NumElts * BitWidth) == CstTy->getPrimitiveSizeInBits()) { in computeKnownBits()
3022 if (CstTy->isVectorTy()) { in computeKnownBits()
3025 CstTy = Cst->getType(); in computeKnownBits()
3029 if (CstTy->isVectorTy() && BitWidth == CstTy->getScalarSizeInBits()) { in computeKnownBits()
3054 } else if (BitWidth == CstTy->getPrimitiveSizeInBits()) { in computeKnownBits()
4003 Type *CstTy = Cst->getType(); in ComputeNumSignBits() local
4004 if (CstTy->isVectorTy() && in ComputeNumSignBits()
4005 (NumElts * VTBits) == CstTy->getPrimitiveSizeInBits()) { in ComputeNumSignBits()