reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Target/AArch64/AArch64ISelLowering.cpp
 1976     if (!isLegalArithImmed(C)) {
 1983         if ((VT == MVT::i32 && C != 0x80000000 &&
 1984              isLegalArithImmed((uint32_t)(C - 1))) ||
 1985             (VT == MVT::i64 && C != 0x80000000ULL &&
 1986              isLegalArithImmed(C - 1ULL))) {
 1988           C = (VT == MVT::i32) ? (uint32_t)(C - 1) : C - 1;
 1988           C = (VT == MVT::i32) ? (uint32_t)(C - 1) : C - 1;
 1988           C = (VT == MVT::i32) ? (uint32_t)(C - 1) : C - 1;
 1989           RHS = DAG.getConstant(C, dl, VT);
 1994         if ((VT == MVT::i32 && C != 0 &&
 1995              isLegalArithImmed((uint32_t)(C - 1))) ||
 1996             (VT == MVT::i64 && C != 0ULL && isLegalArithImmed(C - 1ULL))) {
 1996             (VT == MVT::i64 && C != 0ULL && isLegalArithImmed(C - 1ULL))) {
 1998           C = (VT == MVT::i32) ? (uint32_t)(C - 1) : C - 1;
 1998           C = (VT == MVT::i32) ? (uint32_t)(C - 1) : C - 1;
 1998           C = (VT == MVT::i32) ? (uint32_t)(C - 1) : C - 1;
 1999           RHS = DAG.getConstant(C, dl, VT);
 2004         if ((VT == MVT::i32 && C != INT32_MAX &&
 2005              isLegalArithImmed((uint32_t)(C + 1))) ||
 2006             (VT == MVT::i64 && C != INT64_MAX &&
 2007              isLegalArithImmed(C + 1ULL))) {
 2009           C = (VT == MVT::i32) ? (uint32_t)(C + 1) : C + 1;
 2009           C = (VT == MVT::i32) ? (uint32_t)(C + 1) : C + 1;
 2009           C = (VT == MVT::i32) ? (uint32_t)(C + 1) : C + 1;
 2010           RHS = DAG.getConstant(C, dl, VT);
 2015         if ((VT == MVT::i32 && C != UINT32_MAX &&
 2016              isLegalArithImmed((uint32_t)(C + 1))) ||
 2017             (VT == MVT::i64 && C != UINT64_MAX &&
 2018              isLegalArithImmed(C + 1ULL))) {
 2020           C = (VT == MVT::i32) ? (uint32_t)(C + 1) : C + 1;
 2020           C = (VT == MVT::i32) ? (uint32_t)(C + 1) : C + 1;
 2020           C = (VT == MVT::i32) ? (uint32_t)(C + 1) : C + 1;
 2021           RHS = DAG.getConstant(C, dl, VT);