mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-22 23:24:59 +00:00
Re-format SampleProfile.cpp with clang-format. No functional changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203977 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -94,7 +94,7 @@ template <> struct DenseMapInfo<InstructionLocation> {
|
|||||||
DiscriminatorInfo::getTombstoneKey());
|
DiscriminatorInfo::getTombstoneKey());
|
||||||
}
|
}
|
||||||
static inline unsigned getHashValue(InstructionLocation Val) {
|
static inline unsigned getHashValue(InstructionLocation Val) {
|
||||||
return DenseMapInfo<std::pair<int, unsigned> >::getHashValue(
|
return DenseMapInfo<std::pair<int, unsigned>>::getHashValue(
|
||||||
std::pair<int, unsigned>(Val.LineOffset, Val.Discriminator));
|
std::pair<int, unsigned>(Val.LineOffset, Val.Discriminator));
|
||||||
}
|
}
|
||||||
static inline bool isEqual(InstructionLocation LHS, InstructionLocation RHS) {
|
static inline bool isEqual(InstructionLocation LHS, InstructionLocation RHS) {
|
||||||
@@ -110,7 +110,7 @@ typedef DenseMap<BasicBlock *, unsigned> BlockWeightMap;
|
|||||||
typedef DenseMap<BasicBlock *, BasicBlock *> EquivalenceClassMap;
|
typedef DenseMap<BasicBlock *, BasicBlock *> EquivalenceClassMap;
|
||||||
typedef std::pair<BasicBlock *, BasicBlock *> Edge;
|
typedef std::pair<BasicBlock *, BasicBlock *> Edge;
|
||||||
typedef DenseMap<Edge, unsigned> EdgeWeightMap;
|
typedef DenseMap<Edge, unsigned> EdgeWeightMap;
|
||||||
typedef DenseMap<BasicBlock *, SmallVector<BasicBlock *, 8> > BlockEdgeMap;
|
typedef DenseMap<BasicBlock *, SmallVector<BasicBlock *, 8>> BlockEdgeMap;
|
||||||
|
|
||||||
/// \brief Representation of the runtime profile for a function.
|
/// \brief Representation of the runtime profile for a function.
|
||||||
///
|
///
|
||||||
|
Reference in New Issue
Block a user