| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | TypeDeserializer.h | 32 Mapping(Reader) {} in MappingInfo() 36 TypeRecordMapping Mapping; member 45 if (auto EC = I.Mapping.visitTypeBegin(CVT)) in deserializeAs() 47 if (auto EC = I.Mapping.visitKnownRecord(CVT, Record)) in deserializeAs() 49 if (auto EC = I.Mapping.visitTypeEnd(CVT)) in deserializeAs() 68 assert(!Mapping && "Already in a type mapping!"); in visitTypeBegin() 69 Mapping = std::make_unique<MappingInfo>(Record.content()); in visitTypeBegin() 70 return Mapping->Mapping.visitTypeBegin(Record); in visitTypeBegin() 78 assert(Mapping && "Not in a type mapping!"); in visitTypeEnd() 79 auto EC = Mapping->Mapping.visitTypeEnd(Record); in visitTypeEnd() [all …]
|
| H A D | SymbolDeserializer.h | 28 Mapping(Reader, Container) {} in MappingInfo() 32 SymbolRecordMapping Mapping; member 64 assert(!Mapping && "Already in a symbol mapping!"); in visitSymbolBegin() 65 Mapping = std::make_unique<MappingInfo>(Record.content(), Container); in visitSymbolBegin() 66 return Mapping->Mapping.visitSymbolBegin(Record); in visitSymbolBegin() 69 assert(Mapping && "Not in a symbol mapping!"); in visitSymbolEnd() 70 auto EC = Mapping->Mapping.visitSymbolEnd(Record); in visitSymbolEnd() 71 Mapping.reset(); in visitSymbolEnd() 86 Delegate ? Delegate->getRecordOffset(Mapping->Reader) : 0; in visitKnownRecordImpl() 87 if (auto EC = Mapping->Mapping.visitKnownRecord(CVR, Record)) in visitKnownRecordImpl() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/tsan/ |
| H A D | tsan_platform.h | 57 struct Mapping { struct 95 struct Mapping { argument 130 struct Mapping { 371 struct Mapping { 396 struct Mapping { 474 struct Mapping { 520 template<typename Mapping, int Type> 524 case MAPPING_LO_APP_BEG: return Mapping::kLoAppMemBeg; in MappingImpl() 525 case MAPPING_LO_APP_END: return Mapping::kLoAppMemEnd; in MappingImpl() 527 case MAPPING_MID_APP_BEG: return Mapping::kMidAppMemBeg; in MappingImpl() [all …]
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/ |
| H A D | tsan_platform.h | 59 struct Mapping { struct 97 struct Mapping { argument 132 struct Mapping { 373 struct Mapping { 398 struct Mapping { 476 struct Mapping { 522 template<typename Mapping, int Type> 526 case MAPPING_LO_APP_BEG: return Mapping::kLoAppMemBeg; in MappingImpl() 527 case MAPPING_LO_APP_END: return Mapping::kLoAppMemEnd; in MappingImpl() 529 case MAPPING_MID_APP_BEG: return Mapping::kMidAppMemBeg; in MappingImpl() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/tsan/ |
| H A D | tsan_platform.h | 724 template <typename Mapping> 728 return Mapping::kLoAppMemBeg; in Apply() 730 return Mapping::kLoAppMemEnd; in Apply() 732 return Mapping::kMidAppMemBeg; in Apply() 734 return Mapping::kMidAppMemEnd; in Apply() 736 return Mapping::kHiAppMemBeg; in Apply() 738 return Mapping::kHiAppMemEnd; in Apply() 740 return Mapping::kHeapMemBeg; in Apply() 742 return Mapping::kHeapMemEnd; in Apply() 744 return Mapping::kVdsoBeg; in Apply() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/dsymutil/ |
| H A D | DwarfLinkerForBinary.h | 64 const DebugMapObject::DebugMapEntry *Mapping; member 67 const DebugMapObject::DebugMapEntry *Mapping) in ValidReloc() 68 : Offset(Offset), Size(Size), Addend(Addend), Mapping(Mapping) {} in ValidReloc() 132 const auto &Mapping = Entry.getValue(); in AddressManager() local 133 if (Mapping.Size && Mapping.ObjectAddress) in AddressManager() 134 AddressRanges[*Mapping.ObjectAddress] = ObjFileAddressRange( in AddressManager() 135 *Mapping.ObjectAddress + Mapping.Size, in AddressManager() 136 int64_t(Mapping.BinaryAddress) - *Mapping.ObjectAddress); in AddressManager()
|
| H A D | Reproducer.cpp | 40 SmallString<128> Mapping(Root); in ~ReproducerGenerate() local 41 sys::path::append(Mapping, "mapping.yaml"); in ~ReproducerGenerate() 42 FC->writeMapping(Mapping.str()); in ~ReproducerGenerate() 49 SmallString<128> Mapping(Root); in ReproducerUse() local 50 sys::path::append(Mapping, "mapping.yaml"); in ReproducerUse() 52 vfs::getRealFileSystem()->getBufferForFile(Mapping.str()); in ReproducerUse() 59 VFS = llvm::vfs::getVFSFromYAML(std::move(Buffer.get()), nullptr, Mapping); in ReproducerUse()
|
| H A D | DebugMap.cpp | 102 auto Mapping = AddressToMapping.find(Address); in lookupObjectAddress() local 103 if (Mapping == AddressToMapping.end()) in lookupObjectAddress() 105 return Mapping->getSecond(); in lookupObjectAddress() 281 auto &Mapping = Entry.second; in denormalize() local 283 if (Mapping.ObjectAddress) in denormalize() 284 ObjAddress = *Mapping.ObjectAddress; in denormalize() 288 Res.addSymbol(Entry.first, ObjAddress, Mapping.BinaryAddress, Mapping.Size); in denormalize()
|
| H A D | DwarfLinkerForBinary.cpp | 558 if (const auto *Mapping = DMO.lookupSymbol(*SymbolName)) in findValidRelocsMachO() local 559 ValidRelocs.emplace_back(Offset64, RelocSize, Addend, Mapping); in findValidRelocsMachO() 560 } else if (const auto *Mapping = DMO.lookupObjectAddress(SymAddress)) { in findValidRelocsMachO() local 564 ValidRelocs.emplace_back(Offset64, RelocSize, SymOffset, Mapping); in findValidRelocsMachO() 637 const auto &Mapping = Reloc.Mapping->getValue(); in printReloc() local 638 const uint64_t ObjectAddress = Mapping.ObjectAddress in printReloc() 639 ? uint64_t(*Mapping.ObjectAddress) in printReloc() 642 outs() << "Found valid debug map entry: " << Reloc.Mapping->getKey() << "\t" in printReloc() 644 uint64_t(Mapping.BinaryAddress)); in printReloc() 650 if (Reloc.Mapping->getValue().ObjectAddress) in fillDieInfo() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
| H A D | X86RegisterBankInfo.cpp | 135 auto Mapping = getValueMapping(OpRegBankIdx[Idx], 1); in getInstrValueMapping() local 136 if (!Mapping->isValid()) in getInstrValueMapping() 139 OpdsMapping[Idx] = Mapping; in getInstrValueMapping() 157 auto Mapping = getValueMapping(getPartialMappingIdx(Ty, isFP), 3); in getSameOperandsMapping() local 158 return getInstructionMapping(DefaultMappingID, 1, Mapping, NumOperands); in getSameOperandsMapping() 170 const InstructionMapping &Mapping = getInstrMappingImpl(MI); in getInstrMapping() local 171 if (Mapping.isValid()) in getInstrMapping() 172 return Mapping; in getInstrMapping() 191 auto Mapping = getValueMapping(getPartialMappingIdx(Ty, false), 3); in getInstrMapping() local 192 return getInstructionMapping(DefaultMappingID, 1, Mapping, NumOperands); in getInstrMapping() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Syntax/ |
| H A D | Tokens.cpp | 228 std::pair<const syntax::Token *, const TokenBuffer::Mapping *> 242 auto It = llvm::partition_point(File.Mappings, [&](const Mapping &M) { in spelledForExpandedToken() 264 const TokenBuffer::Mapping * 271 auto It = llvm::partition_point(F.Mappings, [SpelledI](const Mapping &M) { in mappingStartingBeforeSpelled() 354 std::string TokenBuffer::Mapping::str() const { in str() 368 const Mapping *BeginMapping; in spelledForExpanded() 373 const Mapping *LastMapping; in spelledForExpanded() 416 const Mapping &M) const { in makeExpansion() 450 auto M = llvm::partition_point(File.Mappings, [&](const Mapping &M) { in expansionStartingAt() 467 auto M = llvm::partition_point(File.Mappings, [&](const Mapping &M) { in expansionsOverlapping() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| H A D | CFLAndersAliasAnalysis.cpp | 372 for (const auto &Mapping : AMap.mappings()) { in populateAttrMap() local 373 auto IVal = Mapping.first; in populateAttrMap() 379 Attr |= Mapping.second; in populateAttrMap() 458 for (const auto &Mapping : ValueMap) { in populateExternalRelations() local 459 for (const auto &FromRecord : Mapping.second.FromRecords) { in populateExternalRelations() 460 for (const auto &ToRecord : Mapping.second.ToRecords) { in populateExternalRelations() 492 for (const auto &Mapping : AMap.mappings()) { in populateExternalAttributes() local 493 if (auto IVal = getInterfaceValue(Mapping.first, RetVals)) { in populateExternalAttributes() 494 auto Attr = getExternallyVisibleAttrs(Mapping.second); in populateExternalAttributes() 608 for (const auto &Mapping : Graph.value_mappings()) { in initializeWorkList() local [all …]
|
| H A D | CFLSteensAliasAnalysis.cpp | 191 for (const auto &Mapping : Graph.value_mappings()) { in buildSetsFrom() local 192 auto Val = Mapping.first; in buildSetsFrom() 195 auto &ValueInfo = Mapping.second; in buildSetsFrom() 211 for (const auto &Mapping : Graph.value_mappings()) { in buildSetsFrom() local 212 auto Val = Mapping.first; in buildSetsFrom() 215 auto &ValueInfo = Mapping.second; in buildSetsFrom()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/CodeView/ |
| H A D | SimpleTypeSerializer.cpp | 37 TypeRecordMapping Mapping(Writer); in serialize() local 46 cantFail(Mapping.visitTypeBegin(CVT)); in serialize() 47 cantFail(Mapping.visitKnownRecord(CVT, Record)); in serialize() 48 cantFail(Mapping.visitTypeEnd(CVT)); in serialize()
|
| H A D | ContinuationRecordBuilder.cpp | 47 : SegmentWriter(Buffer), Mapping(SegmentWriter) {} in ContinuationRecordBuilder() 72 cantFail(Mapping.visitTypeBegin(Type)); in begin() 90 cantFail(Mapping.visitMemberBegin(CVMR)); in writeMemberType() 91 cantFail(Mapping.visitKnownMember(CVMR, Record)); in writeMemberType() 92 cantFail(Mapping.visitMemberEnd(CVMR)); in writeMemberType() 176 cantFail(Mapping.visitTypeEnd(Type)); in end()
|
| H A D | SymbolSerializer.cpp | 24 Mapping(Writer, Container) {} in SymbolSerializer() 35 if (auto EC = Mapping.visitSymbolBegin(Record)) in visitSymbolBegin() 44 if (auto EC = Mapping.visitSymbolEnd(Record)) in visitSymbolEnd()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
| H A D | AddressSanitizer.cpp | 467 ShadowMapping Mapping; in getShadowMapping() local 469 Mapping.Scale = IsMyriad ? kMyriadShadowScale : kDefaultShadowScale; in getShadowMapping() 471 Mapping.Scale = ClMappingScale; in getShadowMapping() 476 Mapping.Offset = kDynamicShadowSentinel; in getShadowMapping() 478 Mapping.Offset = kMIPS32_ShadowOffset32; in getShadowMapping() 480 Mapping.Offset = kFreeBSD_ShadowOffset32; in getShadowMapping() 482 Mapping.Offset = kNetBSD_ShadowOffset32; in getShadowMapping() 484 Mapping.Offset = kDynamicShadowSentinel; in getShadowMapping() 486 Mapping.Offset = kWindowsShadowOffset32; in getShadowMapping() 488 Mapping.Offset = kEmscriptenShadowOffset; in getShadowMapping() [all …]
|
| H A D | HWAddressSanitizer.cpp | 276 ShadowMapping Mapping; member in __anon4587ec1a0111::HWAddressSanitizer 494 Mapping.init(TargetTriple, InstrumentWithCalls); in initializeModule() 621 if (Mapping.Offset != kDynamicShadowSentinel) in getShadowNonTls() 624 ConstantInt::get(IntptrTy, Mapping.Offset), Int8PtrTy)); in getShadowNonTls() 626 if (Mapping.InGlobal) { in getShadowNonTls() 726 Value *Shadow = IRB.CreateLShr(Mem, Mapping.Scale); in memToShadow() 727 if (Mapping.Offset == 0) in memToShadow() 861 (!O.Alignment || *O.Alignment >= (1ULL << Mapping.Scale) || in instrumentMemAccess() 894 size_t AlignedSize = alignTo(Size, Mapping.getObjectAlignment()); in tagAlloca() 904 size_t ShadowSize = Size >> Mapping.Scale; in tagAlloca() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/ASTDiff/ |
| H A D | ASTDiff.cpp | 32 class Mapping { class 34 Mapping() = default; 35 Mapping(Mapping &&Other) = default; 36 Mapping &operator=(Mapping &&Other) = default; 38 Mapping(size_t Size) { in Mapping() function in clang::diff::__anon882437210111::Mapping 60 Mapping TheMapping; 69 void computeChangeKinds(Mapping &M); 87 bool haveSameParents(const Mapping &M, NodeId Id1, NodeId Id2) const; 91 void addOptimalMapping(Mapping &M, NodeId Id1, NodeId Id2) const; 95 double getJaccardSimilarity(const Mapping &M, NodeId Id1, NodeId Id2) const; [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Tooling/Syntax/ |
| H A D | Tokens.h | 324 struct Mapping { struct 346 std::vector<Mapping> Mappings; argument 356 std::pair<const syntax::Token *, const Mapping *> 361 static const Mapping * 366 Expansion makeExpansion(const MarkedFile &, const Mapping &) const;
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-rtdyld/ |
| H A D | llvm-rtdyld.cpp | 601 for (StringRef Mapping : SpecificSectionMappings) { in applySpecificSectionMappings() local 602 size_t EqualsIdx = Mapping.find_first_of("="); in applySpecificSectionMappings() 603 std::string SectionIDStr = std::string(Mapping.substr(0, EqualsIdx)); in applySpecificSectionMappings() 604 size_t ComaIdx = Mapping.find_first_of(","); in applySpecificSectionMappings() 607 report_fatal_error("Invalid section specification '" + Mapping + in applySpecificSectionMappings() 616 std::string NewAddrStr = std::string(Mapping.substr(EqualsIdx + 1)); in applySpecificSectionMappings() 620 report_fatal_error("Invalid section address in mapping '" + Mapping + in applySpecificSectionMappings() 708 for (const auto &Mapping : DummySymbolMappings) { in remapSectionsAndSymbols() local 709 size_t EqualsIdx = Mapping.find_first_of('='); in remapSectionsAndSymbols() 712 report_fatal_error("Invalid dummy symbol specification '" + Mapping + in remapSectionsAndSymbols() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/ |
| H A D | Diagnostic.cpp | 311 for (auto &Mapping : *Transition.State) { in dump() 313 DiagnosticIDs::getWarningOptionForDiag(Mapping.first); in dump() 320 llvm::errs() << "<unknown " << Mapping.first << ">"; in dump() 325 switch (Mapping.second.getSeverity()) { in dump() 333 if (!Mapping.second.isUser()) in dump() 335 if (Mapping.second.isPragma()) in dump() 337 if (Mapping.second.hasNoWarningAsError()) in dump() 339 if (Mapping.second.hasNoErrorAsFatal()) in dump() 341 if (Mapping.second.wasUpgradedFromWarning()) in dump() 374 DiagnosticMapping Mapping = makeUserMapping(Map, L); in setSeverity() local [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | AnnotationRemarks.cpp | 89 MapVector<StringRef, unsigned> Mapping; in runImpl() local 98 auto Iter = Mapping.insert({cast<MDString>(Op.get())->getString(), 0}); in runImpl() 103 for (const auto &KV : Mapping) in runImpl()
|
| /netbsd-src/sys/external/bsd/acpica/dist/executer/ |
| H A D | exregion.c | 568 ACPI_DATA_TABLE_MAPPING *Mapping; 575 Mapping = (ACPI_DATA_TABLE_MAPPING *) RegionContext; 576 Pointer = ACPI_CAST_PTR (char, Mapping->Pointer) + 577 (Address - ACPI_PTR_TO_PHYSADDR (Mapping->Pointer)); 587 ACPI_DATA_TABLE_MAPPING *Mapping; AcpiExDataTableSpaceHandler() local
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/ |
| H A D | FileRemapper.cpp | 198 for (auto &Mapping : FromToMappings) { in forEachMapping() local 199 if (const FileEntry *FE = Mapping.second.dyn_cast<const FileEntry *>()) { in forEachMapping() 200 CaptureFile(Mapping.first->getName(), FE->getName()); in forEachMapping() 204 Mapping.first->getName(), in forEachMapping() 205 Mapping.second.get<llvm::MemoryBuffer *>()->getMemBufferRef()); in forEachMapping()
|