Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Target/AArch64/GISel/
DAArch64GlobalISelUtils.h22 constexpr bool isLegalArithImmed(const uint64_t C) { in isLegalArithImmed() function
DAArch64PostLegalizerLowering.cpp442 if (isLegalArithImmed(C)) in tryAdjustICmpImmAndPred()
511 if (!isLegalArithImmed(C)) in tryAdjustICmpImmAndPred()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp1200 static bool isLegalArithImmed(uint64_t C) { in isLegalArithImmed() function
1511 if (!isLegalArithImmed(C)) { in getAArch64Cmp()
1519 isLegalArithImmed((uint32_t)(C - 1))) || in getAArch64Cmp()
1521 isLegalArithImmed(C - 1ULL))) { in getAArch64Cmp()
1530 isLegalArithImmed((uint32_t)(C - 1))) || in getAArch64Cmp()
1531 (VT == MVT::i64 && C != 0ULL && isLegalArithImmed(C - 1ULL))) { in getAArch64Cmp()
1540 isLegalArithImmed((uint32_t)(C + 1))) || in getAArch64Cmp()
1542 isLegalArithImmed(C + 1ULL))) { in getAArch64Cmp()
1551 isLegalArithImmed((uint32_t)(C + 1))) || in getAArch64Cmp()
1553 isLegalArithImmed(C + 1ULL))) { in getAArch64Cmp()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp1672 static bool isLegalArithImmed(uint64_t C) { in isLegalArithImmed() function
2080 if (!isLegalArithImmed(C)) { in getAArch64Cmp()
2088 isLegalArithImmed((uint32_t)(C - 1))) || in getAArch64Cmp()
2090 isLegalArithImmed(C - 1ULL))) { in getAArch64Cmp()
2099 isLegalArithImmed((uint32_t)(C - 1))) || in getAArch64Cmp()
2100 (VT == MVT::i64 && C != 0ULL && isLegalArithImmed(C - 1ULL))) { in getAArch64Cmp()
2109 isLegalArithImmed((uint32_t)(C + 1))) || in getAArch64Cmp()
2111 isLegalArithImmed(C + 1ULL))) { in getAArch64Cmp()
2120 isLegalArithImmed((uint32_t)(C + 1))) || in getAArch64Cmp()
2122 isLegalArithImmed(C + 1ULL))) { in getAArch64Cmp()
[all …]
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp2193 static bool isLegalArithImmed(uint64_t C) { in isLegalArithImmed() function
2609 if (!isLegalArithImmed(C)) { in getAArch64Cmp()
2617 isLegalArithImmed((uint32_t)(C - 1))) || in getAArch64Cmp()
2619 isLegalArithImmed(C - 1ULL))) { in getAArch64Cmp()
2628 isLegalArithImmed((uint32_t)(C - 1))) || in getAArch64Cmp()
2629 (VT == MVT::i64 && C != 0ULL && isLegalArithImmed(C - 1ULL))) { in getAArch64Cmp()
2638 isLegalArithImmed((uint32_t)(C + 1))) || in getAArch64Cmp()
2640 isLegalArithImmed(C + 1ULL))) { in getAArch64Cmp()
2649 isLegalArithImmed((uint32_t)(C + 1))) || in getAArch64Cmp()
2651 isLegalArithImmed(C + 1ULL))) { in getAArch64Cmp()
[all …]