Remove building with NOCRYPTO option
[minix.git] / minix / llvm / passes / include / magic / MagicCTLazyCheckpointPass.h
blobf515df5f0774307ab8e61b88d9729d7ed7780325
1 #ifndef MAGIC_CTLAZY_CHECKPOINT_PASS_H
2 #define MAGIC_CTLAZY_CHECKPOINT_PASS_H
4 #include <magic/magic.h>
5 #include <magic/MagicPass.h>
6 #include <magic/support/VariableRefs.h>
8 using namespace llvm;
10 namespace llvm {
12 #define magicCTLazyCheckpointPassLog(M) DEBUG(dbgs() << "MagicCTLazyCheckpointPass: " << M << "\n")
14 class MagicCTLazyCheckpointPass : public FunctionPass {
16 public:
17 static char ID;
19 MagicCTLazyCheckpointPass();
21 virtual void getAnalysisUsage(AnalysisUsage &AU) const;
22 virtual bool runOnFunction(Function &F);
24 private:
25 AliasAnalysis *AA;
27 bool instructionModifiesVar(Module &M, Instruction *inst, GlobalVariable* var);
32 #endif