Home
last modified time | relevance | path

Searched refs:Mapping (Results 1 – 25 of 118) sorted by relevance

12345

/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeDeserializer.h32 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 in visitTypeEnd()
99 std::unique_ptr<MappingInfo> Mapping; global() variable
108 TypeRecordMapping Mapping; global() member
159 MappingInfo Mapping; global() variable
[all...]
H A DSymbolDeserializer.h28 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 in visitSymbolEnd()
94 std::unique_ptr<MappingInfo> Mapping; global() variable
[all...]
H A DSymbolSerializer.h36 SymbolRecordMapping Mapping; variable
76 return Mapping.visitKnownRecord(CVR, Record); in visitKnownRecordImpl()
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_platform.h29 // Mapping app memory and back does not produce the same address,
33 // Mapping is non-linear for linear user range.
821 template <typename Mapping>
825 return Mapping::kLoAppMemBeg; in Apply()
827 return Mapping::kLoAppMemEnd; in Apply()
829 return Mapping::kMidAppMemBeg;
831 return Mapping::kMidAppMemEnd;
833 return Mapping::kHiAppMemBeg; in MemToShadow()
835 return Mapping::kHiAppMemEnd;
837 return Mapping
[all...]
/freebsd/contrib/llvm-project/clang/lib/Tooling/Inclusions/Stdlib/
H A DStandardLibrary.cpp84 SymbolHeaderMapping *Mapping = new SymbolHeaderMapping(); in initialize() local
85 LanguageMappings[static_cast<unsigned>(Language)] = Mapping; in initialize()
88 Mapping->SymbolCount = SymCount; in initialize()
89 Mapping->SymbolNames = in initialize()
90 new std::remove_reference_t<decltype(*Mapping->SymbolNames)>[SymCount]; in initialize()
91 Mapping->SymbolHeaderIDs = new std::remove_reference_t< in initialize()
92 decltype(*Mapping->SymbolHeaderIDs)>[SymCount]; in initialize()
93 Mapping->NamespaceSymbols = in initialize()
94 new std::remove_reference_t<decltype(*Mapping->NamespaceSymbols)>; in initialize()
95 Mapping->HeaderIDs = in initialize()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/nsan/
H A Dnsan_platform.h79 struct Mapping { struct
99 template <typename Mapping, int Type> uptr MappingImpl() { in MappingImpl() argument
102 return Mapping::kAppAddr; in MappingImpl()
104 return Mapping::kUnusedAddr; in MappingImpl()
106 return Mapping::kShadowAddr; in MappingImpl()
108 return Mapping::kTypesAddr; in MappingImpl()
110 return Mapping::kShadowMask; in MappingImpl()
115 return MappingImpl<Mapping, Type>(); in MappingArchImpl()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DDarwinSDKInfo.cpp25 auto KV = Mapping.find(Key.normalize()); in map()
26 if (KV != Mapping.end()) in map()
43 llvm::DenseMap<VersionTuple, VersionTuple> Mapping; in parseJSON() local
50 Mapping[KeyVersion.normalize()] = ValueVersion; in parseJSON()
59 if (Mapping.empty()) in parseJSON()
62 Min, Max, MinValue, MaximumDeploymentTarget, std::move(Mapping)); in parseJSON()
96 auto Mapping = RelatedTargetVersionMapping::parseJSON( in parseDarwinSDKSettingsJSON() local
98 if (Mapping) in parseDarwinSDKSettingsJSON()
103 .Value] = std::move(Mapping); in parseDarwinSDKSettingsJSON()
108 if (const auto *Mapping = VM->getObject("macOS_iOSMac")) { in parseDarwinSDKSettingsJSON() local
[all …]
H A DDiagnostic.cpp310 for (auto &Mapping : *Transition.State) { in dump()
312 DiagnosticIDs::getWarningOptionForDiag(Mapping.first); in dump()
319 llvm::errs() << "<unknown " << Mapping.first << ">"; in dump()
324 switch (Mapping.second.getSeverity()) { in dump()
332 if (!Mapping.second.isUser()) in dump()
334 if (Mapping.second.isPragma()) in dump()
336 if (Mapping.second.hasNoWarningAsError()) in dump()
338 if (Mapping.second.hasNoErrorAsFatal()) in dump()
340 if (Mapping.second.wasUpgradedFromWarning()) in dump()
374 DiagnosticMapping Mapping = makeUserMapping(Map, L); in setSeverity() local
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDarwinSDKInfo.h91 llvm::DenseMap<VersionTuple, VersionTuple> Mapping) in RelatedTargetVersionMapping() argument
94 MaximumValue(MaximumValue), Mapping(Mapping) { in RelatedTargetVersionMapping()
95 assert(!this->Mapping.empty() && "unexpected empty mapping"); in RelatedTargetVersionMapping()
141 llvm::DenseMap<VersionTuple, VersionTuple> Mapping; variable
168 auto Mapping = VersionMappings.find(Kind.Value); in getVersionMapping() local
169 if (Mapping == VersionMappings.end()) in getVersionMapping()
171 return Mapping->getSecond() ? &*Mapping->getSecond() : nullptr; in getVersionMapping()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86RegisterBankInfo.cpp
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/
H A DRISCVRegisterBankInfo.cpp254 const InstructionMapping &Mapping = getInstrMappingImpl(MI); in getInstrMapping() local
255 if (Mapping.isValid()) in getInstrMapping()
256 return Mapping; in getInstrMapping()
307 const ValueMapping *Mapping; in getInstrMapping() local
309 Mapping = getVRBValueMapping(Size.getKnownMinValue()); in getInstrMapping()
311 Mapping = getFPValueMapping(Size.getFixedValue()); in getInstrMapping()
313 Mapping = GPRValueMapping; in getInstrMapping()
327 return getInstructionMapping(DefaultMappingID, 1, Mapping, NumOperands); in getInstrMapping()
337 auto Mapping = GPRValueMapping; in getInstrMapping() local
344 Mapping = getVRBValueMapping(DstMinSize); in getInstrMapping()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DTokens.cpp270 std::pair<const syntax::Token *, const TokenBuffer::Mapping *>
284 auto It = llvm::partition_point(File.Mappings, [&](const Mapping &M) { in spelledForExpandedToken()
306 const TokenBuffer::Mapping *
313 auto It = llvm::partition_point(F.Mappings, [SpelledI](const Mapping &M) { in mappingStartingBeforeSpelled()
397 std::string TokenBuffer::Mapping::str() const { in str()
462 const Mapping &M) const { in makeExpansion()
496 auto M = llvm::partition_point(File.Mappings, [&](const Mapping &M) { in expansionStartingAt()
513 auto M = llvm::partition_point(File.Mappings, [&](const Mapping &M) { in expansionsOverlapping()
567 for (auto Mapping : File.Mappings) { in macroExpansions() local
568 const syntax::Token *Token = &Spelled[Mapping.BeginSpelled]; in macroExpansions()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/GISel/
H A DX86RegisterBankInfo.cpp249 auto Mapping = getValueMapping(OpRegBankIdx[Idx], 1); in getInstrValueMapping() local
250 if (!Mapping->isValid()) in getInstrValueMapping()
253 OpdsMapping[Idx] = Mapping; in getInstrValueMapping()
271 auto Mapping = getValueMapping(getPartialMappingIdx(MI, Ty, isFP), 3); in getSameOperandsMapping() local
272 return getInstructionMapping(DefaultMappingID, 1, Mapping, NumOperands); in getSameOperandsMapping()
286 const InstructionMapping &Mapping = getInstrMappingImpl(MI); in getInstrMapping() local
287 if (Mapping.isValid()) in getInstrMapping()
288 return Mapping; in getInstrMapping()
307 auto Mapping = getValueMapping(getPartialMappingIdx(MI, Ty, false), 3); in getInstrMapping() local
308 return getInstructionMapping(DefaultMappingID, 1, Mapping, NumOperands); in getInstrMapping()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DSimpleTypeSerializer.cpp38 TypeRecordMapping Mapping(Writer); in serialize() local
47 cantFail(Mapping.visitTypeBegin(CVT)); in serialize()
48 cantFail(Mapping.visitKnownRecord(CVT, Record)); in serialize()
49 cantFail(Mapping.visitTypeEnd(CVT)); in serialize()
H A DContinuationRecordBuilder.cpp47 : 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 DSymbolSerializer.cpp23 Writer(Stream), Mapping(Writer, Container) {} in SymbolSerializer()
34 if (auto EC = Mapping.visitSymbolBegin(Record)) in visitSymbolBegin()
43 if (auto EC = Mapping.visitSymbolEnd(Record)) in visitSymbolEnd()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp505 ShadowMapping Mapping; in getShadowMapping() local
507 Mapping.Scale = kDefaultShadowScale; in getShadowMapping()
509 Mapping.Scale = ClMappingScale; in getShadowMapping()
514 Mapping.Offset = kDynamicShadowSentinel; in getShadowMapping()
516 Mapping.Offset = kMIPS_ShadowOffsetN32; in getShadowMapping()
518 Mapping.Offset = kMIPS32_ShadowOffset32; in getShadowMapping()
520 Mapping.Offset = kFreeBSD_ShadowOffset32; in getShadowMapping()
522 Mapping.Offset = kNetBSD_ShadowOffset32; in getShadowMapping()
524 Mapping.Offset = kDynamicShadowSentinel; in getShadowMapping()
526 Mapping.Offset = kWindowsShadowOffset32; in getShadowMapping()
[all …]
H A DHWAddressSanitizer.cpp407 ShadowMapping Mapping; member in __anon1b7bdbef0111::HWAddressSanitizer
608 Mapping.init(TargetTriple, InstrumentWithCalls); in initializeModule()
758 if (Mapping.Offset != kDynamicShadowSentinel) in getShadowNonTls()
761 ConstantInt::get(IntptrTy, Mapping.Offset), PtrTy)); in getShadowNonTls()
763 if (Mapping.InGlobal) in getShadowNonTls()
895 Value *Shadow = IRB.CreateLShr(Mem, Mapping.Scale); in memToShadow()
896 if (Mapping.Offset == 0) in memToShadow()
962 if (TargetTriple.isAArch64() && Mapping.Offset != kDynamicShadowSentinel) { in instrumentMemAccessOutline()
963 uint16_t offset_shifted = Mapping.Offset >> 32; in instrumentMemAccessOutline()
964 useFixedShadowIntrinsic = (uint64_t)offset_shifted << 32 == Mapping.Offset; in instrumentMemAccessOutline()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/GISel/
H A DM68kRegisterBankInfo.cpp37 // GPR Partial Mapping
72 const InstructionMapping &Mapping = getInstrMappingImpl(MI); in getInstrMapping() local
73 if (Mapping.isValid()) in getInstrMapping()
74 return Mapping; in getInstrMapping()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DAnnotationRemarks.cpp51 MapVector<StringRef, unsigned> Mapping; in runImpl() local
65 auto Iter = Mapping.insert({AnnotationStr, 0}); in runImpl()
70 for (const auto &KV : Mapping) in runImpl()
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Syntax/
H A DTokens.h322 struct Mapping { struct
344 std::vector<Mapping> Mappings; argument
354 std::pair<const syntax::Token *, const Mapping *>
359 static const Mapping *
364 Expansion makeExpansion(const MarkedFile &, const Mapping &) const;
/freebsd/sys/contrib/dev/acpica/components/executer/
H A Dexregion.c695 ACPI_DATA_TABLE_MAPPING *Mapping; in AcpiExDataTableSpaceHandler() local
702 Mapping = (ACPI_DATA_TABLE_MAPPING *) RegionContext; in AcpiExDataTableSpaceHandler()
703 Pointer = ACPI_CAST_PTR (char, Mapping->Pointer) + in AcpiExDataTableSpaceHandler()
704 (Address - ACPI_PTR_TO_PHYSADDR (Mapping->Pointer)); in AcpiExDataTableSpaceHandler()
/freebsd/contrib/llvm-project/llvm/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp651 for (StringRef Mapping : SpecificSectionMappings) { in applySpecificSectionMappings() local
652 size_t EqualsIdx = Mapping.find_first_of('='); in applySpecificSectionMappings()
653 std::string SectionIDStr = std::string(Mapping.substr(0, EqualsIdx)); in applySpecificSectionMappings()
654 size_t ComaIdx = Mapping.find_first_of(','); in applySpecificSectionMappings()
657 report_fatal_error("Invalid section specification '" + Mapping + in applySpecificSectionMappings()
666 std::string NewAddrStr = std::string(Mapping.substr(EqualsIdx + 1)); in applySpecificSectionMappings()
670 report_fatal_error("Invalid section address in mapping '" + Mapping + in applySpecificSectionMappings()
758 for (const auto &Mapping : DummySymbolMappings) { in remapSectionsAndSymbols() local
759 size_t EqualsIdx = Mapping.find_first_of('='); in remapSectionsAndSymbols()
763 Mapping + "'. Should be '<symbol name>=<addr>'"); in remapSectionsAndSymbols()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingPlatformFuchsia.c167 uintptr_t Mapping; in __llvm_profile_initialize() local
170 Vmo, 0, Len, &Mapping); in __llvm_profile_initialize()
184 (intptr_t)Mapping - (uintptr_t)CountersBegin + CountersOffset; in __llvm_profile_initialize()
/freebsd/sys/contrib/device-tree/src/arm/qcom/
H A Dqcom-mdm9615-wp8548-mangoh-green.dts33 /* MangOH GPIO Mapping :
119 /* GPIO Expander 0 Mapping :
157 /* GPIO Expander 1 Mapping :
198 /* GPIO Expander 2 Mapping :

12345