| /minix3/external/bsd/llvm/dist/llvm/unittests/ADT/ |
| H A D | DenseMapTest.cpp | 81 T Map; member in __anonb813dbd40111::DenseMapTest 113 EXPECT_EQ(0u, this->Map.size()); in TYPED_TEST() 114 EXPECT_TRUE(this->Map.empty()); in TYPED_TEST() 117 EXPECT_TRUE(this->Map.begin() == this->Map.end()); in TYPED_TEST() 120 EXPECT_FALSE(this->Map.count(this->getKey())); in TYPED_TEST() 121 EXPECT_TRUE(this->Map.find(this->getKey()) == this->Map.end()); in TYPED_TEST() 124 this->Map.lookup(this->getKey())); in TYPED_TEST() 131 this->Map.lookup(this->getKey())); in TYPED_TEST() 137 const TypeParam &ConstMap = this->Map; in TYPED_TEST() 145 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST() [all …]
|
| H A D | StringMapTest.cpp | 142 llvm::StringMap<int> Map(2); in TEST_F() local 144 Map["eins"] = 1; in TEST_F() 145 Map["zwei"] = 2; in TEST_F() 146 Map["drei"] = 3; in TEST_F() 147 Map.erase("drei"); in TEST_F() 148 Map.erase("eins"); in TEST_F() 149 Map["veir"] = 4; in TEST_F() 150 Map["funf"] = 5; in TEST_F() 152 EXPECT_EQ(3u, Map.size()); in TEST_F() 153 EXPECT_EQ(0, Map.lookup("eins")); in TEST_F() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm/IR/ |
| H A D | ValueMap.h | 86 MapT Map; variable 98 : Map(NumInitBuckets), Data() {} in Map() function 100 : Map(NumInitBuckets), Data(Data) {} in Map() function 113 inline iterator begin() { return iterator(Map.begin()); } in begin() 114 inline iterator end() { return iterator(Map.end()); } in end() 115 inline const_iterator begin() const { return const_iterator(Map.begin()); } in begin() 116 inline const_iterator end() const { return const_iterator(Map.end()); } in end() 118 bool empty() const { return Map.empty(); } in empty() 119 size_type size() const { return Map.size(); } in size() 122 void resize(size_t Size) { Map.resize(Size); } in resize() [all …]
|
| /minix3/external/bsd/llvm/dist/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() 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 …]
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm/ADT/ |
| H A D | MapVector.h | 35 MapType Map; variable 66 Map.clear(); in clear() 72 std::pair<typename MapType::iterator, bool> Result = Map.insert(Pair); 82 typename MapType::const_iterator Pos = Map.find(Key); in lookup() 83 return Pos == Map.end()? ValueT() : Vector[Pos->second].second; in lookup() 88 std::pair<typename MapType::iterator, bool> Result = Map.insert(Pair); in insert() 99 typename MapType::const_iterator Pos = Map.find(Key); in count() 100 return Pos == Map.end()? 0 : 1; in count() 104 typename MapType::const_iterator Pos = Map.find(Key); in find() 105 return Pos == Map.end()? Vector.end() : in find() [all …]
|
| H A D | UniqueVector.h | 32 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()
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/AST/ |
| H A D | DeclLookups.h | 75 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()
|
| H A D | DependentDiagnostic.h | 177 const DependentStoredDeclsMap *Map in ddiags() local 180 if (!Map) in ddiags() 184 return ddiag_range(ddiag_iterator(Map->FirstDiagnostic), ddiag_iterator()); in ddiags()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Analysis/ |
| H A D | LibCallSemantics.cpp | 45 StringMap<const LibCallFunctionInfo*> *Map = getMap(Impl); in getFunctionInfo() local 49 if (!Map) { in getFunctionInfo() 50 Impl = Map = new StringMap<const LibCallFunctionInfo*>(); in getFunctionInfo() 57 (*Map)[Array[i].Name] = Array+i; in getFunctionInfo() 61 return Map->lookup(F->getName()); in getFunctionInfo()
|
| /minix3/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
| H A D | FunctionSummary.cpp | 20 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()
|
| H A D | BasicValueFactory.cpp | 247 PersistentSValsTy& Map = *((PersistentSValsTy*) PersistentSVals); in getPersistentSValWithData() local 250 FoldNodeTy* P = Map.FindNodeOrInsertPos(ID, InsertPos); in getPersistentSValWithData() 255 Map.InsertNode(P, InsertPos); in getPersistentSValWithData() 272 PersistentSValPairsTy& Map = *((PersistentSValPairsTy*) PersistentSValPairs); in getPersistentSValPair() local 275 FoldNodeTy* P = Map.FindNodeOrInsertPos(ID, InsertPos); in getPersistentSValPair() 280 Map.InsertNode(P, InsertPos); in getPersistentSValPair()
|
| /minix3/external/bsd/llvm/dist/clang/lib/AST/ |
| H A D | DeclBase.cpp | 1047 StoredDeclsMap *Map; in SetNoExternalVisibleDeclsForName() local 1048 if (!(Map = DC->LookupPtr.getPointer())) in SetNoExternalVisibleDeclsForName() 1049 Map = DC->CreateStoredDeclsMap(Context); in SetNoExternalVisibleDeclsForName() 1053 (*Map)[Name].removeExternalDecls(); in SetNoExternalVisibleDeclsForName() 1063 StoredDeclsMap *Map; in SetExternalVisibleDeclsForName() local 1064 if (!(Map = DC->LookupPtr.getPointer())) in SetExternalVisibleDeclsForName() 1065 Map = DC->CreateStoredDeclsMap(Context); in SetExternalVisibleDeclsForName() 1069 StoredDeclsList &List = (*Map)[Name]; in SetExternalVisibleDeclsForName() 1158 StoredDeclsMap *Map = getPrimaryContext()->LookupPtr.getPointer(); in removeDecl() local 1159 if (!Map) return; in removeDecl() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/SystemZ/MCTargetDesc/ |
| H A D | SystemZMCTargetDesc.cpp | 80 static unsigned Map[SystemZ::NUM_TARGET_REGS]; in getFirstReg() local 84 Map[GR32Regs[I]] = I; in getFirstReg() 85 Map[GRH32Regs[I]] = I; in getFirstReg() 86 Map[GR64Regs[I]] = I; in getFirstReg() 87 Map[GR128Regs[I]] = I; in getFirstReg() 88 Map[FP32Regs[I]] = I; in getFirstReg() 89 Map[FP64Regs[I]] = I; in getFirstReg() 90 Map[FP128Regs[I]] = I; in getFirstReg() 94 return Map[Reg]; in getFirstReg()
|
| /minix3/external/bsd/file/dist/magic/magdir/ |
| H A D | cubemap | 6 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 D | scientific | 19 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
|
| H A D | map | 5 # map: file(1) magic for Map data 9 8 string .FIT FIT Map data
|
| H A D | sysex | 109 >>>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 …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/ |
| H A D | MachineModuleInfoImpls.cpp | 38 MachineModuleInfoImpl::StubValueTy>&Map) { in GetSortedStubs() argument 39 MachineModuleInfoImpl::SymbolListTy List(Map.begin(), Map.end()); in GetSortedStubs()
|
| H A D | LiveRangeCalc.cpp | 26 Map.resize(NumBlocks); in resetLiveOutMap() 216 Map[MBB] = LiveOutPair(I.Value, nullptr); in updateFromLiveIns() 296 if (VNInfo *VNI = Map[Pred].first) { in findReachingDefs() 345 Map[MF->getBlockNumbered(*I)] = LiveOutPair(TheVNI, nullptr); in findReachingDefs() 395 IDomValue = Map[IDom->getBlock()]; in updateSSA() 399 Map[IDom->getBlock()].second = IDomValue.second = in updateSSA() 404 LiveOutPair &Value = Map[*PI]; in updateSSA() 426 LiveOutPair &LOP = Map[MBB]; in updateSSA()
|
| /minix3/external/bsd/llvm/dist/clang/lib/Serialization/ |
| H A D | Module.cpp | 63 const ContinuousRangeMap<Key, Offset, InitialCapacity> &Map) { in dumpLocalRemap() argument 64 if (Map.begin() == Map.end()) in dumpLocalRemap() 69 for (typename MapType::const_iterator I = Map.begin(), IEnd = Map.end(); in dumpLocalRemap()
|
| /minix3/external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.init/dcl.init.list/ |
| H A D | p3-0x.cpp | 51 struct Map { struct 52 Map(std::initializer_list<std::pair<std::string,int>>) {} in Map() function 55 Map ship = {{"Sophie",14}, {"Surprise",28}};
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/Lex/ |
| H A D | DirectoryLookup.h | 47 const HeaderMap *Map; member 82 u.Map = map; in DirectoryLookup() 108 return isHeaderMap() ? u.Map : nullptr; in getHeaderMap()
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm/Analysis/ |
| H A D | ScalarEvolutionExpressions.h | 642 ValueToValueMap &Map, 644 SCEVParameterRewriter Rewriter(SE, Map, InterpretConsts); 649 : SE(S), Map(M), InterpretConsts(C) {} in SCEVParameterRewriter() 712 if (Map.count(V)) { in visitUnknown() 713 Value *NV = Map[V]; in visitUnknown() 727 ValueToValueMap ⤅ member 738 static const SCEV *rewrite(const SCEV *Scev, LoopToScevMapT &Map, in rewrite() 740 SCEVApplyRewriter Rewriter(SE, Map); in rewrite() 745 : SE(S), Map(M) {} in SCEVApplyRewriter() 792 if (0 == Map.count(L)) in visitAddRecExpr() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/IR/ |
| H A D | ConstantsContext.h | 550 MapTy Map; 553 typename MapTy::iterator map_begin() { return Map.begin(); } 554 typename MapTy::iterator map_end() { return Map.end(); } 557 for (auto &I : Map) 579 if (I == Map.end()) 590 return Map.find_as(Lookup); 594 void insert(ConstantClass *CP) { Map[CP] = '\0'; } 598 typename MapTy::iterator I = Map.find(CP); 599 assert(I != Map.end() && "Constant not found in constant table!"); 601 Map.erase(I); [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/unittests/Support/ |
| H A D | CommandLineTest.cpp | 79 StringMap<cl::Option*> Map; in TEST() local 80 cl::getRegisteredOptions(Map); in TEST() 82 ASSERT_TRUE(Map.count("test-option") == 1) << in TEST() 85 cl::Option *Retrieved = Map["test-option"]; in TEST()
|