aboutsummaryrefslogtreecommitdiff
path: root/lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2003-10-24 19:59:18 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2003-10-24 19:59:18 +0000
commit02438ca2540a82f291ec0ce6a48d337a23d13b3e (patch)
tree120b367ae9cb70106c9921e5d6d7f1fca13c7ba0 /lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h
parent03e43dcfe7a30f01f9ad606d265efd6cb8fe381c (diff)
The ExecutionAnnotations (SlotNumber, InstNumber, and FunctionInfo) are history.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9490 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h')
-rw-r--r--lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h71
1 files changed, 0 insertions, 71 deletions
diff --git a/lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h b/lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h
deleted file mode 100644
index 080df62efa..0000000000
--- a/lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h
+++ /dev/null
@@ -1,71 +0,0 @@
-//===-- ExecutionAnnotations.h ---------------------------------*- C++ -*--===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file was developed by the LLVM research group and is distributed under
-// the University of Illinois Open Source License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This header file defines annotations used by the execution engine.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLI_EXECUTION_ANNOTATIONS_H
-#define LLI_EXECUTION_ANNOTATIONS_H
-
-//===----------------------------------------------------------------------===//
-// Support for FunctionInfo annotations
-//===----------------------------------------------------------------------===//
-
-// This annotation (attached only to Function objects) is used to cache useful
-// information about the function, including the number of types present in the
-// function, and the number of values for each type.
-//
-struct FunctionInfo {
- FunctionInfo(Function *F);
- std::vector<unsigned> NumPlaneElements;
-
-private:
- unsigned getValueSlot(const Value *V);
-};
-
-//===----------------------------------------------------------------------===//
-// Support for the SlotNumber annotation
-//===----------------------------------------------------------------------===//
-
-// This annotation (attached only to Argument & Instruction objects) is used to
-// hold the the slot number for the value in its type plane.
-//
-// Entities have this annotation attached to them when the containing
-// function has it's FunctionInfo created (by the FunctionInfo ctor).
-//
-static AnnotationID SlotNumberAID(
- AnnotationManager::getID("Interpreter::SlotNumber"));
-
-struct SlotNumber : public Annotation {
- unsigned SlotNum; // Ranges from 0->
-
- SlotNumber(unsigned sn) : Annotation(SlotNumberAID),
- SlotNum(sn) {}
-};
-
-//===----------------------------------------------------------------------===//
-// Support for the InstNumber annotation
-//===----------------------------------------------------------------------===//
-
-// This annotation (attached only to Instruction objects) is used to hold the
-// instruction number of the instruction, and the slot number for the value in
-// its type plane. InstNumber's are used for user interaction, and for
-// calculating which value slot to store the result of the instruction in.
-//
-// Instructions have this annotation attached to them when the containing
-// function has it's FunctionInfo created (by the FunctionInfo ctor).
-//
-struct InstNumber : public SlotNumber {
- unsigned InstNum; // Ranges from 1->
-
- InstNumber(unsigned in, unsigned sn) : SlotNumber(sn), InstNum(in) {}
-};
-
-#endif