/external/capstone/ |
D | MCInst.c | 24 inst->Operands[i].ImmVal = 0; in MCInst_Init() 128 return op->ImmVal; in MCOperand_getImm() 133 op->ImmVal = Val; in MCOperand_setImm() 170 op->ImmVal = Val; in MCOperand_CreateImm1() 181 op->ImmVal = Val; in MCOperand_CreateImm0()
|
D | MCInst.h | 41 int64_t ImmVal; member
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86EvexToVex.cpp | 175 int64_t ImmVal = Imm.getImm(); in performCustomAdjustments() local 177 Imm.setImm(0x20 | ((ImmVal & 2) << 3) | (ImmVal & 1)); in performCustomAdjustments() 197 int64_t ImmVal = Imm.getImm(); in performCustomAdjustments() local 199 if ((ImmVal & 0xf) != ImmVal) in performCustomAdjustments()
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86EvexToVex.cpp | 196 int64_t ImmVal = Imm.getImm(); in performCustomAdjustments() local 198 Imm.setImm(0x20 | ((ImmVal & 2) << 3) | (ImmVal & 1)); in performCustomAdjustments() 218 int64_t ImmVal = Imm.getImm(); in performCustomAdjustments() local 220 if ((ImmVal & 0xf) != ImmVal) in performCustomAdjustments()
|
/external/llvm/include/llvm/MC/ |
D | MCInst.h | 46 int64_t ImmVal; member 76 return ImmVal; in getImm() 80 ImmVal = Val; in setImm() 120 Op.ImmVal = Val; in createImm()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/ |
D | MCInst.h | 47 int64_t ImmVal; member 77 return ImmVal; in getImm() 82 ImmVal = Val; in setImm() 125 Op.ImmVal = Val; in createImm()
|
/external/llvm-project/llvm/include/llvm/MC/ |
D | MCInst.h | 47 int64_t ImmVal; member 77 return ImmVal; in getImm() 82 ImmVal = Val; in setImm() 125 Op.ImmVal = Val; in createImm()
|
/external/llvm-project/llvm/lib/Target/VE/ |
D | VEInstrInfo.cpp | 536 int64_t ImmVal; in FoldImmediate() local 547 ImmVal = in FoldImmediate() 549 LLVM_DEBUG(dbgs() << "ImmVal is " << ImmVal << "\n"); in FoldImmediate() 560 ImmVal = DefMI.getOperand(2).getImm() + DefMI.getOperand(3).getImm(); in FoldImmediate() 561 LLVM_DEBUG(dbgs() << "ImmVal is " << ImmVal << "\n"); in FoldImmediate() 666 if (isInt<7>(ImmVal)) { in FoldImmediate() 670 } else if (isMImmVal(ImmVal)) { in FoldImmediate() 673 ImmVal = val2MImm(ImmVal); in FoldImmediate() 680 if (!isInt<7>(ImmVal)) in FoldImmediate() 687 if (!isMImmVal(ImmVal)) in FoldImmediate() [all …]
|
/external/llvm-project/llvm/utils/TableGen/ |
D | PredicateExpander.cpp | 22 int ImmVal, in expandCheckImmOperand() argument 30 OS << (shouldNegate() ? " != " : " == ") << ImmVal; in expandCheckImmOperand() 34 StringRef ImmVal, in expandCheckImmOperand() argument 36 if (ImmVal.empty()) in expandCheckImmOperand() 45 OS << (shouldNegate() ? " != " : " == ") << ImmVal; in expandCheckImmOperand()
|
D | PredicateExpander.h | 58 void expandCheckImmOperand(raw_ostream &OS, int OpIndex, int ImmVal, 60 void expandCheckImmOperand(raw_ostream &OS, int OpIndex, StringRef ImmVal,
|
/external/llvm-project/llvm/lib/Target/Hexagon/ |
D | HexagonConstExtenders.cpp | 343 int64_t ImmVal; // MO_Immediate, MO_TargetIndex, member 351 return Kind == ER.Kind && V.ImmVal == ER.V.ImmVal; in operator ==() 511 OS << "imm:" << ER.V.ImmVal; in operator <<() 526 OS << "tgi:" << ER.V.ImmVal; in operator <<() 529 OS << "cpi:" << ER.V.ImmVal; in operator <<() 532 OS << "jti:" << ER.V.ImmVal; in operator <<() 535 OS << "???:" << ER.V.ImmVal; in operator <<() 697 V.ImmVal = 0; in ExtRoot() 709 V.ImmVal = Op.getIndex(); in ExtRoot() 725 return V.ImmVal < ER.V.ImmVal; in operator <() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonConstExtenders.cpp | 345 int64_t ImmVal; // MO_Immediate, MO_TargetIndex, member 353 return Kind == ER.Kind && V.ImmVal == ER.V.ImmVal; in operator ==() 512 OS << "imm:" << ER.V.ImmVal; in operator <<() 527 OS << "tgi:" << ER.V.ImmVal; in operator <<() 530 OS << "cpi:" << ER.V.ImmVal; in operator <<() 533 OS << "jti:" << ER.V.ImmVal; in operator <<() 536 OS << "???:" << ER.V.ImmVal; in operator <<() 698 V.ImmVal = 0; in ExtRoot() 710 V.ImmVal = Op.getIndex(); in ExtRoot() 726 return V.ImmVal < ER.V.ImmVal; in operator <() [all …]
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineOperand.h | 158 int64_t ImmVal; // For MO_Immediate. member 412 return Contents.ImmVal; in getImm() 510 Contents.ImmVal = immVal; in setImm() 564 void ChangeToImmediate(int64_t ImmVal);
|
/external/llvm-project/llvm/lib/Target/AArch64/ |
D | AArch64ISelDAGToDAG.cpp | 3092 const int64_t ImmVal = CNode->getZExtValue(); in SelectSVEAddSubImm() local 3097 if ((ImmVal & 0xFF) == ImmVal) { in SelectSVEAddSubImm() 3099 Imm = CurDAG->getTargetConstant(ImmVal, DL, MVT::i32); in SelectSVEAddSubImm() 3106 if ((ImmVal & 0xFF) == ImmVal) { in SelectSVEAddSubImm() 3108 Imm = CurDAG->getTargetConstant(ImmVal, DL, MVT::i32); in SelectSVEAddSubImm() 3110 } else if ((ImmVal & 0xFF00) == ImmVal) { in SelectSVEAddSubImm() 3112 Imm = CurDAG->getTargetConstant(ImmVal >> 8, DL, MVT::i32); in SelectSVEAddSubImm() 3126 int64_t ImmVal = CNode->getSExtValue(); in SelectSVESignedArithImm() local 3128 if (ImmVal >= -128 && ImmVal < 128) { in SelectSVESignedArithImm() 3129 Imm = CurDAG->getTargetConstant(ImmVal, DL, MVT::i32); in SelectSVESignedArithImm() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64ISelDAGToDAG.cpp | 2884 const int64_t ImmVal = CNode->getZExtValue(); in SelectSVEAddSubImm() local 2889 if ((ImmVal & 0xFF) == ImmVal) { in SelectSVEAddSubImm() 2891 Imm = CurDAG->getTargetConstant(ImmVal, DL, MVT::i32); in SelectSVEAddSubImm() 2898 if ((ImmVal & 0xFF) == ImmVal) { in SelectSVEAddSubImm() 2900 Imm = CurDAG->getTargetConstant(ImmVal, DL, MVT::i32); in SelectSVEAddSubImm() 2902 } else if ((ImmVal & 0xFF00) == ImmVal) { in SelectSVEAddSubImm() 2904 Imm = CurDAG->getTargetConstant(ImmVal >> 8, DL, MVT::i32); in SelectSVEAddSubImm() 2918 int64_t ImmVal = CNode->getSExtValue(); in SelectSVESignedArithImm() local 2920 if (ImmVal >= -127 && ImmVal < 127) { in SelectSVESignedArithImm() 2921 Imm = CurDAG->getTargetConstant(ImmVal, DL, MVT::i32); in SelectSVESignedArithImm() [all …]
|
/external/llvm/lib/Target/AArch64/AsmParser/ |
D | AArch64AsmParser.cpp | 64 bool parseSymbolicImmVal(const MCExpr *&ImmVal); 2061 const MCExpr *ImmVal; in tryParsePrefetch() local 2062 if (getParser().parseExpression(ImmVal)) in tryParsePrefetch() 2065 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParsePrefetch() 2433 const MCExpr *ImmVal; in tryParseOptionalShiftExtend() local 2434 if (getParser().parseExpression(ImmVal)) in tryParseOptionalShiftExtend() 2437 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseOptionalShiftExtend() 2729 const MCExpr *ImmVal; in tryParseBarrierOperand() local 2731 if (getParser().parseExpression(ImmVal)) in tryParseBarrierOperand() 2733 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseBarrierOperand() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | MachineOperand.h | 171 int64_t ImmVal; // For MO_Immediate. member 537 return Contents.ImmVal; in getImm() 655 Contents.ImmVal = immVal; in setImm() 726 void ChangeToImmediate(int64_t ImmVal);
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/AsmParser/ |
D | AArch64AsmParser.cpp | 158 bool parseSymbolicImmVal(const MCExpr *&ImmVal); 2374 const MCExpr *ImmVal; in tryParsePrefetch() local 2375 if (getParser().parseExpression(ImmVal)) in tryParsePrefetch() 2378 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParsePrefetch() 2794 const MCExpr *ImmVal; in tryParseOptionalShiftExtend() local 2795 if (getParser().parseExpression(ImmVal)) in tryParseOptionalShiftExtend() 2798 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseOptionalShiftExtend() 2995 const MCExpr *ImmVal; in tryParseBarrierOperand() local 2997 if (getParser().parseExpression(ImmVal)) in tryParseBarrierOperand() 2999 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseBarrierOperand() [all …]
|
/external/llvm-project/llvm/lib/Target/AArch64/AsmParser/ |
D | AArch64AsmParser.cpp | 159 bool parseSymbolicImmVal(const MCExpr *&ImmVal); 2425 const MCExpr *ImmVal; in tryParsePrefetch() local 2426 if (getParser().parseExpression(ImmVal)) in tryParsePrefetch() 2429 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParsePrefetch() 2845 const MCExpr *ImmVal; in tryParseOptionalShiftExtend() local 2846 if (getParser().parseExpression(ImmVal)) in tryParseOptionalShiftExtend() 2849 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseOptionalShiftExtend() 3050 const MCExpr *ImmVal; in tryParseBarrierOperand() local 3052 if (getParser().parseExpression(ImmVal)) in tryParseBarrierOperand() 3054 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseBarrierOperand() [all …]
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | MachineOperand.h | 171 int64_t ImmVal; // For MO_Immediate. member 537 return Contents.ImmVal; in getImm() 655 Contents.ImmVal = immVal; in setImm() 731 void ChangeToImmediate(int64_t ImmVal, unsigned TargetFlags = 0);
|
/external/llvm-project/llvm/lib/Target/PowerPC/AsmParser/ |
D | PPCAsmParser.cpp | 1739 int64_t ImmVal; in validateTargetOperandClass() local 1741 case MCK_0: ImmVal = 0; break; in validateTargetOperandClass() 1742 case MCK_1: ImmVal = 1; break; in validateTargetOperandClass() 1743 case MCK_2: ImmVal = 2; break; in validateTargetOperandClass() 1744 case MCK_3: ImmVal = 3; break; in validateTargetOperandClass() 1745 case MCK_4: ImmVal = 4; break; in validateTargetOperandClass() 1746 case MCK_5: ImmVal = 5; break; in validateTargetOperandClass() 1747 case MCK_6: ImmVal = 6; break; in validateTargetOperandClass() 1748 case MCK_7: ImmVal = 7; break; in validateTargetOperandClass() 1753 if (Op.isImm() && Op.getImm() == ImmVal) in validateTargetOperandClass()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | ImplicitNullChecks.cpp | 421 int64_t ImmVal; in isSuitableMemoryOp() local 422 if (!TII->getConstValDefinedInReg(*ModifyingMI, RegUsedInAddr, ImmVal)) in isSuitableMemoryOp() 427 APInt ImmValC(RegSizeInBits, ImmVal, true /*IsSigned*/); in isSuitableMemoryOp()
|
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
D | AArch64MCCodeEmitter.cpp | 201 uint32_t ImmVal = 0; in getLdStUImm12OpValue() local 204 ImmVal = static_cast<uint32_t>(MO.getImm()); in getLdStUImm12OpValue() 212 return ImmVal; in getLdStUImm12OpValue()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/AsmParser/ |
D | PPCAsmParser.cpp | 1807 int64_t ImmVal; in validateTargetOperandClass() local 1809 case MCK_0: ImmVal = 0; break; in validateTargetOperandClass() 1810 case MCK_1: ImmVal = 1; break; in validateTargetOperandClass() 1811 case MCK_2: ImmVal = 2; break; in validateTargetOperandClass() 1812 case MCK_3: ImmVal = 3; break; in validateTargetOperandClass() 1813 case MCK_4: ImmVal = 4; break; in validateTargetOperandClass() 1814 case MCK_5: ImmVal = 5; break; in validateTargetOperandClass() 1815 case MCK_6: ImmVal = 6; break; in validateTargetOperandClass() 1816 case MCK_7: ImmVal = 7; break; in validateTargetOperandClass() 1821 if (Op.isImm() && Op.getImm() == ImmVal) in validateTargetOperandClass()
|
/external/capstone/arch/MOS65XX/ |
D | MOS65XXDisassembler.c | 426 detail->mos65xx.operands[detail->mos65xx.op_count].mem = MI->Operands[0].ImmVal; in fillDetails() 436 detail->mos65xx.operands[detail->mos65xx.op_count].mem = MI->Operands[0].ImmVal; in fillDetails() 447 unsigned int value = MI->Operands[0].ImmVal; in MOS65XX_printInst()
|