llvm::ConstantExpr::ConstantExpr

Construct a constant expression of type ty with opcode Opcode.

Synopsis

Declared in <llvm/IR/Constants.h>

ConstantExpr(
    Type* ty,
    unsigned int Opcode,
    AllocInfo AllocInfo);

Parameters

NameDescription
tyThe result type of the expression.
OpcodeThe Instruction opcode for the expression.
AllocInfoOperand allocation information for User.