Searched refs:Insts (Results 1 - 22 of 22) sorted by relevance

/external/llvm/lib/Target/Mips/
H A DMipsAnalyzeImmediate.h54 /// return it in Insts.
55 void GetShortestSeq(InstSeqLs &SeqLs, InstSeq &Insts);
59 InstSeq Insts; member in class:llvm::MipsAnalyzeImmediate
H A DMipsAnalyzeImmediate.cpp106 void MipsAnalyzeImmediate::GetShortestSeq(InstSeqLs &SeqLs, InstSeq &Insts) { argument
121 Insts.clear();
122 Insts.append(ShortestSeq->begin(), ShortestSeq->end());
150 // Set Insts to the shortest instruction sequence.
151 GetShortestSeq(SeqLs, Insts);
153 return Insts;
/external/llvm/include/llvm/CodeGen/
H A DMachineBasicBlock.h85 Instructions Insts; member in class:llvm::MachineBasicBlock
238 unsigned size() const { return (unsigned)Insts.size(); }
239 bool empty() const { return Insts.empty(); }
241 MachineInstr &instr_front() { return Insts.front(); }
242 MachineInstr &instr_back() { return Insts.back(); }
243 const MachineInstr &instr_front() const { return Insts.front(); }
244 const MachineInstr &instr_back() const { return Insts.back(); }
246 MachineInstr &front() { return Insts.front(); }
248 const MachineInstr &front() const { return Insts.front(); }
251 instr_iterator instr_begin() { return Insts
[all...]
/external/llvm/include/llvm/Transforms/Utils/
H A DSSAUpdater.h139 LoadAndStorePromoter(ArrayRef<const Instruction*> Insts,
145 /// Insts is a list of loads and stores to promote, and Name is the basename
148 void run(const SmallVectorImpl<Instruction*> &Insts) const;
152 /// The Insts list is the one passed into the constructor. Clients should
155 const SmallVectorImpl<Instruction*> &Insts) const;
H A DLoopUtils.h141 /// Returns true if instruction I has multiple uses in Insts
143 SmallPtrSetImpl<Instruction *> &Insts);
/external/llvm/lib/Transforms/Utils/
H A DSSAUpdater.cpp325 LoadAndStorePromoter(ArrayRef<const Instruction*> Insts, argument
327 if (Insts.empty()) return;
330 if (const LoadInst *LI = dyn_cast<LoadInst>(Insts[0]))
333 SomeVal = cast<StoreInst>(Insts[0])->getOperand(0);
342 run(const SmallVectorImpl<Instruction*> &Insts) const {
349 for (Instruction *User : Insts)
358 for (Instruction *User : Insts) {
407 if (!isInstInList(L, Insts)) continue;
423 if (!isInstInList(SI, Insts)) continue;
454 for (Instruction *User : Insts) {
[all...]
H A DLoopUtils.cpp454 Instruction *I, SmallPtrSetImpl<Instruction *> &Insts) {
458 if (Insts.count(dyn_cast<Instruction>(*Use)))
453 hasMultipleUsesOf( Instruction *I, SmallPtrSetImpl<Instruction *> &Insts) argument
/external/llvm/utils/TableGen/
H A DCodeGenTarget.cpp278 std::vector<Record*> Insts = Records.getAllDerivedDefinitions("Instruction"); local
279 if (Insts.size() <= 2)
283 for (unsigned i = 0, e = Insts.size(); i != e; ++i)
284 Instructions[Insts[i]] = llvm::make_unique<CodeGenInstruction>(Insts[i]);
290 std::unique_ptr<CodeGenInstruction>> &Insts,
294 const auto I = Insts.find(Rec);
295 if (!Rec || I == Insts.end())
312 const auto &Insts = getInstructions(); local
314 const CodeGenInstruction *Instr = GetInstByName(*p, Insts, Record
288 GetInstByName(const char *Name, const DenseMap<const Record*, std::unique_ptr<CodeGenInstruction>> &Insts, RecordKeeper &Records) argument
[all...]
H A DPseudoLoweringEmitter.cpp279 std::vector<Record*> Insts; local
283 Insts.push_back(D.second.get());
287 for (unsigned i = 0, e = Insts.size(); i != e; ++i)
288 evaluateExpansion(Insts[i]);
H A DCodeEmitterGen.cpp225 std::vector<Record*> Insts = Records.getAllDerivedDefinitions("Instruction"); local
270 for (std::vector<Record*>::iterator IC = Insts.begin(), EC = Insts.end();
H A DAsmWriterEmitter.cpp88 static void EmitInstructions(std::vector<AsmWriterInst> &Insts, argument
90 AsmWriterInst FirstInst = Insts.back();
91 Insts.pop_back();
95 for (unsigned i = Insts.size(); i != 0; --i) {
96 unsigned DiffOp = Insts[i-1].MatchesAllButOneOp(FirstInst);
104 SimilarInsts.push_back(Insts[i-1]);
105 Insts.erase(Insts.begin()+i-1);
H A DFixedLenDecoderEmitter.cpp340 FilterChooser(const std::vector<const CodeGenInstruction*> &Insts, argument
345 : AllInstructions(Insts), Opcodes(IDs), Operands(Ops), Filters(),
351 FilterChooser(const std::vector<const CodeGenInstruction*> &Insts, argument
356 : AllInstructions(Insts), Opcodes(IDs), Operands(Ops),
/external/llvm/tools/bugpoint/
H A DCrashDebugger.cpp456 &Insts) {
463 for (unsigned i = 0, e = Insts.size(); i != e; ++i) {
464 assert(!isa<TerminatorInst>(Insts[i]));
465 Instructions.insert(cast<Instruction>(VMap[Insts[i]]));
497 Insts.clear();
499 Insts.push_back(Inst);
744 std::vector<const Instruction*> Insts; local
749 Insts.push_back(&I);
751 ReduceCrashingInstructions(BD, TestFn).reduceList(Insts, Error);
455 TestInsts(std::vector<const Instruction*> &Insts) argument
/external/llvm/lib/Target/AArch64/
H A DAArch64A57FPLoadBalancing.cpp194 std::set<MachineInstr*> Insts; member in class:__anon12422::Chain
208 Insts.insert(MI);
221 Insts.insert(MI);
225 bool contains(MachineInstr *MI) { return Insts.count(MI) > 0; }
229 return Insts.size();
H A DAArch64AddressTypePromotion.cpp384 Instructions &Insts = Entry.second; local
386 for (Instruction *Inst : Insts) {
/external/llvm/lib/Transforms/Scalar/
H A DScalarReplAggregates.cpp1056 AllocaPromoter(ArrayRef<Instruction*> Insts, SSAUpdater &S, argument
1058 : LoadAndStorePromoter(Insts, S), AI(nullptr), DIB(DB) {}
1060 void run(AllocaInst *AI, const SmallVectorImpl<Instruction*> &Insts) { argument
1073 LoadAndStorePromoter::run(Insts);
1088 const SmallVectorImpl<Instruction*> &Insts) const override {
1425 SmallVector<Instruction*, 64> Insts; local
1447 Insts.push_back(cast<Instruction>(U));
1448 AllocaPromoter(Insts, SSA, &DIB).run(AI, Insts);
1449 Insts
[all...]
H A DLoopUnswitch.cpp356 UnswitchedValsMap &Insts = OldLoopProps.UnswitchedVals; local
372 for (UnswitchedValsIt I = Insts.begin(); I != Insts.end(); ++I) {
H A DLICM.cpp770 ArrayRef<const Instruction *> Insts,
776 : LoadAndStorePromoter(Insts, S), SomePtr(SP), PointerMustAliases(PMA),
769 LoopPromoter(Value *SP, ArrayRef<const Instruction *> Insts, SSAUpdater &S, SmallPtrSetImpl<Value *> &PMA, SmallVectorImpl<BasicBlock *> &LEB, SmallVectorImpl<Instruction *> &LIP, PredIteratorCache &PIC, AliasSetTracker &ast, LoopInfo &li, DebugLoc dl, int alignment, const AAMDNodes &AATags) argument
/external/llvm/lib/CodeGen/
H A DMachineBasicBlock.cpp44 Insts.Parent = this;
994 return Insts.erase(I);
1001 return Insts.remove(MI);
1013 return Insts.insert(I, MI);
H A DMachineFunction.cpp111 I->Insts.clearAndLeakNodesUnsafely();
/external/llvm/lib/Target/ARM/
H A DARMFrameLowering.cpp193 SmallVector<InstInfo, 4> Insts; member in struct:__anon12515::StackAdjustingInsts
198 Insts.push_back(Info);
202 auto Info = std::find_if(Insts.begin(), Insts.end(),
204 assert(Info != Insts.end() && "invalid sp adjusting instruction");
211 for (auto &Info : Insts) {
/external/llvm/lib/Analysis/
H A DLoopAccessAnalysis.cpp1286 SmallVector<Instruction *, 4> Insts;
1288 std::back_inserter(Insts),
1290 return Insts;

Completed in 345 milliseconds