Home
last modified time | relevance | path

Searched refs:isScalarOrVectorOfType (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVISelLowering.cpp400 if (GR.isScalarOrVectorOfType(MI.getOperand(1).getReg(), in finalizeLowering()
406 if (GR.isScalarOrVectorOfType(MI.getOperand(1).getReg(), in finalizeLowering()
412 if (GR.isScalarOrVectorOfType(MI.getOperand(1).getReg(), in finalizeLowering()
H A DSPIRVInstructionSelector.cpp1253 bool IsBoolTy = GR.isScalarOrVectorOfType(InputRegister, SPIRV::OpTypeBool); in selectAnyOrAll()
1264 bool IsFloatTy = GR.isScalarOrVectorOfType(InputRegister, SPIRV::OpTypeFloat); in selectAnyOrAll()
1554 else if (GR.isScalarOrVectorOfType(CmpOperand, SPIRV::OpTypeBool)) in selectICmp()
1685 if (GR.isScalarOrVectorOfType(I.getOperand(1).getReg(), SPIRV::OpTypeBool)) { in selectIToF()
1702 if (GR.isScalarOrVectorOfType(SrcReg, SPIRV::OpTypeBool)) in selectExt()
1748 if (GR.isScalarOrVectorOfType(ResVReg, SPIRV::OpTypeBool)) in selectTrunc()
H A DSPIRVBuiltins.cpp2271 if (GR->isScalarOrVectorOfType(Call->Arguments[0], SPIRV::OpTypeInt)) { in generateConvertInst()
2273 if (GR->isScalarOrVectorOfType(Call->ReturnRegister, SPIRV::OpTypeInt)) { in generateConvertInst()
2281 } else if (GR->isScalarOrVectorOfType(Call->ReturnRegister, in generateConvertInst()
2300 } else if (GR->isScalarOrVectorOfType(Call->Arguments[0], in generateConvertInst()
2303 if (GR->isScalarOrVectorOfType(Call->ReturnRegister, SPIRV::OpTypeInt)) { in generateConvertInst()
2319 } else if (GR->isScalarOrVectorOfType(Call->ReturnRegister, in generateConvertInst()
H A DSPIRVGlobalRegistry.h359 bool isScalarOrVectorOfType(Register VReg, unsigned TypeOpcode) const;
H A DSPIRVGlobalRegistry.cpp1004 bool SPIRVGlobalRegistry::isScalarOrVectorOfType(Register VReg, in isScalarOrVectorOfType() function in SPIRVGlobalRegistry