Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/AsmPrinter/
DWinCodeViewLineTables.cpp90 if (!CurFn->Instrs.empty()) { in maybeRecordLocation()
91 const InstrInfoTy &LastInstr = InstrInfo[CurFn->Instrs.back()]; in maybeRecordLocation()
99 CurFn->Instrs.push_back(MCL); in maybeRecordLocation()
188 if (FI.Instrs.empty()) in emitDebugInfoForFunction()
246 StringRef PrevFilename = InstrInfo[FI.Instrs[0]].Filename; in emitDebugInfoForFunction()
247 for (size_t J = 1, F = FI.Instrs.size(); J != F; ++J) { in emitDebugInfoForFunction()
248 if (PrevFilename == InstrInfo[FI.Instrs[J]].Filename) in emitDebugInfoForFunction()
252 PrevFilename = InstrInfo[FI.Instrs[J]].Filename; in emitDebugInfoForFunction()
254 FilenameSegmentLengths[LastSegmentEnd] = FI.Instrs.size() - LastSegmentEnd; in emitDebugInfoForFunction()
275 for (size_t J = 0, F = FI.Instrs.size(); J != F; ++J) { in emitDebugInfoForFunction()
[all …]
DWinCodeViewLineTables.h39 SmallVector<MCSymbol *, 10> Instrs; member
DAsmPrinter.cpp766 const std::vector<MCCFIInstruction> &Instrs = MMI.getFrameInstructions(); in emitCFIInstruction() local
768 const MCCFIInstruction &CFI = Instrs[CFIIndex]; in emitCFIInstruction()
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64AsmBackend.cpp323 ArrayRef<MCCFIInstruction> Instrs) const override { in generateCompactUnwindEncoding()
324 if (Instrs.empty()) in generateCompactUnwindEncoding()
331 for (size_t i = 0, e = Instrs.size(); i != e; ++i) { in generateCompactUnwindEncoding()
332 const MCCFIInstruction &Inst = Instrs[i]; in generateCompactUnwindEncoding()
345 const MCCFIInstruction &LRPush = Instrs[++i]; in generateCompactUnwindEncoding()
348 const MCCFIInstruction &FPPush = Instrs[++i]; in generateCompactUnwindEncoding()
378 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()
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()
705 dv->Instrs.push_back(mi); in visitSoftInstr()
DMachineTraceMetrics.cpp1182 unsigned Instrs = TBI.InstrDepth; in getResourceDepth() local
1185 Instrs += TE.MTM.BlockInfo[getBlockNum()].InstrCount; in getResourceDepth()
1187 Instrs /= IW; in getResourceDepth()
1189 return std::max(Instrs, PRMax); in getResourceDepth()
1202 auto extraCycles = [this](ArrayRef<const MCSchedClassDesc *> Instrs, in getResourceLength()
1206 for (unsigned I = 0; I != Instrs.size(); ++I) { in getResourceLength()
1207 const MCSchedClassDesc *SC = Instrs[I]; in getResourceLength()
1235 unsigned Instrs = TBI.InstrDepth + TBI.InstrHeight; in getResourceLength() local
1238 Instrs += TE.MTM.getResources(Extrablocks[i])->InstrCount; in getResourceLength()
1239 Instrs += ExtraInstrs.size(); in getResourceLength()
[all …]
DMachineCombiner.cpp78 void instr2instrSC(SmallVectorImpl<MachineInstr *> &Instrs,
257 SmallVectorImpl<MachineInstr *> &Instrs, in instr2instrSC() argument
259 for (auto *InstrPtr : Instrs) { in instr2instrSC()
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86AsmBackend.cpp466 generateCompactUnwindEncodingImpl(ArrayRef<MCCFIInstruction> Instrs) const { in generateCompactUnwindEncodingImpl()
467 if (Instrs.empty()) return 0; in generateCompactUnwindEncodingImpl()
485 for (unsigned i = 0, e = Instrs.size(); i != e; ++i) { in generateCompactUnwindEncodingImpl()
486 const MCCFIInstruction &Inst = Instrs[i]; in generateCompactUnwindEncodingImpl()
580 (Instrs.size() == 1 && NumDefCFAOffsets == 1 && StackSize == 2)) in generateCompactUnwindEncodingImpl()
763 ArrayRef<MCCFIInstruction> Instrs) const override { in generateCompactUnwindEncoding()
764 return generateCompactUnwindEncodingImpl(Instrs); in generateCompactUnwindEncoding()
782 ArrayRef<MCCFIInstruction> Instrs) const override { in generateCompactUnwindEncoding()
783 return generateCompactUnwindEncodingImpl(Instrs); in generateCompactUnwindEncoding()
/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.cpp2876 getInstructionsInTree(TreePatternNode *Tree, SmallVectorImpl<Record*> &Instrs) { in getInstructionsInTree() argument
2880 Instrs.push_back(Tree->getOperator()); in getInstructionsInTree()
2882 getInstructionsInTree(Tree->getChild(i), Instrs); in getInstructionsInTree()
3067 std::vector<Record*> Instrs = Records.getAllDerivedDefinitions("Instruction"); in ParseInstructions() local
3069 for (unsigned i = 0, e = Instrs.size(); i != e; ++i) { in ParseInstructions()
3072 if (isa<ListInit>(Instrs[i]->getValueInit("Pattern"))) in ParseInstructions()
3073 LI = Instrs[i]->getValueAsListInit("Pattern"); in ParseInstructions()
3085 CodeGenInstruction &InstInfo = Target.getInstruction(Instrs[i]); in ParseInstructions()
3099 Instructions.insert(std::make_pair(Instrs[i], in ParseInstructions()
3104 CodeGenInstruction &CGI = Target.getInstruction(Instrs[i]); in ParseInstructions()
[all …]
/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/MC/
DMCDwarf.cpp1027 ArrayRef<MCCFIInstruction> Instrs,
1161 ArrayRef<MCCFIInstruction> Instrs, in EmitCFIInstructions() argument
1163 for (unsigned i = 0, N = Instrs.size(); i < N; ++i) { in EmitCFIInstructions()
1164 const MCCFIInstruction &Instr = Instrs[i]; in EmitCFIInstructions()
/external/clang/lib/Analysis/
DThreadSafetyTIL.cpp158 for (auto *Instr : Instrs) in renumberInstrs()
/external/llvm/include/llvm/Analysis/
DLoopAccessAnalysis.h177 const SmallVectorImpl<Instruction *> &Instrs) const;
/external/llvm/lib/Analysis/
DLoopAccessAnalysis.cpp886 const SmallVectorImpl<Instruction *> &Instrs) const { in print()
888 OS.indent(Depth + 2) << *Instrs[Source] << " -> \n"; in print()
889 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 -*-===//