mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 15:39:06 +00:00
Fix function naming (NFC)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254045 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e4d220e8c9
commit
5c7d512e13
@ -131,7 +131,7 @@ GlobalVariable *createPGOFuncNameVar(Function &F, StringRef FuncName) {
|
||||
return createPGOFuncNameVar(*F.getParent(), F.getLinkage(), FuncName);
|
||||
}
|
||||
|
||||
uint64_t StringToHash(uint32_t ValueKind, uint64_t Value) {
|
||||
uint64_t stringToHash(uint32_t ValueKind, uint64_t Value) {
|
||||
switch (ValueKind) {
|
||||
case IPVK_IndirectCallTarget:
|
||||
return IndexedInstrProf::ComputeHash(IndexedInstrProf::HashType,
|
||||
@ -164,7 +164,7 @@ void ValueProfRecord::serializeFrom(const InstrProfRecord &Record,
|
||||
for (uint32_t S = 0; S < NumValueSites; S++) {
|
||||
uint32_t ND = Record.getNumValueDataForSite(ValueKind, S);
|
||||
SiteCountArray[S] = ND;
|
||||
Record.getValueForSite(DstVD, ValueKind, S, StringToHash);
|
||||
Record.getValueForSite(DstVD, ValueKind, S, stringToHash);
|
||||
DstVD += ND;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user