public void caseCastExpr(CastExpr arg0) { Type cast_type = arg0.getCastType(); OpenCLType ocl_type = new OpenCLType(cast_type); m_output.append("(" + ocl_type.getCudaTypeString() + ") "); Value rhs = arg0.getOp(); rhs.apply(this); }
public void caseNegExpr(NegExpr arg0) { Value op = arg0.getOp(); m_output.append("-"); op.apply(this); }
public void caseLengthExpr(LengthExpr arg0) { Value op = arg0.getOp(); m_output.append("org_trifort_array_length(gc_info, "); op.apply(this); m_output.append(")"); }