Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/
DLanaiMemAluCombiner.cpp77 const MbbIterator &MemInstr,
80 const MbbIterator &MemInstr,
237 const MbbIterator &MemInstr, in insertMergedInstruction() argument
241 MachineOperand Dest = MemInstr->getOperand(0); in insertMergedInstruction()
242 MachineOperand Base = MemInstr->getOperand(1); in insertMergedInstruction()
243 MachineOperand MemOffset = MemInstr->getOperand(2); in insertMergedInstruction()
252 unsigned NewOpc = mergedOpcode(MemInstr->getOpcode(), AluOffset.isImm()); in insertMergedInstruction()
259 BuildMI(*BB, MemInstr, MemInstr->getDebugLoc(), TII->get(NewOpc)); in insertMergedInstruction()
280 InstrBuilder->setMemRefs(MemInstr->memoperands_begin(), in insertMergedInstruction()
281 MemInstr->memoperands_end()); in insertMergedInstruction()
[all …]
/external/llvm/lib/Target/Lanai/
DLanaiMemAluCombiner.cpp77 const MbbIterator &MemInstr,
80 const MbbIterator &MemInstr,
237 const MbbIterator &MemInstr, in insertMergedInstruction() argument
241 MachineOperand Dest = MemInstr->getOperand(0); in insertMergedInstruction()
242 MachineOperand Base = MemInstr->getOperand(1); in insertMergedInstruction()
243 MachineOperand MemOffset = MemInstr->getOperand(2); in insertMergedInstruction()
252 unsigned NewOpc = mergedOpcode(MemInstr->getOpcode(), AluOffset.isImm()); in insertMergedInstruction()
259 BuildMI(*BB, MemInstr, MemInstr->getDebugLoc(), TII->get(NewOpc)); in insertMergedInstruction()
280 InstrBuilder->setMemRefs(MemInstr->memoperands_begin(), in insertMergedInstruction()
281 MemInstr->memoperands_end()); in insertMergedInstruction()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DX86FoldTablesEmitter.cpp151 const CodeGenInstruction *MemInstr,
157 const CodeGenInstruction *MemInstr,
442 const CodeGenInstruction *MemInstr, in addEntryWithFlags() argument
446 X86FoldTableEntry Result = X86FoldTableEntry(RegInstr, MemInstr); in addEntryWithFlags()
448 Record *MemRec = MemInstr->TheDef; in addEntryWithFlags()
466 Record *MemOpRec = MemInstr->Operands[FoldedInd].Rec; in addEntryWithFlags()
500 const CodeGenInstruction *MemInstr, in updateTables() argument
504 Record *MemRec = MemInstr->TheDef; in updateTables()
512 addEntryWithFlags(Table2Addr, RegInstr, MemInstr, S, 0); in updateTables()
522 Record *MemOpRec = MemInstr->Operands[i].Rec; in updateTables()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DLoadStoreVectorizer.cpp623 for (Instruction *MemInstr : MemoryInstrs) { in getVectorizablePrefix()
625 if (BarrierMemoryInstr && OBB.dominates(BarrierMemoryInstr, MemInstr)) in getVectorizablePrefix()
628 auto *MemLoad = dyn_cast<LoadInst>(MemInstr); in getVectorizablePrefix()
643 if (isa<StoreInst>(MemInstr) && ChainLoad && in getVectorizablePrefix()
644 (IsInvariantLoad(ChainLoad) || OBB.dominates(ChainLoad, MemInstr))) in getVectorizablePrefix()
652 if (!AA.isNoAlias(MemoryLocation::get(MemInstr), in getVectorizablePrefix()
657 << " " << *MemInstr << '\n' in getVectorizablePrefix()
658 << " " << *getLoadStorePointerOperand(MemInstr) << '\n' in getVectorizablePrefix()
665 BarrierMemoryInstr = MemInstr; in getVectorizablePrefix()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopInterchange.cpp90 ValueVector MemInstr; in populateDependencyMatrix() local
101 MemInstr.push_back(&I); in populateDependencyMatrix()
105 MemInstr.push_back(&I); in populateDependencyMatrix()
110 LLVM_DEBUG(dbgs() << "Found " << MemInstr.size() in populateDependencyMatrix()
115 for (I = MemInstr.begin(), IE = MemInstr.end(); I != IE; ++I) { in populateDependencyMatrix()
116 for (J = I, JE = MemInstr.end(); J != JE; ++J) { in populateDependencyMatrix()
/external/llvm/lib/Transforms/Scalar/
DLoopInterchange.cpp76 ValueVector MemInstr; in populateDependencyMatrix() local
101 MemInstr.push_back(&*I); in populateDependencyMatrix()
105 DEBUG(dbgs() << "Found " << MemInstr.size() in populateDependencyMatrix()
110 for (I = MemInstr.begin(), IE = MemInstr.end(); I != IE; ++I) { in populateDependencyMatrix()
111 for (J = I, JE = MemInstr.end(); J != JE; ++J) { in populateDependencyMatrix()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLoopUnrollAndJam.cpp577 SmallVector<Value *, 4> &MemInstr) { in getLoadsAndStores() argument
585 MemInstr.push_back(&I); in getLoadsAndStores()
589 MemInstr.push_back(&I); in getLoadsAndStores()