MCPcopy Create free account
hub / github.com/csyonghe/Spire / IsMatrix

Function IsMatrix

Source/SpireCore/CLikeCodeGen.cpp:148–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146 }
147
148 static bool IsMatrix(ILOperand* operand)
149 {
150 auto type = operand->Type;
151 // TODO(tfoley): This needs to be expanded once other matrix types are supported
152 return type->IsFloatMatrix();
153 }
154
155 void CLikeCodeGen::PrintMatrixMulInstrExpr(CodeGenContext & ctx, ILOperand* op0, ILOperand* op1)
156 {

Callers 1

PrintBinaryInstrExprMethod · 0.85

Calls 1

IsFloatMatrixMethod · 0.80

Tested by

no test coverage detected