Home
last modified time | relevance | path

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

12345678910

/NextBSD/contrib/llvm/include/llvm/IR/
HDValueMap.h86 MapT Map; variable
98 : Map(NumInitBuckets), Data() {} in Map() function
100 : Map(NumInitBuckets), Data(Data) {} in Map() function
111 inline iterator begin() { return iterator(Map.begin()); } in begin()
112 inline iterator end() { return iterator(Map.end()); } in end()
113 inline const_iterator begin() const { return const_iterator(Map.begin()); } in begin()
114 inline const_iterator end() const { return const_iterator(Map.end()); } in end()
116 bool empty() const { return Map.empty(); } in empty()
117 size_type size() const { return Map.size(); } in size()
120 void resize(size_t Size) { Map.resize(Size); } in resize()
[all …]
/NextBSD/contrib/llvm/lib/Transforms/ObjCARC/
HDBlotMapVector.h20 MapTy Map; variable
36 assert(Vector.size() >= Map.size()); // May differ due to blotting. in ~BlotMapVector()
37 for (typename MapTy::const_iterator I = Map.begin(), E = Map.end(); I != E; in ~BlotMapVector()
44 assert(!I->first || (Map.count(I->first) && in ~BlotMapVector()
45 Map[I->first] == size_t(I - Vector.begin()))); in ~BlotMapVector()
51 Map.insert(std::make_pair(Arg, size_t(0)));
63 Map.insert(std::make_pair(InsertPair.first, size_t(0))); in insert()
74 typename MapTy::iterator It = Map.find(Key); in find()
75 if (It == Map.end()) in find()
81 typename MapTy::const_iterator It = Map.find(Key); in find()
[all …]
/NextBSD/contrib/llvm/include/llvm/ADT/
HDMapVector.h35 MapType Map; variable
66 Map.clear(); in clear()
71 std::swap(Map, RHS.Map); in swap()
77 std::pair<typename MapType::iterator, bool> Result = Map.insert(Pair);
87 typename MapType::const_iterator Pos = Map.find(Key); in lookup()
88 return Pos == Map.end()? ValueT() : Vector[Pos->second].second; in lookup()
93 std::pair<typename MapType::iterator, bool> Result = Map.insert(Pair); in insert()
104 typename MapType::const_iterator Pos = Map.find(Key); in count()
105 return Pos == Map.end()? 0 : 1; in count()
109 typename MapType::const_iterator Pos = Map.find(Key); in find()
[all …]
HDUniqueVector.h32 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()
99 Map.clear(); in reset()
/NextBSD/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
HDFunctionSummary.h57 MapTy Map; variable
61 MapTy::iterator I = Map.find(D); in findOrInsertSummary()
62 if (I != Map.end()) in findOrInsertSummary()
66 I = Map.insert(KVPair(D, FunctionSummary())).first; in findOrInsertSummary()
67 assert(I != Map.end()); in findOrInsertSummary()
88 MapTy::const_iterator I = Map.find(D); in mayInline()
89 if (I != Map.end() && I->second.InlineChecked) in mayInline()
106 MapTy::const_iterator I = Map.find(D); in getNumVisitedBasicBlocks()
107 if (I != Map.end()) in getNumVisitedBasicBlocks()
113 MapTy::const_iterator I = Map.find(D); in getNumTimesInlined()
[all …]
/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDDeclLookups.h75 if (StoredDeclsMap *Map = Primary->buildLookup()) in lookups() local
76 return lookups_range(all_lookups_iterator(Map->begin(), Map->end()), in lookups()
77 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()
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDDeclBase.cpp1081 StoredDeclsMap *Map; in SetNoExternalVisibleDeclsForName() local
1082 if (!(Map = DC->LookupPtr)) in SetNoExternalVisibleDeclsForName()
1083 Map = DC->CreateStoredDeclsMap(Context); in SetNoExternalVisibleDeclsForName()
1087 (*Map)[Name].removeExternalDecls(); in SetNoExternalVisibleDeclsForName()
1097 StoredDeclsMap *Map; in SetExternalVisibleDeclsForName() local
1098 if (!(Map = DC->LookupPtr)) in SetExternalVisibleDeclsForName()
1099 Map = DC->CreateStoredDeclsMap(Context); in SetExternalVisibleDeclsForName()
1103 StoredDeclsList &List = (*Map)[Name]; in SetExternalVisibleDeclsForName()
1192 StoredDeclsMap *Map = getPrimaryContext()->LookupPtr; in removeDecl() local
1193 if (!Map) return; in removeDecl()
[all …]
/NextBSD/contrib/llvm/lib/Analysis/
HDLibCallSemantics.cpp46 StringMap<const LibCallFunctionInfo*> *Map = getMap(Impl); in getFunctionInfo() local
50 if (!Map) { in getFunctionInfo()
51 Impl = Map = new StringMap<const LibCallFunctionInfo*>(); in getFunctionInfo()
58 (*Map)[Array[i].Name] = Array+i; in getFunctionInfo()
62 return Map->lookup(F->getName()); in getFunctionInfo()
/NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
HDFunctionSummary.cpp20 for (MapTy::iterator I = Map.begin(), E = Map.end(); I != E; ++I) { in getTotalNumBasicBlocks()
28 for (MapTy::iterator I = Map.begin(), E = Map.end(); I != E; ++I) { in getTotalNumVisitedBasicBlocks()
HDBasicValueFactory.cpp251 PersistentSValsTy& Map = *((PersistentSValsTy*) PersistentSVals); in getPersistentSValWithData() local
254 FoldNodeTy* P = Map.FindNodeOrInsertPos(ID, InsertPos); in getPersistentSValWithData()
259 Map.InsertNode(P, InsertPos); in getPersistentSValWithData()
276 PersistentSValPairsTy& Map = *((PersistentSValPairsTy*) PersistentSValPairs); in getPersistentSValPair() local
279 FoldNodeTy* P = Map.FindNodeOrInsertPos(ID, InsertPos); in getPersistentSValPair()
284 Map.InsertNode(P, InsertPos); in getPersistentSValPair()
/NextBSD/contrib/llvm/lib/CodeGen/
HDMachineModuleInfoImpls.cpp35 DenseMap<MCSymbol *, MachineModuleInfoImpl::StubValueTy> &Map) { in getSortedStubs() argument
36 MachineModuleInfoImpl::SymbolListTy List(Map.begin(), Map.end()); in getSortedStubs()
41 Map.clear(); in getSortedStubs()
HDLiveRangeCalc.cpp26 Map.resize(NumBlocks); in resetLiveOutMap()
213 Map[MBB] = LiveOutPair(I.Value, nullptr); in updateFromLiveIns()
299 if (VNInfo *VNI = Map[Pred].first) { in findReachingDefs()
348 Map[MF->getBlockNumbered(*I)] = LiveOutPair(TheVNI, nullptr); in findReachingDefs()
398 IDomValue = Map[IDom->getBlock()]; in updateSSA()
402 Map[IDom->getBlock()].second = IDomValue.second = in updateSSA()
407 LiveOutPair &Value = Map[*PI]; in updateSSA()
429 LiveOutPair &LOP = Map[MBB]; in updateSSA()
/NextBSD/contrib/llvm/lib/Target/SystemZ/MCTargetDesc/
HDSystemZMCTargetDesc.cpp114 static unsigned Map[SystemZ::NUM_TARGET_REGS]; in getFirstReg() local
118 Map[GR32Regs[I]] = I; in getFirstReg()
119 Map[GRH32Regs[I]] = I; in getFirstReg()
120 Map[GR64Regs[I]] = I; in getFirstReg()
121 Map[GR128Regs[I]] = I; in getFirstReg()
122 Map[FP128Regs[I]] = I; in getFirstReg()
125 Map[VR32Regs[I]] = I; in getFirstReg()
126 Map[VR64Regs[I]] = I; in getFirstReg()
127 Map[VR128Regs[I]] = I; in getFirstReg()
131 return Map[Reg]; in getFirstReg()
/NextBSD/contrib/gcc/config/rs6000/
HDt-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 .
/NextBSD/contrib/llvm/tools/clang/lib/Serialization/
HDModule.cpp64 const ContinuousRangeMap<Key, Offset, InitialCapacity> &Map) { in dumpLocalRemap() argument
65 if (Map.begin() == Map.end()) in dumpLocalRemap()
70 for (typename MapType::const_iterator I = Map.begin(), IEnd = Map.end(); in dumpLocalRemap()
/NextBSD/contrib/file/magic/Magdir/
HDcubemap6 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
HDscientific19 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
HDsysex109 >>>4 byte 0x02 DRMR (Drum Map Request)
110 >>>4 byte 0x12 DRMD (Drum Map Dump)
111 >>>4 byte 0x22 DRMP (Drum Map Parameter Change)
112 >>>4 byte 0x32 DRMQ (Drum Map Parameter Inquiry)
113 >>>4 byte 0x72 BIN (Drum Map Reserved)
138 >>>4 byte 0x02 DRMR (Drum Map Request)
139 >>>4 byte 0x12 DRMD (Drum Map Dump)
140 >>>4 byte 0x22 DRMP (Drum Map Parameter Change)
141 >>>4 byte 0x32 DRMQ (Drum Map Parameter Inquiry)
142 >>>4 byte 0x72 BIN (Drum Map Reserved)
[all …]
/NextBSD/contrib/llvm/include/llvm/Analysis/
HDScalarEvolutionExpressions.h564 ValueToValueMap &Map,
566 SCEVParameterRewriter Rewriter(SE, Map, InterpretConsts);
571 : SE(S), Map(M), InterpretConsts(C) {} in SCEVParameterRewriter()
634 if (Map.count(V)) { in visitUnknown()
635 Value *NV = Map[V]; in visitUnknown()
649 ValueToValueMap &Map; member
660 static const SCEV *rewrite(const SCEV *Scev, LoopToScevMapT &Map, in rewrite()
662 SCEVApplyRewriter Rewriter(SE, Map); in rewrite()
667 : SE(S), Map(M) {} in SCEVApplyRewriter()
714 if (0 == Map.count(L)) in visitAddRecExpr()
[all …]
/NextBSD/contrib/compiler-rt/lib/tsan/rtl/
HDtsan_sync.cc65 MBlock *b = block_alloc_.Map(idx); in AllocBlock()
103 SyncVar *s = sync_alloc_.Map(idx & ~kFlagMask); in FreeRange()
180 return block_alloc_.Map(idx & ~kFlagMask); in GetBlock()
182 SyncVar * s = sync_alloc_.Map(idx & ~kFlagMask); in GetBlock()
210 SyncVar * s = sync_alloc_.Map(idx & ~kFlagMask); in GetAndLock()
234 mys = sync_alloc_.Map(myidx); in GetAndLock()
275 SyncVar *s = sync_alloc_.Map(idx & ~kFlagMask); in MoveMemory()
HDtsan_dense_alloc.h74 T *Map(IndexT idx) { in Map() function
84 *(IndexT*)Map(idx) = freelist_; in FlushCache()
121 freelist_ = *(IndexT*)Map(idx); in Refill()
129 *(IndexT*)Map(idx) = freelist_; in Drain()
/NextBSD/contrib/llvm/lib/Target/Hexagon/
HDBitTracker.cpp171 : Trace(false), ME(E), MF(F), MRI(F.getRegInfo()), Map(*new CellMapType) {} in BitTracker()
174 delete &Map; in ~BitTracker()
793 RegisterCell DefC = ME.getCell(DefRR, Map); in visitPHI()
811 RegisterCell ResC = ME.getCell(RU, Map); in visitPHI()
822 ME.putCell(DefRR, DefC, Map); in visitPHI()
838 bool Eval = ME.evaluate(MI, Map, ResMap); in visitNonBranch()
847 << " cell: " << ME.getCell(RU, Map) << "\n"; in visitNonBranch()
875 if (RefC != ME.getCell(RD, Map)) { in visitNonBranch()
876 ME.putCell(RD, RefC, Map); in visitNonBranch()
880 RegisterCell DefC = ME.getCell(RD, Map); in visitNonBranch()
[all …]
/NextBSD/contrib/llvm/tools/clang/include/clang/Lex/
HDDirectoryLookup.h47 const HeaderMap *Map; member
82 u.Map = map; in DirectoryLookup()
108 return isHeaderMap() ? u.Map : nullptr; in getHeaderMap()
/NextBSD/contrib/llvm/lib/IR/
HDConstantsContext.h554 MapTy Map;
557 typename MapTy::iterator map_begin() { return Map.begin(); }
558 typename MapTy::iterator map_end() { return Map.end(); }
561 for (auto &I : Map)
583 if (I == Map.end())
594 return Map.find_as(Lookup);
598 void insert(ConstantClass *CP) { Map[CP] = '\0'; }
602 typename MapTy::iterator I = Map.find(CP);
603 assert(I != Map.end() && "Constant not found in constant table!");
605 Map.erase(I);
[all …]
/NextBSD/contrib/llvm/tools/clang/lib/Lex/
HDModuleMap.cpp991 ModuleMap &Map; member in clang::ModuleMapParser
1048 ModuleMap &Map, in ModuleMapParser() argument
1053 : L(L), SourceMgr(SourceMgr), Target(Target), Diags(Diags), Map(Map), in ModuleMapParser()
1346 if (Module *Next = Map.lookupModuleQualified(Id[I].first, ActiveModule)) { in parseModuleDecl()
1364 if (ModuleMapFile != Map.getContainingModuleMapFile(TopLevelModule)) { in parseModuleDecl()
1365 assert(ModuleMapFile != Map.getModuleMapFileForUniquing(TopLevelModule) && in parseModuleDecl()
1368 Map.addAdditionalModuleMapFile(TopLevelModule, ModuleMapFile); in parseModuleDecl()
1389 if (Module *Existing = Map.lookupModuleQualified(ModuleName, ActiveModule)) { in parseModuleDecl()
1417 ActiveModule = Map.findOrCreateModule(ModuleName, ActiveModule, Framework, in parseModuleDecl()
1566 Map.parseModuleMapFile( in parseExternModuleDecl()
[all …]

12345678910