[PATCH] D140627: [orc] Pass big JITTargetMachineBuilder parameters by reference to avoid unnecessary copies

Feng Zou via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 26 06:31:14 PST 2022


fzou1 updated this revision to Diff 485301.
fzou1 retitled this revision from "[orc] Pass big parameters by reference, instead of by value" to "[orc] Pass big JITTargetMachineBuilder parameters by reference to avoid unnecessary copies".
fzou1 added a comment.

Update other big JITTargetMachineBuilder parameters passed by reference and format changes by clang-format tool


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D140627/new/

https://reviews.llvm.org/D140627

Files:
  llvm/docs/tutorial/BuildingAJIT1.rst
  llvm/docs/tutorial/BuildingAJIT2.rst
  llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/KaleidoscopeJIT.h
  llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h
  llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/KaleidoscopeJIT.h
  llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/KaleidoscopeJIT.h
  llvm/examples/Kaleidoscope/include/KaleidoscopeJIT.h
  llvm/examples/OrcV2Examples/LLJITWithCustomObjectLinkingLayer/LLJITWithCustomObjectLinkingLayer.cpp
  llvm/examples/OrcV2Examples/LLJITWithGDBRegistrationListener/LLJITWithGDBRegistrationListener.cpp
  llvm/examples/OrcV2Examples/LLJITWithObjectCache/LLJITWithObjectCache.cpp
  llvm/examples/OrcV2Examples/LLJITWithObjectLinkingLayerPlugin/LLJITWithObjectLinkingLayerPlugin.cpp
  llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/LLJITWithRemoteDebugging.cpp
  llvm/examples/SpeculativeJIT/SpeculativeJIT.cpp
  llvm/include/llvm/ExecutionEngine/Orc/CompileUtils.h
  llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h
  llvm/lib/ExecutionEngine/Orc/CompileUtils.cpp
  llvm/lib/ExecutionEngine/Orc/LLJIT.cpp
  llvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp
  llvm/tools/lli/lli.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140627.485301.patch
Type: text/x-patch
Size: 19216 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221226/26e16d32/attachment.bin>


More information about the llvm-commits mailing list