Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DAddrModeMatcher.cpp406 SmallVectorImpl<std::pair<Instruction*,unsigned> > &MemoryUses, in FindAllMemoryUses()
423 MemoryUses.push_back(std::make_pair(LI, UI.getOperandNo())); in FindAllMemoryUses()
430 MemoryUses.push_back(std::make_pair(SI, opNo)); in FindAllMemoryUses()
444 if (FindAllMemoryUses(cast<Instruction>(U), MemoryUses, ConsideredInsts, in FindAllMemoryUses()
541 SmallVector<std::pair<Instruction*,unsigned>, 16> MemoryUses; in IsProfitableToFoldIntoAddressingMode() local
543 if (FindAllMemoryUses(I, MemoryUses, ConsideredInsts, TLI)) in IsProfitableToFoldIntoAddressingMode()
551 for (unsigned i = 0, e = MemoryUses.size(); i != e; ++i) { in IsProfitableToFoldIntoAddressingMode()
552 Instruction *User = MemoryUses[i].first; in IsProfitableToFoldIntoAddressingMode()
553 unsigned OpNo = MemoryUses[i].second; in IsProfitableToFoldIntoAddressingMode()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp3492 SmallVectorImpl<std::pair<Instruction *, unsigned>> &MemoryUses, in FindAllMemoryUses() argument
3509 MemoryUses.push_back(std::make_pair(LI, U.getOperandNo())); in FindAllMemoryUses()
3516 MemoryUses.push_back(std::make_pair(SI, opNo)); in FindAllMemoryUses()
3535 if (FindAllMemoryUses(UserI, MemoryUses, ConsideredInsts, TM)) in FindAllMemoryUses()
3621 SmallVector<std::pair<Instruction*,unsigned>, 16> MemoryUses; in isProfitableToFoldIntoAddressingMode() local
3623 if (FindAllMemoryUses(I, MemoryUses, ConsideredInsts, TM)) in isProfitableToFoldIntoAddressingMode()
3636 for (unsigned i = 0, e = MemoryUses.size(); i != e; ++i) { in isProfitableToFoldIntoAddressingMode()
3637 Instruction *User = MemoryUses[i].first; in isProfitableToFoldIntoAddressingMode()
3638 unsigned OpNo = MemoryUses[i].second; in isProfitableToFoldIntoAddressingMode()