mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-11 13:46:13 +00:00
Remove trailing spaces.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54447 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e2c5ecd46a
commit
d829e6fdee
@ -114,9 +114,9 @@ public:
|
||||
"Tool did not specify a TargetData to use?");
|
||||
abort();
|
||||
}
|
||||
|
||||
|
||||
/// Constructs a TargetData from a specification string. See init().
|
||||
explicit TargetData(const std::string &TargetDescription)
|
||||
explicit TargetData(const std::string &TargetDescription)
|
||||
: ImmutablePass(intptr_t(&ID)) {
|
||||
init(TargetDescription);
|
||||
}
|
||||
@ -124,7 +124,7 @@ public:
|
||||
/// Initialize target data from properties stored in the module.
|
||||
explicit TargetData(const Module *M);
|
||||
|
||||
TargetData(const TargetData &TD) :
|
||||
TargetData(const TargetData &TD) :
|
||||
ImmutablePass(intptr_t(&ID)),
|
||||
LittleEndian(TD.isLittleEndian()),
|
||||
PointerMemSize(TD.PointerMemSize),
|
||||
@ -137,7 +137,7 @@ public:
|
||||
|
||||
//! Parse a target data layout string and initialize TargetData alignments.
|
||||
void init(const std::string &TargetDescription);
|
||||
|
||||
|
||||
/// Target endianness...
|
||||
bool isLittleEndian() const { return LittleEndian; }
|
||||
bool isBigEndian() const { return !LittleEndian; }
|
||||
@ -218,12 +218,12 @@ public:
|
||||
///
|
||||
uint64_t getIndexedOffset(const Type *Ty,
|
||||
Value* const* Indices, unsigned NumIndices) const;
|
||||
|
||||
|
||||
/// getStructLayout - Return a StructLayout object, indicating the alignment
|
||||
/// of the struct, its size, and the offsets of its fields. Note that this
|
||||
/// information is lazily cached.
|
||||
const StructLayout *getStructLayout(const StructType *Ty) const;
|
||||
|
||||
|
||||
/// InvalidateStructLayoutInfo - TargetData speculatively caches StructLayout
|
||||
/// objects. If a TargetData object is alive when types are being refined and
|
||||
/// removed, this method must be called whenever a StructType is removed to
|
||||
@ -256,7 +256,7 @@ public:
|
||||
uint64_t getSizeInBytes() const {
|
||||
return StructSize;
|
||||
}
|
||||
|
||||
|
||||
uint64_t getSizeInBits() const {
|
||||
return 8*StructSize;
|
||||
}
|
||||
@ -264,7 +264,7 @@ public:
|
||||
unsigned getAlignment() const {
|
||||
return StructAlignment;
|
||||
}
|
||||
|
||||
|
||||
/// getElementContainingOffset - Given a valid offset into the structure,
|
||||
/// return the structure index that contains it.
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user