diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2003-05-20 18:45:36 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2003-05-20 18:45:36 +0000 |
commit | f117cc9ee656fa31ea933127757ffc9cd5f21a76 (patch) | |
tree | 4032b02392b88c6a10167f891961505f7d22efeb /lib/Transforms/TransformInternals.h | |
parent | d5bd008265c57b31d6496a105e925168c67aaeed (diff) | |
download | external_llvm-f117cc9ee656fa31ea933127757ffc9cd5f21a76.zip external_llvm-f117cc9ee656fa31ea933127757ffc9cd5f21a76.tar.gz external_llvm-f117cc9ee656fa31ea933127757ffc9cd5f21a76.tar.bz2 |
s/convertable/convertible/g
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6248 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/TransformInternals.h')
-rw-r--r-- | lib/Transforms/TransformInternals.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Transforms/TransformInternals.h b/lib/Transforms/TransformInternals.h index 9f6eb79..8cab429 100644 --- a/lib/Transforms/TransformInternals.h +++ b/lib/Transforms/TransformInternals.h @@ -30,7 +30,7 @@ static inline const CompositeType *getPointedToComposite(const Type *Ty) { return PT ? dyn_cast<CompositeType>(PT->getElementType()) : 0; } -// ConvertableToGEP - This function returns true if the specified value V is +// ConvertibleToGEP - This function returns true if the specified value V is // a valid index into a pointer of type Ty. If it is valid, Idx is filled in // with the values that would be appropriate to make this a getelementptr // instruction. The type returned is the root type that the GEP would point @@ -39,7 +39,7 @@ static inline const CompositeType *getPointedToComposite(const Type *Ty) { // If BI is nonnull, cast instructions are inserted as appropriate for the // arguments of the getelementptr. // -const Type *ConvertableToGEP(const Type *Ty, Value *V, +const Type *ConvertibleToGEP(const Type *Ty, Value *V, std::vector<Value*> &Indices, const TargetData &TD, BasicBlock::iterator *BI = 0); @@ -105,13 +105,13 @@ struct ValueMapCache { }; -bool ExpressionConvertableToType(Value *V, const Type *Ty, ValueTypeCache &Map, +bool ExpressionConvertibleToType(Value *V, const Type *Ty, ValueTypeCache &Map, const TargetData &TD); Value *ConvertExpressionToType(Value *V, const Type *Ty, ValueMapCache &VMC, const TargetData &TD); -// ValueConvertableToType - Return true if it is possible -bool ValueConvertableToType(Value *V, const Type *Ty, +// ValueConvertibleToType - Return true if it is possible +bool ValueConvertibleToType(Value *V, const Type *Ty, ValueTypeCache &ConvertedTypes, const TargetData &TD); |