Home
last modified time | relevance | path

Searched refs:IndexOperandHashMap (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CGData/
H A DStableFunctionMap.cpp85 auto IndexOperandHashMap = std::make_unique<IndexOperandHashMapType>(); in insert() local
87 (*IndexOperandHashMap)[Index] = Hash; in insert()
90 std::move(IndexOperandHashMap)); in insert()
104 std::make_unique<IndexOperandHashMapType>(*Func->IndexOperandHashMap); in merge()
140 for (auto &[Pair, Hash] : *(RSF->IndexOperandHashMap)) { in removeIdenticalIndexPair()
144 const auto &SHash = SF->IndexOperandHashMap->at(Pair); in removeIdenticalIndexPair()
159 SF->IndexOperandHashMap->erase(Pair); in removeIdenticalIndexPair()
177 for (auto &[IndexPair, Hash] : *SF->IndexOperandHashMap) in isProfitable()
226 if (RSF->IndexOperandHashMap->size() != SF->IndexOperandHashMap->size()) { in finalize()
230 for (auto &P : *RSF->IndexOperandHashMap) { in finalize()
[all …]
H A DStableFunctionMapRecord.cpp73 for (auto &[Indices, OpndHash] : *FuncEntry->IndexOperandHashMap) in getStableIndexOperandHashes()
177 auto IndexOperandHashMap = std::make_unique<IndexOperandHashMapType>(); in deserialize() local
187 IndexOperandHashMap->try_emplace({InstIndex, OpndIndex}, OpndHash); in deserialize()
193 std::move(IndexOperandHashMap)); in deserialize()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DStructuralHash.h66 std::unique_ptr<IndexOperandHashMapType> IndexOperandHashMap; member
70 std::unique_ptr<IndexOperandHashMapType> IndexOperandHashMap) in FunctionHashInfo()
73 IndexOperandHashMap(std::move(IndexOperandHashMap)) {} in FunctionHashInfo()
/freebsd/contrib/llvm-project/llvm/include/llvm/CGData/
H A DStableFunctionMap.h64 std::unique_ptr<IndexOperandHashMapType> IndexOperandHashMap; member
69 std::unique_ptr<IndexOperandHashMapType> IndexOperandHashMap) in StableFunctionEntry()
72 IndexOperandHashMap(std::move(IndexOperandHashMap)) {} in StableFunctionEntry()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DGlobalMergeFunctions.cpp157 for (auto &Pair : *FI.IndexOperandHashMap) in analyze()
332 assert(SF.IndexOperandHashMap->count(Loc)); in checkConstLocationCompatible()
333 auto CurrHash = SF.IndexOperandHashMap->at(Loc); in checkConstLocationCompatible()
356 for (auto &[IndexPair, Hash] : *RSF.IndexOperandHashMap) { in computeParamInfo()
365 auto SHash = SF->IndexOperandHashMap->at(IndexPair); in computeParamInfo()
420 for (auto &[Index, Hash] : *SF->IndexOperandHashMap) { in merge()
437 if (!checkConstHashCompatible(*SF->IndexOperandHashMap, in merge()
438 *FI.IndexOperandHashMap)) in merge()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DStructuralHash.cpp44 std::unique_ptr<IndexOperandHashMapType> IndexOperandHashMap = nullptr; member in __anon8dbff9370111::StructuralHashImpl
64 IndexOperandHashMap = std::make_unique<IndexOperandHashMapType>(); in StructuralHashImpl()
233 assert(IndexOperandHashMap); in hashInstruction()
234 IndexOperandHashMap->try_emplace({InstIdx, OpndIdx}, OpndHash); in hashInstruction()
323 return std::move(IndexOperandHashMap); in getIndexPairOpndHashMap()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DStructuralHash.cpp39 for (auto &[IndexPair, OpndHash] : *FuncHashInfo.IndexOperandHashMap) { in run()