Home
last modified time | relevance | path

Searched refs:LoadNodes (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp14287 SmallVector<MemOpLink, 8> LoadNodes; in MergeConsecutiveStores() local
14311 LoadNodes.push_back(MemOpLink(Ld, LdOffset)); in MergeConsecutiveStores()
14314 while (NumConsecutiveStores >= 2 && LoadNodes.size() >= 2) { in MergeConsecutiveStores()
14318 if (LoadNodes.size() == 2 && in MergeConsecutiveStores()
14322 LoadNodes.erase(LoadNodes.begin(), LoadNodes.begin() + 2); in MergeConsecutiveStores()
14328 LoadSDNode *FirstLoad = cast<LoadSDNode>(LoadNodes[0].MemNode); in MergeConsecutiveStores()
14343 StartAddress = LoadNodes[0].OffsetFromBase; in MergeConsecutiveStores()
14345 for (unsigned i = 1; i < LoadNodes.size(); ++i) { in MergeConsecutiveStores()
14347 if (LoadNodes[i].MemNode->getChain() != FirstChain) in MergeConsecutiveStores()
14350 int64_t CurrAddress = LoadNodes[i].OffsetFromBase; in MergeConsecutiveStores()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp11707 SmallVector<MemOpLink, 8> LoadNodes; in MergeConsecutiveStores() local
11745 LoadNodes.push_back(MemOpLink(Ld, LdPtr.Offset, 0)); in MergeConsecutiveStores()
11748 if (LoadNodes.size() < 2) in MergeConsecutiveStores()
11754 if (LoadNodes.size() == 2 && TLI.hasPairedLoad(MemVT, RequiredAlignment) && in MergeConsecutiveStores()
11758 LoadSDNode *FirstLoad = cast<LoadSDNode>(LoadNodes[0].MemNode); in MergeConsecutiveStores()
11769 StartAddress = LoadNodes[0].OffsetFromBase; in MergeConsecutiveStores()
11771 for (unsigned i = 1; i < LoadNodes.size(); ++i) { in MergeConsecutiveStores()
11773 if (LoadNodes[i].MemNode->getChain() != FirstChain) in MergeConsecutiveStores()
11776 int64_t CurrAddress = LoadNodes[i].OffsetFromBase; in MergeConsecutiveStores()
11861 SDLoc LoadDL(LoadNodes[0].MemNode); in MergeConsecutiveStores()
[all …]