Home
last modified time | relevance | path

Searched refs:Instrs (Results 1 – 25 of 84) sorted by relevance

1234

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DExecutionDomainFix.h67 SmallVector<MachineInstr *, 8> Instrs; member
73 bool isCollapsed() const { return Instrs.empty(); } in isCollapsed()
103 Instrs.clear(); in clear()
/external/llvm-project/llvm/utils/TableGen/GlobalISel/
DGIMatchDagPredicate.h100 SmallVector<const CodeGenInstruction *, 4> Instrs; variable
105 void addOpcode(const CodeGenInstruction *Instr) { Instrs.push_back(Instr); } in addOpcode()
112 return Instrs; in getInstrs()
/external/llvm-project/llvm/include/llvm/CodeGen/
DExecutionDomainFix.h66 SmallVector<MachineInstr *, 8> Instrs; member
72 bool isCollapsed() const { return Instrs.empty(); } in isCollapsed()
112 Instrs.clear(); in clear()
/external/llvm/lib/Transforms/Vectorize/
DLoadStoreVectorizer.cpp125 bool vectorizeInstructions(ArrayRef<Value *> Instrs);
401 SmallVector<Instruction *, 16> Instrs; in eraseInstructions() local
405 Instrs.push_back(cast<Instruction>(V)); in eraseInstructions()
407 Instrs.push_back(GEP); in eraseInstructions()
411 for (Value *V : Instrs) { in eraseInstructions()
595 bool Vectorizer::vectorizeInstructions(ArrayRef<Value *> Instrs) { in vectorizeInstructions() argument
596 DEBUG(dbgs() << "LSV: Vectorizing " << Instrs.size() << " instructions.\n"); in vectorizeInstructions()
602 for (int i = 0, e = Instrs.size(); i < e; ++i) { in vectorizeInstructions()
608 if (isConsecutiveAccess(Instrs[i], Instrs[j])) { in vectorizeInstructions()
627 if (InstructionsProcessed.count(Instrs[Head])) in vectorizeInstructions()
[all …]
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64AsmBackend.cpp396 ArrayRef<MCCFIInstruction> Instrs) const override { in generateCompactUnwindEncoding()
397 if (Instrs.empty()) in generateCompactUnwindEncoding()
404 for (size_t i = 0, e = Instrs.size(); i != e; ++i) { in generateCompactUnwindEncoding()
405 const MCCFIInstruction &Inst = Instrs[i]; in generateCompactUnwindEncoding()
418 const MCCFIInstruction &LRPush = Instrs[++i]; in generateCompactUnwindEncoding()
421 const MCCFIInstruction &FPPush = Instrs[++i]; in generateCompactUnwindEncoding()
451 const MCCFIInstruction &Inst2 = Instrs[++i]; in generateCompactUnwindEncoding()
/external/llvm/lib/CodeGen/
DExecutionDepsFix.cpp70 SmallVector<MachineInstr*, 8> Instrs; member
74 bool isCollapsed() const { return Instrs.empty(); } in isCollapsed()
110 Instrs.clear(); in clear()
322 while (!dv->Instrs.empty()) in collapse()
323 TII->setExecutionDomain(*dv->Instrs.pop_back_val(), domain); in collapse()
344 A->Instrs.append(B->Instrs.begin(), B->Instrs.end()); in merge()
710 dv->Instrs.push_back(mi); in visitSoftInstr()
DMachineTraceMetrics.cpp1190 unsigned Instrs = TBI.InstrDepth; in getResourceDepth() local
1193 Instrs += TE.MTM.BlockInfo[getBlockNum()].InstrCount; in getResourceDepth()
1195 Instrs /= IW; in getResourceDepth()
1197 return std::max(Instrs, PRMax); in getResourceDepth()
1210 auto extraCycles = [this](ArrayRef<const MCSchedClassDesc *> Instrs, in getResourceLength()
1214 for (const MCSchedClassDesc *SC : Instrs) { in getResourceLength()
1242 unsigned Instrs = TBI.InstrDepth + TBI.InstrHeight; in getResourceLength() local
1245 Instrs += TE.MTM.getResources(MBB)->InstrCount; in getResourceLength()
1246 Instrs += ExtraInstrs.size(); in getResourceLength()
1247 Instrs -= RemoveInstrs.size(); in getResourceLength()
[all …]
DMachineCombiner.cpp80 void instr2instrSC(SmallVectorImpl<MachineInstr *> &Instrs,
292 SmallVectorImpl<MachineInstr *> &Instrs, in instr2instrSC() argument
294 for (auto *InstrPtr : Instrs) { in instr2instrSC()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoadStoreVectorizer.cpp192 bool vectorizeInstructions(ArrayRef<Instruction *> Instrs);
570 SmallVector<Instruction *, 16> Instrs; in eraseInstructions() local
574 Instrs.push_back(I); in eraseInstructions()
576 Instrs.push_back(GEP); in eraseInstructions()
580 for (Instruction *I : Instrs) in eraseInstructions()
870 bool Vectorizer::vectorizeInstructions(ArrayRef<Instruction *> Instrs) { in vectorizeInstructions() argument
871 LLVM_DEBUG(dbgs() << "LSV: Vectorizing " << Instrs.size() in vectorizeInstructions()
878 for (int i = 0, e = Instrs.size(); i < e; ++i) { in vectorizeInstructions()
884 if (isConsecutiveAccess(Instrs[i], Instrs[j])) { in vectorizeInstructions()
903 if (InstructionsProcessed.count(Instrs[Head])) in vectorizeInstructions()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DExecutionDomainFix.cpp116 while (!dv->Instrs.empty()) in collapse()
117 TII->setExecutionDomain(*dv->Instrs.pop_back_val(), domain); in collapse()
137 A->Instrs.append(B->Instrs.begin(), B->Instrs.end()); in merge()
379 dv->Instrs.push_back(mi); in visitSoftInstr()
DMachineTraceMetrics.cpp1214 unsigned Instrs = TBI.InstrDepth; in getResourceDepth() local
1217 Instrs += TE.MTM.BlockInfo[getBlockNum()].InstrCount; in getResourceDepth()
1219 Instrs /= IW; in getResourceDepth()
1221 return std::max(Instrs, PRMax); in getResourceDepth()
1234 auto extraCycles = [this](ArrayRef<const MCSchedClassDesc *> Instrs, in getResourceLength()
1238 for (const MCSchedClassDesc *SC : Instrs) { in getResourceLength()
1266 unsigned Instrs = TBI.InstrDepth + TBI.InstrHeight; in getResourceLength() local
1269 Instrs += TE.MTM.getResources(MBB)->InstrCount; in getResourceLength()
1270 Instrs += ExtraInstrs.size(); in getResourceLength()
1271 Instrs -= RemoveInstrs.size(); in getResourceLength()
[all …]
/external/llvm-project/llvm/lib/CodeGen/
DExecutionDomainFix.cpp116 while (!dv->Instrs.empty()) in collapse()
117 TII->setExecutionDomain(*dv->Instrs.pop_back_val(), domain); in collapse()
137 A->Instrs.append(B->Instrs.begin(), B->Instrs.end()); in merge()
379 dv->Instrs.push_back(mi); in visitSoftInstr()
DMachineTraceMetrics.cpp1214 unsigned Instrs = TBI.InstrDepth; in getResourceDepth() local
1217 Instrs += TE.MTM.BlockInfo[getBlockNum()].InstrCount; in getResourceDepth()
1219 Instrs /= IW; in getResourceDepth()
1221 return std::max(Instrs, PRMax); in getResourceDepth()
1234 auto extraCycles = [this](ArrayRef<const MCSchedClassDesc *> Instrs, in getResourceLength()
1238 for (const MCSchedClassDesc *SC : Instrs) { in getResourceLength()
1266 unsigned Instrs = TBI.InstrDepth + TBI.InstrHeight; in getResourceLength() local
1269 Instrs += TE.MTM.getResources(MBB)->InstrCount; in getResourceLength()
1270 Instrs += ExtraInstrs.size(); in getResourceLength()
1271 Instrs -= RemoveInstrs.size(); in getResourceLength()
[all …]
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86AsmBackend.cpp514 generateCompactUnwindEncodingImpl(ArrayRef<MCCFIInstruction> Instrs) const { in generateCompactUnwindEncodingImpl()
515 if (Instrs.empty()) return 0; in generateCompactUnwindEncodingImpl()
533 for (unsigned i = 0, e = Instrs.size(); i != e; ++i) { in generateCompactUnwindEncodingImpl()
534 const MCCFIInstruction &Inst = Instrs[i]; in generateCompactUnwindEncodingImpl()
628 (Instrs.size() == 1 && NumDefCFAOffsets == 1 && StackSize == 2)) in generateCompactUnwindEncodingImpl()
811 ArrayRef<MCCFIInstruction> Instrs) const override { in generateCompactUnwindEncoding()
812 return generateCompactUnwindEncodingImpl(Instrs); in generateCompactUnwindEncoding()
830 ArrayRef<MCCFIInstruction> Instrs) const override { in generateCompactUnwindEncoding()
831 return generateCompactUnwindEncodingImpl(Instrs); in generateCompactUnwindEncoding()
/external/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64AsmBackend.cpp574 ArrayRef<MCCFIInstruction> Instrs) const override { in generateCompactUnwindEncoding()
575 if (Instrs.empty()) in generateCompactUnwindEncoding()
582 for (size_t i = 0, e = Instrs.size(); i != e; ++i) { in generateCompactUnwindEncoding()
583 const MCCFIInstruction &Inst = Instrs[i]; in generateCompactUnwindEncoding()
604 const MCCFIInstruction &LRPush = Instrs[++i]; in generateCompactUnwindEncoding()
607 const MCCFIInstruction &FPPush = Instrs[++i]; in generateCompactUnwindEncoding()
637 const MCCFIInstruction &Inst2 = Instrs[++i]; in generateCompactUnwindEncoding()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64AsmBackend.cpp574 ArrayRef<MCCFIInstruction> Instrs) const override { in generateCompactUnwindEncoding()
575 if (Instrs.empty()) in generateCompactUnwindEncoding()
582 for (size_t i = 0, e = Instrs.size(); i != e; ++i) { in generateCompactUnwindEncoding()
583 const MCCFIInstruction &Inst = Instrs[i]; in generateCompactUnwindEncoding()
604 const MCCFIInstruction &LRPush = Instrs[++i]; in generateCompactUnwindEncoding()
607 const MCCFIInstruction &FPPush = Instrs[++i]; in generateCompactUnwindEncoding()
637 const MCCFIInstruction &Inst2 = Instrs[++i]; in generateCompactUnwindEncoding()
/external/llvm-project/llvm/lib/Transforms/Vectorize/
DLoadStoreVectorizer.cpp175 bool vectorizeInstructions(ArrayRef<Instruction *> Instrs);
610 SmallVector<Instruction *, 16> Instrs; in eraseInstructions() local
614 Instrs.push_back(I); in eraseInstructions()
616 Instrs.push_back(GEP); in eraseInstructions()
620 for (Instruction *I : Instrs) in eraseInstructions()
912 bool Vectorizer::vectorizeInstructions(ArrayRef<Instruction *> Instrs) { in vectorizeInstructions() argument
913 LLVM_DEBUG(dbgs() << "LSV: Vectorizing " << Instrs.size() in vectorizeInstructions()
920 for (int i = 0, e = Instrs.size(); i < e; ++i) { in vectorizeInstructions()
926 if (isConsecutiveAccess(Instrs[i], Instrs[j])) { in vectorizeInstructions()
945 if (InstructionsProcessed.count(Instrs[Head])) in vectorizeInstructions()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCWin64EH.cpp471 const auto &Instrs = InstrsIter->second; in FindMatchingEpilog() local
473 if (Instrs.size() != EpilogInstrs.size()) in FindMatchingEpilog()
477 for (unsigned i = 0; i < Instrs.size(); ++i) in FindMatchingEpilog()
478 if (Instrs[i].Operation != EpilogInstrs[i].Operation || in FindMatchingEpilog()
479 Instrs[i].Offset != EpilogInstrs[i].Offset || in FindMatchingEpilog()
480 Instrs[i].Register != EpilogInstrs[i].Register) { in FindMatchingEpilog()
/external/llvm/utils/TableGen/
DAsmWriterEmitter.cpp216 std::string Instrs = InstrsForCase[i]; in FindUniqueOperandCommands() local
217 if (Instrs.size() > 70) { in FindUniqueOperandCommands()
218 Instrs.erase(Instrs.begin()+70, Instrs.end()); in FindUniqueOperandCommands()
219 Instrs += "..."; in FindUniqueOperandCommands()
222 if (!Instrs.empty()) in FindUniqueOperandCommands()
223 UniqueOperandCommands[i] = " // " + Instrs + "\n" + in FindUniqueOperandCommands()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/
DX86AsmBackend.cpp844 generateCompactUnwindEncodingImpl(ArrayRef<MCCFIInstruction> Instrs) const { in generateCompactUnwindEncodingImpl()
845 if (Instrs.empty()) return 0; in generateCompactUnwindEncodingImpl()
862 for (unsigned i = 0, e = Instrs.size(); i != e; ++i) { in generateCompactUnwindEncodingImpl()
863 const MCCFIInstruction &Inst = Instrs[i]; in generateCompactUnwindEncodingImpl()
1133 ArrayRef<MCCFIInstruction> Instrs) const override { in generateCompactUnwindEncoding()
1134 return generateCompactUnwindEncodingImpl(Instrs); in generateCompactUnwindEncoding()
1153 ArrayRef<MCCFIInstruction> Instrs) const override { in generateCompactUnwindEncoding()
1154 return generateCompactUnwindEncodingImpl(Instrs); in generateCompactUnwindEncoding()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMLoadStoreOptimizer.cpp143 SmallVector<MachineInstr*, 4> Instrs; member
177 ArrayRef<MachineInstr*> Instrs);
183 ArrayRef<MachineInstr*> Instrs) const;
628 ArrayRef<MachineInstr*> Instrs) { in CreateLoadStoreMulti() argument
825 MIB.cloneMergedMemRefs(Instrs); in CreateLoadStoreMulti()
835 ArrayRef<MachineInstr*> Instrs) const { in CreateLoadStoreDouble()
851 MIB.cloneMergedMemRefs(Instrs); in CreateLoadStoreDouble()
857 const MachineInstr *First = Cand.Instrs.front(); in MergeOpsUpdate()
865 for (const MachineInstr *MI : Cand.Instrs) { in MergeOpsUpdate()
897 MachineInstr *LatestMI = Cand.Instrs[Cand.LatestMIIdx]; in MergeOpsUpdate()
[all …]
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMAsmBackendDarwin.h32 ArrayRef<MCCFIInstruction> Instrs) const override;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMAsmBackendDarwin.h32 ArrayRef<MCCFIInstruction> Instrs) const override;
/external/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
DARMAsmBackendDarwin.h36 ArrayRef<MCCFIInstruction> Instrs) const override;
/external/llvm-project/llvm/utils/TableGen/
DAsmWriterEmitter.cpp241 std::string Instrs = InstrsForCase[i]; in FindUniqueOperandCommands() local
242 if (Instrs.size() > 70) { in FindUniqueOperandCommands()
243 Instrs.erase(Instrs.begin()+70, Instrs.end()); in FindUniqueOperandCommands()
244 Instrs += "..."; in FindUniqueOperandCommands()
247 if (!Instrs.empty()) in FindUniqueOperandCommands()
248 UniqueOperandCommands[i] = " // " + Instrs + "\n" + in FindUniqueOperandCommands()

1234