Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/GlobalISel/
H A 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()
H A DGIMatchDagPredicate.cpp44 for (const CodeGenInstruction *Instr : Instrs) { in printDescription()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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.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 …]
H A DMachineCombiner.cpp116 void instr2instrSC(SmallVectorImpl<MachineInstr *> &Instrs,
390 SmallVectorImpl<MachineInstr *> &Instrs, in instr2instrSC() argument
392 for (auto *InstrPtr : Instrs) { in instr2instrSC()
H A DCFIInstrInserter.cpp184 const std::vector<MCCFIInstruction> &Instrs = MF->getFrameInstructions(); in calculateOutgoingCFAInfo() local
195 const MCCFIInstruction &CFI = Instrs[CFIIndex]; in calculateOutgoingCFAInfo()
H A DMachineOutliner.cpp649 const std::vector<MCCFIInstruction> &Instrs = in createOutlinedFunction() local
658 MCCFIInstruction CFI = Instrs[CFIIndex]; in createOutlinedFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp177 bool vectorizeInstructions(ArrayRef<Instruction *> Instrs);
615 SmallVector<Instruction *, 16> Instrs; in eraseInstructions() local
619 Instrs.push_back(I); in eraseInstructions()
621 Instrs.push_back(GEP); in eraseInstructions()
625 for (Instruction *I : Instrs) in eraseInstructions()
920 bool Vectorizer::vectorizeInstructions(ArrayRef<Instruction *> Instrs) { in vectorizeInstructions() argument
921 LLVM_DEBUG(dbgs() << "LSV: Vectorizing " << Instrs.size() in vectorizeInstructions()
928 for (int i = 0, e = Instrs.size(); i < e; ++i) { in vectorizeInstructions()
934 if (isConsecutiveAccess(Instrs[i], Instrs[j])) { in vectorizeInstructions()
953 if (InstructionsProcessed.count(Instrs[Head])) in vectorizeInstructions()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64AsmBackend.cpp562 ArrayRef<MCCFIInstruction> Instrs) const override { in generateCompactUnwindEncoding()
563 if (Instrs.empty()) in generateCompactUnwindEncoding()
571 for (size_t i = 0, e = Instrs.size(); i != e; ++i) { in generateCompactUnwindEncoding()
572 const MCCFIInstruction &Inst = Instrs[i]; in generateCompactUnwindEncoding()
593 const MCCFIInstruction &LRPush = Instrs[++i]; in generateCompactUnwindEncoding()
596 const MCCFIInstruction &FPPush = Instrs[++i]; in generateCompactUnwindEncoding()
633 const MCCFIInstruction &Inst2 = Instrs[++i]; in generateCompactUnwindEncoding()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DAsmWriterEmitter.cpp240 std::string Instrs = InstrsForCase[i]; in FindUniqueOperandCommands() local
241 if (Instrs.size() > 70) { in FindUniqueOperandCommands()
242 Instrs.erase(Instrs.begin()+70, Instrs.end()); in FindUniqueOperandCommands()
243 Instrs += "..."; in FindUniqueOperandCommands()
246 if (!Instrs.empty()) in FindUniqueOperandCommands()
247 UniqueOperandCommands[i] = " // " + Instrs + "\n" + in FindUniqueOperandCommands()
H A DCodeGenDAGPatterns.cpp3674 getInstructionsInTree(TreePatternNode *Tree, SmallVectorImpl<Record*> &Instrs) { in getInstructionsInTree() argument
3678 Instrs.push_back(Tree->getOperator()); in getInstructionsInTree()
3680 getInstructionsInTree(Tree->getChild(i), Instrs); in getInstructionsInTree()
3885 std::vector<Record*> Instrs = Records.getAllDerivedDefinitions("Instruction"); in ParseInstructions() local
3887 for (Record *Instr : Instrs) { in ParseInstructions()
4075 SmallVector<Record*, 8> Instrs; in VerifyInstructionFlags() local
4076 getInstructionsInTree(PTM.getDstPattern(), Instrs); in VerifyInstructionFlags()
4077 if (Instrs.empty()) in VerifyInstructionFlags()
4084 for (const Record *Instr : Instrs) { in VerifyInstructionFlags()
4119 (Instrs.size() == 1 ? in VerifyInstructionFlags()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMLoadStoreOptimizer.cpp145 SmallVector<MachineInstr*, 4> Instrs; member
179 ArrayRef<MachineInstr*> Instrs);
185 ArrayRef<MachineInstr*> Instrs) const;
630 ArrayRef<MachineInstr*> Instrs) { in CreateLoadStoreMulti() argument
827 MIB.cloneMergedMemRefs(Instrs); in CreateLoadStoreMulti()
837 ArrayRef<MachineInstr*> Instrs) const { in CreateLoadStoreDouble()
853 MIB.cloneMergedMemRefs(Instrs); in CreateLoadStoreDouble()
859 const MachineInstr *First = Cand.Instrs.front(); in MergeOpsUpdate()
867 for (const MachineInstr *MI : Cand.Instrs) { in MergeOpsUpdate()
899 MachineInstr *LatestMI = Cand.Instrs[Cand.LatestMIIdx]; in MergeOpsUpdate()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/
H A DMCWin64EH.cpp527 const auto &Instrs = InstrsIter->second; in FindMatchingEpilog() local
529 if (Instrs.size() != EpilogInstrs.size()) in FindMatchingEpilog()
533 for (unsigned i = 0; i < Instrs.size(); ++i) in FindMatchingEpilog()
534 if (Instrs[i].Operation != EpilogInstrs[i].Operation || in FindMatchingEpilog()
535 Instrs[i].Offset != EpilogInstrs[i].Offset || in FindMatchingEpilog()
536 Instrs[i].Register != EpilogInstrs[i].Register) { in FindMatchingEpilog()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMAsmBackendDarwin.h36 ArrayRef<MCCFIInstruction> Instrs) const override;
H A DARMAsmBackend.cpp1109 ArrayRef<MCCFIInstruction> Instrs) const { in generateCompactUnwindEncoding()
1115 if (Instrs.empty()) in generateCompactUnwindEncoding()
1124 for (size_t i = 0, e = Instrs.size(); i != e; ++i) { in generateCompactUnwindEncoding()
1126 const MCCFIInstruction &Inst = Instrs[i]; in generateCompactUnwindEncoding()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCCodeEmitter.cpp471 auto Instrs = HexagonMCInstrInfo::bundleInstructions(*State.Bundle); in getFixupNoBits() local
472 for (auto I = Instrs.begin(), N = Instrs.end(); I != N; ++I) { in getFixupNoBits()
735 auto Instrs = HexagonMCInstrInfo::bundleInstructions(*State.Bundle); in getMachineOpValue() local
736 const MCOperand *I = Instrs.begin() + State.Index - 1; in getMachineOpValue()
739 assert(I != Instrs.begin() - 1 && "Couldn't find producer"); in getMachineOpValue()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86DomainReassignment.cpp304 SmallVector<MachineInstr *, 8> Instrs; member in __anoncbde8b740111::Closure
341 Instrs.push_back(I); in addInstruction()
345 return Instrs; in instructions()
358 for (MachineInstr *MI : Instrs) { in dump()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyTIL.h1537 Args(std::move(As)), Instrs(std::move(Is)), TermInstr(T) {} in BasicBlock()
1557 InstrArray &instructions() { return Instrs; } in instructions()
1558 const InstrArray &instructions() const { return Instrs; } in instructions()
1590 Instrs.reserveCheck(1, Arena); in addInstruction()
1591 Instrs.push_back(V); in addInstruction()
1602 void reserveInstructions(unsigned Nins) { Instrs.reserve(Nins, Arena); } in reserveInstructions()
1616 typename V::template Container<SExpr*> Nis(Vs, Instrs.size()); in traverse()
1625 for (const auto *E : Instrs) { in traverse()
1673 InstrArray Instrs; variable
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/M68k/
H A DM68kInstrShiftRotate.td1 //===------ M68kInstrShiftRotate.td - Logical Instrs -----*- tablegen -*-===//
H A DM68kInstrBits.td1 //===------- M68kInstrBits.td - Bit Manipulation Instrs --*- tablegen -*-===//
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/
H A DX86AsmBackend.cpp1440 generateCompactUnwindEncoding(ArrayRef<MCCFIInstruction> Instrs) const override { in generateCompactUnwindEncoding()
1441 if (Instrs.empty()) return 0; in generateCompactUnwindEncoding()
1459 for (unsigned i = 0, e = Instrs.size(); i != e; ++i) { in generateCompactUnwindEncoding()
1460 const MCCFIInstruction &Inst = Instrs[i]; in generateCompactUnwindEncoding()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DThreadSafetyTIL.cpp155 for (auto *Instr : Instrs) in renumberInstrs()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64FrameLowering.cpp3411 SmallVector<TagStoreInstr, 4> Instrs; in tryMergeAdjacentSTG() local
3412 Instrs.emplace_back(&MI, Offset, Size); in tryMergeAdjacentSTG()
3429 Instrs.emplace_back(&MI, Offset, Size); in tryMergeAdjacentSTG()
3449 MachineBasicBlock::iterator InsertI = Instrs.back().MI; in tryMergeAdjacentSTG()
3452 llvm::stable_sort(Instrs, in tryMergeAdjacentSTG()
3458 int64_t CurOffset = Instrs[0].Offset; in tryMergeAdjacentSTG()
3459 for (auto &Instr : Instrs) { in tryMergeAdjacentSTG()
3469 for (auto &Instr : Instrs) { in tryMergeAdjacentSTG()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonGenInsert.cpp1460 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()

12