Home
last modified time | relevance | path

Searched refs:Mapper (Results 1 – 19 of 19) sorted by relevance

/openbsd/gnu/llvm/llvm/include/llvm/ExecutionEngine/Orc/
H A DMapperJITLinkMemoryManager.h26 std::unique_ptr<MemoryMapper> Mapper);
31 auto Mapper = MemoryMapperType::Create(std::forward<Args>(A)...); in CreateWithMapper() local
32 if (!Mapper) in CreateWithMapper()
33 return Mapper.takeError(); in CreateWithMapper()
36 std::move(*Mapper)); in CreateWithMapper()
65 std::unique_ptr<MemoryMapper> Mapper; variable
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/Orc/
H A DMapperJITLinkMemoryManager.cpp35 Parent.Mapper->initialize(AI, [OnFinalize = std::move(OnFinalize)]( in finalize()
47 Parent.Mapper->release({AllocAddr}, std::move(OnFinalize)); in abandon()
58 size_t ReservationGranularity, std::unique_ptr<MemoryMapper> Mapper) in MapperJITLinkMemoryManager() argument
60 Mapper(std::move(Mapper)) {} in MapperJITLinkMemoryManager()
67 auto SegsSizes = BL.getContiguousPageBasedLayoutSizes(Mapper->getPageSize()); in allocate()
94 Seg.WorkingMem = Mapper->prepare(NextSegAddr, TotalSize); in allocate()
96 NextSegAddr += alignTo(TotalSize, Mapper->getPageSize()); in allocate()
141 Mapper->reserve(TotalAllocation, std::move(CompleteAllocation)); in allocate()
156 Mapper->deinitialize(Bases, [this, Allocs = std::move(Allocs), in deallocate()
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DMachineOutliner.cpp401 void findCandidates(InstructionMapper &Mapper,
531 SuffixTree ST(Mapper.UnsignedVec); in findCandidates()
751 InstructionMapper &Mapper, in outline() argument
767 erase_if(OF.Candidates, [&Mapper](Candidate &C) { in outline()
769 Mapper.UnsignedVec.begin() + C.getStartIdx(), in outline()
770 Mapper.UnsignedVec.begin() + C.getEndIdx() + 1, in outline()
929 Mapper.convertToUnsignedVec(MBB, *TII); in populateMapper()
933 UnsignedVecSize = Mapper.UnsignedVec.size(); in populateMapper()
1053 InstructionMapper Mapper; in doOutline() local
1056 populateMapper(Mapper, M, MMI); in doOutline()
[all …]
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DTensorSpec.cpp79 json::ObjectMapper Mapper(Value, Root); in getTensorSpecFromJSON() local
80 if (!Mapper) in getTensorSpecFromJSON()
88 if (!Mapper.map<std::string>("name", TensorName)) in getTensorSpecFromJSON()
90 if (!Mapper.map<std::string>("type", TensorType)) in getTensorSpecFromJSON()
92 if (!Mapper.map<int>("port", TensorPort)) in getTensorSpecFromJSON()
94 if (!Mapper.map<std::vector<int64_t>>("shape", TensorShape)) in getTensorSpecFromJSON()
H A DIRSimilarityIdentifier.cpp867 Mapper.initializeForBBs(M); in populateMapper()
879 Mapper.convertToUnsignedVec(BB, InstrListForModule, in populateMapper()
887 Mapper.IDL->push_back(*InstrListForModule.back()); in populateMapper()
933 if (Key > Mapper.IllegalInstrNumber) { in createCandidatesFromSuffixTree()
1199 Mapper.InstClassifier.EnableBranches = this->EnableBranches; in findSimilarity()
1200 Mapper.InstClassifier.EnableIndirectCalls = EnableIndirectCalls; in findSimilarity()
1201 Mapper.EnableMatchCallsByName = EnableMatchingCallsByName; in findSimilarity()
1202 Mapper.InstClassifier.EnableIntrinsics = EnableIntrinsics; in findSimilarity()
1213 Mapper.InstClassifier.EnableBranches = this->EnableBranches; in findSimilarity()
1215 Mapper.EnableMatchCallsByName = EnableMatchingCallsByName; in findSimilarity()
[all …]
H A DMemoryBuiltins.cpp368 function_ref<const Value *(const Value *)> Mapper) { in getAllocSize() argument
382 APInt Size(IntTyBits, GetStringLength(Mapper(CB->getArgOperand(0)))); in getAllocSize()
389 dyn_cast<ConstantInt>(Mapper(CB->getArgOperand(FnData->FstParam))); in getAllocSize()
401 dyn_cast<ConstantInt>(Mapper(CB->getArgOperand(FnData->FstParam))); in getAllocSize()
413 Arg = dyn_cast<ConstantInt>(Mapper(CB->getArgOperand(FnData->SndParam))); in getAllocSize()
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/
H A DValueMapper.cpp108 class Mapper { class
189 Mapper &M;
221 MDNodeMapper(Mapper &M) : M(M) {} in MDNodeMapper()
337 Value *Mapper::mapValue(const Value *V) { in mapValue()
863 void Mapper::flush() { in flush()
997 void Mapper::remapFunction(Function &F) { in remapFunction()
1115 void Mapper::addFlags(RemapFlags Flags) { in addFlags()
1120 static Mapper *getAsMapper(void *pImpl) { in getAsMapper()
1121 return reinterpret_cast<Mapper *>(pImpl); in getAsMapper()
1127 Mapper &M;
[all …]
/openbsd/gnu/llvm/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeViewRecordIO.h143 Error mapVectorN(T &Items, const ElementMapper &Mapper,
153 if (auto EC = Mapper(*this, X))
162 if (auto EC = Mapper(*this, X))
170 if (auto EC = Mapper(*this, Item))
180 Error mapVectorTail(T &Items, const ElementMapper &Mapper,
185 if (auto EC = Mapper(*this, Item))
192 if (auto EC = Mapper(*this, Field))
/openbsd/gnu/llvm/llvm/lib/Linker/
H A DIRMover.cpp444 ValueMapper Mapper; member in __anon8751b0350211::IRLinker
544 IndirectSymbolMCID(Mapper.registerAlternateMappingContext( in IRLinker()
977 Mapper.scheduleMapAppendingVariable( in linkAppendingVarProto()
1107 Mapper.scheduleMapGlobalInitializer(Dst, *Src.getInitializer()); in linkGlobalVariable()
1136 Mapper.scheduleRemapFunction(Dst); in linkFunctionBody()
1141 Mapper.scheduleMapGlobalAlias(Dst, *Src.getAliasee(), IndirectSymbolMCID); in linkAliasAliasee()
1145 Mapper.scheduleMapGlobalIFunc(Dst, *Src.getResolver(), IndirectSymbolMCID); in linkIFuncResolver()
1265 DestNMD->addOperand(Mapper.mapMDNode(*Op)); in linkNamedMDNodes()
1638 Mapper.mapValue(*GV); in run()
1647 Mapper.addFlags(RF_NullMapMissingGlobalValues); in run()
[all …]
/openbsd/gnu/llvm/llvm/utils/gn/secondary/clang-tools-extra/clang-doc/
H A DBUILD.gn25 "Mapper.cpp",
/openbsd/gnu/llvm/llvm/include/llvm/Analysis/
H A DIRSimilarityIdentifier.h986 : Mapper(&InstDataAllocator, &InstDataListAllocator),
1064 IRInstructionMapper Mapper; variable
H A DMemoryBuiltins.h117 function_ref<const Value *(const Value *)> Mapper = [](const Value *V) {
/openbsd/gnu/llvm/llvm/lib/IR/
H A DDebugInfo.cpp759 DebugTypeInfoRemoval Mapper(M.getContext()); in stripNonLineTableDebugInfo() local
763 Mapper.traverseAndRemap(Node); in stripNonLineTableDebugInfo()
764 auto *NewNode = Mapper.mapNode(Node); in stripNonLineTableDebugInfo()
774 Mapper.traverseAndRemap(SP); in stripNonLineTableDebugInfo()
775 auto *NewSP = cast<DISubprogram>(Mapper.mapNode(SP)); in stripNonLineTableDebugInfo()
/openbsd/gnu/llvm/llvm/lib/DebugInfo/CodeView/
H A DTypeRecordMapping.cpp683 MapOneMethodRecord Mapper(IsFromOverloadList); in visitKnownMember() local
684 return Mapper(IO, Record); in visitKnownMember()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp6913 const ValueDecl *Mapper = nullptr; member
6929 Mapper(Mapper), VarRef(VarRef), ForDeviceAddr(ForDeviceAddr) {} in MapInfo()
7154 const ValueDecl *Mapper = nullptr, bool ForDeviceAddr = false, in generateInfoForComponentList() argument
7655 bool HasMapper = Mapper && Next == CE; in generateInfoForComponentList()
8077 IsImplicit, Mapper, VarRef, ForDeviceAddr); in generateAllInfoForClauses()
8717 const ValueDecl *VDecl, *Mapper; in generateInfoForCapture() local
8721 std::tie(VDecl, Components, Mapper) = L; in generateInfoForCapture()
8759 const ValueDecl *Mapper; in generateInfoForCapture() local
8877 const ValueDecl *Mapper; in generateInfoForCapture() local
8885 PartialStruct, IsFirstComponentList, IsImplicit, Mapper, in generateInfoForCapture()
[all …]
/openbsd/gnu/llvm/llvm/lib/Transforms/IPO/
H A DSampleProfile.cpp2201 GUIDToFuncNameMapper Mapper(M, *Reader, GUIDToFuncNameMap); in runOnModule() local
H A DAttributorAttributes.cpp6760 auto Mapper = [&](const Value *V) -> const Value * { in getSize() local
6771 return getAllocSize(AI.CB, TLI, Mapper); in getSize()
/openbsd/gnu/llvm/clang/include/clang/AST/
H A DOpenMPClause.h5586 const ValueDecl *Mapper = nullptr; variable
5588 Mapper = cast<ValueDecl>(cast<DeclRefExpr>(*MapperCur)->getDecl());
5592 Mapper);
/openbsd/gnu/llvm/clang/docs/tools/
H A Dclang-formatted-files.txt752 clang-tools-extra/clang-doc/Mapper.cpp
753 clang-tools-extra/clang-doc/Mapper.h