5#ifndef V8_TORQUE_CC_GENERATOR_H_
6#define V8_TORQUE_CC_GENERATOR_H_
17 bool is_cc_debug =
false)
28 bool always_emit =
false)
override;
31 std::string indentation);
38#define EMIT_INSTRUCTION_DECLARATION(T) \
39 void EmitInstruction(const T& instruction, Stack<std::string>* stack) \
42#undef EMIT_INSTRUCTION_DECLARATION
#define EMIT_INSTRUCTION_DECLARATION(T)
std::optional< Stack< std::string > > EmitGraph(Stack< std::string > parameters)
void EmitGoto(const Block *destination, Stack< std::string > *stack, std::string indentation)
Stack< std::string > EmitBlock(const Block *block)
void EmitSourcePosition(SourcePosition pos, bool always_emit=false) override
CCGenerator(const ControlFlowGraph &cfg, std::ostream &out, bool is_cc_debug=false)
std::vector< std::string > ProcessArgumentsCommon(const TypeVector ¶meter_types, std::vector< std::string > constexpr_arguments, Stack< std::string > *stack)
static void EmitCCValue(VisitResult result, const Stack< std::string > &values, std::ostream &out)
#define TORQUE_BACKEND_DEPENDENT_INSTRUCTION_LIST(V)
ZoneVector< RpoNumber > & result
InstructionOperand destination
std::vector< const Type * > TypeVector