Home
last modified time | relevance | path

Searched refs:Map (Results 1 – 25 of 312) sorted by relevance

12345678910>>...13

/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DValueMap.h94 MapT Map; variable
153 Map.clear(); in clear()
159 return Map.find_as(Val) == Map.end() ? 0 : 1; in count()
199 if (I == Map.end()) in erase()
202 Map.erase(I); in erase()
254 ValueMapT *Map;
258 Map(Map) {}
274 Copy.Map->Map.erase(Copy); // Definitely destroys *this.
291 typename ValueMapT::MapT::iterator I = Copy.Map->Map.find(Copy);
294 if (I != Copy.Map->Map.end()) {
[all …]
/freebsd-12.1/contrib/llvm/utils/TableGen/
H A DInfoByHwMode.h83 bool hasMode(unsigned M) const { return Map.find(M) != Map.end(); } in hasMode()
90 Map.insert({Mode, Map.at(DefaultMode)}); in get()
92 return Map.at(Mode); in get()
95 auto F = Map.find(Mode); in get()
97 F = Map.find(DefaultMode); in get()
98 assert(F != Map.end()); in get()
104 return Map.size() == 1 && Map.begin()->first == DefaultMode; in isSimple()
109 return Map.begin()->second; in getSimple()
114 Map.clear(); in makeSimple()
118 MapType Map; member
[all …]
H A DInfoByHwMode.cpp50 return Map == T.Map; in operator ==()
56 return Map < T.Map; in operator <()
60 auto F = Map.find(Mode); in getOrCreateTypeForMode()
61 if (F != Map.end()) in getOrCreateTypeForMode()
65 auto D = Map.find(DefaultMode); in getOrCreateTypeForMode()
66 if (D != Map.end()) in getOrCreateTypeForMode()
85 for (const auto &P : Map) in writeToStream()
151 unsigned M0 = Map.begin()->first; in operator <()
156 unsigned M0 = Map.begin()->first; in operator ==()
161 unsigned M0 = Map.begin()->first; in isSubClassOf()
[all …]
/freebsd-12.1/contrib/llvm/lib/Transforms/ObjCARC/
H A DBlotMapVector.h26 MapTy Map; variable
36 for (typename MapTy::const_iterator I = Map.begin(), E = Map.end(); I != E; in ~BlotMapVector()
43 assert(!I->first || (Map.count(I->first) && in ~BlotMapVector()
81 typename MapTy::iterator It = Map.find(Key); in find()
82 if (It == Map.end()) in find()
89 if (It == Map.end()) in find()
99 if (It == Map.end()) in blot()
102 Map.erase(It); in blot()
106 Map.clear(); in clear()
111 assert(Map.empty() == Vector.empty()); in empty()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/ADT/
H A DMapVector.h39 MapType Map; variable
57 Map.clear(); in takeVector()
66 Map.reserve(NumEntries); in reserve()
90 Map.clear(); in clear()
95 std::swap(Map, RHS.Map); in swap()
145 return Pos == Map.end()? 0 : 1; in count()
163 Map.erase(Pos); in pop_back()
175 Map.erase(Iterator->first); in erase()
182 for (auto &I : Map) { in erase()
215 Map.erase(I->first); in remove_if()
[all …]
H A DUniqueVector.h33 std::map<T, unsigned> Map;
43 unsigned &Val = Map[Entry]; in insert()
60 typename std::map<T, unsigned>::const_iterator MI = Map.find(Entry); in idFor()
63 if (MI != Map.end()) return MI->second; in idFor()
95 Map.clear(); in reset()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DFunctionSummary.h59 MapTy Map; variable
63 MapTy::iterator I = Map.find(D); in findOrInsertSummary()
64 if (I != Map.end()) in findOrInsertSummary()
70 assert(I != Map.end()); in findOrInsertSummary()
91 MapTy::const_iterator I = Map.find(D); in mayInline()
109 MapTy::const_iterator I = Map.find(D); in getNumVisitedBasicBlocks()
110 if (I != Map.end()) in getNumVisitedBasicBlocks()
116 MapTy::const_iterator I = Map.find(D); in getNumTimesInlined()
117 if (I != Map.end()) in getNumTimesInlined()
129 MapTy::const_iterator I = Map.find(D); in getPercentBlocksReachable()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DRDFRegisters.h38 IndexedSet() { Map.reserve(N); } in IndexedSet()
42 assert(Idx != 0 && !Map.empty() && Idx-1 < Map.size()); in get()
43 return Map[Idx-1]; in get()
48 auto F = llvm::find(Map, Val); in insert()
49 if (F != Map.end()) in insert()
50 return F - Map.begin() + 1; in insert()
51 Map.push_back(Val); in insert()
56 auto F = llvm::find(Map, Val); in find()
57 assert(F != Map.end()); in find()
58 return F - Map.begin() + 1; in find()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DDeclLookups.h80 if (StoredDeclsMap *Map = Primary->buildLookup()) in lookups() local
81 return lookups_range(all_lookups_iterator(Map->begin(), Map->end()), in lookups()
82 all_lookups_iterator(Map->end(), Map->end())); in lookups()
94 if (StoredDeclsMap *Map = Primary->getLookupPtr()) in noload_lookups() local
95 return lookups_range(all_lookups_iterator(Map->begin(), Map->end()), in noload_lookups()
96 all_lookups_iterator(Map->end(), Map->end())); in noload_lookups()
/freebsd-12.1/contrib/compiler-rt/lib/fuzzer/
H A DFuzzerValueBitMap.h28 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] & (1UL << BitIdx); in Get()
61 if (uintptr_t M = Map[i]) in ForEach()
68 uintptr_t Map[kMapSizeInWords] __attribute__((aligned(512)));
/freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/PDB/Native/
H A DHashTable.h44 HashTableIterator(const HashTable<ValueT, TraitsT> &Map, uint32_t Index, in HashTableIterator() argument
46 : Map(&Map), Index(Index), IsEnd(IsEnd) {} in HashTableIterator()
49 HashTableIterator(const HashTable<ValueT, TraitsT> &Map) : Map(&Map) { in HashTableIterator() argument
50 int I = Map.Present.find_first(); in HashTableIterator()
61 Map = R.Map;
70 return (Map == R.Map) && (Index == R.Index);
73 assert(Map->Present.test(Index));
74 return Map->Buckets[Index];
77 while (Index < Map->Buckets.size()) {
79 if (Map->Present.test(Index))
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DDeclBase.cpp1312 StoredDeclsMap *Map; in SetNoExternalVisibleDeclsForName() local
1328 StoredDeclsMap *Map; in SetExternalVisibleDeclsForName() local
1469 if (Map) { in removeDecl()
1624 if (!Map) in lookup()
1649 if (!Map) in lookup()
1653 if (I == Map->end()) in lookup()
1671 if (!Map) in noload_lookup()
1845 if (!Map) { in makeDeclVisibleInContextImpl()
1857 Map->find(D->getDeclName()) == Map->end()) in makeDeclVisibleInContextImpl()
1930 while (Map) { in DestroyAll()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DModule.cpp35 const ContinuousRangeMap<Key, Offset, InitialCapacity> &Map) { in dumpLocalRemap() argument
36 if (Map.begin() == Map.end()) in dumpLocalRemap()
42 for (typename MapType::const_iterator I = Map.begin(), IEnd = Map.end(); in dumpLocalRemap()
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/MCTargetDesc/
H A DSystemZMCTargetDesc.cpp127 static unsigned Map[SystemZ::NUM_TARGET_REGS]; in getFirstReg() local
131 Map[GR32Regs[I]] = I; in getFirstReg()
132 Map[GRH32Regs[I]] = I; in getFirstReg()
133 Map[GR64Regs[I]] = I; in getFirstReg()
134 Map[GR128Regs[I]] = I; in getFirstReg()
135 Map[FP128Regs[I]] = I; in getFirstReg()
136 Map[AR32Regs[I]] = I; in getFirstReg()
139 Map[VR32Regs[I]] = I; in getFirstReg()
140 Map[VR64Regs[I]] = I; in getFirstReg()
141 Map[VR128Regs[I]] = I; in getFirstReg()
[all …]
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DMachineModuleInfoImpls.cpp36 DenseMap<MCSymbol *, MachineModuleInfoImpl::StubValueTy> &Map) { in getSortedStubs() argument
37 MachineModuleInfoImpl::SymbolListTy List(Map.begin(), Map.end()); in getSortedStubs()
41 Map.clear(); in getSortedStubs()
/freebsd-12.1/contrib/llvm/lib/XRay/
H A DInstrumentationMap.cpp58 InstrumentationMap Map; in loadObj() local
212 InstrumentationMap Map; in loadInstrumentationMap() local
232 if (auto E = loadYAML(Fd, FileSize, Filename, Map.Sleds, in loadInstrumentationMap()
233 Map.FunctionAddresses, Map.FunctionIds)) in loadInstrumentationMap()
235 } else if (auto E = loadObj(Filename, *ObjectFileOrError, Map.Sleds, in loadInstrumentationMap()
236 Map.FunctionAddresses, Map.FunctionIds)) { in loadInstrumentationMap()
239 return Map; in loadInstrumentationMap()
/freebsd-12.1/contrib/gcc/config/rs6000/
H A Dt-rtems19 # Map 405 to 403
21 # Map 602, 603e, 603 to 603e
24 # Map 801, 821, 823 to 860
28 # Map 7450 to 7400
31 # Map 750 to .
/freebsd-12.1/contrib/llvm/lib/DebugInfo/CodeView/
H A DTypeStreamMerger.cpp138 inline bool remapIndex(TypeIndex &Idx, ArrayRef<TypeIndex> Map) { in remapIndex() argument
139 if (LLVM_LIKELY(remapIndexSimple(Idx, Map))) in remapIndex()
142 return remapIndexFallback(Idx, Map); in remapIndex()
145 inline bool remapIndexSimple(TypeIndex &Idx, ArrayRef<TypeIndex> Map) const { in remapIndexSimple()
154 if (LLVM_UNLIKELY(MapPos >= Map.size() || Map[MapPos] == Untranslated)) in remapIndexSimple()
157 Idx = Map[MapPos]; in remapIndexSimple()
161 bool remapIndexFallback(TypeIndex &Idx, ArrayRef<TypeIndex> Map);
233 ArrayRef<TypeIndex> Map) { in remapIndexFallback() argument
238 if (IsSecondPass && MapPos >= Map.size()) { in remapIndexFallback()
/freebsd-12.1/contrib/file/magic/Magdir/
H A Dcubemap6 0 string ACMP Map file for the AssaultCube FPS game
7 0 string CUBE Map file for cube and cube2 engine games
8 0 string MAPZ) Map file for the Blood Frontier/Red Eclipse FPS games
H A Dscientific19 0 string EZD_MAP NEWEZD Electron Density Map
20 109 string MAP\040( Old EZD Electron Density Map
22 0 string/c :-)\040Origin BRIX Electron Density Map
27 7 string 18\040!NTITLE XPLOR ASCII Electron Density Map
30 208 string MAP\040 CCP4 Electron Density Map
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64RegisterBankInfo.cpp155 const ValueMapping *Map = getCopyMapping( \ in AArch64RegisterBankInfo()
157 (void)Map; \ in AArch64RegisterBankInfo()
158 assert(Map[0].BreakDown == \ in AArch64RegisterBankInfo()
160 Map[0].NumBreakDowns == 1 && #RBNameDst #Size \ in AArch64RegisterBankInfo()
162 assert(Map[1].BreakDown == \ in AArch64RegisterBankInfo()
164 Map[1].NumBreakDowns == 1 && #RBNameSrc #Size \ in AArch64RegisterBankInfo()
184 const ValueMapping *Map = getFPExtMapping(DstSize, SrcSize); \ in AArch64RegisterBankInfo()
185 (void)Map; \ in AArch64RegisterBankInfo()
186 assert(Map[0].BreakDown == \ in AArch64RegisterBankInfo()
188 Map[0].NumBreakDowns == 1 && "FPR" #DstSize \ in AArch64RegisterBankInfo()
[all …]
/freebsd-12.1/contrib/compiler-rt/lib/tsan/rtl/
H A Dtsan_sync.cc64 MBlock *b = block_alloc_.Map(idx); in AllocBlock()
103 SyncVar *s = sync_alloc_.Map(idx & ~kFlagMask); in FreeRange()
190 return block_alloc_.Map(idx & ~kFlagMask); in GetBlock()
192 SyncVar * s = sync_alloc_.Map(idx & ~kFlagMask); in GetBlock()
220 SyncVar * s = sync_alloc_.Map(idx & ~kFlagMask); in GetAndLock()
244 mys = sync_alloc_.Map(myidx); in GetAndLock()
285 SyncVar *s = sync_alloc_.Map(idx & ~kFlagMask); in MoveMemory()
H A Dtsan_dense_alloc.h75 T *Map(IndexT idx) { in Map() function
85 *(IndexT*)Map(idx) = freelist_; in FlushCache()
126 freelist_ = *(IndexT*)Map(idx); in Refill()
134 *(IndexT*)Map(idx) = freelist_; in Drain()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DScalarEvolutionExpressions.h700 ValueToValueMap &Map,
702 SCEVParameterRewriter Rewriter(SE, Map, InterpretConsts);
707 : SCEVRewriteVisitor(SE), Map(M), InterpretConsts(C) {} in SCEVParameterRewriter()
711 if (Map.count(V)) { in visitUnknown()
712 Value *NV = Map[V]; in visitUnknown()
721 ValueToValueMap &Map;
733 : SCEVRewriteVisitor(SE), Map(M) {} in SCEVLoopAddRecRewriter()
737 SCEVLoopAddRecRewriter Rewriter(SE, Map); in rewrite()
749 if (0 == Map.count(L)) in visitAddRecExpr()
753 return Rec->evaluateAtIteration(Map[L], SE); in visitAddRecExpr()
[all …]
/freebsd-12.1/contrib/llvm/lib/IR/
H A DConstantsContext.h624 MapTy Map;
628 typename MapTy::iterator end() { return Map.end(); }
631 for (auto &I : Map)
640 Map.insert_as(Result, HashKey);
654 auto I = Map.find_as(Lookup);
655 if (I == Map.end())
666 typename MapTy::iterator I = Map.find(CP);
669 Map.erase(I);
680 auto I = Map.find_as(Lookup);
681 if (I != Map.end())
[all …]

12345678910>>...13