Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/AsmPrinter/
DWinCodeViewLineTables.cpp89 if (!CurFn->Instrs.empty()) { in maybeRecordLocation()
90 const InstrInfoTy &LastInstr = InstrInfo[CurFn->Instrs.back()]; in maybeRecordLocation()
98 CurFn->Instrs.push_back(MCL); in maybeRecordLocation()
187 if (FI.Instrs.empty()) in emitDebugInfoForFunction()
245 StringRef PrevFilename = InstrInfo[FI.Instrs[0]].Filename; in emitDebugInfoForFunction()
246 for (size_t J = 1, F = FI.Instrs.size(); J != F; ++J) { in emitDebugInfoForFunction()
247 if (PrevFilename == InstrInfo[FI.Instrs[J]].Filename) in emitDebugInfoForFunction()
251 PrevFilename = InstrInfo[FI.Instrs[J]].Filename; in emitDebugInfoForFunction()
253 FilenameSegmentLengths[LastSegmentEnd] = FI.Instrs.size() - LastSegmentEnd; in emitDebugInfoForFunction()
284 unsigned ColumnNumber = InstrInfo[FI.Instrs[ColSegI]].ColumnNumber; in emitDebugInfoForFunction()
[all …]
DWinCodeViewLineTables.h39 SmallVector<MCSymbol *, 10> Instrs; member
DAsmPrinter.cpp817 const std::vector<MCCFIInstruction> &Instrs = MMI.getFrameInstructions(); in emitCFIInstruction() local
819 const MCCFIInstruction &CFI = Instrs[CFIIndex]; in emitCFIInstruction()
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64AsmBackend.cpp320 ArrayRef<MCCFIInstruction> Instrs) const override { in generateCompactUnwindEncoding()
321 if (Instrs.empty()) in generateCompactUnwindEncoding()
328 for (size_t i = 0, e = Instrs.size(); i != e; ++i) { in generateCompactUnwindEncoding()
329 const MCCFIInstruction &Inst = Instrs[i]; in generateCompactUnwindEncoding()
342 const MCCFIInstruction &LRPush = Instrs[++i]; in generateCompactUnwindEncoding()
345 const MCCFIInstruction &FPPush = Instrs[++i]; in generateCompactUnwindEncoding()
375 const MCCFIInstruction &Inst2 = Instrs[++i]; in generateCompactUnwindEncoding()
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86AsmBackend.cpp494 generateCompactUnwindEncodingImpl(ArrayRef<MCCFIInstruction> Instrs) const { in generateCompactUnwindEncodingImpl()
495 if (Instrs.empty()) return 0; in generateCompactUnwindEncodingImpl()
513 for (unsigned i = 0, e = Instrs.size(); i != e; ++i) { in generateCompactUnwindEncodingImpl()
514 const MCCFIInstruction &Inst = Instrs[i]; in generateCompactUnwindEncodingImpl()
608 (Instrs.size() == 1 && NumDefCFAOffsets == 1 && StackSize == 2)) in generateCompactUnwindEncodingImpl()
791 ArrayRef<MCCFIInstruction> Instrs) const override { in generateCompactUnwindEncoding()
792 return generateCompactUnwindEncodingImpl(Instrs); in generateCompactUnwindEncoding()
810 ArrayRef<MCCFIInstruction> Instrs) const override { in generateCompactUnwindEncoding()
811 return generateCompactUnwindEncodingImpl(Instrs); 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()
317 while (!dv->Instrs.empty()) in collapse()
318 TII->setExecutionDomain(dv->Instrs.pop_back_val(), domain); in collapse()
339 A->Instrs.append(B->Instrs.begin(), B->Instrs.end()); in merge()
703 dv->Instrs.push_back(mi); in visitSoftInstr()
DMachineTraceMetrics.cpp1187 unsigned Instrs = TBI.InstrDepth; in getResourceDepth() local
1190 Instrs += TE.MTM.BlockInfo[getBlockNum()].InstrCount; in getResourceDepth()
1192 Instrs /= IW; in getResourceDepth()
1194 return std::max(Instrs, PRMax); in getResourceDepth()
1207 auto extraCycles = [this](ArrayRef<const MCSchedClassDesc *> Instrs, in getResourceLength()
1211 for (const MCSchedClassDesc *SC : Instrs) { in getResourceLength()
1239 unsigned Instrs = TBI.InstrDepth + TBI.InstrHeight; in getResourceLength() local
1242 Instrs += TE.MTM.getResources(MBB)->InstrCount; in getResourceLength()
1243 Instrs += ExtraInstrs.size(); in getResourceLength()
1244 Instrs -= RemoveInstrs.size(); in getResourceLength()
[all …]
DMachineCombiner.cpp80 void instr2instrSC(SmallVectorImpl<MachineInstr *> &Instrs,
290 SmallVectorImpl<MachineInstr *> &Instrs, in instr2instrSC() argument
292 for (auto *InstrPtr : Instrs) { in instr2instrSC()
/external/llvm/utils/TableGen/
DAsmWriterEmitter.cpp239 std::string Instrs = InstrsForCase[i]; in FindUniqueOperandCommands() local
240 if (Instrs.size() > 70) { in FindUniqueOperandCommands()
241 Instrs.erase(Instrs.begin()+70, Instrs.end()); in FindUniqueOperandCommands()
242 Instrs += "..."; in FindUniqueOperandCommands()
245 if (!Instrs.empty()) in FindUniqueOperandCommands()
246 UniqueOperandCommands[i] = " // " + Instrs + "\n" + in FindUniqueOperandCommands()
DCodeGenDAGPatterns.cpp2920 getInstructionsInTree(TreePatternNode *Tree, SmallVectorImpl<Record*> &Instrs) { in getInstructionsInTree() argument
2924 Instrs.push_back(Tree->getOperator()); in getInstructionsInTree()
2926 getInstructionsInTree(Tree->getChild(i), Instrs); in getInstructionsInTree()
3111 std::vector<Record*> Instrs = Records.getAllDerivedDefinitions("Instruction"); in ParseInstructions() local
3113 for (Record *Instr : Instrs) { in ParseInstructions()
3336 SmallVector<Record*, 8> Instrs; in VerifyInstructionFlags() local
3337 getInstructionsInTree(PTM.getDstPattern(), Instrs); in VerifyInstructionFlags()
3338 if (Instrs.empty()) in VerifyInstructionFlags()
3345 for (const Record *Instr : Instrs) { in VerifyInstructionFlags()
3380 (Instrs.size() == 1 ? in VerifyInstructionFlags()
[all …]
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMAsmBackendDarwin.h34 ArrayRef<MCCFIInstruction> Instrs) const override;
DARMAsmBackend.cpp836 ArrayRef<MCCFIInstruction> Instrs) const { in generateCompactUnwindEncoding()
842 if (Instrs.empty()) in generateCompactUnwindEncoding()
851 for (size_t i = 0, e = Instrs.size(); i != e; ++i) { in generateCompactUnwindEncoding()
853 const MCCFIInstruction &Inst = Instrs[i]; in generateCompactUnwindEncoding()
/external/clang/include/clang/Analysis/Analyses/
DThreadSafetyTIL.h1555 Args(std::move(As)), Instrs(std::move(Is)), TermInstr(T) {} in BasicBlock()
1573 InstrArray &instructions() { return Instrs; } in instructions()
1574 const InstrArray &instructions() const { return Instrs; } in instructions()
1605 Instrs.reserveCheck(1, Arena); in addInstruction()
1606 Instrs.push_back(V); in addInstruction()
1616 void reserveInstructions(unsigned Nins) { Instrs.reserve(Nins, Arena); } in reserveInstructions()
1630 typename V::template Container<SExpr*> Nis(Vs, Instrs.size()); in traverse()
1639 for (auto *E : Instrs) { in traverse()
1675 InstrArray Instrs; // Instructions. variable
/external/llvm/lib/Target/ARM/
DARMLoadStoreOptimizer.cpp113 SmallVector<MachineInstr*, 4> Instrs; member
797 const MachineInstr *First = Cand.Instrs.front(); in MergeOpsUpdate()
805 for (const MachineInstr *MI : Cand.Instrs) { in MergeOpsUpdate()
836 MachineInstr *LatestMI = Cand.Instrs[Cand.LatestMIIdx]; in MergeOpsUpdate()
857 iterator EarliestI(Cand.Instrs[Cand.EarliestMIIdx]); in MergeOpsUpdate()
866 for (MachineInstr *MI : Cand.Instrs) in MergeOpsUpdate()
1002 Candidate->Instrs.push_back(MemOps[C].MI); in FormCandidates()
1764 for (MachineInstr *MI : Candidate->Instrs) { in LoadStoreMultipleOpti()
1770 assert(Candidate->Instrs.size() == 1); in LoadStoreMultipleOpti()
1771 if (MergeBaseUpdateLoadStore(Candidate->Instrs.front())) in LoadStoreMultipleOpti()
/external/llvm/lib/MC/
DMCDwarf.cpp1017 void EmitCFIInstructions(ArrayRef<MCCFIInstruction> Instrs,
1153 void FrameEmitterImpl::EmitCFIInstructions(ArrayRef<MCCFIInstruction> Instrs, in EmitCFIInstructions() argument
1155 for (unsigned i = 0, N = Instrs.size(); i < N; ++i) { in EmitCFIInstructions()
1156 const MCCFIInstruction &Instr = Instrs[i]; in EmitCFIInstructions()
/external/clang/lib/Analysis/
DThreadSafetyTIL.cpp158 for (auto *Instr : Instrs) in renumberInstrs()
/external/llvm/lib/Target/Hexagon/
DHexagonGenInsert.cpp1431 std::vector<MachineInstr*> Instrs; in removeDeadCode() local
1433 Instrs.push_back(&*I); in removeDeadCode()
1435 for (auto I = Instrs.begin(), E = Instrs.end(); I != E; ++I) { in removeDeadCode()
DHexagonBitSimplify.cpp952 std::vector<MachineInstr*> Instrs; in runOnNode() local
954 Instrs.push_back(&*I); in runOnNode()
956 for (auto MI : Instrs) { in runOnNode()
1643 std::vector<MachineInstr*> Instrs; in processBlock() local
1645 Instrs.push_back(&*I); in processBlock()
1648 for (auto I : Instrs) { in processBlock()
/external/llvm/include/llvm/Analysis/
DLoopAccessAnalysis.h193 const SmallVectorImpl<Instruction *> &Instrs) const;
/external/llvm/lib/Analysis/
DLoopAccessAnalysis.cpp1299 const SmallVectorImpl<Instruction *> &Instrs) const { in print()
1301 OS.indent(Depth + 2) << *Instrs[Source] << " -> \n"; in print()
1302 OS.indent(Depth + 2) << *Instrs[Destination] << "\n"; in print()
/external/llvm/include/llvm/Target/
DTargetSchedule.td393 dag Instrs = instrlist;
/external/llvm/lib/Target/X86/
DX86InstrShiftRotate.td1 //===-- X86InstrShiftRotate.td - Shift and Rotate Instrs ---*- tablegen -*-===//
DX86InstrArithmetic.td1 //===-- X86InstrArithmetic.td - Integer Arithmetic Instrs --*- tablegen -*-===//