| /freebsd-9-stable/contrib/llvm/lib/Target/ARM/ |
| D | Thumb2SizeReduction.cpp | 152 bool VerifyPredAndCC(MachineInstr *MI, const ReduceEntry &Entry, 157 const ReduceEntry &Entry); 160 const ReduceEntry &Entry, bool LiveCPSR, bool IsSelfLoop); 165 const ReduceEntry &Entry, bool LiveCPSR, 171 const ReduceEntry &Entry, bool LiveCPSR, 293 Thumb2SizeReduce::VerifyPredAndCC(MachineInstr *MI, const ReduceEntry &Entry, in VerifyPredAndCC() argument 296 if ((is2Addr && Entry.PredCC2 == 0) || in VerifyPredAndCC() 297 (!is2Addr && Entry.PredCC1 == 0)) { in VerifyPredAndCC() 316 } else if ((is2Addr && Entry.PredCC2 == 2) || in VerifyPredAndCC() 317 (!is2Addr && Entry.PredCC1 == 2)) { in VerifyPredAndCC() [all …]
|
| D | ARMSelectionDAGInfo.cpp | 155 TargetLowering::ArgListEntry Entry; in EmitTargetCodeForMemset() local 159 Entry.Node = Dst; in EmitTargetCodeForMemset() 160 Entry.Ty = IntPtrTy; in EmitTargetCodeForMemset() 161 Args.push_back(Entry); in EmitTargetCodeForMemset() 164 Entry.Node = Size; in EmitTargetCodeForMemset() 165 Entry.Ty = IntPtrTy; in EmitTargetCodeForMemset() 166 Entry.isSExt = false; in EmitTargetCodeForMemset() 167 Args.push_back(Entry); in EmitTargetCodeForMemset() 176 Entry.Node = Src; in EmitTargetCodeForMemset() 177 Entry.Ty = Type::getInt32Ty(*DAG.getContext()); in EmitTargetCodeForMemset() [all …]
|
| /freebsd-9-stable/contrib/llvm/lib/IR/ |
| D | Value.cpp | 557 ValueHandleBase *&Entry = pImpl->ValueHandles[VP.getPointer()]; in AddToUseList() local 558 assert(Entry != 0 && "Value doesn't have any handles?"); in AddToUseList() 559 AddToExistingUseList(&Entry); in AddToUseList() 571 ValueHandleBase *&Entry = Handles[VP.getPointer()]; in AddToUseList() local 572 assert(Entry == 0 && "Value really did already have handles?"); in AddToUseList() 573 AddToExistingUseList(&Entry); in AddToUseList() 626 ValueHandleBase *Entry = pImpl->ValueHandles[V]; in ValueIsDeleted() local 627 assert(Entry && "Value bit set but no entries exist"); in ValueIsDeleted() 638 for (ValueHandleBase Iterator(Assert, *Entry); Entry; Entry = Iterator.Next) { in ValueIsDeleted() 640 Iterator.AddToExistingUseListAfter(Entry); in ValueIsDeleted() [all …]
|
| D | DebugLoc.cpp | 236 std::pair<DebugRecVH, DebugRecVH> &Entry = Ctx->ScopeInlinedAtRecords[-Idx-1]; in deleted() local 237 assert((this == &Entry.first || this == &Entry.second) && in deleted() 240 MDNode *OldScope = Entry.first.get(); in deleted() 241 MDNode *OldInlinedAt = Entry.second.get(); in deleted() 253 Entry.first.Idx = Entry.second.Idx = 0; in deleted() 290 std::pair<DebugRecVH, DebugRecVH> &Entry = Ctx->ScopeInlinedAtRecords[-Idx-1]; in allUsesReplacedWith() local 291 assert((this == &Entry.first || this == &Entry.second) && in allUsesReplacedWith() 294 MDNode *OldScope = Entry.first.get(); in allUsesReplacedWith() 295 MDNode *OldInlinedAt = Entry.second.get(); in allUsesReplacedWith() 307 int NewIdx = Ctx->getOrAddScopeInlinedAtIdxEntry(Entry.first.get(), in allUsesReplacedWith() [all …]
|
| D | Type.cpp | 320 IntegerType *&Entry = C.pImpl->IntegerTypes[NumBits]; in get() local 322 if (Entry == 0) in get() 323 Entry = new (C.pImpl->TypeAllocator) IntegerType(C, NumBits); in get() 325 return Entry; in get() 463 EntryTy *Entry = &getContext().pImpl->NamedStructTypes.GetOrCreateValue(Name); in setName() local 466 if (Entry->getValue()) { in setName() 477 Entry = &getContext().pImpl-> in setName() 479 } while (Entry->getValue()); in setName() 483 Entry->setValue(this); in setName() 488 SymbolTableEntry = Entry; in setName() [all …]
|
| /freebsd-9-stable/contrib/llvm/tools/clang/lib/Basic/ |
| D | SourceManager.cpp | 183 llvm::StringMapEntry<unsigned> &Entry = in getLineTableFilenameID() local 185 if (Entry.getValue() != ~0U) in getLineTableFilenameID() 186 return Entry.getValue(); in getLineTableFilenameID() 189 Entry.setValue(FilenamesByID.size()); in getLineTableFilenameID() 190 FilenamesByID.push_back(&Entry); in getLineTableFilenameID() 303 const SLocEntry &Entry = getSLocEntry(LocInfo.first, &Invalid); in AddLineNote() local 304 if (!Entry.isFile() || Invalid) in AddLineNote() 307 const SrcMgr::FileInfo &FileInfo = Entry.getFile(); in AddLineNote() 333 const SLocEntry &Entry = getSLocEntry(LocInfo.first, &Invalid); in AddLineNote() local 334 if (!Entry.isFile() || Invalid) in AddLineNote() [all …]
|
| D | FileManager.cpp | 97 void erase(const FileEntry *Entry) { UniqueFiles.erase(*Entry); } in erase() argument 434 getBufferForFile(const FileEntry *Entry, std::string *ErrorStr, in getBufferForFile() argument 439 uint64_t FileSize = Entry->getSize(); in getBufferForFile() 445 const char *Filename = Entry->getName(); in getBufferForFile() 447 if (Entry->FD != -1) { in getBufferForFile() 448 ec = llvm::MemoryBuffer::getOpenFile(Entry->FD, Filename, Result, FileSize); in getBufferForFile() 452 close(Entry->FD); in getBufferForFile() 453 Entry->FD = -1; in getBufferForFile() 466 SmallString<128> FilePath(Entry->getName()); in getBufferForFile() 521 void FileManager::invalidateCache(const FileEntry *Entry) { in invalidateCache() argument [all …]
|
| /freebsd-9-stable/contrib/llvm/include/llvm/Support/ |
| D | PredIteratorCache.h | 43 BasicBlock **&Entry = BlockToPredsMap[BB]; in GetPreds() local 44 if (Entry) return Entry; in GetPreds() 51 Entry = Memory.Allocate<BasicBlock*>(PredCache.size()); in GetPreds() 52 std::copy(PredCache.begin(), PredCache.end(), Entry); in GetPreds() 53 return Entry; in GetPreds()
|
| D | ArrayRecycler.h | 46 FreeList *Entry = Bucket[Idx]; in pop() local 47 if (!Entry) in pop() 49 Bucket[Idx] = Entry->Next; in pop() 50 return reinterpret_cast<T*>(Entry); in pop() 58 FreeList *Entry = reinterpret_cast<FreeList*>(Ptr); in push() local 61 Entry->Next = Bucket[Idx]; in push() 62 Bucket[Idx] = Entry; in push()
|
| D | Registry.h | 49 static const char *nameof(const entry &Entry) { return Entry.getName(); } in nameof() argument 50 static const char *descof(const entry &Entry) { return Entry.getDesc(); } in descof() argument 195 entry Entry; variable 202 : Entry(Name, Desc, CtorFn), Node(Entry) {} in Add()
|
| /freebsd-9-stable/contrib/llvm/lib/CodeGen/ |
| D | MachineModuleInfo.cpp | 103 AddrLabelSymEntry &Entry = AddrLabelSymbols[BB]; in getAddrLabelSymbol() local 106 if (!Entry.Symbols.isNull()) { in getAddrLabelSymbol() 107 assert(BB->getParent() == Entry.Fn && "Parent changed"); in getAddrLabelSymbol() 108 if (Entry.Symbols.is<MCSymbol*>()) in getAddrLabelSymbol() 109 return Entry.Symbols.get<MCSymbol*>(); in getAddrLabelSymbol() 110 return (*Entry.Symbols.get<std::vector<MCSymbol*>*>())[0]; in getAddrLabelSymbol() 117 Entry.Index = BBCallbacks.size()-1; in getAddrLabelSymbol() 118 Entry.Fn = BB->getParent(); in getAddrLabelSymbol() 120 Entry.Symbols = Result; in getAddrLabelSymbol() 128 AddrLabelSymEntry &Entry = AddrLabelSymbols[BB]; in getAddrLabelSymbolToEmit() local [all …]
|
| D | InterferenceCache.h | 40 class Entry { 96 Entry() : PhysReg(0), Tag(0), RefCount(0), Indexes(0), LIS(0) {} in Entry() function 144 Entry Entries[CacheEntries]; 147 Entry *get(unsigned PhysReg); 162 Entry *CacheEntry; 166 void setEntry(Entry *E) { in setEntry()
|
| /freebsd-9-stable/contrib/llvm/lib/CodeGen/SelectionDAG/ |
| D | LegalizeTypes.cpp | 770 std::pair<SDValue, SDValue> &Entry = ExpandedIntegers[Op]; in GetExpandedInteger() local 771 RemapValue(Entry.first); in GetExpandedInteger() 772 RemapValue(Entry.second); in GetExpandedInteger() 773 assert(Entry.first.getNode() && "Operand isn't expanded"); in GetExpandedInteger() 774 Lo = Entry.first; in GetExpandedInteger() 775 Hi = Entry.second; in GetExpandedInteger() 789 std::pair<SDValue, SDValue> &Entry = ExpandedIntegers[Op]; in SetExpandedInteger() local 790 assert(Entry.first.getNode() == 0 && "Node already expanded"); in SetExpandedInteger() 791 Entry.first = Lo; in SetExpandedInteger() 792 Entry.second = Hi; in SetExpandedInteger() [all …]
|
| /freebsd-9-stable/contrib/llvm/lib/MC/ |
| D | MCContext.cpp | 122 StringMapEntry<MCSymbol*> &Entry = Symbols.GetOrCreateValue(Name); in GetOrCreateSymbol() local 123 MCSymbol *Sym = Entry.getValue(); in GetOrCreateSymbol() 129 Entry.setValue(Sym); in GetOrCreateSymbol() 234 const MCSectionMachO *&Entry = Map[Name.str()]; in getMachOSection() local 235 if (Entry) return Entry; in getMachOSection() 238 return Entry = new (*this) MCSectionMachO(Segment, Section, TypeAndAttributes, in getMachOSection() 256 std::pair<ELFUniqueMapTy::iterator, bool> Entry = Map.insert( in getELFSection() local 258 if (!Entry.second) return Entry.first->second; in getELFSection() 270 Entry.first->first.first, Type, Flags, Kind, EntrySize, GroupSym); in getELFSection() 271 Entry.first->second = Result; in getELFSection() [all …]
|
| /freebsd-9-stable/contrib/llvm/tools/clang/include/clang/Basic/ |
| D | IdentifierTable.h | 77 llvm::StringMapEntry<IdentifierInfo*> *Entry; variable 100 if (Entry) return Entry->getKeyData(); in getNameStart() 113 if (Entry) return Entry->getKeyLength(); in getLength() 450 llvm::StringMapEntry<IdentifierInfo*> &Entry = in get() local 453 IdentifierInfo *II = Entry.getValue(); in get() 461 Entry.setValue(II); in get() 469 Entry.setValue(II); in get() 473 II->Entry = &Entry; in get() 492 llvm::StringMapEntry<IdentifierInfo*> &Entry = in getOwn() local 495 IdentifierInfo *II = Entry.getValue(); in getOwn() [all …]
|
| D | SourceManager.h | 881 const SrcMgr::SLocEntry &Entry = getSLocEntry(FID, &MyInvalid); variable 882 if (MyInvalid || !Entry.isFile()) { 889 return Entry.getFile().getContentCache()->getBuffer(Diag, *this, Loc, 895 const SrcMgr::SLocEntry &Entry = getSLocEntry(FID, &MyInvalid); variable 896 if (MyInvalid || !Entry.isFile()) { 903 return Entry.getFile().getContentCache()->getBuffer(Diag, *this, 911 const SrcMgr::SLocEntry &Entry = getSLocEntry(FID, &MyInvalid); in getFileEntryForID() local 912 if (MyInvalid || !Entry.isFile()) in getFileEntryForID() 915 const SrcMgr::ContentCache *Content = Entry.getFile().getContentCache(); in getFileEntryForID() 941 const SrcMgr::SLocEntry &Entry = getSLocEntry(FID, &Invalid); in getNumCreatedFIDsForFileID() local [all …]
|
| /freebsd-9-stable/contrib/llvm/tools/clang/lib/Analysis/ |
| D | Consumed.cpp | 489 ConstInfoEntry Entry = PropagationMap.find(StmtNode); in getInfo() local 491 if (Entry != PropagationMap.end()) in getInfo() 492 return Entry->second; in getInfo() 534 InfoEntry Entry = PropagationMap.find(From); in forwardInfo() local 536 if (Entry != PropagationMap.end()) in forwardInfo() 537 PropagationMap.insert(PairType(To, Entry->second)); in forwardInfo() 637 InfoEntry Entry = PropagationMap.find(Call->getArg(Index)); in VisitCallExpr() local 639 if (Entry == PropagationMap.end() || Entry->second.isTest()) in VisitCallExpr() 642 PropagationInfo PInfo = Entry->second; in VisitCallExpr() 658 if (!(Entry->second.isVar() || Entry->second.isTmp())) in VisitCallExpr() [all …]
|
| /freebsd-9-stable/contrib/llvm/include/llvm/ADT/ |
| D | UniqueVector.h | 36 unsigned insert(const T &Entry) { in insert() argument 38 unsigned &Val = Map[Entry]; in insert() 47 Vector.push_back(Entry); in insert() 53 unsigned idFor(const T &Entry) const { in idFor() argument 55 typename std::map<T, unsigned>::const_iterator MI = Map.find(Entry); in idFor()
|
| /freebsd-9-stable/contrib/llvm/lib/CodeGen/AsmPrinter/ |
| D | ARMException.cpp | 108 int Entry = 0; in EmitTypeInfos() local 113 Entry = TypeInfos.size(); in EmitTypeInfos() 120 Asm->OutStreamer.AddComment("TypeInfo " + Twine(Entry--)); in EmitTypeInfos() 128 Entry = 0; in EmitTypeInfos() 134 --Entry; in EmitTypeInfos() 136 Asm->OutStreamer.AddComment("FilterInfo " + Twine(Entry)); in EmitTypeInfos()
|
| /freebsd-9-stable/contrib/llvm/lib/Support/ |
| D | IntervalMap.cpp | 21 path.front() = Entry(Root, Size, Offsets.first); in replaceRoot() 22 path.insert(path.begin() + 1, Entry(subtree(0), Offsets.second)); in replaceRoot() 61 path.resize(Level + 1, Entry(0, 0, 0)); in moveLeft() 69 path[l] = Entry(NR, NR.size() - 1); in moveLeft() 72 path[l] = Entry(NR, NR.size() - 1); in moveLeft() 113 path[l] = Entry(NR, 0); in moveRight() 116 path[l] = Entry(NR, 0); in moveRight()
|
| /freebsd-9-stable/contrib/llvm/tools/clang/lib/Serialization/ |
| D | ModuleManager.cpp | 30 const FileEntry *Entry = FileMgr.getFile(Name, /*openFile=*/false, in lookup() local 32 if (Entry) in lookup() 33 return lookup(Entry); in lookup() 48 const FileEntry *Entry = FileMgr.getFile(Name, /*openFile=*/false, in lookupBuffer() local 50 return InMemoryBuffers[Entry]; in lookupBuffer() 64 const FileEntry *Entry; in addModule() local 65 if (lookupModuleFile(FileName, ExpectedSize, ExpectedModTime, Entry)) { in addModule() 70 if (!Entry && FileName != "-") { in addModule() 76 ModuleFile *&ModuleEntry = Modules[Entry]; in addModule() 83 New->File = Entry; in addModule() [all …]
|
| /freebsd-9-stable/contrib/llvm/tools/clang/lib/Lex/ |
| D | MacroArgs.cpp | 35 for (MacroArgs **Entry = &PP.MacroArgCache; *Entry; in create() local 36 Entry = &(*Entry)->ArgCache) in create() 37 if ((*Entry)->NumUnexpArgTokens >= UnexpArgTokens.size() && in create() 38 (*Entry)->NumUnexpArgTokens < ClosestMatch) { in create() 39 ResultEnt = Entry; in create() 42 if ((*Entry)->NumUnexpArgTokens == UnexpArgTokens.size()) in create() 45 ClosestMatch = (*Entry)->NumUnexpArgTokens; in create()
|
| /freebsd-9-stable/contrib/llvm/lib/DebugInfo/ |
| D | DWARFDebugFrame.cpp | 339 FrameEntry *Entry = 0; in parse() local 351 Entry = new CIE(Data, StartOffset, Length, Version, in parse() 360 Entry = new FDE(Data, StartOffset, Length, CIEPointer, in parse() 364 assert(Entry && "Expected Entry to be populated with CIE or FDE"); in parse() 365 Entry->parseInstructions(&Offset, EndStructureOffset); in parse() 369 Entries.push_back(Entry); in parse() 374 Entry->getOffset()); in parse() 385 FrameEntry *Entry = *I; in dump() local 386 Entry->dumpHeader(OS); in dump() 387 Entry->dumpInstructions(OS); in dump()
|
| /freebsd-9-stable/contrib/llvm/utils/TableGen/ |
| D | DAGISelMatcherEmitter.cpp | 65 unsigned &Entry = NodePredicateMap[Pred.getOrigPatFragRecord()]; in getNodePredicate() local 66 if (Entry == 0) { in getNodePredicate() 68 Entry = NodePredicates.size(); in getNodePredicate() 70 return Entry-1; in getNodePredicate() 74 unsigned &Entry = PatternPredicateMap[PredName]; in getPatternPredicate() local 75 if (Entry == 0) { in getPatternPredicate() 77 Entry = PatternPredicates.size(); in getPatternPredicate() 79 return Entry-1; in getPatternPredicate() 82 unsigned &Entry = ComplexPatternMap[&P]; in getComplexPat() local 83 if (Entry == 0) { in getComplexPat() [all …]
|
| /freebsd-9-stable/contrib/llvm/tools/llvm-readobj/ |
| D | MachODumper.cpp | 198 MachO::nlist Entry = Obj->getSymbolTableEntry(DRI); in getSymbol() local 199 Symbol.StringIndex = Entry.n_strx; in getSymbol() 200 Symbol.Type = Entry.n_type; in getSymbol() 201 Symbol.SectionIndex = Entry.n_sect; in getSymbol() 202 Symbol.Flags = Entry.n_desc; in getSymbol() 203 Symbol.Value = Entry.n_value; in getSymbol() 206 MachO::nlist_64 Entry = Obj->getSymbol64TableEntry(DRI); in getSymbol() local 207 Symbol.StringIndex = Entry.n_strx; in getSymbol() 208 Symbol.Type = Entry.n_type; in getSymbol() 209 Symbol.SectionIndex = Entry.n_sect; in getSymbol() [all …]
|