/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | MachineBasicBlock.h | 64 Instructions Insts; 136 unsigned size() const { return (unsigned)Insts.size(); } 137 bool empty() const { return Insts.empty(); } 139 MachineInstr& front() { return Insts.front(); } 140 MachineInstr& back() { return Insts.back(); } 141 const MachineInstr& front() const { return Insts.front(); } 142 const MachineInstr& back() const { return Insts.back(); } 144 iterator begin() { return Insts.begin(); } 145 const_iterator begin() const { return Insts.begin(); } 146 iterator end() { return Insts.end(); } [all …]
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineBasicBlock.h | 87 Instructions Insts; 174 unsigned size() const { return (unsigned)Insts.size(); } 175 bool empty() const { return Insts.empty(); } 177 MachineInstr &instr_front() { return Insts.front(); } 178 MachineInstr &instr_back() { return Insts.back(); } 179 const MachineInstr &instr_front() const { return Insts.front(); } 180 const MachineInstr &instr_back() const { return Insts.back(); } 182 MachineInstr &front() { return Insts.front(); } 184 const MachineInstr &front() const { return Insts.front(); } 187 instr_iterator instr_begin() { return Insts.begin(); } [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | SSAUpdater.cpp | 325 LoadAndStorePromoter(ArrayRef<const Instruction*> Insts, in LoadAndStorePromoter() argument 327 if (Insts.empty()) return; in LoadAndStorePromoter() 330 if (const LoadInst *LI = dyn_cast<LoadInst>(Insts[0])) in LoadAndStorePromoter() 333 SomeVal = cast<StoreInst>(Insts[0])->getOperand(0); in LoadAndStorePromoter() 342 run(const SmallVectorImpl<Instruction*> &Insts) const { in run() 349 for (Instruction *User : Insts) in run() 358 for (Instruction *User : Insts) { in run() 407 if (!isInstInList(L, Insts)) continue; in run() 423 if (!isInstInList(SI, Insts)) continue; in run() 454 for (Instruction *User : Insts) { in run() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/ |
D | SSAUpdater.h | 126 LoadAndStorePromoter(const SmallVectorImpl<Instruction*> &Insts, 133 void run(const SmallVectorImpl<Instruction*> &Insts) const; 140 const SmallVectorImpl<Instruction*> &Insts) const { in isInstInList() argument 141 for (unsigned i = 0, e = Insts.size(); i != e; ++i) in isInstInList() 142 if (Insts[i] == I) in isInstInList()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | SSAUpdater.cpp | 360 LoadAndStorePromoter(const SmallVectorImpl<Instruction*> &Insts, in LoadAndStorePromoter() argument 362 if (Insts.empty()) return; in LoadAndStorePromoter() 365 if (LoadInst *LI = dyn_cast<LoadInst>(Insts[0])) in LoadAndStorePromoter() 368 SomeVal = cast<StoreInst>(Insts[0])->getOperand(0); in LoadAndStorePromoter() 377 run(const SmallVectorImpl<Instruction*> &Insts) const { in run() 384 for (unsigned i = 0, e = Insts.size(); i != e; ++i) { in run() 385 Instruction *User = Insts[i]; in run() 395 for (unsigned i = 0, e = Insts.size(); i != e; ++i) { in run() 396 Instruction *User = Insts[i]; in run() 445 if (!isInstInList(L, Insts)) continue; in run() [all …]
|
/external/swiftshader/third_party/LLVM/tools/llvm-objdump/ |
D | MCFunction.h | 49 std::vector<MCDecodedInst> Insts; variable 53 ArrayRef<MCDecodedInst> getInsts() const { return Insts; } in getInsts() 61 void addInst(const MCDecodedInst &Inst) { Insts.push_back(Inst); } in addInst() 65 return Insts.size() < RHS.Insts.size();
|
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
D | CodeGenTarget.cpp | 218 std::vector<Record*> Insts = Records.getAllDerivedDefinitions("Instruction"); in ReadInstructions() local 219 if (Insts.size() <= 2) in ReadInstructions() 223 for (unsigned i = 0, e = Insts.size(); i != e; ++i) in ReadInstructions() 224 Instructions[Insts[i]] = new CodeGenInstruction(Insts[i]); in ReadInstructions() 229 const DenseMap<const Record*, CodeGenInstruction*> &Insts, in GetInstByName() argument 234 I = Insts.find(Rec); in GetInstByName() 235 if (Rec == 0 || I == Insts.end()) in GetInstByName() 272 const DenseMap<const Record*, CodeGenInstruction*> &Insts = getInstructions(); in ComputeInstrsByEnum() local 274 const CodeGenInstruction *Instr = GetInstByName(*p, Insts, Records); in ComputeInstrsByEnum() 282 I = Insts.begin(), E = Insts.end(); I != E; ++I) { in ComputeInstrsByEnum() [all …]
|
D | CodeEmitterGen.cpp | 33 void CodeEmitterGen::reverseBits(std::vector<Record*> &Insts) { in reverseBits() argument 34 for (std::vector<Record*>::iterator I = Insts.begin(), E = Insts.end(); in reverseBits() 212 std::vector<Record*> Insts = Records.getAllDerivedDefinitions("Instruction"); in run() local 215 if (Target.isLittleEndianEncoding()) reverseBits(Insts); in run() 261 for (std::vector<Record*>::iterator IC = Insts.begin(), EC = Insts.end(); in run()
|
D | PseudoLoweringEmitter.cpp | 227 std::vector<Record*> Insts; in run() local 232 Insts.push_back(I->second); in run() 236 for (unsigned i = 0, e = Insts.size(); i != e; ++i) in run() 237 evaluateExpansion(Insts[i]); in run()
|
D | AsmWriterEmitter.cpp | 49 static void EmitInstructions(std::vector<AsmWriterInst> &Insts, in EmitInstructions() argument 51 AsmWriterInst FirstInst = Insts.back(); in EmitInstructions() 52 Insts.pop_back(); in EmitInstructions() 56 for (unsigned i = Insts.size(); i != 0; --i) { in EmitInstructions() 57 unsigned DiffOp = Insts[i-1].MatchesAllButOneOp(FirstInst); in EmitInstructions() 65 SimilarInsts.push_back(Insts[i-1]); in EmitInstructions() 66 Insts.erase(Insts.begin()+i-1); in EmitInstructions()
|
D | CodeEmitterGen.h | 37 void reverseBits(std::vector<Record*> &Insts);
|
/external/llvm/utils/TableGen/ |
D | CodeGenTarget.cpp | 278 std::vector<Record*> Insts = Records.getAllDerivedDefinitions("Instruction"); in ReadInstructions() local 279 if (Insts.size() <= 2) in ReadInstructions() 283 for (unsigned i = 0, e = Insts.size(); i != e; ++i) in ReadInstructions() 284 Instructions[Insts[i]] = llvm::make_unique<CodeGenInstruction>(Insts[i]); in ReadInstructions() 290 std::unique_ptr<CodeGenInstruction>> &Insts, in GetInstByName() argument 294 const auto I = Insts.find(Rec); in GetInstByName() 295 if (!Rec || I == Insts.end()) in GetInstByName() 307 const auto &Insts = getInstructions(); in ComputeInstrsByEnum() local 309 const CodeGenInstruction *Instr = GetInstByName(*p, Insts, Records); in ComputeInstrsByEnum() 316 for (const auto &I : Insts) { in ComputeInstrsByEnum() [all …]
|
D | PseudoLoweringEmitter.cpp | 279 std::vector<Record*> Insts; in run() local 283 Insts.push_back(D.second.get()); in run() 287 for (unsigned i = 0, e = Insts.size(); i != e; ++i) in run() 288 evaluateExpansion(Insts[i]); in run()
|
D | CodeEmitterGen.cpp | 224 std::vector<Record*> Insts = Records.getAllDerivedDefinitions("Instruction"); in run() local 265 for (std::vector<Record*>::iterator IC = Insts.begin(), EC = Insts.end(); in run()
|
D | AsmWriterEmitter.cpp | 82 static void EmitInstructions(std::vector<AsmWriterInst> &Insts, in EmitInstructions() argument 84 AsmWriterInst FirstInst = Insts.back(); in EmitInstructions() 85 Insts.pop_back(); in EmitInstructions() 89 for (unsigned i = Insts.size(); i != 0; --i) { in EmitInstructions() 90 unsigned DiffOp = Insts[i-1].MatchesAllButOneOp(FirstInst); in EmitInstructions() 98 SimilarInsts.push_back(Insts[i-1]); in EmitInstructions() 99 Insts.erase(Insts.begin()+i-1); in EmitInstructions()
|
/external/llvm/lib/Target/Mips/ |
D | MipsAnalyzeImmediate.cpp | 106 void MipsAnalyzeImmediate::GetShortestSeq(InstSeqLs &SeqLs, InstSeq &Insts) { in GetShortestSeq() argument 121 Insts.clear(); in GetShortestSeq() 122 Insts.append(ShortestSeq->begin(), ShortestSeq->end()); in GetShortestSeq() 151 GetShortestSeq(SeqLs, Insts); in Analyze() 153 return Insts; in Analyze()
|
D | MipsAnalyzeImmediate.h | 55 void GetShortestSeq(InstSeqLs &SeqLs, InstSeq &Insts); 59 InstSeq Insts; variable
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | SSAUpdater.h | 139 LoadAndStorePromoter(ArrayRef<const Instruction*> Insts, 148 void run(const SmallVectorImpl<Instruction*> &Insts) const; 155 const SmallVectorImpl<Instruction*> &Insts) const;
|
/external/swiftshader/third_party/LLVM/tools/bugpoint/ |
D | CrashDebugger.cpp | 382 &Insts) { in TestInsts() argument 389 for (unsigned i = 0, e = Insts.size(); i != e; ++i) { in TestInsts() 390 assert(!isa<TerminatorInst>(Insts[i])); in TestInsts() 391 Instructions.insert(cast<Instruction>(VMap[Insts[i]])); in TestInsts() 422 Insts.clear(); in TestInsts() 425 Insts.push_back(*I); in TestInsts() 529 std::vector<const Instruction*> Insts; in DebugACrash() local 537 Insts.push_back(I); in DebugACrash() 539 ReduceCrashingInstructions(BD, TestFn).reduceList(Insts, Error); in DebugACrash()
|
/external/llvm/tools/bugpoint/ |
D | CrashDebugger.cpp | 457 &Insts) { in TestInsts() argument 464 for (unsigned i = 0, e = Insts.size(); i != e; ++i) { in TestInsts() 465 assert(!isa<TerminatorInst>(Insts[i])); in TestInsts() 466 Instructions.insert(cast<Instruction>(VMap[Insts[i]])); in TestInsts() 498 Insts.clear(); in TestInsts() 500 Insts.push_back(Inst); in TestInsts() 712 std::vector<const Instruction*> Insts; in ReduceInsts() local 717 Insts.push_back(&I); in ReduceInsts() 719 ReduceCrashingInstructions(BD, TestFn).reduceList(Insts, Error); in ReduceInsts()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64A57FPLoadBalancing.cpp | 198 std::set<MachineInstr*> Insts; member in __anon32224d0b0211::Chain 212 Insts.insert(MI); in Chain() 225 Insts.insert(MI); in add() 229 bool contains(MachineInstr &MI) { return Insts.count(&MI) > 0; } in contains() 233 return Insts.size(); in size()
|
D | AArch64AddressTypePromotion.cpp | 381 Instructions &Insts = Entry.second; in mergeSExts() local 383 for (Instruction *Inst : Insts) { in mergeSExts()
|
/external/llvm/lib/CodeGen/ |
D | MachinePipeliner.cpp | 671 std::deque<SUnit *> &Insts); 3626 std::deque<SUnit *> &Insts) { in orderDependence() argument 3636 for (std::deque<SUnit *>::iterator I = Insts.begin(), E = Insts.end(); I != E; in orderDependence() 3736 SUnit *UseSU = Insts.at(MoveUse); in orderDependence() 3737 SUnit *DefSU = Insts.at(MoveDef); in orderDependence() 3739 Insts.erase(Insts.begin() + MoveUse); in orderDependence() 3740 Insts.erase(Insts.begin() + MoveDef); in orderDependence() 3742 Insts.erase(Insts.begin() + MoveDef); in orderDependence() 3743 Insts.erase(Insts.begin() + MoveUse); in orderDependence() 3745 if (orderDependence(SSD, UseSU, Insts)) { in orderDependence() [all …]
|
/external/llvm/include/llvm/Transforms/Scalar/ |
D | Reassociate.h | 94 SetVector<AssertingVH<Instruction>> &Insts);
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | ScalarReplAggregates.cpp | 930 AllocaPromoter(const SmallVectorImpl<Instruction*> &Insts, SSAUpdater &S, in AllocaPromoter() argument 932 : LoadAndStorePromoter(Insts, S), AI(0), DIB(DB) {} in AllocaPromoter() 934 void run(AllocaInst *AI, const SmallVectorImpl<Instruction*> &Insts) { in run() argument 946 LoadAndStorePromoter::run(Insts); in run() 961 const SmallVectorImpl<Instruction*> &Insts) const { in isInstInList() 1299 SmallVector<Instruction*, 64> Insts; in performPromotion() local 1322 Insts.push_back(cast<Instruction>(*UI)); in performPromotion() 1323 AllocaPromoter(Insts, SSA, &DIB).run(AI, Insts); in performPromotion() 1324 Insts.clear(); in performPromotion()
|