hillclimber 0.1.6__cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- hillclimber/__init__.py +41 -0
- hillclimber/actions.py +53 -0
- hillclimber/analysis.py +590 -0
- hillclimber/biases.py +293 -0
- hillclimber/calc.py +22 -0
- hillclimber/cvs.py +1070 -0
- hillclimber/interfaces.py +133 -0
- hillclimber/metadynamics.py +416 -0
- hillclimber/nodes.py +6 -0
- hillclimber/opes.py +359 -0
- hillclimber/pycv.py +362 -0
- hillclimber/selectors.py +230 -0
- hillclimber/virtual_atoms.py +341 -0
- hillclimber-0.1.6.dist-info/METADATA +325 -0
- hillclimber-0.1.6.dist-info/RECORD +475 -0
- hillclimber-0.1.6.dist-info/WHEEL +6 -0
- hillclimber-0.1.6.dist-info/entry_points.txt +8 -0
- hillclimber-0.1.6.dist-info/licenses/LICENSE +165 -0
- hillclimber-0.1.6.dist-info/sboms/auditwheel.cdx.json +1 -0
- hillclimber.libs/libgomp-a49a47f9.so.1.0.0 +0 -0
- plumed/__init__.py +104 -0
- plumed/_lib/bin/plumed +0 -0
- plumed/_lib/bin/plumed-config +9 -0
- plumed/_lib/bin/plumed-patch +9 -0
- plumed/_lib/include/plumed/adjmat/AdjacencyMatrixBase.h +659 -0
- plumed/_lib/include/plumed/adjmat/ContactMatrix.h +59 -0
- plumed/_lib/include/plumed/asmjit/arch.h +228 -0
- plumed/_lib/include/plumed/asmjit/arm.h +43 -0
- plumed/_lib/include/plumed/asmjit/asmjit.h +69 -0
- plumed/_lib/include/plumed/asmjit/asmjit_apibegin.h +143 -0
- plumed/_lib/include/plumed/asmjit/asmjit_apiend.h +93 -0
- plumed/_lib/include/plumed/asmjit/asmjit_build.h +971 -0
- plumed/_lib/include/plumed/asmjit/assembler.h +183 -0
- plumed/_lib/include/plumed/asmjit/base.h +56 -0
- plumed/_lib/include/plumed/asmjit/codebuilder.h +944 -0
- plumed/_lib/include/plumed/asmjit/codecompiler.h +767 -0
- plumed/_lib/include/plumed/asmjit/codeemitter.h +528 -0
- plumed/_lib/include/plumed/asmjit/codeholder.h +777 -0
- plumed/_lib/include/plumed/asmjit/constpool.h +286 -0
- plumed/_lib/include/plumed/asmjit/cpuinfo.h +402 -0
- plumed/_lib/include/plumed/asmjit/func.h +1327 -0
- plumed/_lib/include/plumed/asmjit/globals.h +370 -0
- plumed/_lib/include/plumed/asmjit/inst.h +137 -0
- plumed/_lib/include/plumed/asmjit/logging.h +317 -0
- plumed/_lib/include/plumed/asmjit/misc_p.h +103 -0
- plumed/_lib/include/plumed/asmjit/moved_string.h +318 -0
- plumed/_lib/include/plumed/asmjit/operand.h +1599 -0
- plumed/_lib/include/plumed/asmjit/osutils.h +207 -0
- plumed/_lib/include/plumed/asmjit/regalloc_p.h +597 -0
- plumed/_lib/include/plumed/asmjit/runtime.h +227 -0
- plumed/_lib/include/plumed/asmjit/simdtypes.h +1104 -0
- plumed/_lib/include/plumed/asmjit/utils.h +1387 -0
- plumed/_lib/include/plumed/asmjit/vmem.h +183 -0
- plumed/_lib/include/plumed/asmjit/x86.h +45 -0
- plumed/_lib/include/plumed/asmjit/x86assembler.h +125 -0
- plumed/_lib/include/plumed/asmjit/x86builder.h +117 -0
- plumed/_lib/include/plumed/asmjit/x86compiler.h +322 -0
- plumed/_lib/include/plumed/asmjit/x86emitter.h +5149 -0
- plumed/_lib/include/plumed/asmjit/x86globals.h +535 -0
- plumed/_lib/include/plumed/asmjit/x86inst.h +2547 -0
- plumed/_lib/include/plumed/asmjit/x86instimpl_p.h +74 -0
- plumed/_lib/include/plumed/asmjit/x86internal_p.h +108 -0
- plumed/_lib/include/plumed/asmjit/x86logging_p.h +92 -0
- plumed/_lib/include/plumed/asmjit/x86misc.h +417 -0
- plumed/_lib/include/plumed/asmjit/x86operand.h +1133 -0
- plumed/_lib/include/plumed/asmjit/x86regalloc_p.h +734 -0
- plumed/_lib/include/plumed/asmjit/zone.h +1157 -0
- plumed/_lib/include/plumed/bias/Bias.h +82 -0
- plumed/_lib/include/plumed/bias/ReweightBase.h +58 -0
- plumed/_lib/include/plumed/blas/blas.h +253 -0
- plumed/_lib/include/plumed/blas/def_external.h +61 -0
- plumed/_lib/include/plumed/blas/def_internal.h +97 -0
- plumed/_lib/include/plumed/blas/real.h +49 -0
- plumed/_lib/include/plumed/cltools/CLTool.h +32 -0
- plumed/_lib/include/plumed/clusters/ClusteringBase.h +70 -0
- plumed/_lib/include/plumed/colvar/Colvar.h +32 -0
- plumed/_lib/include/plumed/colvar/ColvarInput.h +68 -0
- plumed/_lib/include/plumed/colvar/ColvarShortcut.h +81 -0
- plumed/_lib/include/plumed/colvar/CoordinationBase.h +52 -0
- plumed/_lib/include/plumed/colvar/MultiColvarTemplate.h +333 -0
- plumed/_lib/include/plumed/colvar/PathMSDBase.h +101 -0
- plumed/_lib/include/plumed/colvar/RMSDVector.h +78 -0
- plumed/_lib/include/plumed/config/Config.h +118 -0
- plumed/_lib/include/plumed/config/version.h +9 -0
- plumed/_lib/include/plumed/contour/ContourFindingObject.h +87 -0
- plumed/_lib/include/plumed/contour/DistanceFromContourBase.h +82 -0
- plumed/_lib/include/plumed/contour/FindContour.h +67 -0
- plumed/_lib/include/plumed/core/Action.h +540 -0
- plumed/_lib/include/plumed/core/ActionAnyorder.h +48 -0
- plumed/_lib/include/plumed/core/ActionAtomistic.h +343 -0
- plumed/_lib/include/plumed/core/ActionForInterface.h +99 -0
- plumed/_lib/include/plumed/core/ActionPilot.h +57 -0
- plumed/_lib/include/plumed/core/ActionRegister.h +124 -0
- plumed/_lib/include/plumed/core/ActionSet.h +163 -0
- plumed/_lib/include/plumed/core/ActionSetup.h +48 -0
- plumed/_lib/include/plumed/core/ActionShortcut.h +73 -0
- plumed/_lib/include/plumed/core/ActionToGetData.h +59 -0
- plumed/_lib/include/plumed/core/ActionToPutData.h +101 -0
- plumed/_lib/include/plumed/core/ActionWithArguments.h +140 -0
- plumed/_lib/include/plumed/core/ActionWithMatrix.h +87 -0
- plumed/_lib/include/plumed/core/ActionWithValue.h +258 -0
- plumed/_lib/include/plumed/core/ActionWithVector.h +94 -0
- plumed/_lib/include/plumed/core/ActionWithVirtualAtom.h +123 -0
- plumed/_lib/include/plumed/core/CLTool.h +177 -0
- plumed/_lib/include/plumed/core/CLToolMain.h +102 -0
- plumed/_lib/include/plumed/core/CLToolRegister.h +108 -0
- plumed/_lib/include/plumed/core/Colvar.h +115 -0
- plumed/_lib/include/plumed/core/DataPassingObject.h +94 -0
- plumed/_lib/include/plumed/core/DataPassingTools.h +54 -0
- plumed/_lib/include/plumed/core/DomainDecomposition.h +120 -0
- plumed/_lib/include/plumed/core/ExchangePatterns.h +47 -0
- plumed/_lib/include/plumed/core/FlexibleBin.h +63 -0
- plumed/_lib/include/plumed/core/GREX.h +61 -0
- plumed/_lib/include/plumed/core/GenericMolInfo.h +89 -0
- plumed/_lib/include/plumed/core/Group.h +41 -0
- plumed/_lib/include/plumed/core/ModuleMap.h +30 -0
- plumed/_lib/include/plumed/core/ParallelTaskManager.h +1023 -0
- plumed/_lib/include/plumed/core/PbcAction.h +61 -0
- plumed/_lib/include/plumed/core/PlumedMain.h +632 -0
- plumed/_lib/include/plumed/core/PlumedMainInitializer.h +118 -0
- plumed/_lib/include/plumed/core/RegisterBase.h +340 -0
- plumed/_lib/include/plumed/core/TargetDist.h +48 -0
- plumed/_lib/include/plumed/core/Value.h +547 -0
- plumed/_lib/include/plumed/core/WithCmd.h +93 -0
- plumed/_lib/include/plumed/dimred/SMACOF.h +55 -0
- plumed/_lib/include/plumed/drr/DRR.h +383 -0
- plumed/_lib/include/plumed/drr/colvar_UIestimator.h +777 -0
- plumed/_lib/include/plumed/fisst/legendre_rule_fast.h +44 -0
- plumed/_lib/include/plumed/function/Custom.h +54 -0
- plumed/_lib/include/plumed/function/Function.h +85 -0
- plumed/_lib/include/plumed/function/FunctionOfMatrix.h +368 -0
- plumed/_lib/include/plumed/function/FunctionOfScalar.h +135 -0
- plumed/_lib/include/plumed/function/FunctionOfVector.h +296 -0
- plumed/_lib/include/plumed/function/FunctionSetup.h +180 -0
- plumed/_lib/include/plumed/function/FunctionShortcut.h +130 -0
- plumed/_lib/include/plumed/function/FunctionWithSingleArgument.h +165 -0
- plumed/_lib/include/plumed/gridtools/ActionWithGrid.h +43 -0
- plumed/_lib/include/plumed/gridtools/EvaluateGridFunction.h +99 -0
- plumed/_lib/include/plumed/gridtools/FunctionOfGrid.h +295 -0
- plumed/_lib/include/plumed/gridtools/GridCoordinatesObject.h +179 -0
- plumed/_lib/include/plumed/gridtools/GridSearch.h +135 -0
- plumed/_lib/include/plumed/gridtools/Interpolator.h +45 -0
- plumed/_lib/include/plumed/gridtools/KDE.h +455 -0
- plumed/_lib/include/plumed/gridtools/RDF.h +40 -0
- plumed/_lib/include/plumed/gridtools/SumOfKernels.h +219 -0
- plumed/_lib/include/plumed/isdb/MetainferenceBase.h +398 -0
- plumed/_lib/include/plumed/lapack/def_external.h +207 -0
- plumed/_lib/include/plumed/lapack/def_internal.h +388 -0
- plumed/_lib/include/plumed/lapack/lapack.h +899 -0
- plumed/_lib/include/plumed/lapack/lapack_limits.h +79 -0
- plumed/_lib/include/plumed/lapack/real.h +50 -0
- plumed/_lib/include/plumed/lepton/CompiledExpression.h +164 -0
- plumed/_lib/include/plumed/lepton/CustomFunction.h +143 -0
- plumed/_lib/include/plumed/lepton/Exception.h +93 -0
- plumed/_lib/include/plumed/lepton/ExpressionProgram.h +137 -0
- plumed/_lib/include/plumed/lepton/ExpressionTreeNode.h +145 -0
- plumed/_lib/include/plumed/lepton/Lepton.h +85 -0
- plumed/_lib/include/plumed/lepton/MSVC_erfc.h +123 -0
- plumed/_lib/include/plumed/lepton/Operation.h +1302 -0
- plumed/_lib/include/plumed/lepton/ParsedExpression.h +165 -0
- plumed/_lib/include/plumed/lepton/Parser.h +111 -0
- plumed/_lib/include/plumed/lepton/windowsIncludes.h +73 -0
- plumed/_lib/include/plumed/mapping/Path.h +44 -0
- plumed/_lib/include/plumed/mapping/PathProjectionCalculator.h +57 -0
- plumed/_lib/include/plumed/matrixtools/MatrixOperationBase.h +54 -0
- plumed/_lib/include/plumed/matrixtools/MatrixTimesMatrix.h +309 -0
- plumed/_lib/include/plumed/matrixtools/MatrixTimesVectorBase.h +365 -0
- plumed/_lib/include/plumed/matrixtools/OuterProduct.h +238 -0
- plumed/_lib/include/plumed/maze/Core.h +65 -0
- plumed/_lib/include/plumed/maze/Loss.h +86 -0
- plumed/_lib/include/plumed/maze/Member.h +66 -0
- plumed/_lib/include/plumed/maze/Memetic.h +799 -0
- plumed/_lib/include/plumed/maze/Optimizer.h +357 -0
- plumed/_lib/include/plumed/maze/Random_MT.h +156 -0
- plumed/_lib/include/plumed/maze/Tools.h +183 -0
- plumed/_lib/include/plumed/metatomic/vesin.h +188 -0
- plumed/_lib/include/plumed/molfile/Gromacs.h +2013 -0
- plumed/_lib/include/plumed/molfile/endianswap.h +217 -0
- plumed/_lib/include/plumed/molfile/fastio.h +683 -0
- plumed/_lib/include/plumed/molfile/largefiles.h +78 -0
- plumed/_lib/include/plumed/molfile/libmolfile_plugin.h +77 -0
- plumed/_lib/include/plumed/molfile/molfile_plugin.h +1034 -0
- plumed/_lib/include/plumed/molfile/periodic_table.h +248 -0
- plumed/_lib/include/plumed/molfile/readpdb.h +447 -0
- plumed/_lib/include/plumed/molfile/vmdplugin.h +236 -0
- plumed/_lib/include/plumed/multicolvar/MultiColvarShortcuts.h +45 -0
- plumed/_lib/include/plumed/opes/ExpansionCVs.h +79 -0
- plumed/_lib/include/plumed/sasa/Sasa.h +32 -0
- plumed/_lib/include/plumed/secondarystructure/SecondaryStructureBase.h +372 -0
- plumed/_lib/include/plumed/setup/ActionSetup.h +25 -0
- plumed/_lib/include/plumed/small_vector/small_vector.h +6114 -0
- plumed/_lib/include/plumed/symfunc/CoordinationNumbers.h +41 -0
- plumed/_lib/include/plumed/tools/Angle.h +52 -0
- plumed/_lib/include/plumed/tools/AtomDistribution.h +138 -0
- plumed/_lib/include/plumed/tools/AtomNumber.h +152 -0
- plumed/_lib/include/plumed/tools/BiasRepresentation.h +106 -0
- plumed/_lib/include/plumed/tools/BitmaskEnum.h +167 -0
- plumed/_lib/include/plumed/tools/Brent1DRootSearch.h +159 -0
- plumed/_lib/include/plumed/tools/CheckInRange.h +44 -0
- plumed/_lib/include/plumed/tools/Citations.h +74 -0
- plumed/_lib/include/plumed/tools/ColvarOutput.h +118 -0
- plumed/_lib/include/plumed/tools/Communicator.h +316 -0
- plumed/_lib/include/plumed/tools/ConjugateGradient.h +80 -0
- plumed/_lib/include/plumed/tools/DLLoader.h +79 -0
- plumed/_lib/include/plumed/tools/ERMSD.h +73 -0
- plumed/_lib/include/plumed/tools/Exception.h +406 -0
- plumed/_lib/include/plumed/tools/File.h +28 -0
- plumed/_lib/include/plumed/tools/FileBase.h +153 -0
- plumed/_lib/include/plumed/tools/FileTools.h +37 -0
- plumed/_lib/include/plumed/tools/ForwardDecl.h +54 -0
- plumed/_lib/include/plumed/tools/Grid.h +638 -0
- plumed/_lib/include/plumed/tools/HistogramBead.h +136 -0
- plumed/_lib/include/plumed/tools/IFile.h +117 -0
- plumed/_lib/include/plumed/tools/KernelFunctions.h +113 -0
- plumed/_lib/include/plumed/tools/Keywords.h +380 -0
- plumed/_lib/include/plumed/tools/LatticeReduction.h +66 -0
- plumed/_lib/include/plumed/tools/LeptonCall.h +64 -0
- plumed/_lib/include/plumed/tools/LinkCells.h +126 -0
- plumed/_lib/include/plumed/tools/Log.h +41 -0
- plumed/_lib/include/plumed/tools/LoopUnroller.h +163 -0
- plumed/_lib/include/plumed/tools/Matrix.h +721 -0
- plumed/_lib/include/plumed/tools/MatrixSquareBracketsAccess.h +138 -0
- plumed/_lib/include/plumed/tools/MergeVectorTools.h +153 -0
- plumed/_lib/include/plumed/tools/Minimise1DBrent.h +244 -0
- plumed/_lib/include/plumed/tools/MinimiseBase.h +120 -0
- plumed/_lib/include/plumed/tools/MolDataClass.h +51 -0
- plumed/_lib/include/plumed/tools/NeighborList.h +112 -0
- plumed/_lib/include/plumed/tools/OFile.h +286 -0
- plumed/_lib/include/plumed/tools/OpenACC.h +180 -0
- plumed/_lib/include/plumed/tools/OpenMP.h +75 -0
- plumed/_lib/include/plumed/tools/PDB.h +154 -0
- plumed/_lib/include/plumed/tools/Pbc.h +139 -0
- plumed/_lib/include/plumed/tools/PlumedHandle.h +105 -0
- plumed/_lib/include/plumed/tools/RMSD.h +493 -0
- plumed/_lib/include/plumed/tools/Random.h +80 -0
- plumed/_lib/include/plumed/tools/RootFindingBase.h +79 -0
- plumed/_lib/include/plumed/tools/Stopwatch.h +475 -0
- plumed/_lib/include/plumed/tools/Subprocess.h +142 -0
- plumed/_lib/include/plumed/tools/SwitchingFunction.h +208 -0
- plumed/_lib/include/plumed/tools/Tensor.h +724 -0
- plumed/_lib/include/plumed/tools/TokenizedLine.h +123 -0
- plumed/_lib/include/plumed/tools/Tools.h +638 -0
- plumed/_lib/include/plumed/tools/Torsion.h +55 -0
- plumed/_lib/include/plumed/tools/TrajectoryParser.h +118 -0
- plumed/_lib/include/plumed/tools/Tree.h +61 -0
- plumed/_lib/include/plumed/tools/TypesafePtr.h +463 -0
- plumed/_lib/include/plumed/tools/Units.h +167 -0
- plumed/_lib/include/plumed/tools/Vector.h +433 -0
- plumed/_lib/include/plumed/tools/View.h +296 -0
- plumed/_lib/include/plumed/tools/View2D.h +100 -0
- plumed/_lib/include/plumed/tools/h36.h +39 -0
- plumed/_lib/include/plumed/vatom/ActionWithVirtualAtom.h +32 -0
- plumed/_lib/include/plumed/ves/BasisFunctions.h +380 -0
- plumed/_lib/include/plumed/ves/CoeffsBase.h +310 -0
- plumed/_lib/include/plumed/ves/CoeffsMatrix.h +220 -0
- plumed/_lib/include/plumed/ves/CoeffsVector.h +251 -0
- plumed/_lib/include/plumed/ves/FermiSwitchingFunction.h +74 -0
- plumed/_lib/include/plumed/ves/GridIntegrationWeights.h +50 -0
- plumed/_lib/include/plumed/ves/GridLinearInterpolation.h +81 -0
- plumed/_lib/include/plumed/ves/GridProjWeights.h +61 -0
- plumed/_lib/include/plumed/ves/LinearBasisSetExpansion.h +303 -0
- plumed/_lib/include/plumed/ves/Optimizer.h +444 -0
- plumed/_lib/include/plumed/ves/TargetDistModifer.h +53 -0
- plumed/_lib/include/plumed/ves/TargetDistribution.h +266 -0
- plumed/_lib/include/plumed/ves/VesBias.h +545 -0
- plumed/_lib/include/plumed/ves/VesTools.h +142 -0
- plumed/_lib/include/plumed/ves/WaveletGrid.h +75 -0
- plumed/_lib/include/plumed/volumes/ActionVolume.h +268 -0
- plumed/_lib/include/plumed/volumes/VolumeShortcut.h +147 -0
- plumed/_lib/include/plumed/wrapper/Plumed.h +5025 -0
- plumed/_lib/include/plumed/xdrfile/xdrfile.h +663 -0
- plumed/_lib/include/plumed/xdrfile/xdrfile_trr.h +89 -0
- plumed/_lib/include/plumed/xdrfile/xdrfile_xtc.h +90 -0
- plumed/_lib/lib/PythonCVInterface.so +0 -0
- plumed/_lib/lib/libplumed.a +0 -0
- plumed/_lib/lib/libplumed.so +0 -0
- plumed/_lib/lib/libplumedKernel.so +0 -0
- plumed/_lib/lib/libplumedWrapper.a +0 -0
- plumed/_lib/lib/pkgconfig/plumed.pc +13 -0
- plumed/_lib/lib/pkgconfig/plumedInternals.pc +13 -0
- plumed/_lib/lib/pkgconfig/plumedWrapper.pc +13 -0
- plumed/_lib/lib/plumed/fortran/plumed.f90 +879 -0
- plumed/_lib/lib/plumed/fortran/plumed_f08.f90 +2625 -0
- plumed/_lib/lib/plumed/modulefile +69 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.config +43 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/CMakeLists.txt +543 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/CMakeLists.txt.preplumed +540 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdlib/expanded.cpp +1628 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdlib/expanded.cpp.preplumed +1590 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdlib/expanded.h +103 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdlib/expanded.h.preplumed +99 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdlib/sim_util.cpp +2527 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdlib/sim_util.cpp.preplumed +2513 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdrun/legacymdrunoptions.cpp +208 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdrun/legacymdrunoptions.cpp.preplumed +175 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdrun/legacymdrunoptions.h +408 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdrun/legacymdrunoptions.h.preplumed +394 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdrun/md.cpp +2348 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdrun/md.cpp.preplumed +2091 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdrun/minimize.cpp +3573 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdrun/minimize.cpp.preplumed +3495 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdrun/replicaexchange.cpp +1506 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdrun/replicaexchange.cpp.preplumed +1402 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdrun/replicaexchange.h +114 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdrun/replicaexchange.h.preplumed +106 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdrun/rerun.cpp +997 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdrun/rerun.cpp.preplumed +906 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdrun/runner.cpp +2780 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdrun/runner.cpp.preplumed +2738 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/modularsimulator/expandedensembleelement.cpp +224 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/modularsimulator/expandedensembleelement.cpp.preplumed +222 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.config +43 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/CMakeLists.txt +549 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/CMakeLists.txt.preplumed +546 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdlib/expanded.cpp +1632 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdlib/expanded.cpp.preplumed +1594 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdlib/expanded.h +104 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdlib/expanded.h.preplumed +100 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdlib/sim_util.cpp +2624 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdlib/sim_util.cpp.preplumed +2610 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdrun/legacymdrunoptions.cpp +208 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdrun/legacymdrunoptions.cpp.preplumed +175 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdrun/legacymdrunoptions.h +409 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdrun/legacymdrunoptions.h.preplumed +395 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdrun/md.cpp +2419 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdrun/md.cpp.preplumed +2164 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdrun/minimize.cpp +3546 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdrun/minimize.cpp.preplumed +3468 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdrun/replicaexchange.cpp +1513 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdrun/replicaexchange.cpp.preplumed +1409 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdrun/replicaexchange.h +114 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdrun/replicaexchange.h.preplumed +106 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdrun/rerun.cpp +991 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdrun/rerun.cpp.preplumed +900 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdrun/runner.cpp +2895 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdrun/runner.cpp.preplumed +2849 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/modularsimulator/expandedensembleelement.cpp +224 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/modularsimulator/expandedensembleelement.cpp.preplumed +222 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/taskassignment/decidegpuusage.cpp +886 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/taskassignment/decidegpuusage.cpp.preplumed +880 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/taskassignment/include/gromacs/taskassignment/decidegpuusage.h +347 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/taskassignment/include/gromacs/taskassignment/decidegpuusage.h.preplumed +345 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.config +43 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/CMakeLists.txt +575 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/CMakeLists.txt.preplumed +572 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdlib/expanded.cpp +1632 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdlib/expanded.cpp.preplumed +1594 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdlib/expanded.h +104 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdlib/expanded.h.preplumed +100 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdlib/sim_util.cpp +2564 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdlib/sim_util.cpp.preplumed +2550 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdrun/legacymdrunoptions.cpp +208 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdrun/legacymdrunoptions.cpp.preplumed +175 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdrun/legacymdrunoptions.h +410 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdrun/legacymdrunoptions.h.preplumed +396 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdrun/md.cpp +2435 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdrun/md.cpp.preplumed +2187 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdrun/minimize.cpp +3592 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdrun/minimize.cpp.preplumed +3514 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdrun/replicaexchange.cpp +1513 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdrun/replicaexchange.cpp.preplumed +1409 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdrun/replicaexchange.h +114 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdrun/replicaexchange.h.preplumed +106 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdrun/rerun.cpp +958 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdrun/rerun.cpp.preplumed +929 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdrun/runner.cpp +2987 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdrun/runner.cpp.preplumed +2941 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/modularsimulator/expandedensembleelement.cpp +224 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/modularsimulator/expandedensembleelement.cpp.preplumed +222 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/taskassignment/decidegpuusage.cpp +904 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/taskassignment/decidegpuusage.cpp.preplumed +898 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/taskassignment/include/gromacs/taskassignment/decidegpuusage.h +353 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/taskassignment/include/gromacs/taskassignment/decidegpuusage.h.preplumed +351 -0
- plumed/_lib/lib/plumed/patches/gromacs-2025.0.config +39 -0
- plumed/_lib/lib/plumed/patches/gromacs-2025.0.diff/cmake/gmxManagePlumed.cmake +82 -0
- plumed/_lib/lib/plumed/patches/gromacs-2025.0.diff/cmake/gmxManagePlumed.cmake.preplumed +82 -0
- plumed/_lib/lib/plumed/patches/gromacs-2025.0.diff/src/gromacs/applied_forces/plumed/plumedMDModule.cpp +162 -0
- plumed/_lib/lib/plumed/patches/gromacs-2025.0.diff/src/gromacs/applied_forces/plumed/plumedMDModule.cpp.preplumed +154 -0
- plumed/_lib/lib/plumed/patches/gromacs-2025.0.diff/src/gromacs/applied_forces/plumed/plumedOptions.cpp +107 -0
- plumed/_lib/lib/plumed/patches/gromacs-2025.0.diff/src/gromacs/applied_forces/plumed/plumedOptions.cpp.preplumed +99 -0
- plumed/_lib/lib/plumed/patches/gromacs-2025.0.diff/src/gromacs/applied_forces/plumed/plumedOptions.h +120 -0
- plumed/_lib/lib/plumed/patches/gromacs-2025.0.diff/src/gromacs/applied_forces/plumed/plumedOptions.h.preplumed +111 -0
- plumed/_lib/lib/plumed/patches/gromacs-2025.0.diff/src/gromacs/applied_forces/plumed/plumedforceprovider.cpp +215 -0
- plumed/_lib/lib/plumed/patches/gromacs-2025.0.diff/src/gromacs/applied_forces/plumed/plumedforceprovider.cpp.preplumed +197 -0
- plumed/_lib/lib/plumed/patches/gromacs-2025.0.diff/src/gromacs/applied_forces/plumed/plumedforceprovider.h +87 -0
- plumed/_lib/lib/plumed/patches/gromacs-2025.0.diff/src/gromacs/applied_forces/plumed/plumedforceprovider.h.preplumed +86 -0
- plumed/_lib/lib/plumed/patches/gromacs-2025.0.diff/src/gromacs/mdrun/runner.cpp +2971 -0
- plumed/_lib/lib/plumed/patches/gromacs-2025.0.diff/src/gromacs/mdrun/runner.cpp.preplumed +2970 -0
- plumed/_lib/lib/plumed/patches/gromacs-2025.0.diff/src/gromacs/mdrunutility/mdmodulesnotifiers.h +430 -0
- plumed/_lib/lib/plumed/patches/gromacs-2025.0.diff/src/gromacs/mdrunutility/mdmodulesnotifiers.h.preplumed +429 -0
- plumed/_lib/lib/plumed/patches/namd-2.12.config +30 -0
- plumed/_lib/lib/plumed/patches/namd-2.12.diff +267 -0
- plumed/_lib/lib/plumed/patches/namd-2.13.config +30 -0
- plumed/_lib/lib/plumed/patches/namd-2.13.diff +267 -0
- plumed/_lib/lib/plumed/patches/namd-2.14.config +30 -0
- plumed/_lib/lib/plumed/patches/namd-2.14.diff +268 -0
- plumed/_lib/lib/plumed/patches/patch.sh +500 -0
- plumed/_lib/lib/plumed/patches/qespresso-5.0.2.config +25 -0
- plumed/_lib/lib/plumed/patches/qespresso-5.0.2.diff/PW/src/forces.f90 +368 -0
- plumed/_lib/lib/plumed/patches/qespresso-5.0.2.diff/PW/src/forces.f90.preplumed +366 -0
- plumed/_lib/lib/plumed/patches/qespresso-5.0.2.diff/PW/src/plugin_forces.f90 +71 -0
- plumed/_lib/lib/plumed/patches/qespresso-5.0.2.diff/PW/src/plugin_forces.f90.preplumed +24 -0
- plumed/_lib/lib/plumed/patches/qespresso-5.0.2.diff/PW/src/plugin_initialization.f90 +62 -0
- plumed/_lib/lib/plumed/patches/qespresso-5.0.2.diff/PW/src/plugin_initialization.f90.preplumed +21 -0
- plumed/_lib/lib/plumed/patches/qespresso-5.0.2.diff/PW/src/pwscf.f90 +189 -0
- plumed/_lib/lib/plumed/patches/qespresso-5.0.2.diff/PW/src/pwscf.f90.preplumed +185 -0
- plumed/_lib/lib/plumed/patches/qespresso-6.2.config +26 -0
- plumed/_lib/lib/plumed/patches/qespresso-6.2.diff/PW/src/forces.f90 +422 -0
- plumed/_lib/lib/plumed/patches/qespresso-6.2.diff/PW/src/forces.f90.preplumed +420 -0
- plumed/_lib/lib/plumed/patches/qespresso-6.2.diff/PW/src/plugin_ext_forces.f90 +70 -0
- plumed/_lib/lib/plumed/patches/qespresso-6.2.diff/PW/src/plugin_ext_forces.f90.preplumed +23 -0
- plumed/_lib/lib/plumed/patches/qespresso-6.2.diff/PW/src/plugin_initialization.f90 +62 -0
- plumed/_lib/lib/plumed/patches/qespresso-6.2.diff/PW/src/plugin_initialization.f90.preplumed +21 -0
- plumed/_lib/lib/plumed/patches/qespresso-6.2.diff/PW/src/run_pwscf.f90 +233 -0
- plumed/_lib/lib/plumed/patches/qespresso-6.2.diff/PW/src/run_pwscf.f90.preplumed +230 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.0.config +28 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.0.diff/Modules/Makefile +175 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.0.diff/Modules/Makefile.preplumed +171 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.0.diff/PW/src/forces.f90 +486 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.0.diff/PW/src/forces.f90.preplumed +484 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.0.diff/PW/src/plugin_ext_forces.f90 +74 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.0.diff/PW/src/plugin_ext_forces.f90.preplumed +23 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.0.diff/PW/src/plugin_initialization.f90 +64 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.0.diff/PW/src/plugin_initialization.f90.preplumed +21 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.0.diff/PW/src/run_pwscf.f90 +532 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.0.diff/PW/src/run_pwscf.f90.preplumed +518 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.2.config +28 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.2.diff/Modules/Makefile +249 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.2.diff/Modules/Makefile.preplumed +244 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.2.diff/PW/src/forces.f90 +532 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.2.diff/PW/src/forces.f90.preplumed +535 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.2.diff/PW/src/plugin_ext_forces.f90 +74 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.2.diff/PW/src/plugin_ext_forces.f90.preplumed +23 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.2.diff/PW/src/plugin_initialization.f90 +64 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.2.diff/PW/src/plugin_initialization.f90.preplumed +21 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.2.diff/PW/src/run_pwscf.f90 +569 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.2.diff/PW/src/run_pwscf.f90.preplumed +560 -0
- plumed/_lib/lib/plumed/plumed-config +9 -0
- plumed/_lib/lib/plumed/plumed-mklib +9 -0
- plumed/_lib/lib/plumed/plumed-newcv +9 -0
- plumed/_lib/lib/plumed/plumed-partial_tempering +9 -0
- plumed/_lib/lib/plumed/plumed-patch +9 -0
- plumed/_lib/lib/plumed/plumed-runtime +0 -0
- plumed/_lib/lib/plumed/plumed-selector +9 -0
- plumed/_lib/lib/plumed/plumed-vim2html +9 -0
- plumed/_lib/lib/plumed/scripts/config.sh +126 -0
- plumed/_lib/lib/plumed/scripts/mklib.sh +175 -0
- plumed/_lib/lib/plumed/scripts/newcv.sh +26 -0
- plumed/_lib/lib/plumed/scripts/partial_tempering.sh +319 -0
- plumed/_lib/lib/plumed/scripts/patch.sh +4 -0
- plumed/_lib/lib/plumed/scripts/selector.sh +234 -0
- plumed/_lib/lib/plumed/scripts/vim2html.sh +190 -0
- plumed/_lib/lib/plumed/src/colvar/Template.cpp +116 -0
- plumed/_lib/lib/plumed/src/config/compile_options.sh +3 -0
- plumed/_lib/lib/plumed/src/config/config.txt +179 -0
- plumed/_lib/lib/plumed/src/lib/Plumed.cmake +8 -0
- plumed/_lib/lib/plumed/src/lib/Plumed.cmake.runtime +5 -0
- plumed/_lib/lib/plumed/src/lib/Plumed.cmake.shared +5 -0
- plumed/_lib/lib/plumed/src/lib/Plumed.cmake.static +5 -0
- plumed/_lib/lib/plumed/src/lib/Plumed.inc +8 -0
- plumed/_lib/lib/plumed/src/lib/Plumed.inc.runtime +5 -0
- plumed/_lib/lib/plumed/src/lib/Plumed.inc.shared +5 -0
- plumed/_lib/lib/plumed/src/lib/Plumed.inc.static +5 -0
- plumed/_lib/lib/plumed/vim/scripts.vim +6 -0
- plumed/_plumed_core.cpython-311-aarch64-linux-gnu.so +0 -0
- plumed/_plumed_core.cpython-312-aarch64-linux-gnu.so +0 -0
- plumed/_plumed_core.cpython-313-aarch64-linux-gnu.so +0 -0
- plumed/_plumed_core.cpython-314-aarch64-linux-gnu.so +0 -0
- plumed/_plumed_core.cpython-314t-aarch64-linux-gnu.so +0 -0
- plumedCommunications.cpython-311-aarch64-linux-gnu.so +0 -0
- plumedCommunications.cpython-312-aarch64-linux-gnu.so +0 -0
- plumedCommunications.cpython-313-aarch64-linux-gnu.so +0 -0
- plumedCommunications.cpython-314-aarch64-linux-gnu.so +0 -0
- plumedCommunications.cpython-314t-aarch64-linux-gnu.so +0 -0
- plumedCommunications.pyi +431 -0
|
@@ -0,0 +1,370 @@
|
|
|
1
|
+
/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
2
|
+
Copyright (c) 2008-2017, Petr Kobalicek
|
|
3
|
+
|
|
4
|
+
This software is provided 'as-is', without any express or implied
|
|
5
|
+
warranty. In no event will the authors be held liable for any damages
|
|
6
|
+
arising from the use of this software.
|
|
7
|
+
|
|
8
|
+
Permission is granted to anyone to use this software for any purpose,
|
|
9
|
+
including commercial applications, and to alter it and redistribute it
|
|
10
|
+
freely, subject to the following restrictions:
|
|
11
|
+
|
|
12
|
+
1. The origin of this software must not be misrepresented; you must not
|
|
13
|
+
claim that you wrote the original software. If you use this software
|
|
14
|
+
in a product, an acknowledgment in the product documentation would be
|
|
15
|
+
appreciated but is not required.
|
|
16
|
+
2. Altered source versions must be plainly marked as such, and must not be
|
|
17
|
+
misrepresented as being the original software.
|
|
18
|
+
3. This notice may not be removed or altered from any source distribution.
|
|
19
|
+
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
|
|
20
|
+
#ifndef __PLUMED_asmjit_globals_h
|
|
21
|
+
#define __PLUMED_asmjit_globals_h
|
|
22
|
+
#ifdef __PLUMED_HAS_ASMJIT
|
|
23
|
+
#pragma GCC diagnostic push
|
|
24
|
+
#pragma GCC diagnostic ignored "-Wpedantic"
|
|
25
|
+
// [AsmJit]
|
|
26
|
+
// Complete x86/x64 JIT and Remote Assembler for C++.
|
|
27
|
+
//
|
|
28
|
+
// [License]
|
|
29
|
+
// Zlib - See LICENSE.md file in the package.
|
|
30
|
+
|
|
31
|
+
// [Guard]
|
|
32
|
+
#ifndef _ASMJIT_BASE_GLOBALS_H
|
|
33
|
+
#define _ASMJIT_BASE_GLOBALS_H
|
|
34
|
+
|
|
35
|
+
// [Dependencies]
|
|
36
|
+
#include "./asmjit_build.h"
|
|
37
|
+
|
|
38
|
+
// [Api-Begin]
|
|
39
|
+
#include "./asmjit_apibegin.h"
|
|
40
|
+
|
|
41
|
+
namespace PLMD {
|
|
42
|
+
namespace asmjit {
|
|
43
|
+
|
|
44
|
+
//! \addtogroup asmjit_base
|
|
45
|
+
//! \{
|
|
46
|
+
|
|
47
|
+
// ============================================================================
|
|
48
|
+
// [asmjit::Globals]
|
|
49
|
+
// ============================================================================
|
|
50
|
+
|
|
51
|
+
enum { kInvalidValue = 0xFFFFFFFFU };
|
|
52
|
+
|
|
53
|
+
//! AsmJit globals.
|
|
54
|
+
namespace Globals {
|
|
55
|
+
|
|
56
|
+
//! Invalid index
|
|
57
|
+
//!
|
|
58
|
+
//! Invalid index is the last possible index that is never used in practice. In
|
|
59
|
+
//! AsmJit it is used exclusively with strings to indicate the the length of the
|
|
60
|
+
//! string is not known and has to be determined.
|
|
61
|
+
static const size_t kInvalidIndex = ~static_cast<size_t>(0);
|
|
62
|
+
|
|
63
|
+
//! Invalid base address.
|
|
64
|
+
static const uint64_t kNoBaseAddress = ~static_cast<uint64_t>(0);
|
|
65
|
+
|
|
66
|
+
//! Global definitions.
|
|
67
|
+
ASMJIT_ENUM(Defs) {
|
|
68
|
+
//! Invalid register id.
|
|
69
|
+
kInvalidRegId = 0xFF,
|
|
70
|
+
|
|
71
|
+
//! Host memory allocator overhead.
|
|
72
|
+
kAllocOverhead = static_cast<int>(sizeof(intptr_t) * 4),
|
|
73
|
+
//! Aggressive growing strategy threshold.
|
|
74
|
+
kAllocThreshold = 8192 * 1024
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
ASMJIT_ENUM(Limits) {
|
|
78
|
+
//! Count of register kinds that are important to Function API and CodeCompiler.
|
|
79
|
+
//! The target architecture can define more register kinds for special registers,
|
|
80
|
+
//! but these will never map to virtual registers and will never be used to pass
|
|
81
|
+
//! and return function arguments and function return values, respectively.
|
|
82
|
+
kMaxVRegKinds = 4,
|
|
83
|
+
|
|
84
|
+
//! Maximum number of physical registers of all kinds of all supported
|
|
85
|
+
//! architectures. This is only important for \ref CodeCompiler and its
|
|
86
|
+
//! \ref RAPass (register allocator pass).
|
|
87
|
+
//!
|
|
88
|
+
//! NOTE: The distribution of these registers is architecture specific.
|
|
89
|
+
kMaxPhysRegs = 64,
|
|
90
|
+
|
|
91
|
+
//! Maximum alignment.
|
|
92
|
+
kMaxAlignment = 64,
|
|
93
|
+
|
|
94
|
+
//! Maximum label or symbol length in bytes (take into consideration that a
|
|
95
|
+
//! single UTF-8 character can take more than single byte to encode it).
|
|
96
|
+
kMaxLabelLength = 2048
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
} // Globals namespace
|
|
100
|
+
|
|
101
|
+
// ============================================================================
|
|
102
|
+
// [asmjit::Error]
|
|
103
|
+
// ============================================================================
|
|
104
|
+
|
|
105
|
+
//! AsmJit error type (uint32_t).
|
|
106
|
+
typedef uint32_t Error;
|
|
107
|
+
|
|
108
|
+
//! AsmJit error codes.
|
|
109
|
+
ASMJIT_ENUM(ErrorCode) {
|
|
110
|
+
//! No error (success).
|
|
111
|
+
//!
|
|
112
|
+
//! This is default state and state you want.
|
|
113
|
+
kErrorOk = 0,
|
|
114
|
+
|
|
115
|
+
//! Heap memory allocation failed.
|
|
116
|
+
kErrorNoHeapMemory,
|
|
117
|
+
|
|
118
|
+
//! Virtual memory allocation failed.
|
|
119
|
+
kErrorNoVirtualMemory,
|
|
120
|
+
|
|
121
|
+
//! Invalid argument.
|
|
122
|
+
kErrorInvalidArgument,
|
|
123
|
+
|
|
124
|
+
//! Invalid state.
|
|
125
|
+
//!
|
|
126
|
+
//! If this error is returned it means that either you are doing something
|
|
127
|
+
//! wrong or AsmJit caught itself by doing something wrong. This error should
|
|
128
|
+
//! not be underestimated.
|
|
129
|
+
kErrorInvalidState,
|
|
130
|
+
|
|
131
|
+
//! Invalid or incompatible architecture.
|
|
132
|
+
kErrorInvalidArch,
|
|
133
|
+
|
|
134
|
+
//! The object is not initialized.
|
|
135
|
+
kErrorNotInitialized,
|
|
136
|
+
//! The object is already initialized.
|
|
137
|
+
kErrorAlreadyInitialized,
|
|
138
|
+
|
|
139
|
+
//! Built-in feature was disabled at compile time and it's not available.
|
|
140
|
+
kErrorFeatureNotEnabled,
|
|
141
|
+
|
|
142
|
+
//! CodeHolder can't have attached more than one \ref Assembler at a time.
|
|
143
|
+
kErrorSlotOccupied,
|
|
144
|
+
|
|
145
|
+
//! No code generated.
|
|
146
|
+
//!
|
|
147
|
+
//! Returned by runtime if the \ref CodeHolder contains no code.
|
|
148
|
+
kErrorNoCodeGenerated,
|
|
149
|
+
//! Code generated is larger than allowed.
|
|
150
|
+
kErrorCodeTooLarge,
|
|
151
|
+
|
|
152
|
+
//! Attempt to use uninitialized label.
|
|
153
|
+
kErrorInvalidLabel,
|
|
154
|
+
//! Label index overflow - a single `Assembler` instance can hold more than
|
|
155
|
+
//! 2 billion labels (2147483391 to be exact). If there is an attempt to
|
|
156
|
+
//! create more labels this error is returned.
|
|
157
|
+
kErrorLabelIndexOverflow,
|
|
158
|
+
//! Label is already bound.
|
|
159
|
+
kErrorLabelAlreadyBound,
|
|
160
|
+
//! Label is already defined (named labels).
|
|
161
|
+
kErrorLabelAlreadyDefined,
|
|
162
|
+
//! Label name is too long.
|
|
163
|
+
kErrorLabelNameTooLong,
|
|
164
|
+
//! Label must always be local if it's anonymous (without a name).
|
|
165
|
+
kErrorInvalidLabelName,
|
|
166
|
+
//! Parent id passed to `CodeHolder::newNamedLabelId()` was invalid.
|
|
167
|
+
kErrorInvalidParentLabel,
|
|
168
|
+
//! Parent id specified for a non-local (global) label.
|
|
169
|
+
kErrorNonLocalLabelCantHaveParent,
|
|
170
|
+
|
|
171
|
+
//! Relocation index overflow.
|
|
172
|
+
kErrorRelocIndexOverflow,
|
|
173
|
+
//! Invalid relocation entry.
|
|
174
|
+
kErrorInvalidRelocEntry,
|
|
175
|
+
|
|
176
|
+
//! Invalid instruction.
|
|
177
|
+
kErrorInvalidInstruction,
|
|
178
|
+
//! Invalid register type.
|
|
179
|
+
kErrorInvalidRegType,
|
|
180
|
+
//! Invalid register kind.
|
|
181
|
+
kErrorInvalidRegKind,
|
|
182
|
+
//! Invalid register's physical id.
|
|
183
|
+
kErrorInvalidPhysId,
|
|
184
|
+
//! Invalid register's virtual id.
|
|
185
|
+
kErrorInvalidVirtId,
|
|
186
|
+
//! Invalid prefix combination.
|
|
187
|
+
kErrorInvalidPrefixCombination,
|
|
188
|
+
//! Invalid LOCK prefix.
|
|
189
|
+
kErrorInvalidLockPrefix,
|
|
190
|
+
//! Invalid XACQUIRE prefix.
|
|
191
|
+
kErrorInvalidXAcquirePrefix,
|
|
192
|
+
//! Invalid XACQUIRE prefix.
|
|
193
|
+
kErrorInvalidXReleasePrefix,
|
|
194
|
+
//! Invalid REP prefix.
|
|
195
|
+
kErrorInvalidRepPrefix,
|
|
196
|
+
//! Invalid REX prefix.
|
|
197
|
+
kErrorInvalidRexPrefix,
|
|
198
|
+
//! Invalid mask register (not 'k').
|
|
199
|
+
kErrorInvalidKMaskReg,
|
|
200
|
+
//! Invalid {k} use (not supported by the instruction).
|
|
201
|
+
kErrorInvalidKMaskUse,
|
|
202
|
+
//! Invalid {k}{z} use (not supported by the instruction).
|
|
203
|
+
kErrorInvalidKZeroUse,
|
|
204
|
+
//! Invalid broadcast - Currently only related to invalid use of AVX-512 {1tox}.
|
|
205
|
+
kErrorInvalidBroadcast,
|
|
206
|
+
//! Invalid 'embedded-rounding' {er} or 'suppress-all-exceptions' {sae} (AVX-512).
|
|
207
|
+
kErrorInvalidEROrSAE,
|
|
208
|
+
//! Invalid address used (not encodable).
|
|
209
|
+
kErrorInvalidAddress,
|
|
210
|
+
//! Invalid index register used in memory address (not encodable).
|
|
211
|
+
kErrorInvalidAddressIndex,
|
|
212
|
+
//! Invalid address scale (not encodable).
|
|
213
|
+
kErrorInvalidAddressScale,
|
|
214
|
+
//! Invalid use of 64-bit address.
|
|
215
|
+
kErrorInvalidAddress64Bit,
|
|
216
|
+
//! Invalid displacement (not encodable).
|
|
217
|
+
kErrorInvalidDisplacement,
|
|
218
|
+
//! Invalid segment (X86).
|
|
219
|
+
kErrorInvalidSegment,
|
|
220
|
+
|
|
221
|
+
//! Invalid immediate (out of bounds on X86 and invalid pattern on ARM).
|
|
222
|
+
kErrorInvalidImmediate,
|
|
223
|
+
|
|
224
|
+
//! Invalid operand size.
|
|
225
|
+
kErrorInvalidOperandSize,
|
|
226
|
+
//! Ambiguous operand size (memory has zero size while it's required to determine the operation type.
|
|
227
|
+
kErrorAmbiguousOperandSize,
|
|
228
|
+
//! Mismatching operand size (size of multiple operands doesn't match the operation size).
|
|
229
|
+
kErrorOperandSizeMismatch,
|
|
230
|
+
|
|
231
|
+
//! Invalid TypeId.
|
|
232
|
+
kErrorInvalidTypeId,
|
|
233
|
+
//! Invalid use of a 8-bit GPB-HIGH register.
|
|
234
|
+
kErrorInvalidUseOfGpbHi,
|
|
235
|
+
//! Invalid use of a 64-bit GPQ register in 32-bit mode.
|
|
236
|
+
kErrorInvalidUseOfGpq,
|
|
237
|
+
//! Invalid use of an 80-bit float (TypeId::kF80).
|
|
238
|
+
kErrorInvalidUseOfF80,
|
|
239
|
+
//! Some registers in the instruction muse be consecutive (some ARM and AVX512 neural-net instructions).
|
|
240
|
+
kErrorNotConsecutiveRegs,
|
|
241
|
+
|
|
242
|
+
//! AsmJit requires a physical register, but no one is available.
|
|
243
|
+
kErrorNoMorePhysRegs,
|
|
244
|
+
//! A variable has been assigned more than once to a function argument (CodeCompiler).
|
|
245
|
+
kErrorOverlappedRegs,
|
|
246
|
+
//! Invalid register to hold stack arguments offset.
|
|
247
|
+
kErrorOverlappingStackRegWithRegArg,
|
|
248
|
+
|
|
249
|
+
//! Count of AsmJit error codes.
|
|
250
|
+
kErrorCount
|
|
251
|
+
};
|
|
252
|
+
|
|
253
|
+
// ============================================================================
|
|
254
|
+
// [asmjit::Internal]
|
|
255
|
+
// ============================================================================
|
|
256
|
+
|
|
257
|
+
namespace Internal {
|
|
258
|
+
|
|
259
|
+
#if defined(ASMJIT_CUSTOM_ALLOC) && \
|
|
260
|
+
defined(ASMJIT_CUSTOM_REALLOC) && \
|
|
261
|
+
defined(ASMJIT_CUSTOM_FREE)
|
|
262
|
+
static ASMJIT_INLINE void* allocMemory(size_t size) noexcept { return ASMJIT_CUSTOM_ALLOC(size); }
|
|
263
|
+
static ASMJIT_INLINE void* reallocMemory(void* p, size_t size) noexcept { return ASMJIT_CUSTOM_REALLOC(p, size); }
|
|
264
|
+
static ASMJIT_INLINE void releaseMemory(void* p) noexcept { ASMJIT_CUSTOM_FREE(p); }
|
|
265
|
+
#elif !defined(ASMJIT_CUSTOM_ALLOC) && \
|
|
266
|
+
!defined(ASMJIT_CUSTOM_REALLOC) && \
|
|
267
|
+
!defined(ASMJIT_CUSTOM_FREE)
|
|
268
|
+
static ASMJIT_INLINE void* allocMemory(size_t size) noexcept { return ::malloc(size); }
|
|
269
|
+
static ASMJIT_INLINE void* reallocMemory(void* p, size_t size) noexcept { return ::realloc(p, size); }
|
|
270
|
+
static ASMJIT_INLINE void releaseMemory(void* p) noexcept { ::free(p); }
|
|
271
|
+
#else
|
|
272
|
+
# error "[asmjit] You must provide either none or all of ASMJIT_CUSTOM_[ALLOC|REALLOC|FREE]"
|
|
273
|
+
#endif
|
|
274
|
+
|
|
275
|
+
//! Cast designed to cast between function and void* pointers.
|
|
276
|
+
template<typename Dst, typename Src>
|
|
277
|
+
static ASMJIT_INLINE Dst ptr_cast(Src p) noexcept { return (Dst)p; }
|
|
278
|
+
|
|
279
|
+
} // Internal namespace
|
|
280
|
+
|
|
281
|
+
template<typename Func>
|
|
282
|
+
static ASMJIT_INLINE Func ptr_as_func(void* func) noexcept { return Internal::ptr_cast<Func, void*>(func); }
|
|
283
|
+
|
|
284
|
+
template<typename Func>
|
|
285
|
+
static ASMJIT_INLINE void* func_as_ptr(Func func) noexcept { return Internal::ptr_cast<void*, Func>(func); }
|
|
286
|
+
|
|
287
|
+
// ============================================================================
|
|
288
|
+
// [asmjit::DebugUtils]
|
|
289
|
+
// ============================================================================
|
|
290
|
+
|
|
291
|
+
namespace DebugUtils {
|
|
292
|
+
|
|
293
|
+
//! Returns the error `err` passed.
|
|
294
|
+
//!
|
|
295
|
+
//! Provided for debugging purposes. Putting a breakpoint inside `errored` can
|
|
296
|
+
//! help with tracing the origin of any error reported / returned by AsmJit.
|
|
297
|
+
static ASMJIT_INLINE Error errored(Error err) noexcept { return err; }
|
|
298
|
+
|
|
299
|
+
//! Get a printable version of `asmjit::Error` code.
|
|
300
|
+
ASMJIT_API const char* errorAsString(Error err) noexcept;
|
|
301
|
+
|
|
302
|
+
//! Called to output debugging message(s).
|
|
303
|
+
ASMJIT_API void debugOutput(const char* str) noexcept;
|
|
304
|
+
|
|
305
|
+
//! Called on assertion failure.
|
|
306
|
+
//!
|
|
307
|
+
//! \param file Source file name where it happened.
|
|
308
|
+
//! \param line Line in the source file.
|
|
309
|
+
//! \param msg Message to display.
|
|
310
|
+
//!
|
|
311
|
+
//! If you have problems with assertions put a breakpoint at assertionFailed()
|
|
312
|
+
//! function (asmjit/base/globals.cpp) and check the call stack to locate the
|
|
313
|
+
//! failing code.
|
|
314
|
+
ASMJIT_API void ASMJIT_NORETURN assertionFailed(const char* file, int line, const char* msg) noexcept;
|
|
315
|
+
|
|
316
|
+
#if defined(ASMJIT_DEBUG)
|
|
317
|
+
# define ASMJIT_ASSERT(exp) \
|
|
318
|
+
do { \
|
|
319
|
+
if (ASMJIT_LIKELY(exp)) \
|
|
320
|
+
break; \
|
|
321
|
+
::PLMD::asmjit::DebugUtils::assertionFailed(__FILE__, __LINE__, #exp); \
|
|
322
|
+
} while (0)
|
|
323
|
+
# define ASMJIT_NOT_REACHED() \
|
|
324
|
+
do { \
|
|
325
|
+
::PLMD::asmjit::DebugUtils::assertionFailed(__FILE__, __LINE__, \
|
|
326
|
+
"ASMJIT_NOT_REACHED has been reached"); \
|
|
327
|
+
ASMJIT_ASSUME(0); \
|
|
328
|
+
} while (0)
|
|
329
|
+
#else
|
|
330
|
+
# define ASMJIT_ASSERT(exp) ASMJIT_NOP
|
|
331
|
+
# define ASMJIT_NOT_REACHED() ASMJIT_ASSUME(0)
|
|
332
|
+
#endif // DEBUG
|
|
333
|
+
|
|
334
|
+
//! \internal
|
|
335
|
+
//!
|
|
336
|
+
//! Used by AsmJit to propagate a possible `Error` produced by `...` to the caller.
|
|
337
|
+
#define ASMJIT_PROPAGATE(...) \
|
|
338
|
+
do { \
|
|
339
|
+
::PLMD::asmjit::Error _err = __VA_ARGS__; \
|
|
340
|
+
if (ASMJIT_UNLIKELY(_err)) \
|
|
341
|
+
return _err; \
|
|
342
|
+
} while (0)
|
|
343
|
+
|
|
344
|
+
} // DebugUtils namespace
|
|
345
|
+
|
|
346
|
+
// ============================================================================
|
|
347
|
+
// [asmjit::Init / NoInit]
|
|
348
|
+
// ============================================================================
|
|
349
|
+
|
|
350
|
+
#if !defined(ASMJIT_DOCGEN)
|
|
351
|
+
struct _Init {};
|
|
352
|
+
static const _Init Init = {};
|
|
353
|
+
|
|
354
|
+
struct _NoInit {};
|
|
355
|
+
static const _NoInit NoInit = {};
|
|
356
|
+
#endif // !ASMJIT_DOCGEN
|
|
357
|
+
|
|
358
|
+
//! \}
|
|
359
|
+
|
|
360
|
+
} // asmjit namespace
|
|
361
|
+
} // namespace PLMD
|
|
362
|
+
|
|
363
|
+
// [Api-End]
|
|
364
|
+
#include "./asmjit_apiend.h"
|
|
365
|
+
|
|
366
|
+
// [Guard]
|
|
367
|
+
#endif // _ASMJIT_BASE_GLOBALS_H
|
|
368
|
+
#pragma GCC diagnostic pop
|
|
369
|
+
#endif // __PLUMED_HAS_ASMJIT
|
|
370
|
+
#endif
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
2
|
+
Copyright (c) 2008-2017, Petr Kobalicek
|
|
3
|
+
|
|
4
|
+
This software is provided 'as-is', without any express or implied
|
|
5
|
+
warranty. In no event will the authors be held liable for any damages
|
|
6
|
+
arising from the use of this software.
|
|
7
|
+
|
|
8
|
+
Permission is granted to anyone to use this software for any purpose,
|
|
9
|
+
including commercial applications, and to alter it and redistribute it
|
|
10
|
+
freely, subject to the following restrictions:
|
|
11
|
+
|
|
12
|
+
1. The origin of this software must not be misrepresented; you must not
|
|
13
|
+
claim that you wrote the original software. If you use this software
|
|
14
|
+
in a product, an acknowledgment in the product documentation would be
|
|
15
|
+
appreciated but is not required.
|
|
16
|
+
2. Altered source versions must be plainly marked as such, and must not be
|
|
17
|
+
misrepresented as being the original software.
|
|
18
|
+
3. This notice may not be removed or altered from any source distribution.
|
|
19
|
+
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
|
|
20
|
+
#ifndef __PLUMED_asmjit_inst_h
|
|
21
|
+
#define __PLUMED_asmjit_inst_h
|
|
22
|
+
#ifdef __PLUMED_HAS_ASMJIT
|
|
23
|
+
#pragma GCC diagnostic push
|
|
24
|
+
#pragma GCC diagnostic ignored "-Wpedantic"
|
|
25
|
+
// [AsmJit]
|
|
26
|
+
// Complete x86/x64 JIT and Remote Assembler for C++.
|
|
27
|
+
//
|
|
28
|
+
// [License]
|
|
29
|
+
// Zlib - See LICENSE.md file in the package.
|
|
30
|
+
|
|
31
|
+
// [Guard]
|
|
32
|
+
#ifndef _ASMJIT_BASE_INST_H
|
|
33
|
+
#define _ASMJIT_BASE_INST_H
|
|
34
|
+
|
|
35
|
+
// [Dependencies]
|
|
36
|
+
#include "./cpuinfo.h"
|
|
37
|
+
#include "./operand.h"
|
|
38
|
+
|
|
39
|
+
// [Api-Begin]
|
|
40
|
+
#include "./asmjit_apibegin.h"
|
|
41
|
+
|
|
42
|
+
namespace PLMD {
|
|
43
|
+
namespace asmjit {
|
|
44
|
+
|
|
45
|
+
//! \addtogroup asmjit_base
|
|
46
|
+
//! \{
|
|
47
|
+
|
|
48
|
+
// ============================================================================
|
|
49
|
+
// [asmjit::Inst]
|
|
50
|
+
// ============================================================================
|
|
51
|
+
|
|
52
|
+
//! Definitions and utilities related to instructions used by all architectures.
|
|
53
|
+
struct Inst {
|
|
54
|
+
ASMJIT_ENUM(Id) {
|
|
55
|
+
kIdNone = 0 //!< Invalid or uninitialized instruction id.
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
//! Describes an instruction's jump type, if any.
|
|
59
|
+
ASMJIT_ENUM(JumpType) {
|
|
60
|
+
kJumpTypeNone = 0, //!< Instruction doesn't jump (regular instruction).
|
|
61
|
+
kJumpTypeDirect = 1, //!< Instruction is a unconditional (direct) jump.
|
|
62
|
+
kJumpTypeConditional = 2, //!< Instruction is a conditional jump.
|
|
63
|
+
kJumpTypeCall = 3, //!< Instruction is a function call.
|
|
64
|
+
kJumpTypeReturn = 4 //!< Instruction is a function return.
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
// --------------------------------------------------------------------------
|
|
68
|
+
// [Detail]
|
|
69
|
+
// --------------------------------------------------------------------------
|
|
70
|
+
|
|
71
|
+
//! Instruction id, options, and extraReg packed in a single structure. This
|
|
72
|
+
//! structure exists to simplify analysis and validation API that requires a
|
|
73
|
+
//! lot of information about the instruction to be processed.
|
|
74
|
+
class Detail {
|
|
75
|
+
public:
|
|
76
|
+
ASMJIT_INLINE Detail() noexcept
|
|
77
|
+
: instId(0),
|
|
78
|
+
options(0),
|
|
79
|
+
extraReg() {}
|
|
80
|
+
|
|
81
|
+
explicit ASMJIT_INLINE Detail(uint32_t instId, uint32_t options = 0) noexcept
|
|
82
|
+
: instId(instId),
|
|
83
|
+
options(options),
|
|
84
|
+
extraReg() {}
|
|
85
|
+
|
|
86
|
+
ASMJIT_INLINE Detail(uint32_t instId, uint32_t options, const RegOnly& reg) noexcept
|
|
87
|
+
: instId(instId),
|
|
88
|
+
options(options),
|
|
89
|
+
extraReg(reg) {}
|
|
90
|
+
|
|
91
|
+
ASMJIT_INLINE Detail(uint32_t instId, uint32_t options, const Reg& reg) noexcept
|
|
92
|
+
: instId(instId),
|
|
93
|
+
options(options) { extraReg.init(reg); }
|
|
94
|
+
|
|
95
|
+
// ------------------------------------------------------------------------
|
|
96
|
+
// [Accessors]
|
|
97
|
+
// ------------------------------------------------------------------------
|
|
98
|
+
|
|
99
|
+
ASMJIT_INLINE bool hasExtraReg() const noexcept { return extraReg.isValid(); }
|
|
100
|
+
|
|
101
|
+
// ------------------------------------------------------------------------
|
|
102
|
+
// [Members]
|
|
103
|
+
// ------------------------------------------------------------------------
|
|
104
|
+
|
|
105
|
+
uint32_t instId;
|
|
106
|
+
uint32_t options;
|
|
107
|
+
RegOnly extraReg;
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
// --------------------------------------------------------------------------
|
|
111
|
+
// [API]
|
|
112
|
+
// --------------------------------------------------------------------------
|
|
113
|
+
|
|
114
|
+
#if !defined(ASMJIT_DISABLE_VALIDATION)
|
|
115
|
+
//! Validate the given instruction.
|
|
116
|
+
ASMJIT_API static Error validate(uint32_t archType, const Detail& detail, const Operand_* operands, uint32_t count) noexcept;
|
|
117
|
+
#endif // !ASMJIT_DISABLE_VALIDATION
|
|
118
|
+
|
|
119
|
+
#if !defined(ASMJIT_DISABLE_EXTENSIONS)
|
|
120
|
+
//! Check CPU features required to execute the given instruction.
|
|
121
|
+
ASMJIT_API static Error checkFeatures(uint32_t archType, const Detail& detail, const Operand_* operands, uint32_t count, CpuFeatures& out) noexcept;
|
|
122
|
+
#endif // !defined(ASMJIT_DISABLE_EXTENSIONS)
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
//! \}
|
|
126
|
+
|
|
127
|
+
} // asmjit namespace
|
|
128
|
+
} // namespace PLMD
|
|
129
|
+
|
|
130
|
+
// [Api-End]
|
|
131
|
+
#include "./asmjit_apiend.h"
|
|
132
|
+
|
|
133
|
+
// [Guard]
|
|
134
|
+
#endif // _ASMJIT_BASE_INST_H
|
|
135
|
+
#pragma GCC diagnostic pop
|
|
136
|
+
#endif // __PLUMED_HAS_ASMJIT
|
|
137
|
+
#endif
|