Home
last modified time | relevance | path

Searched refs:ImmVal (Results 1 – 25 of 82) sorted by relevance

1234

/external/capstone/
DMCInst.c24 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()
DMCInst.h41 int64_t ImmVal; member
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86EvexToVex.cpp175 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/
DX86EvexToVex.cpp196 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/
DMCInst.h46 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/
DMCInst.h47 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/
DMCInst.h47 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/
DVEInstrInfo.cpp536 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/
DPredicateExpander.cpp22 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()
DPredicateExpander.h58 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/
DHexagonConstExtenders.cpp343 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/
DHexagonConstExtenders.cpp345 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/
DMachineOperand.h158 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/
DAArch64ISelDAGToDAG.cpp3092 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/
DAArch64ISelDAGToDAG.cpp2884 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/
DAArch64AsmParser.cpp64 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/
DMachineOperand.h171 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/
DAArch64AsmParser.cpp158 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/
DAArch64AsmParser.cpp159 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/
DMachineOperand.h171 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/
DPPCAsmParser.cpp1739 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/
DImplicitNullChecks.cpp421 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/
DAArch64MCCodeEmitter.cpp201 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/
DPPCAsmParser.cpp1807 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/
DMOS65XXDisassembler.c426 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()

1234