/external/llvm/lib/Target/Mips/ |
H A D | MipsAnalyzeImmediate.h | 54 /// return it in Insts. 55 void GetShortestSeq(InstSeqLs &SeqLs, InstSeq &Insts); 59 InstSeq Insts; member in class:llvm::MipsAnalyzeImmediate
|
H A D | MipsAnalyzeImmediate.cpp | 105 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;
|
/external/llvm/lib/MC/MCAnalysis/ |
H A D | MCFunction.cpp | 42 MCBasicBlock::MCBasicBlock(const MCTextAtom &Insts, MCFunction *Parent) argument 43 : Insts(&Insts), Parent(Parent) { 44 getParent()->getParent()->trackBBForAtom(&Insts, this); 68 assert(Insts->getEndAddr() + 1 == SplitBB->Insts->getBeginAddr() &&
|
H A D | MCModuleYAML.cpp | 104 std::vector<Inst> Insts; member in struct:llvm::MCModuleYAML::Atom 187 IO.mapRequired("Content", A.Insts); 317 A.Insts.resize(InstCount); 320 A.Insts[i].Opcode = MCDI.Inst.getOpcode(); 321 A.Insts[i].Size = MCDI.Size; 323 A.Insts[i].Operands.resize(OpCount); 325 A.Insts[i].Operands[oi].MCOp = MCDI.Inst.getOperand(oi); 377 for (InstIt II = AI->Insts.begin(), IE = AI->Insts.end(); II != IE;
|
/external/llvm/include/llvm/MC/MCAnalysis/ |
H A D | MCFunction.h | 35 const MCTextAtom *Insts; member in class:llvm::MCBasicBlock 40 MCBasicBlock(const MCTextAtom &Insts, MCFunction *Parent); 51 const MCTextAtom *getInsts() const { return Insts; } 75 /// \brief Split block, mirrorring NewAtom = Insts->split(..). 78 /// \p SplitBB The result of splitting Insts, a basic block directly following 100 /// \brief Create an MCBasicBlock backed by Insts and add it to this function. 101 /// \param Insts Sequence of straight-line code backing the basic block. 103 MCBasicBlock &createBlock(const MCTextAtom &Insts);
|
H A D | MCAtom.h | 126 InstListTy Insts; member in class:llvm::MCTextAtom 138 const_iterator begin() const { return Insts.begin(); } 139 const_iterator end() const { return Insts.end(); } 141 const MCDecodedInst &back() const { return Insts.back(); } 142 const MCDecodedInst &at(size_t n) const { return Insts.at(n); } 143 size_t size() const { return Insts.size(); }
|
/external/llvm/utils/TableGen/ |
H A D | CodeEmitterGen.cpp | 236 std::vector<Record*> Insts = Records.getAllDerivedDefinitions("Instruction"); local 284 for (std::vector<Record*>::iterator IC = Insts.begin(), EC = Insts.end();
|
H A D | PseudoLoweringEmitter.cpp | 279 std::vector<Record*> Insts; local 284 Insts.push_back(I->second); 288 for (unsigned i = 0, e = Insts.size(); i != e; ++i) 289 evaluateExpansion(Insts[i]);
|
H A D | CodeGenTarget.cpp | 273 std::vector<Record*> Insts = Records.getAllDerivedDefinitions("Instruction"); local 274 if (Insts.size() <= 2) 278 for (unsigned i = 0, e = Insts.size(); i != e; ++i) 279 Instructions[Insts[i]] = new CodeGenInstruction(Insts[i]); 284 const DenseMap<const Record*, CodeGenInstruction*> &Insts, 289 I = Insts.find(Rec); 290 if (!Rec || I == Insts.end()) 305 const DenseMap<const Record*, CodeGenInstruction*> &Insts = getInstructions(); local 307 const CodeGenInstruction *Instr = GetInstByName(*p, Insts, Record 283 GetInstByName(const char *Name, const DenseMap<const Record*, CodeGenInstruction*> &Insts, RecordKeeper &Records) argument [all...] |
H A D | AsmWriterEmitter.cpp | 88 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 D | FixedLenDecoderEmitter.cpp | 344 FilterChooser(const std::vector<const CodeGenInstruction*> &Insts, argument 349 : AllInstructions(Insts), Opcodes(IDs), Operands(Ops), Filters(), 357 FilterChooser(const std::vector<const CodeGenInstruction*> &Insts, argument 362 : AllInstructions(Insts), Opcodes(IDs), Operands(Ops),
|
/external/llvm/lib/Target/AArch64/ |
H A D | AArch64AddressTypePromotion.cpp | 381 Instructions &Insts = Entry.second; local 383 for (Instruction *Inst : Insts) {
|
/external/llvm/lib/Target/Sparc/ |
H A D | SparcJITInfo.cpp | 126 SmallVectorImpl<uint32_t> &Insts) { 131 Insts.push_back(JMP_INST(0, LO10(Addr), scratch)); 132 Insts.push_back(NOP_INST); 140 Insts.push_back(SETHI_INST(HI22(Addr), scratch)); 141 Insts.push_back(JMP_INST(scratch, LO10(Addr), scratch)); 142 Insts.push_back(SUB_INST(scratch, 4, scratch)); 151 Insts.push_back(SETHI_INST(HIX22(Addr), scratch)); 152 Insts.push_back(XOR_INST(scratch, LOX10(Addr), scratch)); 153 Insts.push_back(JMP_INST(scratch, 0, scratch)); 154 Insts 124 emitInstrForIndirectJump(intptr_t Addr, unsigned scratch, SmallVectorImpl<uint32_t> &Insts) argument 196 SmallVector<uint32_t, 8> Insts; local 237 SmallVector<uint32_t, 8> Insts; local [all...] |
/external/llvm/tools/bugpoint/ |
H A D | CrashDebugger.cpp | 380 &Insts) { 387 for (unsigned i = 0, e = Insts.size(); i != e; ++i) { 388 assert(!isa<TerminatorInst>(Insts[i])); 389 Instructions.insert(cast<Instruction>(VMap[Insts[i]])); 422 Insts.clear(); 425 Insts.push_back(*I); 529 std::vector<const Instruction*> Insts; local 537 Insts.push_back(I); 539 ReduceCrashingInstructions(BD, TestFn).reduceList(Insts, Error); 379 TestInsts(std::vector<const Instruction*> &Insts) argument
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | LICM.cpp | 712 LoopPromoter(Value *SP, const SmallVectorImpl<Instruction *> &Insts, argument 718 : LoadAndStorePromoter(Insts, S), SomePtr(SP), PointerMustAliases(PMA),
|
H A D | LoopUnswitch.cpp | 301 UnswitchedValsMap &Insts = OldLoopProps.UnswitchedVals; local 315 for (UnswitchedValsIt I = Insts.begin(); I != Insts.end(); ++I) {
|
H A D | ScalarReplAggregates.cpp | 1059 AllocaPromoter(const SmallVectorImpl<Instruction*> &Insts, SSAUpdater &S, argument 1061 : LoadAndStorePromoter(Insts, S), AI(nullptr), DIB(DB) {} 1063 void run(AllocaInst *AI, const SmallVectorImpl<Instruction*> &Insts) { argument 1074 LoadAndStorePromoter::run(Insts); 1089 const SmallVectorImpl<Instruction*> &Insts) const override { 1414 SmallVector<Instruction*, 64> Insts; local 1436 Insts.push_back(cast<Instruction>(U)); 1437 AllocaPromoter(Insts, SSA, &DIB).run(AI, Insts); 1438 Insts [all...] |
H A D | SROA.cpp | 812 AllocaPromoter(const SmallVectorImpl<Instruction *> &Insts, SSAUpdater &S, argument 814 : LoadAndStorePromoter(Insts, S), AI(AI), DIB(DIB) {} 816 void run(const SmallVectorImpl<Instruction*> &Insts) { argument 827 LoadAndStorePromoter::run(Insts); 838 const SmallVectorImpl<Instruction*> &Insts) const override { 3548 SmallVector<Instruction *, 64> Insts; local 3557 Insts.clear(); 3582 Insts.push_back(LI); 3587 Insts.push_back(SI); 3597 AllocaPromoter(Insts, SS [all...] |
/external/llvm/lib/Transforms/Utils/ |
H A D | SSAUpdater.cpp | 324 LoadAndStorePromoter(const SmallVectorImpl<Instruction*> &Insts, argument 326 if (Insts.empty()) return; 329 if (LoadInst *LI = dyn_cast<LoadInst>(Insts[0])) 332 SomeVal = cast<StoreInst>(Insts[0])->getOperand(0); 341 run(const SmallVectorImpl<Instruction*> &Insts) const { 348 for (unsigned i = 0, e = Insts.size(); i != e; ++i) { 349 Instruction *User = Insts[i]; 359 for (unsigned i = 0, e = Insts.size(); i != e; ++i) { 360 Instruction *User = Insts[i]; 409 if (!isInstInList(L, Insts)) continu [all...] |
/external/llvm/include/llvm/CodeGen/ |
H A D | MachineBasicBlock.h | 64 Instructions Insts; member in class:llvm::MachineBasicBlock 219 unsigned size() const { return (unsigned)Insts.size(); } 220 bool empty() const { return Insts.empty(); } 222 MachineInstr &instr_front() { return Insts.front(); } 223 MachineInstr &instr_back() { return Insts.back(); } 224 const MachineInstr &instr_front() const { return Insts.front(); } 225 const MachineInstr &instr_back() const { return Insts.back(); } 227 MachineInstr &front() { return Insts.front(); } 229 const MachineInstr &front() const { return Insts.front(); } 232 instr_iterator instr_begin() { return Insts [all...] |