Lines Matching refs:Desc
170 const MCInstrDesc &Desc = MCII->get(MI.getOpcode()); in isPredicated() local
171 int PredOpIdx = Desc.findFirstPredOperandIdx(); in isPredicated()
176 const MCInstrDesc &Desc = MCII->get(MI.getOpcode()); in isCPSRDefined() local
180 Desc.operands()[I].isOptionalDef()) in isCPSRDefined()
419 const MCInstrDesc &Desc = Info->get(Inst.getOpcode()); in evaluateBranch() local
422 for (unsigned OpNum = 0; OpNum < Desc.getNumOperands(); ++OpNum) { in evaluateBranch()
424 Desc.operands()[OpNum].OperandType == MCOI::OPERAND_PCREL) { in evaluateBranch()
426 Target = ARM_MC::evaluateBranchTarget(Desc, Addr, Imm); in evaluateBranch()
442 evaluateMemOpAddrForAddrMode_i12(const MCInst &Inst, const MCInstrDesc &Desc, in evaluateMemOpAddrForAddrMode_i12() argument
444 if (MemOpIndex + 1 >= Desc.getNumOperands()) in evaluateMemOpAddrForAddrMode_i12()
460 evaluateMemOpAddrForAddrMode3(const MCInst &Inst, const MCInstrDesc &Desc, in evaluateMemOpAddrForAddrMode3() argument
462 if (MemOpIndex + 2 >= Desc.getNumOperands()) in evaluateMemOpAddrForAddrMode3()
480 evaluateMemOpAddrForAddrMode5(const MCInst &Inst, const MCInstrDesc &Desc, in evaluateMemOpAddrForAddrMode5() argument
482 if (MemOpIndex + 1 >= Desc.getNumOperands()) in evaluateMemOpAddrForAddrMode5()
499 evaluateMemOpAddrForAddrMode5FP16(const MCInst &Inst, const MCInstrDesc &Desc, in evaluateMemOpAddrForAddrMode5FP16() argument
501 if (MemOpIndex + 1 >= Desc.getNumOperands()) in evaluateMemOpAddrForAddrMode5FP16()
519 evaluateMemOpAddrForAddrModeT2_i8s4(const MCInst &Inst, const MCInstrDesc &Desc, in evaluateMemOpAddrForAddrModeT2_i8s4() argument
521 if (MemOpIndex + 1 >= Desc.getNumOperands()) in evaluateMemOpAddrForAddrModeT2_i8s4()
540 evaluateMemOpAddrForAddrModeT2_pc(const MCInst &Inst, const MCInstrDesc &Desc, in evaluateMemOpAddrForAddrModeT2_pc() argument
556 evaluateMemOpAddrForAddrModeT1_s(const MCInst &Inst, const MCInstrDesc &Desc, in evaluateMemOpAddrForAddrModeT1_s() argument
558 return evaluateMemOpAddrForAddrModeT2_pc(Inst, Desc, MemOpIndex, Addr); in evaluateMemOpAddrForAddrModeT1_s()
564 const MCInstrDesc &Desc = Info->get(Inst.getOpcode()); in evaluateMemoryOperandAddress() local
567 if (!Desc.mayLoad()) in evaluateMemoryOperandAddress()
571 uint64_t TSFlags = Desc.TSFlags; in evaluateMemoryOperandAddress()
578 unsigned OpIndex = Desc.NumDefs; in evaluateMemoryOperandAddress()
579 while (OpIndex < Desc.getNumOperands() && in evaluateMemoryOperandAddress()
580 Desc.operands()[OpIndex].OperandType != MCOI::OPERAND_MEMORY) in evaluateMemoryOperandAddress()
582 if (OpIndex == Desc.getNumOperands()) in evaluateMemoryOperandAddress()
590 switch (Desc.TSFlags & ARMII::FormMask) { in evaluateMemoryOperandAddress()
610 return evaluateMemOpAddrForAddrMode_i12(Inst, Desc, OpIndex, Addr); in evaluateMemoryOperandAddress()
612 return evaluateMemOpAddrForAddrMode3(Inst, Desc, OpIndex, Addr); in evaluateMemoryOperandAddress()
614 return evaluateMemOpAddrForAddrMode5(Inst, Desc, OpIndex, Addr); in evaluateMemoryOperandAddress()
616 return evaluateMemOpAddrForAddrMode5FP16(Inst, Desc, OpIndex, Addr); in evaluateMemoryOperandAddress()
618 return evaluateMemOpAddrForAddrModeT2_i8s4(Inst, Desc, OpIndex, Addr); in evaluateMemoryOperandAddress()
620 return evaluateMemOpAddrForAddrModeT2_pc(Inst, Desc, OpIndex, Addr); in evaluateMemoryOperandAddress()
622 return evaluateMemOpAddrForAddrModeT1_s(Inst, Desc, OpIndex, Addr); in evaluateMemoryOperandAddress()