clang: lib/AST/ByteCode/ByteCodeEmitter.cpp File Reference (original) (raw)
#include "[ByteCodeEmitter.h](ByteCodeEmitter%5F8h%5Fsource.html)"
#include "[Context.h](lib%5F2AST%5F2ByteCode%5F2Context%5F8h%5Fsource.html)"
#include "[Floating.h](Floating%5F8h%5Fsource.html)"
#include "[IntegralAP.h](IntegralAP%5F8h%5Fsource.html)"
#include "[Opcode.h](Opcode%5F8h%5Fsource.html)"
#include "[Program.h](Program%5F8h%5Fsource.html)"
#include "[clang/AST/ASTLambda.h](ASTLambda%5F8h%5Fsource.html)"
#include "[clang/AST/Attr.h](AST%5F2Attr%5F8h%5Fsource.html)"
#include "[clang/AST/DeclCXX.h](DeclCXX%5F8h%5Fsource.html)"
#include <type_traits>
#include "Opcodes.inc"
Go to the source code of this file.
Functions | |
---|---|
template | |
static void | emit (Program &P, std::vector< std::byte > &Code, const T &Val, bool &Success) |
Helper to write bytecode and bail out if 32-bit offsets become invalid. | |
template | |
static void | emitSerialized (std::vector< std::byte > &Code, const T &Val, bool &Success) |
Emits a serializable value. | |
template<> | |
void | emit (Program &P, std::vector< std::byte > &Code, const Floating &Val, bool &Success) |
template<> | |
void | emit (Program &P, std::vector< std::byte > &Code, const IntegralAP< false > &Val, bool &Success) |
template<> | |
void | emit (Program &P, std::vector< std::byte > &Code, const IntegralAP< true > &Val, bool &Success) |
◆ GET_LINK_IMPL
◆ emit() [1/4]
template<>
void emit | ( | Program & | P, |
---|---|---|---|
std::vector< std::byte > & | Code, | ||
const Floating & | Val, | ||
bool & | Success | ||
) |
◆ emit() [2/4]
◆ emit() [3/4]
◆ emit() [4/4]
template
static void emit ( Program & P, std::vector< std::byte > & Code, const T & Val, bool & Success ) | static |
---|
◆ emitSerialized()
template
static void emitSerialized ( std::vector< std::byte > & Code, const T & Val, bool & Success ) | static |
---|