Revision 74f40fd72e69ae4e9e52c056306064907e07cfb6 authored by Andrew Adams on 03 March 2021, 20:26:03 UTC, committed by GitHub on 03 March 2021, 20:26:03 UTC
* Track time spent in malloc/free when profiling * Appease clang tidy * Remove unnecessary asserts
1 parent acebd50
CodeGen_RISCV.h
#ifndef HALIDE_CODEGEN_RISCV_H
#define HALIDE_CODEGEN_RISCV_H
/** \file
* Defines the code-generator for producing RISCV machine code.
*/
#include "CodeGen_Posix.h"
namespace Halide {
namespace Internal {
/** A code generator that emits mips code from a given Halide stmt. */
class CodeGen_RISCV : public CodeGen_Posix {
public:
/** Create a mips code generator. Processor features can be
* enabled using the appropriate flags in the target struct. */
CodeGen_RISCV(const Target &);
protected:
using CodeGen_Posix::visit;
std::string mcpu() const override;
std::string mattrs() const override;
std::string mabi() const override;
bool use_soft_float_abi() const override;
int native_vector_bits() const override;
};
} // namespace Internal
} // namespace Halide
#endif
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...