/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
H A D | TypeStreamMerger.cpp | 138 inline bool remapIndex(TypeIndex &Idx, ArrayRef<TypeIndex> Map) { argument 139 if (LLVM_LIKELY(remapIndexSimple(Idx, Map))) 142 return remapIndexFallback(Idx, Map); 145 inline bool remapIndexSimple(TypeIndex &Idx, ArrayRef<TypeIndex> Map) const { 154 if (LLVM_UNLIKELY(MapPos >= Map.size() || Map[MapPos] == Untranslated)) 157 Idx = Map[MapPos]; 161 bool remapIndexFallback(TypeIndex &Idx, ArrayRef<TypeIndex> Map); 191 /// Map from source type index to destination type index. Indexed by source 218 ArrayRef<TypeIndex> Map) { 217 remapIndexFallback(TypeIndex &Idx, ArrayRef<TypeIndex> Map) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | RDFRegisters.h | 37 IndexedSet() { Map.reserve(N); } 40 // Index Idx corresponds to Map[Idx-1]. 41 assert(Idx != 0 && !Map.empty() && Idx-1 < Map.size()); 42 return Map[Idx-1]; 47 auto F = llvm::find(Map, Val); 48 if (F != Map.end()) 49 return F - Map.begin() + 1; 50 Map.push_back(Val); 51 return Map 68 std::vector<T> Map; member in struct:llvm::rdf::IndexedSet [all...] |
H A D | RDFLiveness.h | 41 return Map.emplace(B, Empty).first->second; 46 std::map<MachineBasicBlock*,RegisterAggr> Map; member in struct:llvm::rdf::Liveness::LiveMapType
|
/freebsd-11-stable/contrib/llvm-project/clang/utils/TableGen/ |
H A D | ClangAttrEmitter.cpp | 1594 SemanticSpellingMap &Map) { 1624 Map[Idx] = EnumName; 1648 const SemanticSpellingMap &Map, 1652 for (const auto &I : Map) 1593 CreateSemanticSpellings(const std::vector<FlattenedSpelling> &Spellings, SemanticSpellingMap &Map) argument 1647 WriteSemanticSpellingSwitch(const std::string &VarName, const SemanticSpellingMap &Map, raw_ostream &OS) argument
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
H A D | Gnu.cpp | 875 StringRef Map = A->getValue(); local 876 if (Map.find('=') == StringRef::npos) 878 << Map << A->getOption().getName(); 881 CmdArgs.push_back(Args.MakeArgString(Map));
|
H A D | Clang.cpp | 635 StringRef Map = A->getValue(); local 636 if (Map.find('=') == StringRef::npos) 638 << Map << A->getOption().getName(); 640 CmdArgs.push_back(Args.MakeArgString("-fdebug-prefix-map=" + Map)); 650 StringRef Map = A->getValue(); local 651 if (Map.find('=') == StringRef::npos) 653 << Map << A->getOption().getName(); 655 CmdArgs.push_back(Args.MakeArgString("-fmacro-prefix-map=" + Map)); 705 // Map the driver type to the frontend type. This is mostly an identity 4389 StringRef Map local [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | TargetInfo.cpp | 8801 std::map<const IdentifierInfo *, struct Entry> Map; 8802 unsigned IncompleteCount; // Number of Incomplete entries in the Map. 8803 unsigned IncompleteUsedCount; // Number of IncompleteUsed entries in the Map. 8906 Entry &E = Map[ID]; 8923 auto I = Map.find(ID); 8924 assert(I != Map.end() && "Entry not present"); 8936 Map.erase(I); 8953 Entry &E = Map[ID]; 8973 auto I = Map.find(ID); 8974 if (I == Map [all...] |
H A D | CodeGenModule.cpp | 4635 GetConstantCFStringEntry(llvm::StringMap<llvm::GlobalVariable *> &Map, argument 4644 return *Map.insert(std::make_pair(String, nullptr)).first; 4662 return *Map.insert(std::make_pair( 5813 CodeGenModule::CreateMetadataIdentifierImpl(QualType T, MetadataTypeMap &Map, argument 5815 llvm::Metadata *&InternalId = Map[T.getCanonicalType()];
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | DeclBase.cpp | 1332 StoredDeclsMap *Map; local 1333 if (!(Map = DC->LookupPtr)) 1334 Map = DC->CreateStoredDeclsMap(Context); 1338 (*Map)[Name].removeExternalDecls(); 1348 StoredDeclsMap *Map; local 1349 if (!(Map = DC->LookupPtr)) 1350 Map = DC->CreateStoredDeclsMap(Context); 1354 StoredDeclsList &List = (*Map)[Name]; 1488 StoredDeclsMap *Map = DC->getPrimaryContext()->LookupPtr; local 1489 if (Map) { 1637 StoredDeclsMap *Map = LookupPtr; local 1664 StoredDeclsMap *Map = LookupPtr; local 1690 StoredDeclsMap *Map = LookupPtr; local 1864 StoredDeclsMap *Map = LookupPtr; local 1949 DestroyAll(StoredDeclsMap *Map, bool Dependent) argument 1973 auto *Map = static_cast<DependentStoredDeclsMap *>(Parent->LookupPtr); local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-readobj/ |
H A D | ELFDumper.cpp | 3179 DenseMap<uint64_t, const GroupSection *> Map = mapSectionsToGroups(V); local 3187 const GroupSection *MainGroup = Map[GM.Index]; 5502 DenseMap<uint64_t, const GroupSection *> Map = mapSectionsToGroups(V); local 5514 const GroupSection *MainGroup = Map[GM.Index];
|
/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | RegisterInfoEmitter.cpp | 674 const CodeGenSubRegIndex::CompMap &Map = Idx->getComposites(); local 675 for (const auto &I : Map) { 682 for (const auto &I : Map) { 706 // Map each Sub-register index to a compatible table row.
|
H A D | InfoByHwMode.h | 68 InfoByHwMode(const MapType &M) : Map(M) {} 71 iterator begin() { return Map.begin(); } 73 iterator end() { return Map.end(); } 75 const_iterator begin() const { return Map.begin(); } 77 const_iterator end() const { return Map.end(); } 79 bool empty() const { return Map.empty(); } 82 bool hasMode(unsigned M) const { return Map.find(M) != Map.end(); } 89 Map.insert({Mode, Map 117 MapType Map; member in struct:llvm::InfoByHwMode [all...] |
H A D | InfoByHwMode.cpp | 35 auto I = Map.insert({P.first, MVT(llvm::getValueType(P.second))}); 54 return Map == T.Map; 60 return Map < T.Map; 64 auto F = Map.find(Mode); 65 if (F != Map.end()) 69 auto D = Map.find(DefaultMode); 70 if (D != Map.end()) 71 return Map [all...] |
H A D | FixedLenDecoderEmitter.cpp | 274 // Map of well-known segment value to the set of uid's with that value. 281 // Map of well-known segment value to its delegate. 2400 for (auto &KV : EBM.Map) 2418 for (auto &KV : EBM.Map) {
|
H A D | CodeGenRegisters.cpp | 284 // Map explicit sub-registers first, so the names take precedence. 295 const SubRegMap &Map = ESR->computeSubRegs(RegBank); local 298 for (const auto &SR : Map) { 313 const SubRegMap &Map = SR->computeSubRegs(RegBank); local 319 SubRegMap::const_iterator SRI = Map.find(I->first); 320 if (SRI == Map.end()) 351 const SubRegMap &Map = SR->computeSubRegs(RegBank); local 352 for (const auto &SubReg : Map) 802 RSI.Map.insert({DefaultMode, RI}); 2169 // Map SubRegInde [all...] |
H A D | CodeGenDAGPatterns.h | 207 return Map.insert({Mode,SetType()}).first->second; 215 return isDefaultOnly() && Map.begin()->second.size() == 1; 221 return *Map.begin()->second.begin(); 228 return Map.size() == 1 && Map.begin()->first == DefaultMode;
|
H A D | CodeGenDAGPatterns.cpp | 145 Map.insert({M, Map.at(DefaultMode)}); 185 Modes.reserve(Map.size());
|
H A D | CodeEmitterGen.cpp | 275 for (auto &KV : EBM.Map) { 412 for (auto &KV : EBM.Map) { 460 // Map to accumulate all the cases.
|
/freebsd-11-stable/contrib/llvm-project/llvm/tools/opt/ |
H A D | opt.cpp | 490 void exportDebugifyStats(llvm::StringRef Path, const DebugifyStatsMap &Map) { argument 501 for (const auto &Entry : Map) {
|
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-xray/ |
H A D | xray-stacks.cpp | 689 InstrumentationMap Map; 698 Map = std::move(*InstrumentationMapOrError); 720 Map.getFunctionAddresses());
|
H A D | xray-graph.cpp | 418 InstrumentationMap Map; local 427 Map = std::move(*InstrumentationMapOrError); 430 const auto &FunctionAddresses = Map.getFunctionAddresses();
|
H A D | xray-extract.cpp | 1 //===- xray-extract.cpp: XRay Instrumentation Map Extraction --------------===// 51 void exportAsYAML(const InstrumentationMap &Map, raw_ostream &OS, argument 55 auto Sleds = Map.sleds(); 58 auto FuncId = Map.getFunctionId(Sled.Function);
|
H A D | xray-converter.cpp | 365 InstrumentationMap Map; 374 Map = std::move(*InstrumentationMapOrError); 377 const auto &FunctionAddresses = Map.getFunctionAddresses();
|
H A D | xray-account.cpp | 404 InstrumentationMap Map; 413 Map = std::move(*InstrumentationMapOrError); 422 const auto &FunctionAddresses = Map.getFunctionAddresses();
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/XRay/ |
H A D | InstrumentationMap.cpp | 1 //===- InstrumentationMap.cpp - XRay Instrumentation Map ------------------===// 58 InstrumentationMap Map; local 226 InstrumentationMap Map; local 249 if (auto E = loadYAML(*FdOrErr, FileSize, Filename, Map.Sleds, 250 Map.FunctionAddresses, Map.FunctionIds)) 252 } else if (auto E = loadObj(Filename, *ObjectFileOrError, Map.Sleds, 253 Map.FunctionAddresses, Map.FunctionIds)) { 256 return Map; [all...] |