package midend.llvm.instr; import midend.llvm.use.IrUser; import midend.llvm.value.IrBasicBlock; import midend.llvm.type.IrType; public class IrInstr extends IrUser { private IrInstrType type; private IrBasicBlock block; public IrInstr(IrType type, String name, IrInstrType instrType) { super(type, name); this.type = instrType; this.block = null; } public IrInstrType getInstrType() { return type; } public IrBasicBlock getBBlock() { return block; } public void setBBlock(IrBasicBlock block) { this.block = block; } }