Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
llvm/include/llvm/IR/ConstrainedOps.def
Show First 20 Lines • Show All 64 Lines • ▼ Show 20 Lines | |||||
FUNCTION(log10, 1, 1, experimental_constrained_log10, FLOG10) | FUNCTION(log10, 1, 1, experimental_constrained_log10, FLOG10) | ||||
FUNCTION(log2, 1, 1, experimental_constrained_log2, FLOG2) | FUNCTION(log2, 1, 1, experimental_constrained_log2, FLOG2) | ||||
FUNCTION(lrint, 1, 1, experimental_constrained_lrint, LRINT) | FUNCTION(lrint, 1, 1, experimental_constrained_lrint, LRINT) | ||||
FUNCTION(llrint, 1, 1, experimental_constrained_llrint, LLRINT) | FUNCTION(llrint, 1, 1, experimental_constrained_llrint, LLRINT) | ||||
FUNCTION(lround, 1, 0, experimental_constrained_lround, LROUND) | FUNCTION(lround, 1, 0, experimental_constrained_lround, LROUND) | ||||
FUNCTION(llround, 1, 0, experimental_constrained_llround, LLROUND) | FUNCTION(llround, 1, 0, experimental_constrained_llround, LLROUND) | ||||
FUNCTION(maxnum, 2, 0, experimental_constrained_maxnum, FMAXNUM) | FUNCTION(maxnum, 2, 0, experimental_constrained_maxnum, FMAXNUM) | ||||
FUNCTION(minnum, 2, 0, experimental_constrained_minnum, FMINNUM) | FUNCTION(minnum, 2, 0, experimental_constrained_minnum, FMINNUM) | ||||
FUNCTION(maximum, 2, 0, experimental_constrained_maximum, FMAXIMUM) | |||||
FUNCTION(minimum, 2, 0, experimental_constrained_minimum, FMINIMUM) | |||||
kpn: Adding this file has made new intrinsics so much easier. I'm almost irritated at how easy this… | |||||
FUNCTION(nearbyint, 1, 1, experimental_constrained_nearbyint, FNEARBYINT) | FUNCTION(nearbyint, 1, 1, experimental_constrained_nearbyint, FNEARBYINT) | ||||
FUNCTION(pow, 2, 1, experimental_constrained_pow, FPOW) | FUNCTION(pow, 2, 1, experimental_constrained_pow, FPOW) | ||||
FUNCTION(powi, 2, 1, experimental_constrained_powi, FPOWI) | FUNCTION(powi, 2, 1, experimental_constrained_powi, FPOWI) | ||||
FUNCTION(rint, 1, 1, experimental_constrained_rint, FRINT) | FUNCTION(rint, 1, 1, experimental_constrained_rint, FRINT) | ||||
FUNCTION(round, 1, 0, experimental_constrained_round, FROUND) | FUNCTION(round, 1, 0, experimental_constrained_round, FROUND) | ||||
FUNCTION(sin, 1, 1, experimental_constrained_sin, FSIN) | FUNCTION(sin, 1, 1, experimental_constrained_sin, FSIN) | ||||
FUNCTION(sqrt, 1, 1, experimental_constrained_sqrt, FSQRT) | FUNCTION(sqrt, 1, 1, experimental_constrained_sqrt, FSQRT) | ||||
FUNCTION(trunc, 1, 0, experimental_constrained_trunc, FTRUNC) | FUNCTION(trunc, 1, 0, experimental_constrained_trunc, FTRUNC) | ||||
#undef INSTRUCTION | #undef INSTRUCTION | ||||
#undef FUNCTION | #undef FUNCTION | ||||
#undef CMP_INSTRUCTION | #undef CMP_INSTRUCTION |
Adding this file has made new intrinsics so much easier. I'm almost irritated at how easy this was.