Remove building with NOCRYPTO option
[minix.git] / minix / llvm / passes / include / magic / support / VariableRefs.h
blob0574d5a5ac6a34878795d1320b344681a1472b51
1 #ifndef VARIABLE_REFS_H
2 #define VARIABLE_REFS_H
4 #include <pass.h>
6 using namespace llvm;
8 namespace llvm {
10 class VariableRefs {
11 public:
12 VariableRefs();
14 bool isUnnecessaryInstruction(Instruction* inst) const;
15 Instruction* getInstruction() const;
16 bool isInstructionInEntryBlock() const;
18 void addInstruction(Instruction* inst);
19 void clear();
21 private:
22 Instruction* instruction;
23 bool instructionInEntryBlock;
25 void setFunctionEntryInstruction(Function* function);
30 #endif