diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-02-28 19:57:34 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-02-28 19:57:34 +0000 |
commit | 581b0d453a63f7f657248f80317976995262be11 (patch) | |
tree | eb1a0259be67fdad03b5708f43ba80107d378380 /include/llvm/Analysis/ScalarEvolution.h | |
parent | f57fc81faebf3eb81fb30fe17c4295d46060e03f (diff) | |
download | external_llvm-581b0d453a63f7f657248f80317976995262be11.zip external_llvm-581b0d453a63f7f657248f80317976995262be11.tar.gz external_llvm-581b0d453a63f7f657248f80317976995262be11.tar.bz2 |
For PR1205:
Remove ConstantInt from ConstantRange interface and adjust its users to
compensate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34758 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/ScalarEvolution.h')
-rw-r--r-- | include/llvm/Analysis/ScalarEvolution.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Analysis/ScalarEvolution.h b/include/llvm/Analysis/ScalarEvolution.h index 4aac284..b950ca4 100644 --- a/include/llvm/Analysis/ScalarEvolution.h +++ b/include/llvm/Analysis/ScalarEvolution.h @@ -85,6 +85,10 @@ namespace llvm { /// virtual const Type *getType() const = 0; + /// getBitWidth - Get the bit width of the type, if it has one, 0 otherwise. + /// + uint32_t getBitWidth() const; + /// replaceSymbolicValuesWithConcrete - If this SCEV internally references /// the symbolic value "Sym", construct and return a new SCEV that produces /// the same value, but which uses the concrete value Conc instead of the |