Searched refs:Mapping (Results 1 - 25 of 51) sorted by relevance

123

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeDeserializer.h32 Mapping(Reader) {}
36 TypeRecordMapping Mapping; member in struct:llvm::codeview::TypeDeserializer::MappingInfo
45 if (auto EC = I.Mapping.visitTypeBegin(CVT))
47 if (auto EC = I.Mapping.visitKnownRecord(CVT, Record))
49 if (auto EC = I.Mapping.visitTypeEnd(CVT))
68 assert(!Mapping && "Already in a type mapping!");
69 Mapping = std::make_unique<MappingInfo>(Record.content());
70 return Mapping->Mapping.visitTypeBegin(Record);
78 assert(Mapping
99 std::unique_ptr<MappingInfo> Mapping; member in class:llvm::codeview::TypeDeserializer
108 TypeRecordMapping Mapping; member in struct:llvm::codeview::FieldListDeserializer::MappingInfo
159 MappingInfo Mapping; member in class:llvm::codeview::FieldListDeserializer
[all...]
H A DSymbolDeserializer.h28 Mapping(Reader, Container) {}
32 SymbolRecordMapping Mapping; member in struct:llvm::codeview::SymbolDeserializer::MappingInfo
64 assert(!Mapping && "Already in a symbol mapping!");
65 Mapping = std::make_unique<MappingInfo>(Record.content(), Container);
66 return Mapping->Mapping.visitSymbolBegin(Record);
69 assert(Mapping && "Not in a symbol mapping!");
70 auto EC = Mapping->Mapping.visitSymbolEnd(Record);
71 Mapping
94 std::unique_ptr<MappingInfo> Mapping; member in class:llvm::codeview::SymbolDeserializer
[all...]
H A DContinuationRecordBuilder.h39 TypeRecordMapping Mapping; member in class:llvm::codeview::ContinuationRecordBuilder
H A DSymbolSerializer.h36 SymbolRecordMapping Mapping; member in class:llvm::codeview::SymbolSerializer
76 return Mapping.visitKnownRecord(CVR, Record);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan_platform.h20 struct Mapping { struct in namespace:__dfsan
27 struct Mapping {
68 template<typename Mapping, int Type>
71 case MAPPING_SHADOW_ADDR: return Mapping::kShadowAddr;
72 case MAPPING_UNION_TABLE_ADDR: return Mapping::kUnionTableAddr;
73 case MAPPING_APP_ADDR: return Mapping::kAppAddr;
74 case MAPPING_SHADOW_MASK: return Mapping::kShadowMask;
89 return MappingImpl<Mapping, Type>();
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_platform.h58 struct Mapping { struct in namespace:__tsan
96 struct Mapping {
131 struct Mapping {
372 struct Mapping {
397 struct Mapping {
477 struct Mapping {
523 template<typename Mapping, int Type>
527 case MAPPING_LO_APP_BEG: return Mapping::kLoAppMemBeg;
528 case MAPPING_LO_APP_END: return Mapping::kLoAppMemEnd;
530 case MAPPING_MID_APP_BEG: return Mapping
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DSimpleTypeSerializer.cpp26 TypeRecordMapping Mapping(Writer);
35 cantFail(Mapping.visitTypeBegin(CVT));
36 cantFail(Mapping.visitKnownRecord(CVT, Record));
37 cantFail(Mapping.visitTypeEnd(CVT));
H A DSymbolSerializer.cpp24 Mapping(Writer, Container) {}
35 if (auto EC = Mapping.visitSymbolBegin(Record))
44 if (auto EC = Mapping.visitSymbolEnd(Record))
H A DContinuationRecordBuilder.cpp47 : SegmentWriter(Buffer), Mapping(SegmentWriter) {}
72 cantFail(Mapping.visitTypeBegin(Type));
89 // Let the Mapping handle the rest.
90 cantFail(Mapping.visitMemberBegin(CVMR));
91 cantFail(Mapping.visitKnownMember(CVMR, Record));
92 cantFail(Mapping.visitMemberEnd(CVMR));
176 cantFail(Mapping.visitTypeEnd(Type));
H A DRecordName.cpp323 SymbolRecordMapping Mapping(Reader, CodeViewContainer::ObjectFile);
325 cantFail(Mapping.visitSymbolBegin(Sym));
326 cantFail(Mapping.visitKnownRecord(Sym, Const));
327 cantFail(Mapping.visitSymbolEnd(Sym));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86RegisterBankInfo.cpp135 auto Mapping = getValueMapping(OpRegBankIdx[Idx], 1); local
136 if (!Mapping->isValid())
139 OpdsMapping[Idx] = Mapping;
157 auto Mapping = getValueMapping(getPartialMappingIdx(Ty, isFP), 3); local
158 return getInstructionMapping(DefaultMappingID, 1, Mapping, NumOperands);
170 const InstructionMapping &Mapping = getInstrMappingImpl(MI); local
171 if (Mapping.isValid())
172 return Mapping;
191 auto Mapping = getValueMapping(getPartialMappingIdx(Ty, false), 3); local
192 return getInstructionMapping(DefaultMappingID, 1, Mapping, NumOperand
305 const RegisterBankInfo::InstructionMapping &Mapping = getInstructionMapping( local
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DTokens.cpp144 std::pair<const syntax::Token *, const TokenBuffer::Mapping *>
158 auto It = llvm::partition_point(File.Mappings, [&](const Mapping &M) {
170 return {&File.SpelledTokens[It->BeginSpelled], /*Mapping*/ &*It};
176 /*Mapping*/ nullptr};
185 std::string TokenBuffer::Mapping::str() const {
192 // Mapping an empty range is ambiguous in case of empty mappings at either end
200 const Mapping *BeginMapping;
205 const Mapping *LastMapping;
243 auto M = llvm::partition_point(File.Mappings, [&](const Mapping &M) {
288 for (auto Mapping
469 TokenBuffer::Mapping Mapping; local
531 TokenBuffer::Mapping Mapping; local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DCFLAndersAliasAnalysis.cpp372 for (const auto &Mapping : AMap.mappings()) {
373 auto IVal = Mapping.first;
379 Attr |= Mapping.second;
458 for (const auto &Mapping : ValueMap) {
459 for (const auto &FromRecord : Mapping.second.FromRecords) {
460 for (const auto &ToRecord : Mapping.second.ToRecords) {
492 for (const auto &Mapping : AMap.mappings()) {
493 if (auto IVal = getInterfaceValue(Mapping.first, RetVals)) {
494 auto Attr = getExternallyVisibleAttrs(Mapping.second);
609 for (const auto &Mapping
[all...]
H A DCFLSteensAliasAnalysis.cpp191 for (const auto &Mapping : Graph.value_mappings()) {
192 auto Val = Mapping.first;
195 auto &ValueInfo = Mapping.second;
211 for (const auto &Mapping : Graph.value_mappings()) {
212 auto Val = Mapping.first;
215 auto &ValueInfo = Mapping.second;
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/ASTDiff/
H A DASTDiff.cpp31 class Mapping { class in namespace:clang::diff::__anon912
33 Mapping() = default;
34 Mapping(Mapping &&Other) = default;
35 Mapping &operator=(Mapping &&Other) = default;
37 Mapping(size_t Size) { function in class:clang::diff::__anon912::Mapping
59 Mapping TheMapping;
68 void computeChangeKinds(Mapping &M);
86 bool haveSameParents(const Mapping
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp447 ShadowMapping Mapping; local
449 Mapping.Scale = IsMyriad ? kMyriadShadowScale : kDefaultShadowScale;
451 Mapping.Scale = ClMappingScale;
456 Mapping.Offset = kDynamicShadowSentinel;
458 Mapping.Offset = kMIPS32_ShadowOffset32;
460 Mapping.Offset = kFreeBSD_ShadowOffset32;
462 Mapping.Offset = kNetBSD_ShadowOffset32;
464 Mapping.Offset = kDynamicShadowSentinel;
466 Mapping.Offset = kWindowsShadowOffset32;
468 Mapping
680 ShadowMapping Mapping; member in struct:__anon2619::AddressSanitizer
812 ShadowMapping Mapping; member in class:__anon2619::ModuleAddressSanitizer
877 ShadowMapping Mapping; member in struct:__anon2619::FunctionStackPoisoner
[all...]
H A DHWAddressSanitizer.cpp267 ShadowMapping Mapping; member in class:__anon2627::HWAddressSanitizer
369 Mapping.init(TargetTriple);
490 if (Mapping.Offset != kDynamicShadowSentinel)
493 if (Mapping.InGlobal) {
594 return ConstantExpr::getIntToPtr(ConstantInt::get(IntptrTy, Mapping.Offset),
600 Value *Shadow = IRB.CreateLShr(Mem, Mapping.Scale);
601 if (Mapping.Offset == 0)
740 (Alignment >= (1UL << Mapping.Scale) || Alignment == 0 ||
773 size_t AlignedSize = alignTo(Size, Mapping.getObjectAlignment());
783 size_t ShadowSize = Size >> Mapping
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Basic/
H A DDiagnostic.cpp298 for (auto &Mapping : *Transition.State) {
300 DiagnosticIDs::getWarningOptionForDiag(Mapping.first);
307 llvm::errs() << "<unknown " << Mapping.first << ">";
312 switch (Mapping.second.getSeverity()) {
320 if (!Mapping.second.isUser())
322 if (Mapping.second.isPragma())
324 if (Mapping.second.hasNoWarningAsError())
326 if (Mapping.second.hasNoErrorAsFatal())
328 if (Mapping.second.wasUpgradedFromWarning())
361 DiagnosticMapping Mapping local
[all...]
H A DDiagnosticIDs.cpp429 DiagnosticMapping &Mapping = State->getOrAddMapping((diag::kind)DiagID);
432 if (Mapping.getSeverity() != diag::Severity())
433 Result = Mapping.getSeverity();
437 !Mapping.isUser() && getBuiltinDiagClass(DiagID) != CLASS_REMARK)
450 if (IsExtensionDiag && !Mapping.isUser())
471 if (State->WarningsAsErrors && !Mapping.hasNoWarningAsError())
478 if (State->ErrorsAsFatal && !Mapping.hasNoErrorAsFatal())
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp600 for (StringRef Mapping : SpecificSectionMappings) {
601 size_t EqualsIdx = Mapping.find_first_of("=");
602 std::string SectionIDStr = Mapping.substr(0, EqualsIdx);
603 size_t ComaIdx = Mapping.find_first_of(",");
606 report_fatal_error("Invalid section specification '" + Mapping +
615 std::string NewAddrStr = Mapping.substr(EqualsIdx + 1);
619 report_fatal_error("Invalid section address in mapping '" + Mapping +
707 for (const auto &Mapping : DummySymbolMappings) {
708 size_t EqualsIdx = Mapping.find_first_of('=');
711 report_fatal_error("Invalid dummy symbol specification '" + Mapping
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/Unix/
H A DPath.inc801 Mapping = ::mmap(nullptr, Size, prot, flags, FD, Offset);
802 if (Mapping == MAP_FAILED)
809 : Size(length), Mapping(), Mode(mode) {
813 Mapping = nullptr;
817 if (Mapping)
818 ::munmap(Mapping, Size);
822 assert(Mapping && "Mapping failed but used anyway!");
827 assert(Mapping && "Mapping faile
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/XRay/
H A DBlockVerifier.cpp122 auto &Mapping = TransitionTable[number(CurrentRecord)];
123 auto &Destinations = Mapping.ToStates;
124 assert(Mapping.From == CurrentRecord &&
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/Syntax/
H A DTokens.h271 struct Mapping { struct in class:clang::syntax::TokenBuffer
293 std::vector<Mapping> Mappings;
303 std::pair<const syntax::Token *, const Mapping *>
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.cpp79 PreprocessorSkippedRangeMapping Mapping; local
87 Mapping[Range.Offset] = Range.Length;
89 Result.PPSkippedRangeMapping = std::move(Mapping);
/freebsd-11-stable/stand/efi/include/
H A Defipciio.h297 @param Mapping A resulting value to pass to Unmap().
314 OUT VOID **Mapping
321 @param Mapping The mapping value returned from Map().
331 IN VOID *Mapping

Completed in 258 milliseconds

123