#include "llvm/Constant.h"
#include "llvm/Type.h"
#include <algorithm> // find
+using namespace llvm;
//===----------------------------------------------------------------------===//
// TerminatorInst Class
: Instruction(Type::VoidTy, iType, "", IB) {
}
+TerminatorInst::TerminatorInst(Instruction::TermOps iType, BasicBlock *IAE)
+ : Instruction(Type::VoidTy, iType) {
+ if (IAE) IAE->getInstList().push_back(this);
+}
+
+
+
//===----------------------------------------------------------------------===//
// PHINode Class
//===----------------------------------------------------------------------===//