/external/llvm/lib/Target/Lanai/ |
D | LanaiMemAluCombiner.cpp | 77 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-10.0/llvm/lib/Target/Lanai/ |
D | LanaiMemAluCombiner.cpp | 76 const MbbIterator &MemInstr, 79 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()); in insertMergedInstruction() 330 MachineBasicBlock *BB, const MbbIterator &MemInstr, const bool Decrement) { in findClosestSuitableAluInstr() argument [all …]
|
/external/llvm-project/llvm/lib/Target/Lanai/ |
D | LanaiMemAluCombiner.cpp | 76 const MbbIterator &MemInstr, 79 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()); in insertMergedInstruction() 330 MachineBasicBlock *BB, const MbbIterator &MemInstr, const bool Decrement) { in findClosestSuitableAluInstr() argument [all …]
|
/external/llvm-project/llvm/utils/TableGen/ |
D | X86FoldTablesEmitter.cpp | 163 const CodeGenInstruction *MemInstr, 169 const CodeGenInstruction *MemInstr, 459 const CodeGenInstruction *MemInstr, in addEntryWithFlags() argument 463 X86FoldTableEntry Result = X86FoldTableEntry(RegInstr, MemInstr); in addEntryWithFlags() 465 Record *MemRec = MemInstr->TheDef; in addEntryWithFlags() 483 Record *MemOpRec = MemInstr->Operands[FoldedInd].Rec; in addEntryWithFlags() 517 const CodeGenInstruction *MemInstr, in updateTables() argument 521 Record *MemRec = MemInstr->TheDef; in updateTables() 529 addEntryWithFlags(Table2Addr, RegInstr, MemInstr, S, 0); in updateTables() 539 Record *MemOpRec = MemInstr->Operands[i].Rec; in updateTables() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/ |
D | LoadStoreVectorizer.cpp | 656 for (Instruction *MemInstr : MemoryInstrs) { in getVectorizablePrefix() 658 if (BarrierMemoryInstr && OBB.dominates(BarrierMemoryInstr, MemInstr)) in getVectorizablePrefix() 661 auto *MemLoad = dyn_cast<LoadInst>(MemInstr); in getVectorizablePrefix() 676 if (isa<StoreInst>(MemInstr) && ChainLoad && in getVectorizablePrefix() 677 (IsInvariantLoad(ChainLoad) || OBB.dominates(ChainLoad, MemInstr))) in getVectorizablePrefix() 685 if (!AA.isNoAlias(MemoryLocation::get(MemInstr), in getVectorizablePrefix() 690 << " " << *MemInstr << '\n' in getVectorizablePrefix() 691 << " " << *getLoadStorePointerOperand(MemInstr) << '\n' in getVectorizablePrefix() 698 BarrierMemoryInstr = MemInstr; in getVectorizablePrefix()
|
/external/llvm-project/llvm/lib/Transforms/Vectorize/ |
D | LoadStoreVectorizer.cpp | 698 for (Instruction *MemInstr : MemoryInstrs) { in getVectorizablePrefix() 700 if (BarrierMemoryInstr && BarrierMemoryInstr->comesBefore(MemInstr)) in getVectorizablePrefix() 703 auto *MemLoad = dyn_cast<LoadInst>(MemInstr); in getVectorizablePrefix() 718 if (isa<StoreInst>(MemInstr) && ChainLoad && in getVectorizablePrefix() 719 (IsInvariantLoad(ChainLoad) || ChainLoad->comesBefore(MemInstr))) in getVectorizablePrefix() 727 if (!AA.isNoAlias(MemoryLocation::get(MemInstr), in getVectorizablePrefix() 732 << " " << *MemInstr << '\n' in getVectorizablePrefix() 733 << " " << *getLoadStorePointerOperand(MemInstr) << '\n' in getVectorizablePrefix() 740 BarrierMemoryInstr = MemInstr; in getVectorizablePrefix()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopInterchange.cpp | 76 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/llvm-project/llvm/lib/Transforms/Scalar/ |
D | LoopInterchange.cpp | 92 ValueVector MemInstr; in populateDependencyMatrix() local 103 MemInstr.push_back(&I); in populateDependencyMatrix() 107 MemInstr.push_back(&I); in populateDependencyMatrix() 112 LLVM_DEBUG(dbgs() << "Found " << MemInstr.size() in populateDependencyMatrix() 117 for (I = MemInstr.begin(), IE = MemInstr.end(); I != IE; ++I) { in populateDependencyMatrix() 118 for (J = I, JE = MemInstr.end(); J != JE; ++J) { in populateDependencyMatrix()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LoopInterchange.cpp | 90 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/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | LoopUnrollAndJam.cpp | 591 SmallVector<Value *, 4> &MemInstr) { in getLoadsAndStores() argument 599 MemInstr.push_back(&I); in getLoadsAndStores() 603 MemInstr.push_back(&I); in getLoadsAndStores()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | LoopUnrollAndJam.cpp | 629 SmallVector<Instruction *, 4> &MemInstr) { in getLoadsAndStores() argument 637 MemInstr.push_back(&I); in getLoadsAndStores() 641 MemInstr.push_back(&I); in getLoadsAndStores()
|