/minix/external/bsd/llvm/dist/llvm/include/llvm/CodeGen/ |
H A D | MachineBasicBlock.h | 64 Instructions Insts; 219 unsigned size() const { return (unsigned)Insts.size(); } 220 bool empty() const { return Insts.empty(); } 474 void pop_front() { Insts.pop_front(); } 475 void pop_back() { Insts.pop_back(); } 491 Insts.insert(I.getInstrIterator(), S, E); 500 return Insts.insert(I.getInstrIterator(), MI); 509 return Insts.insertAfter(I.getInstrIterator(), MI); 553 return Insts.remove(I); 564 Insts.clear(); [all …]
|
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | SSAUpdater.cpp | 326 if (Insts.empty()) return; in LoadAndStorePromoter() 329 if (LoadInst *LI = dyn_cast<LoadInst>(Insts[0])) in LoadAndStorePromoter() 332 SomeVal = cast<StoreInst>(Insts[0])->getOperand(0); in LoadAndStorePromoter() 341 run(const SmallVectorImpl<Instruction*> &Insts) const { in run() 348 for (unsigned i = 0, e = Insts.size(); i != e; ++i) { in run() 349 Instruction *User = Insts[i]; in run() 360 Instruction *User = Insts[i]; in run() 409 if (!isInstInList(L, Insts)) continue; in run() 425 if (!isInstInList(SI, Insts)) continue; in run() 458 Instruction *User = Insts[i]; in run() [all …]
|
/minix/external/bsd/llvm/dist/llvm/lib/Target/Mips/ |
H A 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()
|
H A D | MipsAnalyzeImmediate.h | 55 void GetShortestSeq(InstSeqLs &SeqLs, InstSeq &Insts); 59 InstSeq Insts; variable
|
/minix/external/bsd/llvm/dist/llvm/utils/TableGen/ |
H A D | CodeGenTarget.cpp | 267 if (Insts.size() <= 2) in ReadInstructions() 271 for (unsigned i = 0, e = Insts.size(); i != e; ++i) in ReadInstructions() 272 Instructions[Insts[i]] = llvm::make_unique<CodeGenInstruction>(Insts[i]); in ReadInstructions() 278 std::unique_ptr<CodeGenInstruction>> &Insts, in GetInstByName() argument 282 const auto I = Insts.find(Rec); in GetInstByName() 283 if (!Rec || I == Insts.end()) in GetInstByName() 300 const auto &Insts = getInstructions(); in ComputeInstrsByEnum() local 302 const CodeGenInstruction *Instr = GetInstByName(*p, Insts, Records); in ComputeInstrsByEnum() 309 for (const auto &I : Insts) { in ComputeInstrsByEnum() 315 assert(InstrsByEnum.size() == Insts.size() && "Missing predefined instr"); in ComputeInstrsByEnum() [all …]
|
H A 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()
|
H A D | CodeEmitterGen.cpp | 225 std::vector<Record*> Insts = Records.getAllDerivedDefinitions("Instruction"); in run() local 270 for (std::vector<Record*>::iterator IC = Insts.begin(), EC = Insts.end(); in run()
|
H A D | AsmWriterEmitter.cpp | 88 static void EmitInstructions(std::vector<AsmWriterInst> &Insts, in EmitInstructions() argument 90 AsmWriterInst FirstInst = Insts.back(); in EmitInstructions() 91 Insts.pop_back(); in EmitInstructions() 95 for (unsigned i = Insts.size(); i != 0; --i) { in EmitInstructions() 96 unsigned DiffOp = Insts[i-1].MatchesAllButOneOp(FirstInst); in EmitInstructions() 104 SimilarInsts.push_back(Insts[i-1]); in EmitInstructions() 105 Insts.erase(Insts.begin()+i-1); in EmitInstructions()
|
H A D | FixedLenDecoderEmitter.cpp | 340 FilterChooser(const std::vector<const CodeGenInstruction*> &Insts, in FilterChooser() argument 345 : AllInstructions(Insts), Opcodes(IDs), Operands(Ops), Filters(), in FilterChooser() 351 FilterChooser(const std::vector<const CodeGenInstruction*> &Insts, in FilterChooser() argument 356 : AllInstructions(Insts), Opcodes(IDs), Operands(Ops), in FilterChooser()
|
/minix/external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/ |
H A D | SSAUpdater.h | 138 LoadAndStorePromoter(const SmallVectorImpl<Instruction*> &Insts, 147 void run(const SmallVectorImpl<Instruction*> &Insts) const; 154 const SmallVectorImpl<Instruction*> &Insts) const;
|
/minix/external/bsd/llvm/dist/llvm/tools/bugpoint/ |
H A D | CrashDebugger.cpp | 379 &Insts) { in TestInsts() argument 386 for (unsigned i = 0, e = Insts.size(); i != e; ++i) { in TestInsts() 387 assert(!isa<TerminatorInst>(Insts[i])); in TestInsts() 388 Instructions.insert(cast<Instruction>(VMap[Insts[i]])); in TestInsts() 421 Insts.clear(); in TestInsts() 423 Insts.push_back(Inst); in TestInsts() 527 std::vector<const Instruction*> Insts; in DebugACrash() local 535 Insts.push_back(I); in DebugACrash() 537 ReduceCrashingInstructions(BD, TestFn).reduceList(Insts, Error); in DebugACrash()
|
/minix/external/bsd/llvm/dist/llvm/lib/Target/AArch64/ |
H A D | AArch64A57FPLoadBalancing.cpp | 181 std::set<MachineInstr*> Insts; member in __anone0283e540111::Chain 195 Insts.insert(MI); in Chain() 208 Insts.insert(MI); in add() 212 bool contains(MachineInstr *MI) { return Insts.count(MI) > 0; } in contains() 216 return Insts.size(); in size()
|
H A D | AArch64AddressTypePromotion.cpp | 381 Instructions &Insts = Entry.second; in mergeSExts() local 383 for (Instruction *Inst : Insts) { in mergeSExts()
|
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | ScalarReplAggregates.cpp | 1064 AllocaPromoter(const SmallVectorImpl<Instruction*> &Insts, SSAUpdater &S, in AllocaPromoter() argument 1066 : LoadAndStorePromoter(Insts, S), AI(nullptr), DIB(DB) {} in AllocaPromoter() 1068 void run(AllocaInst *AI, const SmallVectorImpl<Instruction*> &Insts) { in run() argument 1081 LoadAndStorePromoter::run(Insts); in run() 1096 const SmallVectorImpl<Instruction*> &Insts) const override { in isInstInList() 1428 SmallVector<Instruction*, 64> Insts; in performPromotion() local 1450 Insts.push_back(cast<Instruction>(U)); in performPromotion() 1451 AllocaPromoter(Insts, SSA, &DIB).run(AI, Insts); in performPromotion() 1452 Insts.clear(); in performPromotion()
|
H A D | LoopUnswitch.cpp | 309 UnswitchedValsMap &Insts = OldLoopProps.UnswitchedVals; in cloneData() local 323 for (UnswitchedValsIt I = Insts.begin(); I != Insts.end(); ++I) { in cloneData()
|
H A D | SROA.cpp | 1087 AllocaPromoter(const SmallVectorImpl<Instruction *> &Insts, SSAUpdater &S, in AllocaPromoter() argument 1089 : LoadAndStorePromoter(Insts, S), AI(AI), DIB(DIB) {} in AllocaPromoter() 1091 void run(const SmallVectorImpl<Instruction *> &Insts) { in run() argument 1104 LoadAndStorePromoter::run(Insts); in run() 1116 const SmallVectorImpl<Instruction *> &Insts) const override { in isInstInList() 4301 SmallVector<Instruction *, 64> Insts; in promoteAllocas() local 4310 Insts.clear(); in promoteAllocas() 4335 Insts.push_back(LI); in promoteAllocas() 4340 Insts.push_back(SI); in promoteAllocas() 4350 AllocaPromoter(Insts, SSA, *AI, DIB).run(Insts); in promoteAllocas()
|
H A D | LICM.cpp | 732 LoopPromoter(Value *SP, const SmallVectorImpl<Instruction *> &Insts, in LoopPromoter() argument 738 : LoadAndStorePromoter(Insts, S), SomePtr(SP), PointerMustAliases(PMA), in LoopPromoter()
|
/minix/external/bsd/llvm/dist/llvm/lib/CodeGen/ |
H A D | MachineBasicBlock.cpp | 43 Insts.Parent = this; in MachineBasicBlock() 947 return Insts.erase(I); in erase() 954 return Insts.remove(MI); in remove_instr() 966 return Insts.insert(I, MI); in insert()
|
H A D | MachineFunction.cpp | 94 I->Insts.clearAndLeakNodesUnsafely(); in ~MachineFunction()
|
/minix/external/bsd/llvm/dist/llvm/lib/Target/ARM/ |
H A D | ARMFrameLowering.cpp | 180 SmallVector<InstInfo, 4> Insts; member 185 Insts.push_back(Info); in addInst() 189 auto Info = std::find_if(Insts.begin(), Insts.end(), in addExtraBytes() 191 assert(Info != Insts.end() && "invalid sp adjusting instruction"); in addExtraBytes() 198 for (auto &Info : Insts) { in emitDefCFAOffsets()
|
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Vectorize/ |
H A D | LoopVectorize.cpp | 5001 SmallPtrSetImpl<Instruction *> &Insts) { in hasMultipleUsesOf() argument 5004 if (Insts.count(dyn_cast<Instruction>(*Use))) in hasMultipleUsesOf()
|