/external/swiftshader/third_party/LLVM/lib/Target/PTX/ |
D | PTXFPRoundingModePass.cpp | 41 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/ |
D | ExecutionDepsFix.cpp | 64 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/ |
D | LoadStoreVectorizer.cpp | 125 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/llvm/lib/CodeGen/ |
D | ExecutionDepsFix.cpp | 70 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()
|
D | MachineTraceMetrics.cpp | 1190 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 …]
|
D | MachineCombiner.cpp | 80 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/ |
D | AArch64AsmBackend.cpp | 396 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/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86AsmBackend.cpp | 514 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/utils/TableGen/ |
D | AsmWriterEmitter.cpp | 206 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()
|
D | CodeGenDAGPatterns.cpp | 2526 std::vector<Record*> Instrs = Records.getAllDerivedDefinitions("Instruction"); in ParseInstructions() local 2528 for (unsigned i = 0, e = Instrs.size(); i != e; ++i) { in ParseInstructions() 2531 if (dynamic_cast<ListInit*>(Instrs[i]->getValueInit("Pattern"))) in ParseInstructions() 2532 LI = Instrs[i]->getValueAsListInit("Pattern"); in ParseInstructions() 2541 CodeGenInstruction &InstInfo = Target.getInstruction(Instrs[i]); in ParseInstructions() 2560 Instructions.insert(std::make_pair(Instrs[i], in ParseInstructions() 2566 TreePattern *I = new TreePattern(Instrs[i], LI, true, *this); in ParseInstructions() 2605 CodeGenInstruction &CGI = Target.getInstruction(Instrs[i]); in ParseInstructions()
|
/external/llvm/utils/TableGen/ |
D | AsmWriterEmitter.cpp | 216 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()
|
D | CodeGenDAGPatterns.cpp | 2920 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() 3118 std::vector<Record*> Instrs = Records.getAllDerivedDefinitions("Instruction"); in ParseInstructions() local 3120 for (Record *Instr : Instrs) { in ParseInstructions() 3343 SmallVector<Record*, 8> Instrs; in VerifyInstructionFlags() local 3344 getInstructionsInTree(PTM.getDstPattern(), Instrs); in VerifyInstructionFlags() 3345 if (Instrs.empty()) in VerifyInstructionFlags() 3352 for (const Record *Instr : Instrs) { in VerifyInstructionFlags() 3387 (Instrs.size() == 1 ? in VerifyInstructionFlags() [all …]
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMAsmBackendDarwin.h | 32 ArrayRef<MCCFIInstruction> Instrs) const override;
|
D | ARMAsmBackend.cpp | 901 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/lib/Analysis/ |
D | InlineCost.cpp | 156 unsigned Instrs = 0; in CountCodeReductionForConstant() local 158 Instrs += NumBBInsts[TI.getSuccessor(I)]; in CountCodeReductionForConstant() 160 Reduction += InlineConstants::InstrCost*Instrs*(NumSucc-1)/NumSucc; in CountCodeReductionForConstant()
|
/external/clang/include/clang/Analysis/Analyses/ |
D | ThreadSafetyTIL.h | 1555 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/ |
D | ARMLoadStoreOptimizer.cpp | 127 SmallVector<MachineInstr*, 4> Instrs; member 815 const MachineInstr *First = Cand.Instrs.front(); in MergeOpsUpdate() 823 for (const MachineInstr *MI : Cand.Instrs) { in MergeOpsUpdate() 854 MachineInstr *LatestMI = Cand.Instrs[Cand.LatestMIIdx]; in MergeOpsUpdate() 875 iterator EarliestI(Cand.Instrs[Cand.EarliestMIIdx]); in MergeOpsUpdate() 884 for (MachineInstr *MI : Cand.Instrs) in MergeOpsUpdate() 1042 Candidate->Instrs.push_back(MemOps[C].MI); in FormCandidates() 1823 for (MachineInstr *MI : Candidate->Instrs) { in LoadStoreMultipleOpti() 1829 assert(Candidate->Instrs.size() == 1); in LoadStoreMultipleOpti() 1830 if (MergeBaseUpdateLoadStore(Candidate->Instrs.front())) in LoadStoreMultipleOpti()
|
/external/swiftshader/third_party/LLVM/lib/MC/ |
D | MCDwarf.cpp | 528 const std::vector<MCCFIInstruction> &Instrs, 665 const std::vector<MCCFIInstruction> &Instrs, in EmitCFIInstructions() argument 667 for (unsigned i = 0, N = Instrs.size(); i < N; ++i) { in EmitCFIInstructions() 668 const MCCFIInstruction &Instr = Instrs[i]; in EmitCFIInstructions()
|
/external/clang/lib/Analysis/ |
D | ThreadSafetyTIL.cpp | 158 for (auto *Instr : Instrs) in renumberInstrs()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonGenInsert.cpp | 1429 std::vector<MachineInstr*> Instrs; in removeDeadCode() local 1431 Instrs.push_back(&*I); in removeDeadCode() 1433 for (auto I = Instrs.begin(), E = Instrs.end(); I != E; ++I) { in removeDeadCode()
|
D | HexagonBitSimplify.cpp | 944 std::vector<MachineInstr*> Instrs; in runOnNode() local 946 Instrs.push_back(&*I); in runOnNode() 948 for (auto MI : Instrs) { in runOnNode() 1636 std::vector<MachineInstr*> Instrs; in processBlock() local 1638 Instrs.push_back(&*I); in processBlock() 1641 for (auto I : Instrs) { in processBlock()
|
/external/llvm/lib/MC/ |
D | MCDwarf.cpp | 1024 void EmitCFIInstructions(ArrayRef<MCCFIInstruction> Instrs, 1160 void FrameEmitterImpl::EmitCFIInstructions(ArrayRef<MCCFIInstruction> Instrs, in EmitCFIInstructions() argument 1162 for (const MCCFIInstruction &Instr : Instrs) { in EmitCFIInstructions()
|
/external/llvm/include/llvm/Analysis/ |
D | LoopAccessAnalysis.h | 193 const SmallVectorImpl<Instruction *> &Instrs) const;
|
/external/llvm/lib/Analysis/ |
D | LoopAccessAnalysis.cpp | 1448 const SmallVectorImpl<Instruction *> &Instrs) const { in print() 1450 OS.indent(Depth + 2) << *Instrs[Source] << " -> \n"; in print() 1451 OS.indent(Depth + 2) << *Instrs[Destination] << "\n"; in print()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 823 const std::vector<MCCFIInstruction> &Instrs = MMI.getFrameInstructions(); in emitCFIInstruction() local 825 const MCCFIInstruction &CFI = Instrs[CFIIndex]; in emitCFIInstruction()
|