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

/macosx-10.10.1/llvmCore-3425.0.34/tools/llvm-objdump/
H A DMCFunction.h49 std::vector<MCDecodedInst> Insts; member in class:llvm::MCBasicBlock
53 ArrayRef<MCDecodedInst> getInsts() const { return Insts; }
61 void addInst(const MCDecodedInst &Inst) { Insts.push_back(Inst); }
65 return Insts.size() < RHS.Insts.size();
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/CodeGen/
H A DMachineBasicBlock.h64 Instructions Insts; member in class:llvm::MachineBasicBlock
216 unsigned size() const { return (unsigned)Insts.size(); }
217 bool empty() const { return Insts.empty(); }
219 MachineInstr& front() { return Insts.front(); }
220 MachineInstr& back() { return Insts.back(); }
221 const MachineInstr& front() const { return Insts.front(); }
222 const MachineInstr& back() const { return Insts.back(); }
224 instr_iterator instr_begin() { return Insts.begin(); }
225 const_instr_iterator instr_begin() const { return Insts.begin(); }
226 instr_iterator instr_end() { return Insts
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/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.cpp105 void MipsAnalyzeImmediate::GetShortestSeq(InstSeqLs &SeqLs, InstSeq &Insts) { argument
120 Insts.clear();
121 Insts.append(ShortestSeq->begin(), ShortestSeq->end());
149 // Set Insts to the shortest instruction sequence.
150 GetShortestSeq(SeqLs, Insts);
152 return Insts;
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/Utils/
H A DSSAUpdater.cpp363 LoadAndStorePromoter(const SmallVectorImpl<Instruction*> &Insts, argument
365 if (Insts.empty()) return;
368 if (LoadInst *LI = dyn_cast<LoadInst>(Insts[0]))
371 SomeVal = cast<StoreInst>(Insts[0])->getOperand(0);
380 run(const SmallVectorImpl<Instruction*> &Insts) const {
387 for (unsigned i = 0, e = Insts.size(); i != e; ++i) {
388 Instruction *User = Insts[i];
398 for (unsigned i = 0, e = Insts.size(); i != e; ++i) {
399 Instruction *User = Insts[i];
448 if (!isInstInList(L, Insts)) continu
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Transforms/Utils/
H A DSSAUpdater.h128 LoadAndStorePromoter(const SmallVectorImpl<Instruction*> &Insts,
132 /// run - This does the promotion. Insts is a list of loads and stores to
135 void run(const SmallVectorImpl<Instruction*> &Insts) const;
142 const SmallVectorImpl<Instruction*> &Insts) const;
/macosx-10.10.1/llvmCore-3425.0.34/utils/TableGen/
H A DCodeEmitterGen.cpp46 void reverseBits(std::vector<Record*> &Insts);
56 void CodeEmitterGen::reverseBits(std::vector<Record*> &Insts) { argument
57 for (std::vector<Record*>::iterator I = Insts.begin(), E = Insts.end();
235 std::vector<Record*> Insts = Records.getAllDerivedDefinitions("Instruction"); local
238 if (Target.isLittleEndianEncoding()) reverseBits(Insts);
283 for (std::vector<Record*>::iterator IC = Insts.begin(), EC = Insts.end();
H A DCodeGenTarget.cpp257 std::vector<Record*> Insts = Records.getAllDerivedDefinitions("Instruction"); local
258 if (Insts.size() <= 2)
262 for (unsigned i = 0, e = Insts.size(); i != e; ++i)
263 Instructions[Insts[i]] = new CodeGenInstruction(Insts[i]);
268 const DenseMap<const Record*, CodeGenInstruction*> &Insts,
273 I = Insts.find(Rec);
274 if (Rec == 0 || I == Insts.end())
314 const DenseMap<const Record*, CodeGenInstruction*> &Insts = getInstructions(); local
316 const CodeGenInstruction *Instr = GetInstByName(*p, Insts, Record
267 GetInstByName(const char *Name, const DenseMap<const Record*, CodeGenInstruction*> &Insts, RecordKeeper &Records) argument
[all...]
H A DPseudoLoweringEmitter.cpp274 std::vector<Record*> Insts; local
279 Insts.push_back(I->second);
283 for (unsigned i = 0, e = Insts.size(); i != e; ++i)
284 evaluateExpansion(Insts[i]);
H A DAsmWriterEmitter.cpp81 static void EmitInstructions(std::vector<AsmWriterInst> &Insts,
83 AsmWriterInst FirstInst = Insts.back();
84 Insts.pop_back();
88 for (unsigned i = Insts.size(); i != 0; --i) {
89 unsigned DiffOp = Insts[i-1].MatchesAllButOneOp(FirstInst);
97 SimilarInsts.push_back(Insts[i-1]);
98 Insts.erase(Insts.begin()+i-1);
H A DFixedLenDecoderEmitter.cpp345 FilterChooser(const std::vector<const CodeGenInstruction*> &Insts, argument
350 : AllInstructions(Insts), Opcodes(IDs), Operands(Ops), Filters(),
358 FilterChooser(const std::vector<const CodeGenInstruction*> &Insts, argument
363 : AllInstructions(Insts), Opcodes(IDs), Operands(Ops),
/macosx-10.10.1/llvmCore-3425.0.34/tools/bugpoint/
H A DCrashDebugger.cpp382 &Insts) {
389 for (unsigned i = 0, e = Insts.size(); i != e; ++i) {
390 assert(!isa<TerminatorInst>(Insts[i]));
391 Instructions.insert(cast<Instruction>(VMap[Insts[i]]));
423 Insts.clear();
426 Insts.push_back(*I);
530 std::vector<const Instruction*> Insts; local
538 Insts.push_back(I);
540 ReduceCrashingInstructions(BD, TestFn).reduceList(Insts, Error);
381 TestInsts(std::vector<const Instruction*> &Insts) argument
/macosx-10.10.1/llvmCore-3425.0.34/lib/CodeGen/
H A DMachineBasicBlock.cpp39 Insts.Parent = this;
794 return Insts.erase(I.getInstrIterator(), E.getInstrIterator());
797 return Insts.erase(I.getInstrIterator());
806 Insts.remove(MI);
810 return Insts.remove(I);
818 Insts.splice(where.getInstrIterator(), Other->Insts,
823 Insts.splice(where.getInstrIterator(), Other->Insts, From.getInstrIterator());
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/Scalar/
H A DScalarReplAggregates.cpp1051 AllocaPromoter(const SmallVectorImpl<Instruction*> &Insts, SSAUpdater &S, argument
1053 : LoadAndStorePromoter(Insts, S), AI(0), DIB(DB) {}
1055 void run(AllocaInst *AI, const SmallVectorImpl<Instruction*> &Insts) { argument
1067 LoadAndStorePromoter::run(Insts);
1082 const SmallVectorImpl<Instruction*> &Insts) const {
1415 SmallVector<Instruction*, 64> Insts; local
1438 Insts.push_back(cast<Instruction>(*UI));
1439 AllocaPromoter(Insts, SSA, &DIB).run(AI, Insts);
1440 Insts
[all...]
H A DLICM.cpp668 const SmallVectorImpl<Instruction*> &Insts, SSAUpdater &S,
673 : LoadAndStorePromoter(Insts, S), SomePtr(SP),
667 LoopPromoter(Value *SP, const SmallVectorImpl<Instruction*> &Insts, SSAUpdater &S, SmallPtrSet<Value*, 4> &PMA, SmallVectorImpl<BasicBlock*> &LEB, SmallVectorImpl<Instruction*> &LIP, AliasSetTracker &ast, DebugLoc dl, int alignment) argument
H A DSROA.cpp1194 AllocaPromoter(const SmallVectorImpl<Instruction*> &Insts, SSAUpdater &S, argument
1196 : LoadAndStorePromoter(Insts, S), AI(AI), DIB(DIB) {}
1198 void run(const SmallVectorImpl<Instruction*> &Insts) { argument
1210 LoadAndStorePromoter::run(Insts);
1219 const SmallVectorImpl<Instruction*> &Insts) const {
3198 SmallVector<Instruction*, 64> Insts; local
3224 Insts.push_back(I);
3226 AllocaPromoter(Insts, SSA, *AI, DIB).run(Insts);
3227 Insts
[all...]
H A DLoopUnswitch.cpp303 UnswitchedValsMap& Insts = OldLoopProps.UnswitchedVals; local
317 for (UnswitchedValsIt I = Insts.begin(); I != Insts.end(); ++I) {

Completed in 170 milliseconds