Home
last modified time | relevance | path

Searched refs:isLegalArithImmed (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64GlobalISelUtils.h28 constexpr bool isLegalArithImmed(const uint64_t C) { in isLegalArithImmed() function
H A DAArch64PostLegalizerLowering.cpp569 if (isLegalArithImmed(C)) in tryAdjustICmpImmAndPred()
638 if (isLegalArithImmed(C)) in tryAdjustICmpImmAndPred()
883 if (RHSCst && isLegalArithImmed(RHSCst->Value.getSExtValue())) in trySwapICmpOperands()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp3404 static bool isLegalArithImmed(uint64_t C) { in isLegalArithImmed() function
3845 if (!isLegalArithImmed(C)) { in getAArch64Cmp()
3853 isLegalArithImmed((uint32_t)(C - 1))) || in getAArch64Cmp()
3855 isLegalArithImmed(C - 1ULL))) { in getAArch64Cmp()
3864 isLegalArithImmed((uint32_t)(C - 1))) || in getAArch64Cmp()
3865 (VT == MVT::i64 && C != 0ULL && isLegalArithImmed(C - 1ULL))) { in getAArch64Cmp()
3874 isLegalArithImmed((uint32_t)(C + 1))) || in getAArch64Cmp()
3876 isLegalArithImmed(C + 1ULL))) { in getAArch64Cmp()
3885 isLegalArithImmed((uint32_t)(C + 1))) || in getAArch64Cmp()
3887 isLegalArithImmed(C + 1ULL))) { in getAArch64Cmp()
[all …]