1 /*
2  *  Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3  *  Copyright (C) 2014-2015 - Scilab Enterprises - Calixte DENIZET
4  *
5  * Copyright (C) 2012 - 2016 - Scilab Enterprises
6  *
7  * This file is hereby licensed under the terms of the GNU GPL v2.0,
8  * pursuant to article 5.3.4 of the CeCILL v.2.1.
9  * This file was originally licensed under the terms of the CeCILL v2.1,
10  * and continues to be available under such terms.
11  * For more information, see the COPYING file which you should have received
12  * along with this program.
13  *
14  */
15 
16 // This file has been generated, so don't modify it by hand !!
17 
18 #include "checkers/Checkers.hxx"
19 
20 namespace analysis
21 {
check_imult(GVN & gvn,const TIType & in0)22 TIType Checkers::check_imult(GVN & gvn, const TIType & in0)
23 {
24     switch (in0.type)
25     {
26         case TIType::COMPLEX :
27         {
28             return in0;
29         }
30         case TIType::DOUBLE :
31         {
32             return TIType(gvn, TIType::COMPLEX, in0.rows, in0.cols);
33         }
34         default :
35             return TIType(gvn);
36     }
37 }
38 
39 } // namespace analysis