Home
last modified time | relevance | path

Searched refs:CSEMap (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCSEInfo.cpp108 bool Removed = CSEMap.RemoveNode(UMI); in invalidateUniqueMachineInstr()
117 auto *Node = CSEMap.FindNodeOrInsertPos(ID, InsertPos); in getNodeIfExists()
135 CSEMap.InsertNode(UMI, InsertPos); in insertNode()
137 MaybeNewNode = CSEMap.GetOrInsertNode(UMI); in insertNode()
258 CSEMap.clear(); in releaseMemory()
289 CSEMap.FindNodeOrInsertPos(TmpID, InsertPos); in verify()
292 "CSEMap mismatch, InstrMapping has MIs without " in verify()
293 "corresponding Nodes in CSEMap:\n%s", in verify()
297 // For every node in the CSEMap, make sure that the InstrMapping in verify()
299 for (const UniqueMachineInstr &UMI : CSEMap) { in verify()
[all...]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineLICM.cpp171 CSEMap; member in __anona9a475ae0111::MachineLICMBase
205 CSEMap.clear(); in releaseMemory()
397 CSEMap.clear(); in INITIALIZE_PASS_DEPENDENCY()
1445 CSEMap[BB][MI.getOpcode()].push_back(&MI); in InitCSEMap()
1574 for (auto &Map : CSEMap) { in MayCSE()
1642 for (auto &Map : CSEMap) { in Hoist()
1676 CSEMap[Preheader][Opcode].push_back(MI); in Hoist()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DCSEInfo.h27 /// be uniqued in a CSEMap. The tradeoff here is extra memory allocations for
67 /// the CSEMap. There is Opcode level granularity on which instructions can be
74 FoldingSet<UniqueMachineInstr> CSEMap; variable
86 /// list and avoid inserting and then removing from the CSEMap.
104 /// Get the MachineInstr(Unique) if it exists already in the CSEMap and the
111 /// into the CSEMap. MI should return true for shouldCSE(MI->getOpcode())
125 /// Records a newly created inst in a list and lazily insert it to the CSEMap.
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp1212 Erased = CSEMap.RemoveNode(N); in RemoveNodeFromCSEMaps()
1238 SDNode *Existing = CSEMap.GetOrInsertNode(N); in AddModifiedNodeToCSEMaps()
1375 SDNode *N = CSEMap.FindNodeOrInsertPos(ID, InsertPos); in FindNodeOrInsertPos()
1390 SDNode *N = CSEMap.FindNodeOrInsertPos(ID, InsertPos); in FindNodeOrInsertPos()
1417 CSEMap.clear(); in clear()
1739 CSEMap.InsertNode(N, IP); in getConstant()
1800 CSEMap.InsertNode(N, IP); in getConstantFP()
1858 CSEMap.InsertNode(N, IP); in getGlobalAddress()
1874 CSEMap.InsertNode(N, IP); in getFrameIndex()
1894 CSEMap.InsertNode(N, IP); in getJumpTable()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h275 FoldingSet<SDNode> CSEMap;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp2871 SmallDenseMap<Instruction *, Instruction *, 4, CSEDenseMapInfo> CSEMap; in cse() local
2878 if (Instruction *V = CSEMap.lookup(&In)) { in cse()
2884 CSEMap[&In] = &In; in cse()