HomeSort by: relevance | last modified time | path
    Searched refs:FunctionHash (Results 1 - 14 of 14) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/IPO/
SampleProfileProbe.h 46 uint64_t FunctionHash;
50 : FunctionGUID(GUID), FunctionHash(Hash) {}
52 uint64_t getFunctionHash() const { return FunctionHash; }
107 uint64_t getFunctionHash() const { return FunctionHash; }
121 uint64_t FunctionHash;
  /src/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/Coverage/
CoverageMappingReader.h 37 uint64_t FunctionHash;
169 uint64_t FunctionHash;
175 uint64_t FunctionHash, StringRef CoverageMapping,
178 FunctionHash(FunctionHash), CoverageMapping(CoverageMapping),
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CodeGenPGO.h 35 uint64_t FunctionHash;
45 NumRegionCounters(0), FunctionHash(0), CurrentRegionCount(0) {}
CoverageMappingGen.h 118 uint64_t FunctionHash,
CodeGenPGO.cpp 853 FunctionHash = Walker.Hash.finalize();
894 FuncNameVar, FuncName, FunctionHash, CoverageMapping);
916 FuncNameVar, FuncName, FunctionHash, CoverageMapping, false);
953 Builder.getInt64(FunctionHash),
991 Builder.getInt64(FunctionHash),
1026 PGOReader->getInstrProfRecord(FuncName, FunctionHash);
  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
FunctionComparator.h 104 using FunctionHash = uint64_t;
105 static FunctionHash functionHash(Function &);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
SampleProfileProbe.cpp 244 FunctionHash = (uint64_t)CallProbeIds.size() << 48 |
247 FunctionHash &= 0x0FFFFFFFFFFFFFFF;
248 assert(FunctionHash && "Function checksum should not be zero");
253 << ", Hash = " << FunctionHash << "\n");
369 // - FunctionHash.
MergeFunctions.cpp 178 FunctionComparator::FunctionHash Hash;
183 : F(F), Hash(FunctionComparator::functionHash(*F)) {}
186 FunctionComparator::FunctionHash getHash() const { return Hash; }
415 std::vector<std::pair<FunctionComparator::FunctionHash, Function *>>
419 HashedFuncs.push_back({FunctionComparator::functionHash(Func), &Func});
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
PGOInstrumentation.cpp 186 // Command line option to control appending FunctionHash to the name of a COMDAT
583 uint64_t FunctionHash = 0;
605 Twine(FunctionHash) + "\t" + Str);
677 FunctionHash = (uint64_t)SIVisitor.getNumOfSelectInsts() << 56 |
695 FunctionHash = (((uint64_t)JCH.getCRC()) << 28) + JC.getCRC();
699 FunctionHash &= 0x0FFFFFFFFFFFFFFF;
701 NamedInstrProfRecord::setCSFlagInHash(FunctionHash);
711 LLVM_DEBUG(dbgs() << ", Hash = " << FunctionHash << "\n";);
745 Twine(F.getName() + "." + Twine(FunctionHash)).str();
748 FuncName = Twine(FuncName + "." + Twine(FunctionHash)).str()
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/
SampleProf.h 710 if (FunctionHash == 0) {
712 FunctionHash = Other.getFunctionHash();
713 } else if (FunctionHash != Other.getFunctionHash()) {
784 void setFunctionHash(uint64_t Hash) { FunctionHash = Hash; }
786 uint64_t getFunctionHash() const { return FunctionHash; }
914 uint64_t FunctionHash = 0;
  /src/external/apache2/llvm/dist/llvm/lib/ProfileData/
SampleProfReader.cpp 93 /// Stores the FunctionHash (a.k.a. CFG Checksum) into \p FunctionHash.
94 static bool parseMetadata(const StringRef &Input, uint64_t &FunctionHash,
98 return !CFGInfo.getAsInteger(10, FunctionHash);
124 /// \param FunctionHash the function's CFG hash, used by pseudo probe.
131 uint64_t &FunctionHash, uint32_t &Attributes) {
139 return parseMetadata(Input.substr(Depth), FunctionHash, Attributes);
282 uint64_t FunctionHash = 0;
285 Discriminator, FName, TargetCountMap, FunctionHash,
326 if (FunctionHash) {
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/ProfileData/Coverage/
CoverageMappingReader.cpp 581 OldRecord.FunctionHash, OldRecord.CoverageMapping);
593 OldRecord.FunctionHash = FuncHash;
1139 Record.FunctionHash = R.FunctionHash;
CoverageMapping.cpp 247 Record.FunctionHash, Counts)) {
251 Record.FunctionHash);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
FunctionComparator.cpp 918 // available at once. This interface is necessary for functionHash because it
948 FunctionComparator::FunctionHash FunctionComparator::functionHash(Function &F) {

Completed in 30 milliseconds