Mercurial > hg > Members > tobaru > cbc > CbC_llvm
comparison include/llvm/Analysis/SparsePropagation.h @ 77:54457678186b
LLVM 3.6
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 08 Sep 2014 22:06:00 +0900 |
parents | 95c75e76d11b |
children | 60c9769439b8 |
comparison
equal
deleted
inserted
replaced
34:e874dbf0ad9d | 77:54457678186b |
---|---|
80 | 80 |
81 /// GetConstant - If the specified lattice value is representable as an LLVM | 81 /// GetConstant - If the specified lattice value is representable as an LLVM |
82 /// constant value, return it. Otherwise return null. The returned value | 82 /// constant value, return it. Otherwise return null. The returned value |
83 /// must be in the same LLVM type as Val. | 83 /// must be in the same LLVM type as Val. |
84 virtual Constant *GetConstant(LatticeVal LV, Value *Val, SparseSolver &SS) { | 84 virtual Constant *GetConstant(LatticeVal LV, Value *Val, SparseSolver &SS) { |
85 return 0; | 85 return nullptr; |
86 } | 86 } |
87 | 87 |
88 /// ComputeArgument - Given a formal argument value, compute and return a | 88 /// ComputeArgument - Given a formal argument value, compute and return a |
89 /// lattice value corresponding to the specified argument. | 89 /// lattice value corresponding to the specified argument. |
90 virtual LatticeVal ComputeArgument(Argument *I) { | 90 virtual LatticeVal ComputeArgument(Argument *I) { |