Home
last modified time | relevance | path

Searched refs:UImm16 (Results 1 – 6 of 6) sorted by relevance

/external/llvm/lib/Target/AArch64/Utils/
DAArch64BaseInfo.cpp782 bool A64Imms::isMOVZImm(int RegWidth, uint64_t Value, int &UImm16, int &Shift) { in isMOVZImm() argument
792 UImm16 = (Value >> i) & 0xffff; in isMOVZImm()
799 bool A64Imms::isMOVNImm(int RegWidth, uint64_t Value, int &UImm16, int &Shift) { in isMOVNImm() argument
810 return isMOVZImm(RegWidth, MOVZEquivalent, UImm16, Shift); in isMOVNImm()
814 int &UImm16, int &Shift) { in isOnlyMOVNImm() argument
815 if (isMOVZImm(RegWidth, Value, UImm16, Shift)) in isOnlyMOVNImm()
818 return isMOVNImm(RegWidth, Value, UImm16, Shift); in isOnlyMOVNImm()
DAArch64BaseInfo.h773 bool isMOVZImm(int RegWidth, uint64_t Value, int &UImm16, int &Shift);
774 bool isMOVNImm(int RegWidth, uint64_t Value, int &UImm16, int &Shift);
778 bool isOnlyMOVNImm(int RegWidth, uint64_t Value, int &UImm16, int &Shift);
/external/llvm/lib/Target/AArch64/
DAArch64ISelDAGToDAG.cpp184 int UImm16, Shift; in TrySelectToMoveImm() local
188 if (A64Imms::isMOVZImm(DestWidth, BitPat, UImm16, Shift)) { in TrySelectToMoveImm()
191 } else if (A64Imms::isMOVNImm(DestWidth, BitPat, UImm16, Shift)) { in TrySelectToMoveImm()
194 } else if (DestWidth == 64 && A64Imms::isMOVNImm(32, BitPat, UImm16, Shift)) { in TrySelectToMoveImm()
213 CurDAG->getTargetConstant(UImm16, MVT::i32), in TrySelectToMoveImm()
DAArch64InstrFormats.td359 bits<16> UImm16;
363 let Inst{20-5} = UImm16;
862 bits<16> UImm16;
869 let Inst{20-5} = UImm16;
DAArch64InstrInfo.td1871 let Name = "UImm16";
1874 let DiagnosticType = "UImm16";
1882 : A64I_exception<opc, 0b000, ll, (outs), (ins uimm16:$UImm16),
1883 !strconcat(asmop, "\t$UImm16"), [], NoItinerary> {
3875 let MIOperandInfo = (ops uimm16:$UImm16, imm:$Shift);
3893 let UImm16 = FullImm{15-0};
3901 let UImm16 = FullImm{15-0};
3943 let MIOperandInfo = (ops uimm16:$UImm16, imm:$Shift);
/external/llvm/lib/Target/AArch64/AsmParser/
DAArch64AsmParser.cpp419 int UImm16, Shift; in isLogicalImmMOV() local
420 return !A64Imms::isMOVZImm(RegWidth, CE->getValue(), UImm16, Shift) in isLogicalImmMOV()
421 && !A64Imms::isMOVNImm(RegWidth, CE->getValue(), UImm16, Shift); in isLogicalImmMOV()
591 int UImm16, Shift; in isMoveWideMovAlias() local
604 return isValidImm(RegWidth, Value, UImm16, Shift); in isMoveWideMovAlias()
995 int UImm16, Shift; in addMoveWideMovAliasOperands() local
1004 bool Valid = isValidImm(RegWidth, Value, UImm16, Shift); in addMoveWideMovAliasOperands()
1008 Inst.addOperand(MCOperand::CreateImm(UImm16)); in addMoveWideMovAliasOperands()