#ifndef HALIDE_CODEGEN_POWERPC_H
#define HALIDE_CODEGEN_POWERPC_H
#include "CodeGen_Posix.h"
namespace Halide {
namespace Internal {
class CodeGen_PowerPC : public CodeGen_Posix {
public:
CodeGen_PowerPC(Target);
static void test();
protected:
std::string mcpu() const;
std::string mattrs() const;
bool use_soft_float_abi() const;
int native_vector_bits() const;
using CodeGen_Posix::visit;
void visit(const Cast *);
void visit(const Min *);
void visit(const Max *);
private:
static const char* altivec_int_type_name(const Type&);
};
}}
#endif