Home
last modified time | relevance | path

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

/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/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()
555 void ChangeToImmediate(int64_t ImmVal);
/external/llvm/lib/Target/AArch64/AsmParser/
DAArch64AsmParser.cpp64 bool parseSymbolicImmVal(const MCExpr *&ImmVal);
2075 const MCExpr *ImmVal; in tryParsePrefetch() local
2076 if (getParser().parseExpression(ImmVal)) in tryParsePrefetch()
2079 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParsePrefetch()
2456 const MCExpr *ImmVal; in tryParseOptionalShiftExtend() local
2457 if (getParser().parseExpression(ImmVal)) in tryParseOptionalShiftExtend()
2460 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseOptionalShiftExtend()
2752 const MCExpr *ImmVal; in tryParseBarrierOperand() local
2754 if (getParser().parseExpression(ImmVal)) in tryParseBarrierOperand()
2756 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseBarrierOperand()
[all …]
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MCCodeEmitter.cpp219 uint32_t ImmVal = 0; in getLdStUImm12OpValue() local
222 ImmVal = static_cast<uint32_t>(MO.getImm()); in getLdStUImm12OpValue()
230 return ImmVal; in getLdStUImm12OpValue()
/external/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.cpp48 APInt ImmVal = Imm; in getIntImmCost() local
50 ImmVal = Imm.sext((BitSize + 63) & ~0x3fU); in getIntImmCost()
56 APInt Tmp = ImmVal.ashr(ShiftVal).sextOrTrunc(64); in getIntImmCost()
/external/llvm/lib/Target/PowerPC/AsmParser/
DPPCAsmParser.cpp1929 int64_t ImmVal; in validateTargetOperandClass() local
1931 case MCK_0: ImmVal = 0; break; in validateTargetOperandClass()
1932 case MCK_1: ImmVal = 1; break; in validateTargetOperandClass()
1933 case MCK_2: ImmVal = 2; break; in validateTargetOperandClass()
1934 case MCK_3: ImmVal = 3; break; in validateTargetOperandClass()
1935 case MCK_4: ImmVal = 4; break; in validateTargetOperandClass()
1936 case MCK_5: ImmVal = 5; break; in validateTargetOperandClass()
1937 case MCK_6: ImmVal = 6; break; in validateTargetOperandClass()
1938 case MCK_7: ImmVal = 7; break; in validateTargetOperandClass()
1943 if (Op.isImm() && Op.getImm() == ImmVal) in validateTargetOperandClass()
/external/llvm/lib/Target/AArch64/Disassembler/
DAArch64Disassembler.cpp608 int64_t ImmVal = Imm; in DecodePCRelLabel19() local
613 if (ImmVal & (1 << (19 - 1))) in DecodePCRelLabel19()
614 ImmVal |= ~((1LL << 19) - 1); in DecodePCRelLabel19()
616 if (!Dis->tryAddingSymbolicOperand(Inst, ImmVal * 4, Addr, in DecodePCRelLabel19()
618 Inst.addOperand(MCOperand::createImm(ImmVal)); in DecodePCRelLabel19()
1466 unsigned ImmVal = Imm & 0xFFF; in DecodeBaseAddSubImm() local
1488 Inst.addOperand(MCOperand::createImm(ImmVal)); in DecodeBaseAddSubImm()
/external/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp1162 APInt ImmVal = Imm; in getIntImmCost() local
1164 ImmVal = Imm.sext((BitSize + 63) & ~0x3fU); in getIntImmCost()
1170 APInt Tmp = ImmVal.ashr(ShiftVal).sextOrTrunc(64); in getIntImmCost()
1209 uint64_t ImmVal = Imm.getZExtValue(); in getIntImmCost() local
1210 if (ImmVal == 0x100000000ULL || ImmVal == 0xffffffff) in getIntImmCost()
DX86ISelDAGToDAG.cpp1548 uint64_t ImmVal = CN->getZExtValue(); in selectMOV64Imm32() local
1549 if ((uint32_t)ImmVal != (uint64_t)ImmVal) in selectMOV64Imm32()
1552 Imm = CurDAG->getTargetConstant(ImmVal, SDLoc(N), MVT::i64); in selectMOV64Imm32()
/external/llvm/lib/Target/ARM/
DARMBaseInstrInfo.cpp2671 uint32_t ImmVal = (uint32_t)DefMI->getOperand(1).getImm(); in FoldImmediate() local
2690 ImmVal = -ImmVal; in FoldImmediate()
2697 if (!ARM_AM::isSOImmTwoPartVal(ImmVal)) in FoldImmediate()
2699 SOImmValV1 = (uint32_t)ARM_AM::getSOImmTwoPartFirst(ImmVal); in FoldImmediate()
2700 SOImmValV2 = (uint32_t)ARM_AM::getSOImmTwoPartSecond(ImmVal); in FoldImmediate()
2712 ImmVal = -ImmVal; in FoldImmediate()
2719 if (!ARM_AM::isT2SOImmTwoPartVal(ImmVal)) in FoldImmediate()
2721 SOImmValV1 = (uint32_t)ARM_AM::getT2SOImmTwoPartFirst(ImmVal); in FoldImmediate()
2722 SOImmValV2 = (uint32_t)ARM_AM::getT2SOImmTwoPartSecond(ImmVal); in FoldImmediate()
DARMExpandPseudoInsts.cpp674 unsigned ImmVal = (unsigned)MO.getImm(); in ExpandMOV32BitImm() local
675 unsigned SOImmValV1 = ARM_AM::getSOImmTwoPartFirst(ImmVal); in ExpandMOV32BitImm()
676 unsigned SOImmValV2 = ARM_AM::getSOImmTwoPartSecond(ImmVal); in ExpandMOV32BitImm()
DARMISelLowering.cpp4901 int ImmVal = IsDouble ? ARM_AM::getFP64Imm(FPVal) : ARM_AM::getFP32Imm(FPVal); in LowerConstantFP() local
4903 if (ImmVal != -1) { in LowerConstantFP()
4913 SDValue NewVal = DAG.getTargetConstant(ImmVal, DL, MVT::i32); in LowerConstantFP()
5395 int ImmVal = ARM_AM::getFP32Imm(SplatBits); in LowerBUILD_VECTOR() local
5396 if (ImmVal != -1) { in LowerBUILD_VECTOR()
5397 SDValue Val = DAG.getTargetConstant(ImmVal, dl, MVT::i32); in LowerBUILD_VECTOR()
/external/llvm/utils/TableGen/
DAsmMatcherEmitter.cpp365 int64_t ImmVal; member
394 X.ImmVal = Val; in getImmOp()
1710 int64_t ImmVal = CGA.ResultOperands[AliasOpNo].getImm(); in buildAliasResultOperands() local
1711 ResOperands.push_back(ResOperand::getImmOp(ImmVal)); in buildAliasResultOperands()
1911 int64_t Val = OpInfo.ImmVal; in emitConvertFuncs()
/external/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp299 unsigned ImmVal; member
309 Contents.ImmVal = v; in CountValue()
325 return Contents.ImmVal; in getImm()
330 if (isImm()) { OS << Contents.ImmVal; } in print()
DHexagonInstrInfoV4.td1696 class NVJ_ConstImm_template<string mnemonic, bits<3> majOp, string ImmVal,
1701 #"($src1.new, #"#ImmVal#")) jump:"
1720 multiclass NVJ_ConstImm_cond<string mnemonic, bits<3> majOp, string ImmVal,
1723 def _nt: NVJ_ConstImm_template<mnemonic, majOp, ImmVal, isNegCond, 0>;
1725 def _t : NVJ_ConstImm_template<mnemonic, majOp, ImmVal, isNegCond, 1>;
1729 string ImmVal> {
1731 defm _t_jumpnv : NVJ_ConstImm_cond<mnemonic, majOp, ImmVal, 0>; // True
1732 defm _f_jumpnv : NVJ_ConstImm_cond<mnemonic, majOp, ImmVal, 1>; // False
/external/llvm/lib/CodeGen/
DMachineInstr.cpp133 void MachineOperand::ChangeToImmediate(int64_t ImmVal) { in ChangeToImmediate() argument
139 Contents.ImmVal = ImmVal; in ChangeToImmediate()
/external/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp3099 const MCExpr *ImmVal; in tryParseRegisterWithWriteBack() local
3100 if (getParser().parseExpression(ImmVal)) in tryParseRegisterWithWriteBack()
3102 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseRegisterWithWriteBack()
5099 const MCExpr *ImmVal; in parseOperand() local
5100 if (getParser().parseExpression(ImmVal)) in parseOperand()
5102 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ImmVal); in parseOperand()
5106 ImmVal = MCConstantExpr::create(INT32_MIN, getContext()); in parseOperand()
5109 Operands.push_back(ARMOperand::CreateImm(ImmVal, S, E)); in parseOperand()