Home
last modified time | relevance | path

Searched refs:ImmR (Results 1 – 18 of 18) sorted by relevance

/external/llvm/lib/Target/AArch64/InstPrinter/
DAArch64InstPrinter.cpp163 int ImmR = MI->getOperand(3).getImm(); in printInst() local
167 (ImmR == 0 || ImmS < ImmR)) { in printInst()
170 int LSB = (BitWidth - ImmR) % BitWidth; in printInst()
177 } else if (ImmS < ImmR) { in printInst()
180 int LSB = (BitWidth - ImmR) % BitWidth; in printInst()
189 int LSB = ImmR; in printInst()
190 int Width = ImmS - ImmR + 1; in printInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/InstPrinter/
DAArch64InstPrinter.cpp172 int ImmR = MI->getOperand(3).getImm(); in printInst() local
176 (ImmR == 0 || ImmS < ImmR)) { in printInst()
179 int LSB = (BitWidth - ImmR) % BitWidth; in printInst()
186 } else if (ImmS < ImmR) { in printInst()
189 int LSB = (BitWidth - ImmR) % BitWidth; in printInst()
198 int LSB = ImmR; in printInst()
199 int Width = ImmS - ImmR + 1; in printInst()
/external/capstone/arch/AArch64/
DAArch64InstPrinter.c248 int ImmR = (int)MCOperand_getImm(MCInst_getOperand(MI, 3)); in AArch64_printInst() local
252 if (ImmS < ImmR) { in AArch64_printInst()
254 LSB = (BitWidth - ImmR) % BitWidth; in AArch64_printInst()
283 LSB = ImmR; in AArch64_printInst()
284 Width = ImmS - ImmR + 1; in AArch64_printInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64ISelDAGToDAG.cpp2197 unsigned ImmR = (BitWidth - LSB) % BitWidth; in tryBitfieldInsertOpFromOrAndImm() local
2228 CurDAG->getTargetConstant(ImmR, DL, VT), in tryBitfieldInsertOpFromOrAndImm()
2272 unsigned ImmR, ImmS; in tryBitfieldInsertOpFromOr() local
2281 if (isBitfieldExtractOp(CurDAG, OrOpd0, BFXOpc, Src, ImmR, ImmS, in tryBitfieldInsertOpFromOr()
2291 Width = ImmS - ImmR + 1; in tryBitfieldInsertOpFromOr()
2303 ImmR = (BitWidth - DstLSB) % BitWidth; in tryBitfieldInsertOpFromOr()
2340 SDValue Ops[] = {Dst, Src, CurDAG->getTargetConstant(ImmR, DL, VT), in tryBitfieldInsertOpFromOr()
2381 unsigned ImmR = (BitWidth - LSB) % BitWidth; in tryBitfieldInsertOpFromOr() local
2386 CurDAG->getTargetConstant(ImmR, DL, VT), in tryBitfieldInsertOpFromOr()
2433 unsigned ImmR = (VT.getSizeInBits() - DstLSB) % VT.getSizeInBits(); in tryBitfieldInsertInZeroOp() local
[all …]
DAArch64FastISel.cpp4079 unsigned ImmR = RegSize - Shift; in emitLSL_ri() local
4097 return fastEmitInst_rii(Opc, RC, Op0, Op0IsKill, ImmR, ImmS); in emitLSL_ri()
4201 unsigned ImmR = std::min<unsigned>(SrcBits - 1, Shift); in emitLSR_ri() local
4218 return fastEmitInst_rii(Opc, RC, Op0, Op0IsKill, ImmR, ImmS); in emitLSR_ri()
4310 unsigned ImmR = std::min<unsigned>(SrcBits - 1, Shift); in emitASR_ri() local
4327 return fastEmitInst_rii(Opc, RC, Op0, Op0IsKill, ImmR, ImmS); in emitASR_ri()
/external/llvm/lib/Target/AArch64/
DAArch64ISelDAGToDAG.cpp2098 unsigned ImmR = (BitWidth - LSB) % BitWidth; in tryBitfieldInsertOpFromOrAndImm() local
2129 CurDAG->getTargetConstant(ImmR, DL, VT), in tryBitfieldInsertOpFromOrAndImm()
2173 unsigned ImmR, ImmS; in tryBitfieldInsertOpFromOr() local
2182 if (isBitfieldExtractOp(CurDAG, OrOpd0, BFXOpc, Src, ImmR, ImmS, in tryBitfieldInsertOpFromOr()
2192 Width = ImmS - ImmR + 1; in tryBitfieldInsertOpFromOr()
2204 ImmR = (BitWidth - DstLSB) % BitWidth; in tryBitfieldInsertOpFromOr()
2241 SDValue Ops[] = {Dst, Src, CurDAG->getTargetConstant(ImmR, DL, VT), in tryBitfieldInsertOpFromOr()
2282 unsigned ImmR = (BitWidth - LSB) % BitWidth; in tryBitfieldInsertOpFromOr() local
2287 CurDAG->getTargetConstant(ImmR, DL, VT), in tryBitfieldInsertOpFromOr()
2334 unsigned ImmR = (VT.getSizeInBits() - DstLSB) % VT.getSizeInBits(); in tryBitfieldInsertInZeroOp() local
[all …]
DAArch64FastISel.cpp3993 unsigned ImmR = RegSize - Shift; in emitLSL_ri() local
4011 return fastEmitInst_rii(Opc, RC, Op0, Op0IsKill, ImmR, ImmS); in emitLSL_ri()
4115 unsigned ImmR = std::min<unsigned>(SrcBits - 1, Shift); in emitLSR_ri() local
4132 return fastEmitInst_rii(Opc, RC, Op0, Op0IsKill, ImmR, ImmS); in emitLSR_ri()
4224 unsigned ImmR = std::min<unsigned>(SrcBits - 1, Shift); in emitASR_ri() local
4241 return fastEmitInst_rii(Opc, RC, Op0, Op0IsKill, ImmR, ImmS); in emitASR_ri()
/external/llvm/lib/Target/AArch64/AsmParser/
DAArch64AsmParser.cpp3807 uint64_t ImmR = 0; in MatchAndEmitInstruction() local
3809 ImmR = (32 - LSB) & 0x1f; in MatchAndEmitInstruction()
3811 ImmR = (64 - LSB) & 0x3f; in MatchAndEmitInstruction()
3815 if (ImmR != 0 && ImmS >= ImmR) in MatchAndEmitInstruction()
3819 const MCExpr *ImmRExpr = MCConstantExpr::create(ImmR, getContext()); in MatchAndEmitInstruction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/AsmParser/
DAArch64AsmParser.cpp4405 uint64_t ImmR = 0; in MatchAndEmitInstruction() local
4407 ImmR = (32 - LSB) & 0x1f; in MatchAndEmitInstruction()
4409 ImmR = (64 - LSB) & 0x3f; in MatchAndEmitInstruction()
4413 if (ImmR != 0 && ImmS >= ImmR) in MatchAndEmitInstruction()
4417 const MCExpr *ImmRExpr = MCConstantExpr::create(ImmR, getContext()); in MatchAndEmitInstruction()
/external/v8/src/arm64/
Dassembler-arm64-inl.h964 Instr Assembler::ImmR(unsigned immr, unsigned reg_size) {
Ddisasm-arm64.cc422 unsigned r = instr->ImmR(); in VisitBitfield()
3787 unsigned r = instr->ImmR(); in SubstituteBitfieldImmediateField()
Dassembler-arm64.cc1308 ImmR(immr, rd.SizeInBits()) | in bfm()
1319 ImmR(immr, rd.SizeInBits()) | in sbfm()
1330 ImmR(immr, rd.SizeInBits()) | in ubfm()
Dconstants-arm64.h191 V_(ImmR, 21, 16, Bits) \
Dassembler-arm64.h2948 inline static Instr ImmR(unsigned immr, unsigned reg_size);
Dsimulator-arm64.cc2453 T R = instr->ImmR(); in BitfieldHelper()
/external/vixl/src/aarch64/
Dassembler-aarch64.cc666 Emit(SF(rd) | BFM | N | ImmR(immr, rd.GetSizeInBits()) | in bfm()
677 Emit(SF(rd) | SBFM | N | ImmR(immr, rd.GetSizeInBits()) | in sbfm()
688 Emit(SF(rd) | UBFM | N | ImmR(immr, rd.GetSizeInBits()) | in ubfm()
Dconstants-aarch64.h90 V_(ImmR, 21, 16, ExtractBits) \
Dassembler-aarch64.h3662 static Instr ImmR(unsigned immr, unsigned reg_size) { in ImmR() function