aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Instructions.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h
new file mode 100644
index 0000000000..6f56045a27
--- /dev/null
+++ b/include/llvm/Instructions.h
@@ -0,0 +1,18 @@
+//===-- llvm/Instructions.h - Instruction subclass definitions --*- C++ -*-===//
+//
+// This file exposes the class definitions of all of the subclasses of the
+// Instruction class. This is meant to be an easy way to get access to all
+// instruction subclasses.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_INSTRUCTIONS_H
+#define LLVM_INSTRUCTIONS_H
+
+#include "llvm/iTerminators.h" // Terminator instructions
+#include "llvm/iPHINode.h" // The PHI node instruction
+#include "llvm/iOperators.h" // Binary operator instructions
+#include "llvm/iMemory.h" // Memory related instructions
+#include "llvm/iOther.h" // Everything else
+
+#endif