Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/LLVM/lib/Target/PTX/
DPTXFPRoundingModePass.cpp41 DenseMap<unsigned, RndModeDesc> Instrs; member in llvm::PTXFPRoundingModePass
88 Instrs[PTX::FADDrr32] = std::make_pair(1U, (unsigned)RndNearestEven); in initializeMap()
89 Instrs[PTX::FADDri32] = std::make_pair(1U, (unsigned)RndNearestEven); in initializeMap()
90 Instrs[PTX::FADDrr64] = std::make_pair(1U, (unsigned)RndNearestEven); in initializeMap()
91 Instrs[PTX::FADDri64] = std::make_pair(1U, (unsigned)RndNearestEven); in initializeMap()
92 Instrs[PTX::FSUBrr32] = std::make_pair(1U, (unsigned)RndNearestEven); in initializeMap()
93 Instrs[PTX::FSUBri32] = std::make_pair(1U, (unsigned)RndNearestEven); in initializeMap()
94 Instrs[PTX::FSUBrr64] = std::make_pair(1U, (unsigned)RndNearestEven); in initializeMap()
95 Instrs[PTX::FSUBri64] = std::make_pair(1U, (unsigned)RndNearestEven); in initializeMap()
96 Instrs[PTX::FMULrr32] = std::make_pair(1U, (unsigned)RndNearestEven); in initializeMap()
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DExecutionDepsFix.cpp64 SmallVector<MachineInstr*, 8> Instrs; member
68 bool isCollapsed() const { return Instrs.empty(); } in isCollapsed()
99 Instrs.clear(); in clear()
243 while (!dv->Instrs.empty()) in Collapse()
244 TII->setExecutionDomain(dv->Instrs.pop_back_val(), domain); in Collapse()
267 A->Instrs.append(B->Instrs.begin(), B->Instrs.end()); in Merge()
424 dv->Instrs.push_back(mi); in visitSoftInstr()
/external/llvm/lib/Transforms/Vectorize/
DLoadStoreVectorizer.cpp125 bool vectorizeInstructions(ArrayRef<Value *> Instrs);
401 SmallVector<Instruction *, 16> Instrs; in eraseInstructions() local
405 Instrs.push_back(cast<Instruction>(V)); in eraseInstructions()
407 Instrs.push_back(GEP); in eraseInstructions()
411 for (Value *V : Instrs) { in eraseInstructions()
595 bool Vectorizer::vectorizeInstructions(ArrayRef<Value *> Instrs) { in vectorizeInstructions() argument
596 DEBUG(dbgs() << "LSV: Vectorizing " << Instrs.size() << " instructions.\n"); in vectorizeInstructions()
602 for (int i = 0, e = Instrs.size(); i < e; ++i) { in vectorizeInstructions()
608 if (isConsecutiveAccess(Instrs[i], Instrs[j])) { in vectorizeInstructions()
627 if (InstructionsProcessed.count(Instrs[Head])) in vectorizeInstructions()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DExecutionDomainFix.h68 SmallVector<MachineInstr *, 8> Instrs; member
74 bool isCollapsed() const { return Instrs.empty(); } in isCollapsed()
104 Instrs.clear(); in clear()
/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()
322 while (!dv->Instrs.empty()) in collapse()
323 TII->setExecutionDomain(*dv->Instrs.pop_back_val(), domain); in collapse()
344 A->Instrs.append(B->Instrs.begin(), B->Instrs.end()); in merge()
710 dv->Instrs.push_back(mi); in visitSoftInstr()
DMachineTraceMetrics.cpp1190 unsigned Instrs = TBI.InstrDepth; in getResourceDepth() local
1193 Instrs += TE.MTM.BlockInfo[getBlockNum()].InstrCount; in getResourceDepth()
1195 Instrs /= IW; in getResourceDepth()
1197 return std::max(Instrs, PRMax); in getResourceDepth()
1210 auto extraCycles = [this](ArrayRef<const MCSchedClassDesc *> Instrs, in getResourceLength()
1214 for (const MCSchedClassDesc *SC : Instrs) { in getResourceLength()
1242 unsigned Instrs = TBI.InstrDepth + TBI.InstrHeight; in getResourceLength() local
1245 Instrs += TE.MTM.getResources(MBB)->InstrCount; in getResourceLength()
1246 Instrs += ExtraInstrs.size(); in getResourceLength()
1247 Instrs -= RemoveInstrs.size(); in getResourceLength()
[all …]
DMachineCombiner.cpp80 void instr2instrSC(SmallVectorImpl<MachineInstr *> &Instrs,
292 SmallVectorImpl<MachineInstr *> &Instrs, in instr2instrSC() argument
294 for (auto *InstrPtr : Instrs) { in instr2instrSC()
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64AsmBackend.cpp396 ArrayRef<MCCFIInstruction> Instrs) const override { in generateCompactUnwindEncoding()
397 if (Instrs.empty()) in generateCompactUnwindEncoding()
404 for (size_t i = 0, e = Instrs.size(); i != e; ++i) { in generateCompactUnwindEncoding()
405 const MCCFIInstruction &Inst = Instrs[i]; in generateCompactUnwindEncoding()
418 const MCCFIInstruction &LRPush = Instrs[++i]; in generateCompactUnwindEncoding()
421 const MCCFIInstruction &FPPush = Instrs[++i]; in generateCompactUnwindEncoding()
451 const MCCFIInstruction &Inst2 = Instrs[++i]; in generateCompactUnwindEncoding()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DLoadStoreVectorizer.cpp191 bool vectorizeInstructions(ArrayRef<Instruction *> Instrs);
537 SmallVector<Instruction *, 16> Instrs; in eraseInstructions() local
541 Instrs.push_back(I); in eraseInstructions()
543 Instrs.push_back(GEP); in eraseInstructions()
547 for (Instruction *I : Instrs) in eraseInstructions()
837 bool Vectorizer::vectorizeInstructions(ArrayRef<Instruction *> Instrs) { in vectorizeInstructions() argument
838 LLVM_DEBUG(dbgs() << "LSV: Vectorizing " << Instrs.size() in vectorizeInstructions()
845 for (int i = 0, e = Instrs.size(); i < e; ++i) { in vectorizeInstructions()
851 if (isConsecutiveAccess(Instrs[i], Instrs[j])) { in vectorizeInstructions()
870 if (InstructionsProcessed.count(Instrs[Head])) in vectorizeInstructions()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64AsmBackend.cpp445 ArrayRef<MCCFIInstruction> Instrs) const override { in generateCompactUnwindEncoding()
446 if (Instrs.empty()) in generateCompactUnwindEncoding()
453 for (size_t i = 0, e = Instrs.size(); i != e; ++i) { in generateCompactUnwindEncoding()
454 const MCCFIInstruction &Inst = Instrs[i]; in generateCompactUnwindEncoding()
475 const MCCFIInstruction &LRPush = Instrs[++i]; in generateCompactUnwindEncoding()
478 const MCCFIInstruction &FPPush = Instrs[++i]; in generateCompactUnwindEncoding()
508 const MCCFIInstruction &Inst2 = Instrs[++i]; in generateCompactUnwindEncoding()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/MCTargetDesc/
DX86AsmBackend.cpp527 generateCompactUnwindEncodingImpl(ArrayRef<MCCFIInstruction> Instrs) const { in generateCompactUnwindEncodingImpl()
528 if (Instrs.empty()) return 0; in generateCompactUnwindEncodingImpl()
546 for (unsigned i = 0, e = Instrs.size(); i != e; ++i) { in generateCompactUnwindEncodingImpl()
547 const MCCFIInstruction &Inst = Instrs[i]; in generateCompactUnwindEncodingImpl()
645 (Instrs.size() == 1 && NumDefCFAOffsets == 1 && StackSize == 2)) in generateCompactUnwindEncodingImpl()
828 ArrayRef<MCCFIInstruction> Instrs) const override { in generateCompactUnwindEncoding()
829 return generateCompactUnwindEncodingImpl(Instrs); in generateCompactUnwindEncoding()
848 ArrayRef<MCCFIInstruction> Instrs) const override { in generateCompactUnwindEncoding()
849 return generateCompactUnwindEncodingImpl(Instrs); in generateCompactUnwindEncoding()
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86AsmBackend.cpp514 generateCompactUnwindEncodingImpl(ArrayRef<MCCFIInstruction> Instrs) const { in generateCompactUnwindEncodingImpl()
515 if (Instrs.empty()) return 0; in generateCompactUnwindEncodingImpl()
533 for (unsigned i = 0, e = Instrs.size(); i != e; ++i) { in generateCompactUnwindEncodingImpl()
534 const MCCFIInstruction &Inst = Instrs[i]; in generateCompactUnwindEncodingImpl()
628 (Instrs.size() == 1 && NumDefCFAOffsets == 1 && StackSize == 2)) in generateCompactUnwindEncodingImpl()
811 ArrayRef<MCCFIInstruction> Instrs) const override { in generateCompactUnwindEncoding()
812 return generateCompactUnwindEncodingImpl(Instrs); in generateCompactUnwindEncoding()
830 ArrayRef<MCCFIInstruction> Instrs) const override { in generateCompactUnwindEncoding()
831 return generateCompactUnwindEncodingImpl(Instrs); in generateCompactUnwindEncoding()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
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()
380 dv->Instrs.push_back(mi); in visitSoftInstr()
DMachineTraceMetrics.cpp1215 unsigned Instrs = TBI.InstrDepth; in getResourceDepth() local
1218 Instrs += TE.MTM.BlockInfo[getBlockNum()].InstrCount; in getResourceDepth()
1220 Instrs /= IW; in getResourceDepth()
1222 return std::max(Instrs, PRMax); in getResourceDepth()
1235 auto extraCycles = [this](ArrayRef<const MCSchedClassDesc *> Instrs, in getResourceLength()
1239 for (const MCSchedClassDesc *SC : Instrs) { in getResourceLength()
1267 unsigned Instrs = TBI.InstrDepth + TBI.InstrHeight; in getResourceLength() local
1270 Instrs += TE.MTM.getResources(MBB)->InstrCount; in getResourceLength()
1271 Instrs += ExtraInstrs.size(); in getResourceLength()
1272 Instrs -= RemoveInstrs.size(); in getResourceLength()
[all …]
DCFIInstrInserter.cpp163 const std::vector<MCCFIInstruction> &Instrs = in calculateOutgoingCFAInfo() local
170 const MCCFIInstruction &CFI = Instrs[CFIIndex]; in calculateOutgoingCFAInfo()
DMachineCombiner.cpp105 void instr2instrSC(SmallVectorImpl<MachineInstr *> &Instrs,
357 SmallVectorImpl<MachineInstr *> &Instrs, in instr2instrSC() argument
359 for (auto *InstrPtr : Instrs) { in instr2instrSC()
/external/llvm/utils/TableGen/
DAsmWriterEmitter.cpp216 std::string Instrs = InstrsForCase[i]; in FindUniqueOperandCommands() local
217 if (Instrs.size() > 70) { in FindUniqueOperandCommands()
218 Instrs.erase(Instrs.begin()+70, Instrs.end()); in FindUniqueOperandCommands()
219 Instrs += "..."; in FindUniqueOperandCommands()
222 if (!Instrs.empty()) in FindUniqueOperandCommands()
223 UniqueOperandCommands[i] = " // " + Instrs + "\n" + in FindUniqueOperandCommands()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DAsmWriterEmitter.cpp235 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()
/external/swiftshader/third_party/LLVM/utils/TableGen/
DAsmWriterEmitter.cpp206 std::string Instrs = InstrsForCase[i]; in FindUniqueOperandCommands() local
207 if (Instrs.size() > 70) { in FindUniqueOperandCommands()
208 Instrs.erase(Instrs.begin()+70, Instrs.end()); in FindUniqueOperandCommands()
209 Instrs += "..."; in FindUniqueOperandCommands()
212 if (!Instrs.empty()) in FindUniqueOperandCommands()
213 UniqueOperandCommands[i] = " // " + Instrs + "\n" + in FindUniqueOperandCommands()
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMAsmBackendDarwin.h32 ArrayRef<MCCFIInstruction> Instrs) const override;
DARMAsmBackend.cpp901 ArrayRef<MCCFIInstruction> Instrs) const { in generateCompactUnwindEncoding()
907 if (Instrs.empty()) in generateCompactUnwindEncoding()
916 for (size_t i = 0, e = Instrs.size(); i != e; ++i) { in generateCompactUnwindEncoding()
918 const MCCFIInstruction &Inst = Instrs[i]; in generateCompactUnwindEncoding()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMAsmBackendDarwin.h33 ArrayRef<MCCFIInstruction> Instrs) const override;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCCodeEmitter.cpp479 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86DomainReassignment.cpp311 SmallVector<MachineInstr *, 8> Instrs; member in __anon485ecb6c0111::Closure
350 Instrs.push_back(I); in addInstruction()
354 return Instrs; in instructions()
367 for (MachineInstr *MI : Instrs) { in dump()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DInlineCost.cpp156 unsigned Instrs = 0; in CountCodeReductionForConstant() local
158 Instrs += NumBBInsts[TI.getSuccessor(I)]; in CountCodeReductionForConstant()
160 Reduction += InlineConstants::InstrCost*Instrs*(NumSucc-1)/NumSucc; in CountCodeReductionForConstant()

123