Home
last modified time | relevance | path

Searched refs:Mappings (Results 1 – 25 of 33) sorted by relevance

12

/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DPathMapping.cpp31 for (const auto &Mapping : Mappings) { in doPathMapping()
49 const PathMappings &Mappings) { in applyPathMappings() argument
67 applyPathMappings(KV.second, Dir, Mappings); in applyPathMappings()
70 applyPathMappings(Val, Dir, Mappings); in applyPathMappings()
84 : WrappedHandler(Handler), Mappings(Mappings) {} in PathMappingMessageHandler()
101 Mappings); in onReply()
107 const PathMappings &Mappings; member in clang::clangd::__anona75da5040111::PathMappingMessageHandler
115 : WrappedTransport(std::move(Transp)), Mappings(std::move(Mappings)) {} in PathMappingTransport()
132 Mappings); in reply()
143 PathMappings Mappings; member in clang::clangd::__anona75da5040111::PathMappingTransport
[all …]
H A DPathMapping.h55 const PathMappings &Mappings);
61 const PathMappings &Mappings);
68 PathMappings Mappings);
/llvm-project-15.0.7/llvm/unittests/Transforms/Utils/
H A DVFABIUtils.cpp42 SmallVector<std::string, 8> Mappings; member in VFABIAttrTest
46 Mappings.push_back("_ZGVnN8v_g"); in TEST_F()
47 Mappings.push_back("_ZGVnN2v_g(custom_vg)"); in TEST_F()
48 VFABI::setVectorVariantNames(CI, Mappings); in TEST_F()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DPathMappingTests.cpp23 llvm::Expected<PathMappings> Mappings = parsePathMappings(RawMappings); in failedParse() local
24 if (!Mappings) { in failedParse()
25 consumeError(Mappings.takeError()); in failedParse()
86 llvm::Expected<PathMappings> Mappings = parsePathMappings(RawMappings); in mapsProperly() local
87 if (!Mappings) in mapsProperly()
89 llvm::Optional<std::string> MappedPath = doPathMapping(Orig, Dir, *Mappings); in mapsProperly()
/llvm-project-15.0.7/llvm/lib/DebugInfo/CodeView/
H A DDebugCrossImpSubsection.cpp58 auto Result = Mappings.insert(std::make_pair(Module, Targets)); in addImport()
65 for (const auto &Item : Mappings) { in calculateSerializedSize()
74 using T = decltype(&*Mappings.begin()); in commit()
76 Ids.reserve(Mappings.size()); in commit()
78 for (const auto &M : Mappings) in commit()
H A DDebugCrossExSubsection.cpp37 Mappings[Local] = Global; in addMapping()
41 return Mappings.size() * sizeof(CrossModuleExport); in calculateSerializedSize()
46 for (const auto &M : Mappings) { in commit()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DInjectTLIMappings.cpp86 SmallVector<std::string, 8> Mappings; in addMappingsFromTLI() local
87 VFABI::getVectorVariantNames(CI, Mappings); in addMappingsFromTLI()
89 const SetVector<StringRef> OriginalSetOfMappings(Mappings.begin(), in addMappingsFromTLI()
90 Mappings.end()); in addMappingsFromTLI()
99 Mappings.push_back(MangledName); in addMappingsFromTLI()
120 VFABI::setVectorVariantNames(&CI, Mappings); in addMappingsFromTLI()
/llvm-project-15.0.7/clang/lib/Tooling/Syntax/
H A DTokens.cpp341 if (It == File.Mappings.begin()) { in spelledForExpandedToken()
369 if (It == F.Mappings.begin()) in mappingStartingBeforeSpelled()
544 auto M = llvm::partition_point(File.Mappings, [&](const Mapping &M) { in expansionStartingAt()
547 if (M == File.Mappings.end() || M->BeginSpelled != SpelledIndex) in expansionStartingAt()
561 auto M = llvm::partition_point(File.Mappings, [&](const Mapping &M) { in expansionsOverlapping()
615 for (auto Mapping : File.Mappings) { in macroExpansions()
792 auto &mappings = pair.second.Mappings; in build()
831 Result.Files[File].Mappings.push_back(Mapping); in discard()
897 Result.Files[File].Mappings.push_back(Mapping); in advance()
1007 if (File.Mappings.empty()) { in dumpForTests()
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/Transform/IR/
H A DTransformInterfaces.cpp48 for (const Mappings &mapping : llvm::make_second_range(mappings)) { in getHandleForPayloadOp()
56 Mappings &map, Operation *operation, Value handle) { in tryEmplaceReverseMapping()
80 Mappings &mappings = getMapping(value); in setPayloadOps()
98 Mappings &mappings = getMapping(value); in removePayloadOps()
106 Mappings &mappings = getMapping(value); in updatePayloadOps()
128 for (const Mappings &mapping : llvm::make_second_range(mappings)) { in recordHandleInvalidation()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp412 Function *cloneCandidateFunction(Function *F, ValueToValueMapTy &Mappings) { in cloneCandidateFunction() argument
413 Function *Clone = CloneFunction(F, Mappings); in cloneCandidateFunction()
519 ValueToValueMapTy Mappings; in specializeFunction() local
520 Function *Clone = cloneCandidateFunction(F, Mappings); in specializeFunction()
523 rewriteCallSites(Clone, S.Args, Mappings); in specializeFunction()
764 ValueToValueMapTy &Mappings) { in rewriteCallSites() argument
788 [CS, &Mappings](const ArgInfo &Arg) { in rewriteCallSites()
790 return CS->getArgOperand(ArgNo) == Mappings[Arg.Formal]; in rewriteCallSites()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Transform/IR/
H A DTransformInterfaces.h244 struct Mappings { struct
433 const Mappings &getMapping(Value value) const { in getMapping()
436 Mappings &getMapping(Value value) { in getMapping()
444 const Mappings &getMapping(Operation *operation) const { in getMapping()
447 Mappings &getMapping(Operation *operation) { in getMapping()
485 static LogicalResult tryEmplaceReverseMapping(Mappings &map, Operation *op,
505 llvm::SmallDenseMap<Region *, Mappings> mappings;
/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DVectorFunctionABITest.cpp563 SmallVector<std::string, 8> Mappings; member in VFABIAttrTest
567 VFABI::getVectorVariantNames(*CI, Mappings); in TEST_F()
571 EXPECT_EQ(Mappings, Exp); in TEST_F()
631 auto Mappings = VFDatabase::getMappings(*CI); in TEST() local
632 EXPECT_EQ(Mappings.size(), (unsigned)0); in TEST()
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/CodeView/
H A DDebugCrossExSubsection.h62 std::map<uint32_t, uint32_t> Mappings;
H A DDebugCrossImpSubsection.h88 StringMap<std::vector<support::ulittle32_t>> Mappings;
/llvm-project-15.0.7/mlir/include/mlir/Bindings/Python/
H A DAttributes.td24 // Mappings between supported builtin attribtues and Python types.
/llvm-project-15.0.7/clang-tools-extra/clangd/tool/
H A DClangdMain.cpp1034 auto Mappings = parsePathMappings(PathMappingsArg); in main() local
1035 if (!Mappings) { in main()
1036 elog("Invalid -path-mappings: {0}", Mappings.takeError()); in main()
1040 std::move(*Mappings)); in main()
/llvm-project-15.0.7/clang/lib/CrossTU/
H A DCrossTranslationUnit.cpp642 auto *Mappings = dyn_cast<llvm::yaml::MappingNode>(DocumentRoot); in parseInvocationList() local
643 if (!Mappings) in parseInvocationList()
647 for (auto &NextMapping : *Mappings) { in parseInvocationList()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DVectorUtils.h220 SmallVectorImpl<VFInfo> &Mappings) { in getVFABIMappings() argument
242 Mappings.push_back(Shape.value()); in getVFABIMappings()
/llvm-project-15.0.7/clang/include/clang/Tooling/Syntax/
H A DTokens.h345 std::vector<Mapping> Mappings; member
/llvm-project-15.0.7/llvm/docs/CommandGuide/
H A Dllvm-cxxmap.rst26 a symbol from *symbol-file-2*. Mappings for which the two symbols are identical
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DVirtualFileSystem.h1017 std::vector<YAMLVFSEntry> Mappings; variable
1042 const std::vector<YAMLVFSEntry> &getMappings() const { return Mappings; } in getMappings()
/llvm-project-15.0.7/llvm/docs/
H A DHowToUseInstrMappings.rst2 How To Use Instruction Mappings
/llvm-project-15.0.7/llvm/include/llvm/Frontend/OpenMP/
H A DOMPIRBuilder.h943 GlobalVariable *createOffloadMaptypes(SmallVectorImpl<uint64_t> &Mappings,
/llvm-project-15.0.7/clang/utils/TableGen/
H A DClangDiagnosticsEmitter.cpp689 const ModifierMappingsType &Mappings) const { in getSubstitutionMappings()
692 NewMappings.push_back(mapIndex(Idx, Mappings)); in getSubstitutionMappings()
/llvm-project-15.0.7/llvm/lib/Support/
H A DVirtualFileSystem.cpp2576 Mappings.emplace_back(VirtualPath, RealPath, IsDirectory); in addEntry()
2750 llvm::sort(Mappings, [](const YAMLVFSEntry &LHS, const YAMLVFSEntry &RHS) { in write()
2754 JSONWriter(OS).write(Mappings, UseExternalNames, IsCaseSensitive, in write()

12