| /openbsd-src/gnu/llvm/llvm/include/llvm/ExecutionEngine/Orc/ |
| H A D | MapperJITLinkMemoryManager.h | 26 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-src/gnu/llvm/llvm/lib/ExecutionEngine/Orc/ |
| H A D | MapperJITLinkMemoryManager.cpp | 35 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-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | MachineOutliner.cpp | 401 void findCandidates(InstructionMapper &Mapper, 411 InstructionMapper &Mapper, unsigned &OutlinedFunctionNum); 415 InstructionMapper &Mapper, 437 void populateMapper(InstructionMapper &Mapper, Module &M, 529 InstructionMapper &Mapper, std::vector<OutlinedFunction> &FunctionList) { in findCandidates() argument 531 SuffixTree ST(Mapper.UnsignedVec); in findCandidates() 570 MachineBasicBlock::iterator StartIt = Mapper.InstrList[StartIdx]; in findCandidates() 571 MachineBasicBlock::iterator EndIt = Mapper.InstrList[EndIdx]; in findCandidates() 576 Mapper.MBBFlagsMap[MBB]); in findCandidates() 610 Module &M, OutlinedFunction &OF, InstructionMapper &Mapper, unsigned Name) { in createOutlinedFunction() argument [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | TensorSpec.cpp | 79 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 D | IRSimilarityIdentifier.cpp | 867 Mapper.initializeForBBs(M); in populateMapper() 879 Mapper.convertToUnsignedVec(BB, InstrListForModule, in populateMapper() 884 Mapper.mapToIllegalUnsigned(It, IntegerMappingForModule, InstrListForModule, in populateMapper() 887 Mapper.IDL->push_back(*InstrListForModule.back()); in populateMapper() 917 const IRInstructionMapper& Mapper, std::vector<IRInstructionData *> &InstrList, in createCandidatesFromSuffixTree() argument 933 if (Key > Mapper.IllegalInstrNumber) { in createCandidatesFromSuffixTree() 1173 createCandidatesFromSuffixTree(Mapper, InstrList, IntegerMapping, RS, in findCandidates() 1199 Mapper.InstClassifier.EnableBranches = this->EnableBranches; in findSimilarity() 1200 Mapper.InstClassifier.EnableIndirectCalls = EnableIndirectCalls; in findSimilarity() 1201 Mapper.EnableMatchCallsByName = EnableMatchingCallsByName; in findSimilarity() [all …]
|
| H A D | MemoryBuiltins.cpp | 368 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-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | ValueMapper.cpp | 108 class Mapper { class 124 Mapper(ValueToValueMapTy &VM, RemapFlags Flags, in Mapper() function in __anoncf5c37070111::Mapper 130 ~Mapper() { assert(!hasWorkToDo() && "Expected to be flushed"); } in ~Mapper() 189 Mapper &M; 221 MDNodeMapper(Mapper &M) : M(M) {} in MDNodeMapper() 337 Value *Mapper::mapValue(const Value *V) { in mapValue() 534 Value *Mapper::mapBlockAddress(const BlockAddress &BA) { in mapBlockAddress() 551 Metadata *Mapper::mapToMetadata(const Metadata *Key, Metadata *Val) { in mapToMetadata() 556 Metadata *Mapper::mapToSelf(const Metadata *MD) { in mapToSelf() 827 std::optional<Metadata *> Mapper::mapSimpleMetadata(const Metadata *MD) { in mapSimpleMetadata() [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | CodeViewRecordIO.h | 143 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-src/gnu/llvm/llvm/lib/Linker/ |
| H A D | IRMover.cpp | 444 ValueMapper Mapper; member in __anon61347bbf0211::IRLinker 542 Mapper(ValueMap, RF_ReuseAndMutateDistinctMDs | RF_IgnoreMissingLocals, in 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() [all …]
|
| /openbsd-src/gnu/llvm/llvm/utils/gn/secondary/clang-tools-extra/clang-doc/ |
| H A D | BUILD.gn | 25 "Mapper.cpp",
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/ |
| H A D | IRSimilarityIdentifier.h | 986 : Mapper(&InstDataAllocator, &InstDataListAllocator), 1064 IRInstructionMapper Mapper; variable
|
| H A D | MemoryBuiltins.h | 117 function_ref<const Value *(const Value *)> Mapper = [](const Value *V) {
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | DebugInfo.cpp | 759 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-src/gnu/llvm/llvm/lib/DebugInfo/CodeView/ |
| H A D | TypeRecordMapping.cpp | 683 MapOneMethodRecord Mapper(IsFromOverloadList); in visitKnownMember() local 684 return Mapper(IO, Record); in visitKnownMember()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntime.cpp | 6913 const ValueDecl *Mapper = nullptr; member 6924 const ValueDecl *Mapper = nullptr, const Expr *VarRef = nullptr, in MapInfo() 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() 7656 CombinedInfo.Mappers.push_back(HasMapper ? Mapper : nullptr); in generateInfoForComponentList() 8065 bool ReturnDevicePointer, bool IsImplicit, const ValueDecl *Mapper, in generateAllInfoForClauses() 8077 IsImplicit, Mapper, VarRef, ForDeviceAddr); in generateAllInfoForClauses() 8306 L.IsImplicit, L.Mapper, L.ForDeviceAddr, VD, L.VarRef); in generateAllInfoForClauses() 8717 const ValueDecl *VDecl, *Mapper; in generateInfoForCapture() local [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/ |
| H A D | SampleProfile.cpp | 2201 GUIDToFuncNameMapper Mapper(M, *Reader, GUIDToFuncNameMap); in runOnModule() local
|
| H A D | AttributorAttributes.cpp | 6760 auto Mapper = [&](const Value *V) -> const Value * { in getSize() local 6771 return getAllocSize(AI.CB, TLI, Mapper); in getSize()
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | OpenMPClause.h | 5586 const ValueDecl *Mapper = nullptr; variable 5588 Mapper = cast<ValueDecl>(cast<DeclRefExpr>(*MapperCur)->getDecl()); 5592 Mapper);
|
| /openbsd-src/gnu/llvm/clang/docs/tools/ |
| H A D | clang-formatted-files.txt | 752 clang-tools-extra/clang-doc/Mapper.cpp 753 clang-tools-extra/clang-doc/Mapper.h
|