| /freebsd-12.1/contrib/llvm/include/llvm/CodeGen/ |
| H A D | ExecutionDomainFix.h | 68 SmallVector<MachineInstr *, 8> Instrs; member 74 bool isCollapsed() const { return Instrs.empty(); } in isCollapsed() 104 Instrs.clear(); in clear()
|
| H A D | MachinePipeliner.h | 261 void fixupRegisterOverlaps(std::deque<SUnit *> &Instrs);
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/ |
| H A D | LoadStoreVectorizer.cpp | 192 bool vectorizeInstructions(ArrayRef<Instruction *> Instrs); 555 SmallVector<Instruction *, 16> Instrs; in eraseInstructions() local 559 Instrs.push_back(I); in eraseInstructions() 561 Instrs.push_back(GEP); in eraseInstructions() 565 for (Instruction *I : Instrs) in eraseInstructions() 856 LLVM_DEBUG(dbgs() << "LSV: Vectorizing " << Instrs.size() in vectorizeInstructions() 863 for (int i = 0, e = Instrs.size(); i < e; ++i) { in vectorizeInstructions() 869 if (isConsecutiveAccess(Instrs[i], Instrs[j])) { in vectorizeInstructions() 888 if (InstructionsProcessed.count(Instrs[Head])) in vectorizeInstructions() 905 if (InstructionsProcessed.count(Instrs[I])) in vectorizeInstructions() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | ExecutionDomainFix.cpp | 116 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() 380 dv->Instrs.push_back(mi); in visitSoftInstr()
|
| H A D | MachineTraceMetrics.cpp | 1214 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() 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() 1273 Instrs /= IW; in getResourceLength() [all …]
|
| H A D | CFIInstrInserter.cpp | 163 const std::vector<MCCFIInstruction> &Instrs = in calculateOutgoingCFAInfo() local 170 const MCCFIInstruction &CFI = Instrs[CFIIndex]; in calculateOutgoingCFAInfo()
|
| H A D | MachineCombiner.cpp | 105 void instr2instrSC(SmallVectorImpl<MachineInstr *> &Instrs, 359 SmallVectorImpl<MachineInstr *> &Instrs, in instr2instrSC() argument 361 for (auto *InstrPtr : Instrs) { in instr2instrSC()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AArch64/MCTargetDesc/ |
| H A D | AArch64AsmBackend.cpp | 537 ArrayRef<MCCFIInstruction> Instrs) const override { in generateCompactUnwindEncoding() 538 if (Instrs.empty()) in generateCompactUnwindEncoding() 545 for (size_t i = 0, e = Instrs.size(); i != e; ++i) { in generateCompactUnwindEncoding() 546 const MCCFIInstruction &Inst = Instrs[i]; in generateCompactUnwindEncoding() 567 const MCCFIInstruction &LRPush = Instrs[++i]; in generateCompactUnwindEncoding() 570 const MCCFIInstruction &FPPush = Instrs[++i]; in generateCompactUnwindEncoding() 600 const MCCFIInstruction &Inst2 = Instrs[++i]; in generateCompactUnwindEncoding()
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/MCTargetDesc/ |
| H A D | X86AsmBackend.cpp | 527 generateCompactUnwindEncodingImpl(ArrayRef<MCCFIInstruction> Instrs) const { in generateCompactUnwindEncodingImpl() 528 if (Instrs.empty()) return 0; in generateCompactUnwindEncodingImpl() 545 for (unsigned i = 0, e = Instrs.size(); i != e; ++i) { in generateCompactUnwindEncodingImpl() 546 const MCCFIInstruction &Inst = Instrs[i]; in generateCompactUnwindEncodingImpl() 816 ArrayRef<MCCFIInstruction> Instrs) const override { in generateCompactUnwindEncoding() 817 return generateCompactUnwindEncodingImpl(Instrs); in generateCompactUnwindEncoding() 836 ArrayRef<MCCFIInstruction> Instrs) const override { in generateCompactUnwindEncoding() 837 return generateCompactUnwindEncodingImpl(Instrs); in generateCompactUnwindEncoding()
|
| /freebsd-12.1/contrib/llvm/lib/MC/ |
| H A D | MCWin64EH.cpp | 468 const auto &Instrs = InstrsIter->second; in FindMatchingEpilog() local 470 if (Instrs.size() != EpilogInstrs.size()) in FindMatchingEpilog() 474 for (unsigned i = 0; i < Instrs.size(); ++i) in FindMatchingEpilog() 475 if (Instrs[i].Operation != EpilogInstrs[i].Operation || in FindMatchingEpilog() 476 Instrs[i].Offset != EpilogInstrs[i].Offset || in FindMatchingEpilog() 477 Instrs[i].Register != EpilogInstrs[i].Register) { in FindMatchingEpilog()
|
| H A D | MCDwarf.cpp | 1303 void EmitCFIInstructions(ArrayRef<MCCFIInstruction> Instrs, 1446 void FrameEmitterImpl::EmitCFIInstructions(ArrayRef<MCCFIInstruction> Instrs, in EmitCFIInstructions() argument 1448 for (const MCCFIInstruction &Instr : Instrs) { in EmitCFIInstructions()
|
| /freebsd-12.1/contrib/llvm/utils/TableGen/ |
| H A D | AsmWriterEmitter.cpp | 235 std::string Instrs = InstrsForCase[i]; in FindUniqueOperandCommands() local 236 if (Instrs.size() > 70) { in FindUniqueOperandCommands() 237 Instrs.erase(Instrs.begin()+70, Instrs.end()); in FindUniqueOperandCommands() 238 Instrs += "..."; in FindUniqueOperandCommands() 241 if (!Instrs.empty()) in FindUniqueOperandCommands() 242 UniqueOperandCommands[i] = " // " + Instrs + "\n" + in FindUniqueOperandCommands()
|
| H A D | CodeGenDAGPatterns.cpp | 3493 getInstructionsInTree(TreePatternNode *Tree, SmallVectorImpl<Record*> &Instrs) { in getInstructionsInTree() argument 3497 Instrs.push_back(Tree->getOperator()); in getInstructionsInTree() 3499 getInstructionsInTree(Tree->getChild(i), Instrs); in getInstructionsInTree() 3703 std::vector<Record*> Instrs = Records.getAllDerivedDefinitions("Instruction"); in ParseInstructions() local 3705 for (Record *Instr : Instrs) { in ParseInstructions() 3908 SmallVector<Record*, 8> Instrs; in VerifyInstructionFlags() local 3909 getInstructionsInTree(PTM.getDstPattern(), Instrs); in VerifyInstructionFlags() 3910 if (Instrs.empty()) in VerifyInstructionFlags() 3917 for (const Record *Instr : Instrs) { in VerifyInstructionFlags() 3952 (Instrs.size() == 1 ? in VerifyInstructionFlags() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/ARM/MCTargetDesc/ |
| H A D | ARMAsmBackendDarwin.h | 33 ArrayRef<MCCFIInstruction> Instrs) const override;
|
| H A D | ARMAsmBackend.cpp | 967 ArrayRef<MCCFIInstruction> Instrs) const { in generateCompactUnwindEncoding() 973 if (Instrs.empty()) in generateCompactUnwindEncoding() 982 for (size_t i = 0, e = Instrs.size(); i != e; ++i) { in generateCompactUnwindEncoding() 984 const MCCFIInstruction &Inst = Instrs[i]; in generateCompactUnwindEncoding()
|
| /freebsd-12.1/contrib/llvm/lib/Target/Hexagon/MCTargetDesc/ |
| H A D | HexagonMCCodeEmitter.cpp | 479 auto Instrs = HexagonMCInstrInfo::bundleInstructions(*State.Bundle); in getFixupNoBits() local 480 for (auto I = Instrs.begin(), N = Instrs.end(); I != N; ++I) { in getFixupNoBits() 742 auto Instrs = HexagonMCInstrInfo::bundleInstructions(*State.Bundle); in getMachineOpValue() local 743 const MCOperand *I = Instrs.begin() + State.Index - 1; in getMachineOpValue() 746 assert(I != Instrs.begin() - 1 && "Couldn't find producer"); in getMachineOpValue()
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/ |
| H A D | X86DomainReassignment.cpp | 307 SmallVector<MachineInstr *, 8> Instrs; member in __anon76e4914e0111::Closure 346 Instrs.push_back(I); in addInstruction() 350 return Instrs; in instructions() 363 for (MachineInstr *MI : Instrs) { in dump()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/ |
| H A D | ThreadSafetyTIL.h | 1536 Args(std::move(As)), Instrs(std::move(Is)), TermInstr(T) {} in BasicBlock() 1556 InstrArray &instructions() { return Instrs; } in instructions() 1557 const InstrArray &instructions() const { return Instrs; } in instructions() 1589 Instrs.reserveCheck(1, Arena); in addInstruction() 1590 Instrs.push_back(V); in addInstruction() 1601 void reserveInstructions(unsigned Nins) { Instrs.reserve(Nins, Arena); } in reserveInstructions() 1615 typename V::template Container<SExpr*> Nis(Vs, Instrs.size()); in traverse() 1624 for (const auto *E : Instrs) { in traverse() 1672 InstrArray Instrs; variable
|
| /freebsd-12.1/contrib/llvm/lib/Target/ARM/ |
| H A D | ARMLoadStoreOptimizer.cpp | 144 SmallVector<MachineInstr*, 4> Instrs; member 846 const MachineInstr *First = Cand.Instrs.front(); in MergeOpsUpdate() 854 for (const MachineInstr *MI : Cand.Instrs) { in MergeOpsUpdate() 886 MachineInstr *LatestMI = Cand.Instrs[Cand.LatestMIIdx]; in MergeOpsUpdate() 907 iterator EarliestI(Cand.Instrs[Cand.EarliestMIIdx]); in MergeOpsUpdate() 916 for (MachineInstr *MI : Cand.Instrs) in MergeOpsUpdate() 1090 Candidate->Instrs.push_back(MemOps[C].MI); in FormCandidates() 1867 for (MachineInstr *MI : Candidate->Instrs) { in LoadStoreMultipleOpti() 1873 assert(Candidate->Instrs.size() == 1); in LoadStoreMultipleOpti() 1874 if (MergeBaseUpdateLoadStore(Candidate->Instrs.front())) in LoadStoreMultipleOpti()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/ |
| H A D | ThreadSafetyTIL.cpp | 156 for (auto *Instr : Instrs) in renumberInstrs()
|
| /freebsd-12.1/contrib/llvm/lib/Target/Hexagon/ |
| H A D | HexagonGenInsert.cpp | 1460 std::vector<MachineInstr*> Instrs; in removeDeadCode() local 1462 Instrs.push_back(&*I); in removeDeadCode() 1464 for (auto I = Instrs.begin(), E = Instrs.end(); I != E; ++I) { in removeDeadCode()
|
| H A D | HexagonBitSimplify.cpp | 999 std::vector<MachineInstr*> Instrs; in runOnNode() local 1001 Instrs.push_back(&*I); in runOnNode() 1003 for (auto MI : Instrs) { in runOnNode() 1721 std::vector<MachineInstr*> Instrs; in processBlock() local 1723 Instrs.push_back(&*I); in processBlock() 1726 for (auto I : Instrs) { in processBlock()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Analysis/ |
| H A D | LoopAccessAnalysis.h | 175 const SmallVectorImpl<Instruction *> &Instrs) const;
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | LoopAccessAnalysis.cpp | 1710 const SmallVectorImpl<Instruction *> &Instrs) const { in print() 1712 OS.indent(Depth + 2) << *Instrs[Source] << " -> \n"; in print() 1713 OS.indent(Depth + 2) << *Instrs[Destination] << "\n"; in print()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | AsmPrinter.cpp | 987 const std::vector<MCCFIInstruction> &Instrs = MF->getFrameInstructions(); in emitCFIInstruction() local 989 const MCCFIInstruction &CFI = Instrs[CFIIndex]; in emitCFIInstruction()
|