/freebsd-10.2-release/contrib/llvm/lib/Target/Sparc/ |
H A D | SparcJITInfo.cpp | 125 SmallVectorImpl<uint32_t> &Insts) { 130 Insts.push_back(JMP_INST(0, LO10(Addr), scratch)); 131 Insts.push_back(NOP_INST); 139 Insts.push_back(SETHI_INST(HI22(Addr), scratch)); 140 Insts.push_back(JMP_INST(scratch, LO10(Addr), scratch)); 141 Insts.push_back(SUB_INST(scratch, 4, scratch)); 150 Insts.push_back(SETHI_INST(HIX22(Addr), scratch)); 151 Insts.push_back(XOR_INST(scratch, LOX10(Addr), scratch)); 152 Insts.push_back(JMP_INST(scratch, 0, scratch)); 153 Insts 123 emitInstrForIndirectJump(intptr_t Addr, unsigned scratch, SmallVectorImpl<uint32_t> &Insts) argument 195 SmallVector<uint32_t, 8> Insts; local 235 SmallVector<uint32_t, 8> Insts; local [all...] |
/freebsd-10.2-release/contrib/llvm/lib/MC/ |
H A D | MCAtom.cpp | 80 Insts.push_back(MCDecodedInst(I, NextInstAddress, Size)); 87 InstListTy::iterator I = Insts.begin(); 88 while (I != Insts.end() && I->Address <= TruncPt) ++I; 90 assert(I != Insts.end() && "Truncation point not found in disassembly!"); 94 Insts.erase(I, Insts.end()); 104 InstListTy::iterator I = Insts.begin(); 105 while (I != Insts.end() && I->Address < SplitPt) ++I; 106 assert(I != Insts.end() && "Split point not found in disassembly!"); 110 std::copy(I, Insts [all...] |
H A D | MCFunction.cpp | 47 MCBasicBlock::MCBasicBlock(const MCTextAtom &Insts, MCFunction *Parent) argument 48 : Insts(&Insts), Parent(Parent) { 49 getParent()->getParent()->trackBBForAtom(&Insts, this); 73 assert(Insts->getEndAddr() + 1 == SplitBB->Insts->getBeginAddr() &&
|
H A D | MCModuleYAML.cpp | 103 std::vector<Inst> Insts; member in struct:llvm::MCModuleYAML::Atom 184 IO.mapRequired("Content", A.Insts); 314 A.Insts.resize(InstCount); 317 A.Insts[i].Opcode = MCDI.Inst.getOpcode(); 318 A.Insts[i].Size = MCDI.Size; 320 A.Insts[i].Operands.resize(OpCount); 322 A.Insts[i].Operands[oi].MCOp = MCDI.Inst.getOperand(oi); 374 for (InstIt II = AI->Insts.begin(), IE = AI->Insts.end(); II != IE;
|
/freebsd-10.2-release/contrib/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;
|
/freebsd-10.2-release/contrib/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& front() { return Insts.front(); } 223 MachineInstr& back() { return Insts.back(); } 224 const MachineInstr& front() const { return Insts.front(); } 225 const MachineInstr& back() const { return Insts.back(); } 227 instr_iterator instr_begin() { return Insts.begin(); } 228 const_instr_iterator instr_begin() const { return Insts.begin(); } 229 instr_iterator instr_end() { return Insts [all...] |
/freebsd-10.2-release/contrib/llvm/lib/Transforms/Utils/ |
H A D | SSAUpdater.cpp | 325 LoadAndStorePromoter(const SmallVectorImpl<Instruction*> &Insts, argument 327 if (Insts.empty()) return; 330 if (LoadInst *LI = dyn_cast<LoadInst>(Insts[0])) 333 SomeVal = cast<StoreInst>(Insts[0])->getOperand(0); 342 run(const SmallVectorImpl<Instruction*> &Insts) const { 349 for (unsigned i = 0, e = Insts.size(); i != e; ++i) { 350 Instruction *User = Insts[i]; 360 for (unsigned i = 0, e = Insts.size(); i != e; ++i) { 361 Instruction *User = Insts[i]; 410 if (!isInstInList(L, Insts)) continu [all...] |
/freebsd-10.2-release/contrib/llvm/include/llvm/MC/ |
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(); }
|
H A D | MCFunction.h | 34 const MCTextAtom *Insts; member in class:llvm::MCBasicBlock 39 MCBasicBlock(const MCTextAtom &Insts, MCFunction *Parent); 50 const MCTextAtom *getInsts() const { return Insts; } 74 /// \brief Split block, mirrorring NewAtom = Insts->split(..). 77 /// \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);
|
/freebsd-10.2-release/contrib/llvm/include/llvm/Transforms/Utils/ |
H A D | SSAUpdater.h | 137 LoadAndStorePromoter(const SmallVectorImpl<Instruction*> &Insts, 143 /// Insts is a list of loads and stores to promote, and Name is the basename 146 void run(const SmallVectorImpl<Instruction*> &Insts) const; 151 /// The Insts list is the one passed into the constructor. Clients should 154 const SmallVectorImpl<Instruction*> &Insts) const;
|
/freebsd-10.2-release/contrib/llvm/utils/TableGen/ |
H A D | CodeEmitterGen.cpp | 46 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(); 238 std::vector<Record*> Insts = Records.getAllDerivedDefinitions("Instruction"); local 241 if (Target.isLittleEndianEncoding()) reverseBits(Insts); 286 for (std::vector<Record*>::iterator IC = Insts.begin(), EC = Insts.end();
|
H A D | CodeGenTarget.cpp | 269 std::vector<Record*> Insts = Records.getAllDerivedDefinitions("Instruction"); local 270 if (Insts.size() <= 2) 274 for (unsigned i = 0, e = Insts.size(); i != e; ++i) 275 Instructions[Insts[i]] = new CodeGenInstruction(Insts[i]); 280 const DenseMap<const Record*, CodeGenInstruction*> &Insts, 285 I = Insts.find(Rec); 286 if (Rec == 0 || I == Insts.end()) 328 const DenseMap<const Record*, CodeGenInstruction*> &Insts = getInstructions(); local 330 const CodeGenInstruction *Instr = GetInstByName(*p, Insts, Record 279 GetInstByName(const char *Name, const DenseMap<const Record*, CodeGenInstruction*> &Insts, RecordKeeper &Records) argument [all...] |
H A D | PseudoLoweringEmitter.cpp | 275 std::vector<Record*> Insts; local 280 Insts.push_back(I->second); 284 for (unsigned i = 0, e = Insts.size(); i != e; ++i) 285 evaluateExpansion(Insts[i]);
|
H A D | AsmWriterEmitter.cpp | 84 static void EmitInstructions(std::vector<AsmWriterInst> &Insts, 86 AsmWriterInst FirstInst = Insts.back(); 87 Insts.pop_back(); 91 for (unsigned i = Insts.size(); i != 0; --i) { 92 unsigned DiffOp = Insts[i-1].MatchesAllButOneOp(FirstInst); 100 SimilarInsts.push_back(Insts[i-1]); 101 Insts.erase(Insts.begin()+i-1);
|
H A D | FixedLenDecoderEmitter.cpp | 345 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),
|
/freebsd-10.2-release/contrib/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]])); 421 Insts.clear(); 424 Insts.push_back(*I); 528 std::vector<const Instruction*> Insts; local 536 Insts.push_back(I); 538 ReduceCrashingInstructions(BD, TestFn).reduceList(Insts, Error); 379 TestInsts(std::vector<const Instruction*> &Insts) argument
|
/freebsd-10.2-release/contrib/llvm/lib/Transforms/Scalar/ |
H A D | ScalarReplAggregates.cpp | 1051 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 D | LICM.cpp | 671 const SmallVectorImpl<Instruction*> &Insts, SSAUpdater &S, 677 : LoadAndStorePromoter(Insts, S), SomePtr(SP), 670 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, MDNode *TBAATag) argument
|
H A D | LoopUnswitch.cpp | 310 UnswitchedValsMap &Insts = OldLoopProps.UnswitchedVals; local 324 for (UnswitchedValsIt I = Insts.begin(); I != Insts.end(); ++I) {
|
H A D | SROA.cpp | 736 AllocaPromoter(const SmallVectorImpl<Instruction *> &Insts, SSAUpdater &S, argument 738 : LoadAndStorePromoter(Insts, S), AI(AI), DIB(DIB) {} 740 void run(const SmallVectorImpl<Instruction*> &Insts) { argument 753 LoadAndStorePromoter::run(Insts); 764 const SmallVectorImpl<Instruction*> &Insts) const { 3465 SmallVector<Instruction *, 64> Insts; local 3474 Insts.clear(); 3499 Insts.push_back(LI); 3504 Insts.push_back(SI); 3514 AllocaPromoter(Insts, SS [all...] |
/freebsd-10.2-release/contrib/llvm/lib/CodeGen/ |
H A D | MachineBasicBlock.cpp | 42 Insts.Parent = this; 967 return Insts.erase(I); 974 return Insts.remove(MI); 986 return Insts.insert(I, MI);
|
H A D | MachineFunction.cpp | 90 I->Insts.clearAndLeakNodesUnsafely();
|
/freebsd-10.2-release/contrib/llvm/lib/Transforms/Vectorize/ |
H A D | LoopVectorize.cpp | 4055 SmallPtrSet<Instruction *, 8> &Insts) { 4058 if (Insts.count(dyn_cast<Instruction>(*Use)))
|