| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/DirectXIRPasses/ |
| H A D | PointerTypeAnalysis.cpp | 27 auto It = Map.find(V); in classifyPointerType() 28 if (It != Map.end()) in classifyPointerType() 73 Map[V] = TypedPtrTy; in classifyPointerType() 81 auto It = Map.find(&F); in classifyFunctionType() 82 if (It != Map.end()) in classifyFunctionType() 115 Map[&F] = TypedPtrTy; in classifyFunctionType() 133 auto It = Map.find(C); in classifyConstantWithOpaquePtr() 134 if (It != Map.end()) in classifyConstantWithOpaquePtr() 174 Map[C] = TargetTy; in classifyConstantWithOpaquePtr() 190 PointerTypeMap Map; in run() local [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | InfoByHwMode.h | 110 bool hasMode(unsigned M) const { return Map.find(M) != Map.end(); } in hasMode() 113 return !Map.empty() && Map.begin()->first == DefaultMode; in hasDefault() 117 auto F = Map.find(Mode); in get() 118 if (F != Map.end()) in get() 123 auto P = Map.insert({Mode, Map.begin()->second}); in get() 128 if (F != Map.end()) in get() 131 F = Map.begin(); in get() 138 return Map.size() == 1 && Map.begin()->first == DefaultMode; in isSimple() 148 Map.clear(); in makeSimple() 153 MapType Map; [all …]
|
| H A D | InfoByHwMode.cpp | 55 return Map == T.Map; in operator ==() 61 return Map < T.Map; in operator <() 65 auto F = Map.find(Mode); in getOrCreateTypeForMode() 66 if (F != Map.end()) in getOrCreateTypeForMode() 70 auto D = Map.begin(); in getOrCreateTypeForMode() 90 for (const auto &P : Map) in writeToStream() 153 unsigned M0 = Map.begin()->first; in operator <() 158 unsigned M0 = Map.begin()->first; in operator ==() 163 unsigned M0 = Map.begin()->first; in isSubClassOf() 169 unsigned M0 = Map.begin()->first; in hasStricterSpillThan() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | ValueMap.h | 92 MapT Map; variable 146 Map.clear(); in clear() 152 return Map.find_as(Val) == Map.end() ? 0 : 1; in count() 192 if (I == Map.end()) in erase() 195 Map.erase(I); in erase() 247 ValueMapT *Map; 251 Map(Map) {} 267 Copy.Map->Map.erase(Copy); // Definitely destroys *this. 284 typename ValueMapT::MapT::iterator I = Copy.Map->Map.find(Copy); 287 if (I != Copy.Map->Map.end()) { [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
| H A D | BlotMapVector.h | 25 MapTy Map; variable 35 for (typename MapTy::const_iterator I = Map.begin(), E = Map.end(); I != E; in ~BlotMapVector() 42 assert(!I->first || (Map.count(I->first) && in ~BlotMapVector() 80 typename MapTy::iterator It = Map.find(Key); in find() 81 if (It == Map.end()) in find() 88 if (It == Map.end()) in find() 98 if (It == Map.end()) in blot() 101 Map.erase(It); in blot() 105 Map.clear(); in clear() 110 assert(Map.empty() == Vector.empty()); in empty() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | FunctionSummary.h | 57 MapTy Map; variable 61 MapTy::iterator I = Map.find(D); in findOrInsertSummary() 62 if (I != Map.end()) in findOrInsertSummary() 68 assert(I != Map.end()); in findOrInsertSummary() 89 MapTy::const_iterator I = Map.find(D); in mayInline() 107 MapTy::const_iterator I = Map.find(D); in getNumVisitedBasicBlocks() 108 if (I != Map.end()) in getNumVisitedBasicBlocks() 114 MapTy::const_iterator I = Map.find(D); in getNumTimesInlined() 115 if (I != Map.end()) in getNumTimesInlined() 127 MapTy::const_iterator I = Map.find(D); in getPercentBlocksReachable() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | MapVector.h | 37 MapType Map; variable 56 Map.clear(); in takeVector() 65 Map.reserve(NumEntries); in reserve() 89 Map.clear(); in clear() 94 std::swap(Map, RHS.Map); in swap() 163 bool contains(const KeyT &Key) const { return Map.find(Key) != Map.end(); } in contains() 182 Map.erase(Pos); in pop_back() 194 Map.erase(Iterator->first); in erase() 201 for (auto &I : Map) { in erase() 234 Map.erase(I->first); in remove_if() [all …]
|
| H A D | UniqueVector.h | 32 std::map<T, unsigned> Map; 42 unsigned &Val = Map[Entry]; in insert() 59 typename std::map<T, unsigned>::const_iterator MI = Map.find(Entry); in idFor() 62 if (MI != Map.end()) return MI->second; in idFor() 94 Map.clear(); in reset()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | RDFRegisters.h | 54 IndexedSet() { Map.reserve(N); } in IndexedSet() 58 assert(Idx != 0 && !Map.empty() && Idx - 1 < Map.size()); in get() 59 return Map[Idx - 1]; in get() 64 auto F = llvm::find(Map, Val); in insert() 65 if (F != Map.end()) in insert() 66 return F - Map.begin() + 1; in insert() 67 Map.push_back(Val); in insert() 72 auto F = llvm::find(Map, Val); in find() 73 assert(F != Map.end()); in find() 74 return F - Map.begin() + 1; in find() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclLookups.h | 79 if (StoredDeclsMap *Map = Primary->buildLookup()) in lookups() local 80 return lookups_range(all_lookups_iterator(Map->begin(), Map->end()), in lookups() 81 all_lookups_iterator(Map->end(), Map->end())); in lookups() 93 if (StoredDeclsMap *Map = Primary->getLookupPtr()) in noload_lookups() local 94 return lookups_range(all_lookups_iterator(Map->begin(), Map->end()), in noload_lookups() 95 all_lookups_iterator(Map->end(), Map->end())); in noload_lookups()
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
| H A D | bytemap.h | 20 void init() { DCHECK(Size == 0 || Map[0] == 0); } in init() 22 void unmapTestOnly() { memset(Map, 0, Size); } in unmapTestOnly() 26 DCHECK_EQ(0U, Map[Index]); in set() 27 Map[Index] = Value; in set() 31 return Map[Index]; 38 u8 Map[Size] = {};
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | LoopConstrainer.h | 65 template <typename M> LoopStructure map(M Map) const { in map() 68 Result.Header = cast<BasicBlock>(Map(Header)); in map() 69 Result.Latch = cast<BasicBlock>(Map(Latch)); in map() 70 Result.LatchBr = cast<BranchInst>(Map(LatchBr)); in map() 71 Result.LatchExit = cast<BasicBlock>(Map(LatchExit)); in map() 73 Result.IndVarBase = Map(IndVarBase); in map() 74 Result.IndVarStart = Map(IndVarStart); in map() 75 Result.IndVarStep = Map(IndVarStep); in map() 76 Result.LoopExitAt = Map(LoopExitAt); in map() 116 ValueToValueMapTy Map; member
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/orc/ |
| H A D | interval_set.h | 62 bool empty() const { return Map.empty(); } in empty() 64 void clear() { Map.clear(); } in clear() 66 const_iterator begin() const { return const_iterator(Map.begin()); } in begin() 67 const_iterator end() const { return const_iterator(Map.end()); } in end() 70 return const_iterator(Map.find(K)); in find() 74 Map.insert(std::move(KS), std::move(KE), std::monostate()); in insert() 78 Map.erase(KS, KE); in erase() 82 ImplMap Map;
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerValueBitMap.h | 28 void Reset() { memset(Map, 0, sizeof(Map)); } in Reset() 37 uintptr_t Old = Map[WordIdx]; in AddValue() 39 Map[WordIdx] = New; in AddValue() 52 return Map[WordIdx] & (1ULL << BitIdx); in Get() 61 if (uintptr_t M = Map[i]) in ForEach() 68 ATTRIBUTE_ALIGNED(512) uintptr_t Map[kMapSizeInWords];
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/ |
| H A D | HashTable.h | 41 HashTableIterator(const HashTable<ValueT> &Map, uint32_t Index, in HashTableIterator() argument 43 : Map(&Map), Index(Index), IsEnd(IsEnd) {} in HashTableIterator() 46 HashTableIterator(const HashTable<ValueT> &Map) : Map(&Map) { in HashTableIterator() argument 47 int I = Map.Present.find_first(); in HashTableIterator() 59 Map = R.Map; 68 return (Map == R.Map) && (Index == R.Index); 71 assert(Map->Present.test(Index)); 72 return Map->Buckets[Index]; 79 while (Index < Map->Buckets.size()) { 81 if (Map->Present.test(Index)) [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | DirectoryLookup.h | 45 const HeaderMap *Map; member 48 DLU(const HeaderMap *Map) : Map(Map) {} in DLU() argument 79 DirectoryLookup(const HeaderMap *Map, SrcMgr::CharacteristicKind DT, in DirectoryLookup() argument 81 : u(Map), DirCharacteristic(DT), LookupType(LT_HeaderMap), in DirectoryLookup() 115 return isHeaderMap() ? u.Map : nullptr; in getHeaderMap()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclBase.cpp | 1527 StoredDeclsMap *Map; in SetNoExternalVisibleDeclsForName() local 1543 StoredDeclsMap *Map; in SetExternalVisibleDeclsForName() local 1659 if (Map) { in removeDecl() 1813 if (!Map) in lookup() 1838 if (!Map) in lookup() 1842 if (I == Map->end()) in lookup() 1860 if (!Map) in noload_lookup() 2035 if (!Map) { in makeDeclVisibleInContextImpl() 2047 Map->find(D->getDeclName()) == Map->end()) in makeDeclVisibleInContextImpl() 2109 while (Map) { in DestroyAll() [all …]
|
| H A D | ParentMapContext.cpp | 96 const MapTy &Map) { in getDynNodeFromMap() argument 97 auto I = Map.find(Node); in getDynNodeFromMap() 98 if (I == Map.end()) { in getDynNodeFromMap() 338 ASTVisitor(ParentMap &Map) : Map(Map) {} in ASTVisitor() argument 414 &Map.PointerParents); in TraverseDecl() 420 &Map.OtherParents); in TraverseTypeLoc() 426 &Map.OtherParents); in TraverseNestedNameSpecifierLoc() 431 &Map.PointerParents); in TraverseAttr() 437 &Map.OtherParents); in TraverseObjCProtocolLoc() 442 addParent(StmtNode, &Map.PointerParents); in dataTraverseStmtPre() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ModuleFile.cpp | 34 const ContinuousRangeMap<Key, Offset, InitialCapacity> &Map) { in dumpLocalRemap() argument 35 if (Map.begin() == Map.end()) in dumpLocalRemap() 41 for (typename MapType::const_iterator I = Map.begin(), IEnd = Map.end(); in dumpLocalRemap()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MachineModuleInfoImpls.cpp | 36 DenseMap<MCSymbol *, MachineModuleInfoImpl::StubValueTy> &Map) { in getSortedStubs() argument 37 MachineModuleInfoImpl::SymbolListTy List(Map.begin(), Map.end()); in getSortedStubs() 41 Map.clear(); in getSortedStubs()
|
| H A D | GCMetadata.cpp | 43 auto &Map = R.StrategyMap; in run() local 47 if (auto GCName = F.getGC(); !Map.contains(GCName)) in run() 48 Map[GCName] = getGCStrategy(GCName); in run() 64 auto &Map = in run() local 67 GCFunctionInfo Info(F, *Map[F.getGC()]); in run()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
| H A D | MsgPackDocument.h | 61 MapTy *Map; member 70 bool isMap() const { return getKind() == Type::Map; } in isMap() 146 if (getKind() != Type::Map) { 231 size_t size() const { return Map->size(); } in size() 233 MapTy::iterator begin() { return Map->begin(); } in begin() 234 MapTy::iterator end() { return Map->end(); } in end() 235 MapTy::iterator find(DocNode Key) { return Map->find(Key); } in find() 238 size_t erase(DocNode Key) { return Map->erase(Key); } in erase() 241 return Map->erase(First, Second); in erase() 390 auto N = DocNode(&KindAndDocs[size_t(Type::Map)]); in getMapNode() [all …]
|
| /freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Utility/ |
| H A D | UserIDResolver.h | 44 using Map = llvm::DenseMap<id_t, std::optional<std::string>>; 47 Get(id_t id, Map &cache, 51 Map m_uid_cache; 52 Map m_gid_cache;
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/ |
| H A D | SystemZMCTargetDesc.cpp | 132 static unsigned Map[SystemZ::NUM_TARGET_REGS]; in getFirstReg() local 136 Map[GR32Regs[I]] = I; in getFirstReg() 137 Map[GRH32Regs[I]] = I; in getFirstReg() 138 Map[GR64Regs[I]] = I; in getFirstReg() 139 Map[GR128Regs[I]] = I; in getFirstReg() 140 Map[FP128Regs[I]] = I; in getFirstReg() 141 Map[AR32Regs[I]] = I; in getFirstReg() 144 Map[VR32Regs[I]] = I; in getFirstReg() 145 Map[VR64Regs[I]] = I; in getFirstReg() 146 Map[VR128Regs[I]] = I; in getFirstReg() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/XRay/ |
| H A D | InstrumentationMap.cpp | 58 InstrumentationMap Map; in loadObj() local 260 InstrumentationMap Map; in loadInstrumentationMap() local 284 if (auto E = loadYAML(*FdOrErr, FileSize, Filename, Map.Sleds, in loadInstrumentationMap() 285 Map.FunctionAddresses, Map.FunctionIds)) in loadInstrumentationMap() 287 } else if (auto E = loadObj(Filename, *ObjectFileOrError, Map.Sleds, in loadInstrumentationMap() 288 Map.FunctionAddresses, Map.FunctionIds)) { in loadInstrumentationMap() 291 return Map; in loadInstrumentationMap()
|