Home
last modified time | relevance | path

Searched refs:getScalarOrVectorBitWidth (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVPostLegalizer.cpp107 LLT::scalar(GR->getScalarOrVectorBitWidth(ResType))); in processNewInstrs()
129 LLT::scalar(GR->getScalarOrVectorBitWidth(ResVType))); in processNewInstrs()
H A DSPIRVGlobalRegistry.cpp175 unsigned BitWidth = SpvType ? getScalarOrVectorBitWidth(SpvType) : 32; in getOrCreateConstIntReg()
212 BitWidth = getScalarOrVectorBitWidth(SpvType); in getOrCreateConstFloatReg()
284 addNumImm(APInt(getScalarOrVectorBitWidth(SpvType), Val), MIB); in getOrCreateConstInt()
311 unsigned BitWidth = SpvType ? getScalarOrVectorBitWidth(SpvType) : 32; in buildConstantInt()
452 unsigned BW = getScalarOrVectorBitWidth(SpvType); in getOrCreateConstVector()
471 unsigned BW = getScalarOrVectorBitWidth(SpvType); in getOrCreateConstVector()
486 unsigned BW = getScalarOrVectorBitWidth(SpvBaseTy); in getOrCreateConstIntArray()
550 unsigned BW = getScalarOrVectorBitWidth(SpvType); in getOrCreateConsIntVector()
1033 SPIRVGlobalRegistry::getScalarOrVectorBitWidth(const SPIRVType *Type) const { in getScalarOrVectorBitWidth() function in SPIRVGlobalRegistry
H A DSPIRVGlobalRegistry.h368 unsigned getScalarOrVectorBitWidth(const SPIRVType *Type) const;
H A DSPIRVBuiltins.cpp425 unsigned Bits = GR->getScalarOrVectorBitWidth(ReturnType); in buildSelectInst()
1437 unsigned BitWidth = GR->getScalarOrVectorBitWidth(Call->ReturnType); in generateBuiltinVar()
1550 LLT LLType = LLT::scalar(GR->getScalarOrVectorBitWidth(Call->ReturnType)); in generateWaveInst()
1758 LLT LLType = LLT::scalar(GR->getScalarOrVectorBitWidth(TempType)); in generateReadImageInst()
H A DSPIRVInstructionSelector.cpp948 MRI->setType(ResVReg, LLT::scalar(GR.getScalarOrVectorBitWidth(ResType))); in selectUnmergeValues()
1650 unsigned BitWidth = GR.getScalarOrVectorBitWidth(ResType); in buildOnesVal()
1686 unsigned BitWidth = GR.getScalarOrVectorBitWidth(ResType); in selectIToF()
H A DSPIRVPreLegalizer.cpp257 unsigned CurrentBW = GR->getScalarOrVectorBitWidth(Def); in propagateSPIRVType()