-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #620 from ChrisCummins/feature/600-build-time-codegen
Remove build-time codegen using Python
- Loading branch information
Showing
25 changed files
with
1,940 additions
and
272 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
134 changes: 134 additions & 0 deletions
134
compiler_gym/envs/llvm/service/passes/10.0.0/ActionEnum.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,134 @@ | ||
// Copyright (c) Facebook, Inc. and its affiliates. | ||
// | ||
// This source code is licensed under the MIT license found in the LICENSE file | ||
// in the root directory of this source tree. | ||
// | ||
// This file was generated automatically the script | ||
// build_tools/llvm/legacy_pass_manager/make_action_space_genfiles.py. | ||
|
||
enum class LlvmAction { | ||
ADD_DISCRIMINATORS, | ||
ADCE, | ||
AGGRESSIVE_INSTCOMBINE, | ||
ALIGNMENT_FROM_ASSUMPTIONS, | ||
ALWAYS_INLINE, | ||
ARGPROMOTION, | ||
ATTRIBUTOR, | ||
BARRIER, | ||
BDCE, | ||
BREAK_CRIT_EDGES, | ||
SIMPLIFYCFG, | ||
CALLSITE_SPLITTING, | ||
CALLED_VALUE_PROPAGATION, | ||
CANONICALIZE_ALIASES, | ||
CONSTHOIST, | ||
CONSTMERGE, | ||
CONSTPROP, | ||
CORO_CLEANUP, | ||
CORO_EARLY, | ||
CORO_ELIDE, | ||
CORO_SPLIT, | ||
CORRELATED_PROPAGATION, | ||
CROSS_DSO_CFI, | ||
DEADARGELIM, | ||
DCE, | ||
DIE, | ||
DSE, | ||
REG2MEM, | ||
DIV_REM_PAIRS, | ||
EARLY_CSE_MEMSSA, | ||
EARLY_CSE, | ||
ELIM_AVAIL_EXTERN, | ||
EE_INSTRUMENT, | ||
FLATTENCFG, | ||
FLOAT2INT, | ||
FORCEATTRS, | ||
INLINE, | ||
INSERT_GCOV_PROFILING, | ||
GVN_HOIST, | ||
GVN, | ||
GLOBALDCE, | ||
GLOBALOPT, | ||
GLOBALSPLIT, | ||
GUARD_WIDENING, | ||
HOTCOLDSPLIT, | ||
IPCONSTPROP, | ||
IPSCCP, | ||
INDVARS, | ||
IRCE, | ||
INFER_ADDRESS_SPACES, | ||
INFERATTRS, | ||
INJECT_TLI_MAPPINGS, | ||
INSTSIMPLIFY, | ||
INSTCOMBINE, | ||
INSTNAMER, | ||
JUMP_THREADING, | ||
LCSSA, | ||
LICM, | ||
LIBCALLS_SHRINKWRAP, | ||
LOAD_STORE_VECTORIZER, | ||
LOOP_DATA_PREFETCH, | ||
LOOP_DELETION, | ||
LOOP_DISTRIBUTE, | ||
LOOP_FUSION, | ||
LOOP_GUARD_WIDENING, | ||
LOOP_IDIOM, | ||
LOOP_INSTSIMPLIFY, | ||
LOOP_INTERCHANGE, | ||
LOOP_LOAD_ELIM, | ||
LOOP_PREDICATION, | ||
LOOP_REROLL, | ||
LOOP_ROTATE, | ||
LOOP_SIMPLIFYCFG, | ||
LOOP_SIMPLIFY, | ||
LOOP_SINK, | ||
LOOP_REDUCE, | ||
LOOP_UNROLL_AND_JAM, | ||
LOOP_UNROLL, | ||
LOOP_UNSWITCH, | ||
LOOP_VECTORIZE, | ||
LOOP_VERSIONING_LICM, | ||
LOOP_VERSIONING, | ||
LOWERATOMIC, | ||
LOWER_CONSTANT_INTRINSICS, | ||
LOWER_EXPECT, | ||
LOWER_GUARD_INTRINSIC, | ||
LOWERINVOKE, | ||
LOWER_MATRIX_INTRINSICS, | ||
LOWERSWITCH, | ||
LOWER_WIDENABLE_CONDITION, | ||
MEMCPYOPT, | ||
MERGEFUNC, | ||
MERGEICMPS, | ||
MLDST_MOTION, | ||
SANCOV, | ||
NAME_ANON_GLOBALS, | ||
NARY_REASSOCIATE, | ||
NEWGVN, | ||
PGO_MEMOP_OPT, | ||
PARTIAL_INLINER, | ||
PARTIALLY_INLINE_LIBCALLS, | ||
POST_INLINE_EE_INSTRUMENT, | ||
FUNCTIONATTRS, | ||
MEM2REG, | ||
PRUNE_EH, | ||
REASSOCIATE, | ||
REDUNDANT_DBG_INST_ELIM, | ||
RPO_FUNCTIONATTRS, | ||
REWRITE_STATEPOINTS_FOR_GC, | ||
SCCP, | ||
SLP_VECTORIZER, | ||
SROA, | ||
SCALARIZER, | ||
SEPARATE_CONST_OFFSET_FROM_GEP, | ||
SIMPLE_LOOP_UNSWITCH, | ||
SINK, | ||
SPECULATIVE_EXECUTION, | ||
SLSR, | ||
STRIP_DEAD_PROTOTYPES, | ||
STRIP_DEBUG_DECLARE, | ||
STRIP_NONDEBUG, | ||
STRIP, | ||
TAILCALLELIM, | ||
MERGERETURN, | ||
}; |
Oops, something went wrong.