LLVM 20.0.0git
|
#include "llvm/SandboxIR/SandboxIR.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/IR/Constants.h"
#include "llvm/Support/Debug.h"
#include <sstream>
#include "llvm/SandboxIR/SandboxIRValues.def"
Go to the source code of this file.
Macros | |
#define | DEF_VALUE(ID, CLASS) |
#define | DEF_USER(ID, CLASS) |
#define | DEF_INSTR(ID, OPC, CLASS) |
#define | OP(OPC) |
#define | OPCODES(...) __VA_ARGS__ |
#define | DEF_INSTR(ID, OPC, CLASS) OPC |
#define | DEF_INSTR(ID, OPC, CLASS) |
Functions | |
static llvm::Instruction::CastOps | getLLVMCastOp (Instruction::Opcode Opc) |
static llvm::Instruction::UnaryOps | getLLVMUnaryOp (Instruction::Opcode Opc) |
\Returns the LLVM opcode that corresponds to Opc . | |
static llvm::Instruction::BinaryOps | getLLVMBinaryOp (Instruction::Opcode Opc) |
\Returns the LLVM opcode that corresponds to Opc . | |
#define DEF_INSTR | ( | ID, | |
OPC, | |||
CLASS | |||
) |
#define DEF_INSTR | ( | ID, | |
OPC, | |||
CLASS | |||
) | OPC |
#define DEF_INSTR | ( | ID, | |
OPC, | |||
CLASS | |||
) |
#define DEF_USER | ( | ID, | |
CLASS | |||
) |
#define DEF_VALUE | ( | ID, | |
CLASS | |||
) |
#define OP | ( | OPC | ) |
#define OPCODES | ( | ... | ) | __VA_ARGS__ |
|
static |
\Returns the LLVM opcode that corresponds to Opc
.
Definition at line 1569 of file SandboxIR.cpp.
References llvm_unreachable.
Referenced by llvm::sandboxir::BinaryOperator::create().
|
static |
Definition at line 1346 of file SandboxIR.cpp.
References llvm_unreachable.
Referenced by llvm::sandboxir::CastInst::create().
|
static |
\Returns the LLVM opcode that corresponds to Opc
.
Definition at line 1381 of file SandboxIR.cpp.
References llvm_unreachable.
Referenced by llvm::sandboxir::UnaryOperator::create().