LLVM API Documentation

InstrTypes.h File Reference

#include "llvm/Instruction.h"
#include "llvm/Instruction.def"

Include dependency graph for InstrTypes.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  llvm

Classes

class  llvm::TerminatorInst
class  llvm::UnaryInstruction
class  llvm::BinaryOperator

Defines

#define HANDLE_BINARY_INST(N, OPC, CLASS)
#define HANDLE_BINARY_INST(N, OPC, CLASS)
#define HANDLE_BINARY_INST(N, OPC, CLASS)


Define Documentation

#define HANDLE_BINARY_INST ( N,
OPC,
CLASS   ) 

Value:

static BinaryOperator *create##OPC(Value *V1, Value *V2, \
                                     const std::string &Name, Instruction *I) {\
    return create(Instruction::OPC, V1, V2, Name, I);\
  }
create* - These methods just forward to create, and are useful when you statically know what type of instruction you're going to create. These helpers just save some typing.

Definition at line 505 of file InstrTypes.h.

#define HANDLE_BINARY_INST ( N,
OPC,
CLASS   ) 

Value:

static BinaryOperator *create##OPC(Value *V1, Value *V2, \
                                     const std::string &Name, BasicBlock *BB) {\
    return create(Instruction::OPC, V1, V2, Name, BB);\
  }
create* - These methods just forward to create, and are useful when you statically know what type of instruction you're going to create. These helpers just save some typing.

Definition at line 505 of file InstrTypes.h.

#define HANDLE_BINARY_INST ( N,
OPC,
CLASS   ) 

Value:

static BinaryOperator *create##OPC(Value *V1, Value *V2, \
                                     const std::string &Name = "") {\
    return create(Instruction::OPC, V1, V2, Name);\
  }
create* - These methods just forward to create, and are useful when you statically know what type of instruction you're going to create. These helpers just save some typing.

Definition at line 505 of file InstrTypes.h.