Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/
H A DGIMatchDagPredicate.h
H A DGIMatchDagPredicate.cpp
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DExecutionDomainFix.h66 SmallVector<MachineInstr *, 8> Instrs; member
72 bool isCollapsed() const { return Instrs.empty(); } in isCollapsed()
112 Instrs.clear(); in clear()
H A DMachinePipeliner.h277 void fixupRegisterOverlaps(std::deque<SUnit *> &Instrs);
649 const std::deque<SUnit *> &Instrs) const;
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A 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()
H A DMachineTraceMetrics.cpp1218 unsigned Instrs = TBI.InstrDepth; in getResourceDepth() local
1221 Instrs += TE.MTM.BlockInfo[getBlockNum()].InstrCount; in getResourceDepth()
1223 Instrs /= IW; in getResourceDepth()
1225 return std::max(Instrs, PRMax); in getResourceDepth()
1238 auto extraCycles = [this](ArrayRef<const MCSchedClassDesc *> Instrs, in getResourceLength()
1242 for (const MCSchedClassDesc *SC : Instrs) { in getResourceLength()
1270 unsigned Instrs = TBI.InstrDepth + TBI.InstrHeight; in getResourceLength() local
1273 Instrs += TE.MTM.getResources(MBB)->InstrCount; in getResourceLength()
1274 Instrs += ExtraInstrs.size(); in getResourceLength()
1275 Instrs -= RemoveInstrs.size(); in getResourceLength()
[all …]
H A DMachineCombiner.cpp116 void instr2instrSC(SmallVectorImpl<MachineInstr *> &Instrs,
417 SmallVectorImpl<MachineInstr *> &Instrs, in instr2instrSC() argument
419 for (auto *InstrPtr : Instrs) { in instr2instrSC()
H A DCFIInstrInserter.cpp182 const std::vector<MCCFIInstruction> &Instrs = MF->getFrameInstructions(); in calculateOutgoingCFAInfo() local
193 const MCCFIInstruction &CFI = Instrs[CFIIndex]; in calculateOutgoingCFAInfo()
H A DMachineOutliner.cpp743 const std::vector<MCCFIInstruction> &Instrs = in createOutlinedFunction() local
753 MCCFIInstruction CFI = Instrs[CFIIndex]; in createOutlinedFunction()
H A DMachinePipeliner.cpp1087 DenseMap<int, std::deque<SUnit *>> Instrs; in computeScheduledInsts() local
1096 Instrs[Cycle].push_front(SU); in computeScheduledInsts()
1103 std::deque<SUnit *> &CycleInstrs = Instrs[Cycle]; in computeScheduledInsts()
3358 void SwingSchedulerDAG::fixupRegisterOverlaps(std::deque<SUnit *> &Instrs) { in fixupRegisterOverlaps() argument
3361 for (SUnit *SU : Instrs) { in fixupRegisterOverlaps()
3406 const std::deque<SUnit *> &Instrs) const { in reorderInstructions()
3408 for (SUnit *SU : Instrs) { in reorderInstructions()
3413 for (SUnit *SU : Instrs) { in reorderInstructions()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64AsmBackend.cpp604 ArrayRef<MCCFIInstruction> Instrs = FI->Instructions; in generateCompactUnwindEncoding() local
605 if (Instrs.empty()) in generateCompactUnwindEncoding()
616 for (size_t i = 0, e = Instrs.size(); i != e; ++i) { in generateCompactUnwindEncoding()
617 const MCCFIInstruction &Inst = Instrs[i]; in generateCompactUnwindEncoding()
638 const MCCFIInstruction &LRPush = Instrs[++i]; in generateCompactUnwindEncoding()
641 const MCCFIInstruction &FPPush = Instrs[++i]; in generateCompactUnwindEncoding()
680 const MCCFIInstruction &Inst2 = Instrs[++i]; in generateCompactUnwindEncoding()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp336 std::vector<Chain> gatherChains(ArrayRef<Instruction *> Instrs);
1379 std::vector<Chain> Vectorizer::gatherChains(ArrayRef<Instruction *> Instrs) { in gatherChains() argument
1380 if (Instrs.empty()) in gatherChains()
1383 unsigned AS = getLoadStoreAddressSpace(Instrs[0]); in gatherChains()
1388 for (size_t I = 1; I < Instrs.size(); ++I) { in gatherChains()
1389 assert(Instrs[I - 1]->comesBefore(Instrs[I])); in gatherChains()
1390 assert(getLoadStoreAddressSpace(Instrs[I]) == AS); in gatherChains()
1428 for (Instruction *I : Instrs) { in gatherChains()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A 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()
249 " // " + Instrs + "\n" + UniqueOperandCommands[i]; in FindUniqueOperandCommands()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMLoadStoreOptimizer.cpp147 SmallVector<MachineInstr*, 4> Instrs; member
181 ArrayRef<MachineInstr*> Instrs);
187 ArrayRef<MachineInstr*> Instrs) const;
633 ArrayRef<MachineInstr*> Instrs) { in CreateLoadStoreMulti() argument
830 MIB.cloneMergedMemRefs(Instrs); in CreateLoadStoreMulti()
840 ArrayRef<MachineInstr*> Instrs) const { in CreateLoadStoreDouble()
856 MIB.cloneMergedMemRefs(Instrs); in CreateLoadStoreDouble()
862 const MachineInstr *First = Cand.Instrs.front(); in MergeOpsUpdate()
870 for (const MachineInstr *MI : Cand.Instrs) { in MergeOpsUpdate()
902 MachineInstr *LatestMI = Cand.Instrs[Cand.LatestMIIdx]; in MergeOpsUpdate()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCCodeEmitter.cpp469 auto Instrs = HexagonMCInstrInfo::bundleInstructions(*State.Bundle); in getFixupNoBits() local
470 for (auto I = Instrs.begin(), N = Instrs.end(); I != N; ++I) { in getFixupNoBits()
728 auto Instrs = HexagonMCInstrInfo::bundleInstructions(*State.Bundle); in getMachineOpValue() local
729 const MCOperand *I = Instrs.begin() + State.Index - 1; in getMachineOpValue()
732 assert(I != Instrs.begin() - 1 && "Couldn't find producer"); in getMachineOpValue()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86DomainReassignment.cpp304 SmallVector<MachineInstr *, 8> Instrs; member in __anond9661d290111::Closure
341 Instrs.push_back(I); in addInstruction()
345 return Instrs; in instructions()
358 for (MachineInstr *MI : Instrs) { in dump()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyTIL.h1544 Args(std::move(As)), Instrs(std::move(Is)), TermInstr(T) {} in BasicBlock()
1564 InstrArray &instructions() { return Instrs; } in instructions()
1565 const InstrArray &instructions() const { return Instrs; } in instructions()
1597 Instrs.reserveCheck(1, Arena); in addInstruction()
1598 Instrs.push_back(V); in addInstruction()
1609 void reserveInstructions(unsigned Nins) { Instrs.reserve(Nins, Arena); } in reserveInstructions()
1623 typename V::template Container<SExpr*> Nis(Vs, Instrs.size()); in traverse()
1632 for (const auto *E : Instrs) { in traverse()
1680 InstrArray Instrs; variable
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCWin64EH.cpp658 const auto &Instrs = InstrsIter->second.Instructions; in FindMatchingEpilog()
660 if (Instrs.size() != EpilogInstrs.size()) in FindMatchingEpilog()
664 for (unsigned i = 0; i < Instrs.size(); ++i) in FindMatchingEpilog()
665 if (Instrs[i] != EpilogInstrs[i]) { in FindMatchingEpilog()
1141 auto &Instrs = I.second.Instructions; in ARM64FindSegmentsInFunction()
1143 checkARM64Instructions(streamer, Instrs, Start, I.second.End, in ARM64FindSegmentsInFunction()
1147 // Exclue the end opcode from Instrs.size() when calculating the end of the in ARM64FindSegmentsInFunction()
1149 Epilogs.push_back({Start, Offset, Offset + (int64_t)(Instrs.size() - 1) * 4}); in ARM64FindSegmentsInFunction()
650 const auto &Instrs = InstrsIter->second.Instructions; FindMatchingEpilog() local
1132 auto &Instrs = I.second.Instructions; ARM64FindSegmentsInFunction() local
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kInstrShiftRotate.td1 //===-- M68kInstrShiftRotate.td - Logical Instrs -----------*- tablegen -*-===//
H A DM68kInstrBits.td1 //===-- M68kInstrBits.td - Bit Manipulation Instrs ---------*- tablegen -*-===//
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMAsmBackend.cpp1156 ArrayRef<MCCFIInstruction> Instrs = FI->Instructions; in generateCompactUnwindEncoding() local
1157 if (Instrs.empty()) in generateCompactUnwindEncoding()
1170 for (const MCCFIInstruction &Inst : Instrs) { in generateCompactUnwindEncoding()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DThreadSafetyTIL.cpp155 for (auto *Instr : Instrs) in renumberInstrs()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenDAGPatterns.cpp3744 SmallVectorImpl<Record *> &Instrs) { in getInstructionsInTree() argument
3748 Instrs.push_back(Tree.getOperator()); in getInstructionsInTree()
3750 getInstructionsInTree(Tree.getChild(i), Instrs); in getInstructionsInTree()
3961 std::vector<Record *> Instrs = in ParseInstructions() local
3964 for (Record *Instr : Instrs) { in ParseInstructions()
4150 SmallVector<Record *, 8> Instrs; in VerifyInstructionFlags() local
4151 getInstructionsInTree(PTM.getDstPattern(), Instrs); in VerifyInstructionFlags()
4152 if (Instrs.empty()) in VerifyInstructionFlags()
4159 for (const Record *Instr : Instrs) { in VerifyInstructionFlags()
4196 (Instrs.size() == 1 ? "instruction" : "output instructions")); in VerifyInstructionFlags()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86AsmBackend.cpp1333 ArrayRef<MCCFIInstruction> Instrs = FI->Instructions; in generateCompactUnwindEncoding() local
1334 if (Instrs.empty()) return 0; in generateCompactUnwindEncoding()
1354 for (const MCCFIInstruction &Inst : Instrs) { in generateCompactUnwindEncoding()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonGenInsert.cpp1442 std::vector<MachineInstr*> Instrs; in removeDeadCode() local
1444 Instrs.push_back(&MI); in removeDeadCode()
1446 for (MachineInstr *MI : Instrs) { in removeDeadCode()

12