Searched refs:getTypeClass (Results 1 – 2 of 2) sorted by relevance
194 Op getTypeClass(Id typeId) const { return getOpCode(typeId); } in getTypeClass() function217 …{ return getTypeClass(typeId) == OpTypeInt && module.getInstruction(typeId)->getImmediateOperand(1… in isIntType()219 …{ return getTypeClass(typeId) == OpTypeInt && module.getInstruction(typeId)->getImmediateOperand(1… in isUintType()220 bool isFloatType(Id typeId) const { return getTypeClass(typeId) == OpTypeFloat; } in isFloatType()221 bool isPointerType(Id typeId) const { return getTypeClass(typeId) == OpTypePointer; } in isPointerType()223 { return getTypeClass(typeId) == OpTypeFloat || getTypeClass(typeId) == OpTypeInt || in isScalarType()224 getTypeClass(typeId) == OpTypeBool; } in isScalarType()225 bool isVectorType(Id typeId) const { return getTypeClass(typeId) == OpTypeVector; } in isVectorType()226 bool isMatrixType(Id typeId) const { return getTypeClass(typeId) == OpTypeMatrix; } in isMatrixType()227 bool isStructType(Id typeId) const { return getTypeClass(typeId) == OpTypeStruct; } in isStructType()[all …]
1120 Op typeClass = getTypeClass(typeId); in makeCompositeConstant()