Home
last modified time | relevance | path

Searched refs:Immed (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Target/AArch64/
DAArch64ISelDAGToDAG.cpp243 uint64_t Immed = cast<ConstantSDNode>(N.getNode())->getZExtValue(); in SelectArithImmed() local
246 if (Immed >> 12 == 0) { in SelectArithImmed()
248 } else if ((Immed & 0xfff) == 0 && Immed >> 24 == 0) { in SelectArithImmed()
250 Immed = Immed >> 12; in SelectArithImmed()
255 Val = CurDAG->getTargetConstant(Immed, MVT::i32); in SelectArithImmed()
273 uint64_t Immed = cast<ConstantSDNode>(N.getNode())->getZExtValue(); in SelectNegArithImmed() local
278 if (Immed == 0) in SelectNegArithImmed()
282 Immed = ~((uint32_t)Immed) + 1; in SelectNegArithImmed()
284 Immed = ~Immed + 1ULL; in SelectNegArithImmed()
285 if (Immed & 0xFFFFFFFFFF000000ULL) in SelectNegArithImmed()
[all …]
DAArch64ISelLowering.cpp6734 bool AArch64TargetLowering::isLegalAddImmediate(int64_t Immed) const { in isLegalAddImmediate()
6735 if ((Immed >> 12) == 0 || ((Immed & 0xfff) == 0 && Immed >> 24 == 0)) in isLegalAddImmediate()
6742 bool AArch64TargetLowering::isLegalICmpImmediate(int64_t Immed) const { in isLegalICmpImmediate()
6743 if (Immed < 0) in isLegalICmpImmediate()
6744 Immed *= -1; in isLegalICmpImmediate()
6745 return isLegalAddImmediate(Immed); in isLegalICmpImmediate()