Home
last modified time | relevance | path

Searched refs:ScalarSize (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp146 unsigned numBitsUnsigned(Value *Op, unsigned ScalarSize) const;
147 unsigned numBitsSigned(Value *Op, unsigned ScalarSize) const;
148 bool isI24(Value *V, unsigned ScalarSize) const;
149 bool isU24(Value *V, unsigned ScalarSize) const;
415 unsigned ScalarSize) const { in numBitsUnsigned()
417 return ScalarSize - Known.countMinLeadingZeros(); in numBitsUnsigned()
421 unsigned ScalarSize) const { in numBitsSigned()
424 return ScalarSize - ComputeNumSignBits(Op, *DL, 0, AC); in numBitsSigned()
427 bool AMDGPUCodeGenPrepare::isI24(Value *V, unsigned ScalarSize) const { in isI24()
428 return ScalarSize >= 24 && // Types less than 24-bit should be treated in isI24()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DLowLevelTypeImpl.h77 static LLT scalarOrVector(uint16_t NumElements, unsigned ScalarSize) { in scalarOrVector() argument
78 return scalarOrVector(NumElements, LLT::scalar(ScalarSize)); in scalarOrVector()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/Utils/
DX86ShuffleDecode.h123 void decodeVSHUF64x2FamilyMask(unsigned NumElts, unsigned ScalarSize,
DX86ShuffleDecode.cpp277 void decodeVSHUF64x2FamilyMask(unsigned NumElts, unsigned ScalarSize, in decodeVSHUF64x2FamilyMask() argument
280 unsigned NumElementsInLane = 128 / ScalarSize; in decodeVSHUF64x2FamilyMask()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86InterleavedAccess.cpp227 unsigned ScalarSize = VT.getVectorElementType().getScalarSizeInBits() * 2; in scaleVectorType() local
228 return MVT::getVectorVT(MVT::getIntegerVT(ScalarSize), in scaleVectorType()
DX86ISelLowering.cpp8271 unsigned ScalarSize = std::min(RepeatSize, 64u); in EltsFromConsecutiveLoads() local
8272 if (!Subtarget.hasAVX2() && ScalarSize < 32) in EltsFromConsecutiveLoads()
8295 ? EVT::getIntegerVT(*DAG.getContext(), ScalarSize) in EltsFromConsecutiveLoads()
8296 : EVT::getFloatingPointVT(ScalarSize); in EltsFromConsecutiveLoads()
8297 if (RepeatSize > ScalarSize) in EltsFromConsecutiveLoads()
8299 RepeatSize / ScalarSize); in EltsFromConsecutiveLoads()
8302 VT.getSizeInBits() / ScalarSize); in EltsFromConsecutiveLoads()
8306 unsigned Opcode = RepeatSize > ScalarSize ? X86ISD::SUBV_BROADCAST in EltsFromConsecutiveLoads()
8340 unsigned ScalarSize = VT.getScalarSizeInBits(); in getConstantVector() local
8341 unsigned NumElm = SplatBitSize / ScalarSize; in getConstantVector()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/MIRParser/
DMIParser.cpp1616 auto ScalarSize = APSInt(Token.range().drop_front()).getZExtValue(); in parseLowLevelType() local
1617 if (!verifyScalarSize(ScalarSize)) in parseLowLevelType()
1620 Ty = LLT::scalar(ScalarSize); in parseLowLevelType()
1659 auto ScalarSize = APSInt(Token.range().drop_front()).getZExtValue(); in parseLowLevelType() local
1660 if (!verifyScalarSize(ScalarSize)) in parseLowLevelType()
1662 Ty = LLT::scalar(ScalarSize); in parseLowLevelType()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/
DX86InstComments.cpp215 static unsigned getRegOperandNumElts(const MCInst *MI, unsigned ScalarSize, in getRegOperandNumElts() argument
218 return getVectorRegSize(OpReg) / ScalarSize; in getRegOperandNumElts()