Home
last modified time | relevance | path

Searched refs:TPC (Results 1 – 25 of 94) sorted by relevance

1234

/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Orc/
H A DTPCEHFrameRegistrar.cpp16 TPCEHFrameRegistrar::Create(TargetProcessControl &TPC) { in Create() argument
22 auto ProcessHandle = TPC.loadDylib(nullptr); in Create()
27 if (TPC.getTargetTriple().isOSBinFormatMachO()) { in Create()
35 RegistrationSymbols.add(TPC.intern(RegisterWrapperName)); in Create()
36 RegistrationSymbols.add(TPC.intern(DeregisterWrapperName)); in Create()
38 auto Result = TPC.lookupSymbols({{*ProcessHandle, RegistrationSymbols}}); in Create()
50 TPC, RegisterEHFrameWrapperFnAddr, DeregisterEHFrameWrapperFnAddr); in Create()
63 return TPC.runWrapper(RegisterEHFrameWrapperFnAddr, ArgBuffer).takeError(); in registerEHFrames()
76 return TPC.runWrapper(DeregisterEHFrameWrapperFnAddr, ArgBuffer).takeError(); in deregisterEHFrames()
H A DTPCIndirectionUtils.cpp82 auto &TPC = TPCIU.getTargetProcessControl(); in TPCTrampolinePool() local
87 (TPC.getPageSize() - ABI.getPointerSize()) / TrampolineSize; in TPCTrampolinePool()
104 auto &TPC = TPCIU.getTargetProcessControl(); in grow() local
108 auto PageSize = TPC.getPageSize(); in grow()
112 auto Alloc = TPC.getMemMgr().allocate(nullptr, Request); in grow()
237 TPCIndirectionUtils::Create(TargetProcessControl &TPC) { in Create() argument
238 const auto &TT = TPC.getTargetTriple(); in Create()
246 return CreateWithABI<OrcAArch64>(TPC); in Create()
249 return CreateWithABI<OrcI386>(TPC); in Create()
252 return CreateWithABI<OrcMips32Be>(TPC); in Create()
[all …]
H A DTPCDebugObjectRegistrar.cpp36 createJITLoaderGDBRegistrar(TargetProcessControl &TPC) { in createJITLoaderGDBRegistrar() argument
37 auto ProcessHandle = TPC.loadDylib(nullptr); in createJITLoaderGDBRegistrar()
42 TPC.getTargetTriple().isOSBinFormatMachO() in createJITLoaderGDBRegistrar()
43 ? TPC.intern("_llvm_orc_registerJITLoaderGDBWrapper") in createJITLoaderGDBRegistrar()
44 : TPC.intern("llvm_orc_registerJITLoaderGDBWrapper"); in createJITLoaderGDBRegistrar()
49 auto Result = TPC.lookupSymbols({{*ProcessHandle, RegistrationSymbols}}); in createJITLoaderGDBRegistrar()
57 return std::make_unique<TPCDebugObjectRegistrar>(TPC, (*Result)[0][0], in createJITLoaderGDBRegistrar()
H A DTPCDynamicLibrarySearchGenerator.cpp15 TPCDynamicLibrarySearchGenerator::Load(TargetProcessControl &TPC, in Load() argument
18 auto Handle = TPC.loadDylib(LibraryPath); in Load()
22 return std::make_unique<TPCDynamicLibrarySearchGenerator>(TPC, *Handle, in Load()
45 auto Result = TPC.lookupSymbols(Request); in tryToGenerate()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/
H A DRemoteJITUtils.cpp112 return std::make_unique<ObjectLinkingLayer>(ES, TPC->getMemMgr()); in operator ()()
116 auto Registrar = createJITLoaderGDBRegistrar(*TPC); in addDebugSupport()
129 if (auto Handle = TPC->loadDylib(RemotePath.data())) in loadDylib()
130 return std::make_unique<TPCDynamicLibrarySearchGenerator>(*TPC, *Handle); in loadDylib()
137 return TPC->runAsMain(MainSym.getAddress(), Args); in runAsMain()
140 Error JITLinkExecutor::disconnect() { return TPC->disconnect(); } in disconnect()
176 std::unique_ptr<RemoteTargetProcessControl> TPC) { in TCPSocketJITLinkExecutor() argument
177 this->TPC = std::move(TPC); in TCPSocketJITLinkExecutor()
255 TPC = std::make_unique<RemoteTargetProcessControl>(ES, std::move(Channel), in launch()
258 if (auto Err = TPC->initializeORCRPCTPCBase()) in launch()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
H A DKaleidoscopeJIT.h35 std::unique_ptr<TargetProcessControl> TPC;
47 KaleidoscopeJIT(std::unique_ptr<TargetProcessControl> TPC, in KaleidoscopeJIT() argument
50 : TPC(std::move(TPC)), ES(std::move(ES)), DL(std::move(DL)), in KaleidoscopeJIT()
69 auto TPC = SelfTargetProcessControl::Create(SSP); in Create() local
70 if (!TPC) in Create()
71 return TPC.takeError(); in Create()
75 JITTargetMachineBuilder JTMB((*TPC)->getTargetTriple()); in Create()
81 return std::make_unique<KaleidoscopeJIT>(std::move(*TPC), std::move(ES), in Create()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/include/
H A DKaleidoscopeJIT.h35 std::unique_ptr<TargetProcessControl> TPC;
47 KaleidoscopeJIT(std::unique_ptr<TargetProcessControl> TPC, in KaleidoscopeJIT() argument
50 : TPC(std::move(TPC)), ES(std::move(ES)), DL(std::move(DL)), in KaleidoscopeJIT()
69 auto TPC = SelfTargetProcessControl::Create(SSP); in Create() local
70 if (!TPC) in Create()
71 return TPC.takeError(); in Create()
75 JITTargetMachineBuilder JTMB((*TPC)->getTargetTriple()); in Create()
81 return std::make_unique<KaleidoscopeJIT>(std::move(*TPC), std::move(ES), in Create()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/
H A DTPCDynamicLibrarySearchGenerator.h33 TPCDynamicLibrarySearchGenerator(TargetProcessControl &TPC,
36 : TPC(TPC), H(H), Allow(std::move(Allow)) {} in TPC() argument
42 Load(TargetProcessControl &TPC, const char *LibraryPath,
48 GetForTargetProcess(TargetProcessControl &TPC,
50 return Load(TPC, nullptr, std::move(Allow));
58 TargetProcessControl &TPC;
H A DTPCDebugObjectRegistrar.h42 TPCDebugObjectRegistrar(TargetProcessControl &TPC, in TPCDebugObjectRegistrar() argument
45 : TPC(TPC), RegisterFn(RegisterFn), in TPCDebugObjectRegistrar()
49 return TPC.runWrapper(RegisterFn, SerializeBlockInfo(TargetMem)) in registerDebugObject()
54 TargetProcessControl &TPC;
62 createJITLoaderGDBRegistrar(TargetProcessControl &TPC);
H A DTPCEHFrameRegistrar.h30 Create(TargetProcessControl &TPC);
34 TPCEHFrameRegistrar(TargetProcessControl &TPC, in TPCEHFrameRegistrar() argument
37 : TPC(TPC), RegisterEHFrameWrapperFnAddr(RegisterEHFrameWrapperFnAddr), in TPCEHFrameRegistrar()
46 TargetProcessControl &TPC;
H A DTPCIndirectionUtils.h83 CreateWithABI(TargetProcessControl &TPC);
87 Create(TargetProcessControl &TPC);
90 TargetProcessControl &getTargetProcessControl() const { return TPC; } in getTargetProcessControl()
143 TPCIndirectionUtils(TargetProcessControl &TPC,
149 TargetProcessControl &TPC; variable
214 TPCIndirectionUtils::CreateWithABI(TargetProcessControl &TPC) { in CreateWithABI() argument
216 TPC, std::make_unique<detail::ABISupportImpl<ORCABI>>())); in CreateWithABI()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
H A DKaleidoscopeJIT.h40 std::unique_ptr<TargetProcessControl> TPC;
53 KaleidoscopeJIT(std::unique_ptr<TargetProcessControl> TPC, in KaleidoscopeJIT() argument
56 : TPC(std::move(TPC)), ES(std::move(ES)), DL(std::move(DL)), in KaleidoscopeJIT()
76 auto TPC = SelfTargetProcessControl::Create(SSP); in Create() local
77 if (!TPC) in Create()
78 return TPC.takeError(); in Create()
82 JITTargetMachineBuilder JTMB((*TPC)->getTargetTriple()); in Create()
88 return std::make_unique<KaleidoscopeJIT>(std::move(*TPC), std::move(ES), in Create()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
H A DKaleidoscopeJIT.h42 std::unique_ptr<TargetProcessControl> TPC;
62 KaleidoscopeJIT(std::unique_ptr<TargetProcessControl> TPC, in KaleidoscopeJIT() argument
66 : TPC(std::move(TPC)), ES(std::move(ES)), TPCIU(std::move(TPCIU)), in KaleidoscopeJIT()
91 auto TPC = SelfTargetProcessControl::Create(SSP); in Create() local
92 if (!TPC) in Create()
93 return TPC.takeError(); in Create()
97 auto TPCIU = TPCIndirectionUtils::Create(**TPC); in Create()
107 JITTargetMachineBuilder JTMB((*TPC)->getTargetTriple()); in Create()
113 return std::make_unique<KaleidoscopeJIT>(std::move(*TPC), std::move(ES), in Create()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/
H A DFuzzerTracePC.cpp39 TracePC TPC; variable
513 fuzzer::TPC.HandleInit(Start, Stop); in __sanitizer_cov_trace_pc_guard_init()
518 fuzzer::TPC.HandleInline8bitCountersInit(Start, Stop); in __sanitizer_cov_8bit_counters_init()
524 fuzzer::TPC.HandlePCsInit(pcs_beg, pcs_end); in __sanitizer_cov_pcs_init()
531 fuzzer::TPC.HandleCallerCallee(PC, Callee); in __sanitizer_cov_trace_pc_indir()
539 fuzzer::TPC.HandleCmp(PC, Arg1, Arg2); in __sanitizer_cov_trace_cmp8()
550 fuzzer::TPC.HandleCmp(PC, Arg1, Arg2); in __sanitizer_cov_trace_const_cmp8()
558 fuzzer::TPC.HandleCmp(PC, Arg1, Arg2); in __sanitizer_cov_trace_cmp4()
566 fuzzer::TPC.HandleCmp(PC, Arg1, Arg2); in __sanitizer_cov_trace_const_cmp4()
574 fuzzer::TPC.HandleCmp(PC, Arg1, Arg2); in __sanitizer_cov_trace_cmp2()
[all …]
H A DFuzzerLoop.cpp148 TPC.ResetMaps(); in Fuzzer()
152 TPC.SetUseCounters(Options.UseCounters); in Fuzzer()
153 TPC.SetUseValueProfileMask(Options.UseValueProfile); in Fuzzer()
156 TPC.PrintModuleInfo(); in Fuzzer()
164 TPC.SetFocusFunction(Options.FocusFunction); in Fuzzer()
328 if (size_t N = TPC.GetTotalPCCoverage()) in PrintStats()
357 TPC.PrintCoverage(); in PrintFinalStats()
359 TPC.PrintUnstableStats(); in PrintFinalStats()
361 TPC.DumpCoverage(); in PrintFinalStats()
403 TPC.ForEachObservedPC(HandlePC); in CheckExitOnSrcPosOrItem()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
H A DKaleidoscopeJIT.h129 std::unique_ptr<TargetProcessControl> TPC;
149 KaleidoscopeJIT(std::unique_ptr<TargetProcessControl> TPC, in KaleidoscopeJIT() argument
153 : TPC(std::move(TPC)), ES(std::move(ES)), TPCIU(std::move(TPCIU)), in KaleidoscopeJIT()
176 auto TPC = SelfTargetProcessControl::Create(SSP); in Create() local
177 if (!TPC) in Create()
178 return TPC.takeError(); in Create()
182 auto TPCIU = TPCIndirectionUtils::Create(**TPC); in Create()
192 JITTargetMachineBuilder JTMB((*TPC)->getTargetTriple()); in Create()
198 return std::make_unique<KaleidoscopeJIT>(std::move(*TPC), std::move(ES), in Create()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/LiveDebugValues/
H A DLiveDebugValues.cpp64 TargetPassConfig *TPC; member in LiveDebugValues
82 TPC = getAnalysisIfAvailable<TargetPassConfig>(); in runOnMachineFunction()
85 if (TPC) { in runOnMachineFunction()
86 auto &TM = TPC->getTM<TargetMachine>(); in runOnMachineFunction()
96 return TheImpl->ExtendRanges(MF, TPC); in runOnMachineFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-exegesis/lib/
H A DAssembler.cpp54 TargetPassConfig &TPC) { in addPass() argument
69 TPC.printAndVerify(Banner); in addPass()
228 TargetPassConfig *TPC = TM->createPassConfig(PM); in assembleToStream() local
229 PM.add(TPC); in assembleToStream()
231 TPC->printAndVerify("MachineFunctionGenerator::assemble"); in assembleToStream()
234 TPC->printAndVerify("After ExegesisTarget::addTargetSpecificPasses"); in assembleToStream()
241 if (addPass(PM, PassName, *TPC)) in assembleToStream()
243 TPC->setInitialized(); in assembleToStream()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DCommentParser.cpp282 void Parser::parseTParamCommandArgs(TParamCommandComment *TPC, in parseTParamCommandArgs() argument
286 S.actOnTParamCommandParamNameArg(TPC, in parseTParamCommandArgs()
314 TParamCommandComment *TPC = nullptr; in parseBlockCommand() local
325 TPC = S.actOnTParamCommandStart(Tok.getLocation(), in parseBlockCommand()
344 } else if (TPC) { in parseBlockCommand()
345 S.actOnTParamCommandFinish(TPC, Paragraph); in parseBlockCommand()
346 return TPC; in parseBlockCommand()
353 if (PC || TPC || Info->NumArgs > 0) { in parseBlockCommand()
360 else if (TPC) in parseBlockCommand()
361 parseTParamCommandArgs(TPC, Retokenizer); in parseBlockCommand()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
H A DInstructionSelect.cpp92 const TargetPassConfig &TPC = getAnalysis<TargetPassConfig>(); in runOnMachineFunction() local
125 reportGISelFailure(MF, TPC, MORE, "gisel-select", in runOnMachineFunction()
189 reportGISelFailure(MF, TPC, MORE, "gisel-select", "cannot select", MI); in runOnMachineFunction()
253 reportGISelFailure(MF, TPC, MORE, "gisel-select", in runOnMachineFunction()
261 MF, TPC, MORE, "gisel-select", in runOnMachineFunction()
272 reportGISelFailure(MF, TPC, MORE, R); in runOnMachineFunction()
H A DCombiner.cpp93 Combiner::Combiner(CombinerInfo &Info, const TargetPassConfig *TPC) in Combiner() argument
94 : CInfo(Info), TPC(TPC) { in Combiner()
95 (void)this->TPC; // FIXME: Remove when used. in Combiner()
H A DLegalizer.cpp317 const TargetPassConfig &TPC = getAnalysis<TargetPassConfig>(); in runOnMachineFunction() local
328 : TPC.isGISelCSEEnabled(); in runOnMachineFunction()
331 CSEInfo = &Wrapper.get(TPC.getCSEConfig()); in runOnMachineFunction()
351 reportGISelFailure(MF, TPC, MORE, "gisel-legalize", in runOnMachineFunction()
362 reportGISelFailure(MF, TPC, MORE, R); in runOnMachineFunction()
373 reportGISelWarning(MF, TPC, MORE, R); in runOnMachineFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/OrcV2Examples/LLJITWithTargetProcessControl/
H A DLLJITWithTargetProcessControl.cpp138 auto TPC = ExitOnErr(SelfTargetProcessControl::Create(std::move(SSP))); in main() local
139 auto J = ExitOnErr(LLJITBuilder().setTargetProcessControl(*TPC).create()); in main()
150 auto TPCIU = ExitOnErr(TPCIndirectionUtils::Create(*TPC)); in main()
157 ExitOnErr(TPCDynamicLibrarySearchGenerator::GetForTargetProcess(*TPC))); in main()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llc/
H A Dllc.cpp398 StringRef PassName, TargetPassConfig &TPC) { in addPass() argument
419 TPC.addMachinePrePasses(); in addPass()
421 TPC.addMachinePostPasses(Banner); in addPass()
640 TargetPassConfig &TPC = *LLVMTM.createPassConfig(PM); in compileModule() local
641 if (TPC.hasLimitedCodeGenPipeline()) { in compileModule()
644 << TPC.getLimitedCodeGenPipelineReason(" and ") << ".\n"; in compileModule()
648 TPC.setDisableVerify(NoVerify); in compileModule()
649 PM.add(&TPC); in compileModule()
651 TPC.printAndVerify(""); in compileModule()
653 if (addPass(PM, argv0, RunPassName, TPC)) in compileModule()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-jitlink/
H A Dllvm-jitlink.cpp800 std::unique_ptr<TargetProcessControl> TPC; in Create() local
803 TPC = std::move(*RTPC); in Create()
808 TPC = std::move(*RTPC); in Create()
812 TPC = std::make_unique<SelfTargetProcessControl>( in Create()
817 std::unique_ptr<Session> S(new Session(std::move(TPC), Err)); in Create()
830 Session::Session(std::unique_ptr<TargetProcessControl> TPC, Error &Err) in Session() argument
831 : TPC(std::move(TPC)), ObjLayer(*this, this->TPC->getMemMgr()) { in Session()
865 if (!NoExec && !this->TPC->getTargetTriple().isOSWindows()) { in Session()
867 ES, ExitOnErr(TPCEHFrameRegistrar::Create(*this->TPC)))); in Session()
869 ES, ExitOnErr(createJITLoaderGDBRegistrar(*this->TPC)))); in Session()
[all …]

1234