Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/include/llvm/MC/
DMCInst.h43 int64_t ImmVal; member
71 return ImmVal; in getImm()
75 ImmVal = Val; in setImm()
106 Op.ImmVal = Val; in CreateImm()
/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/include/llvm/CodeGen/
DMachineOperand.h132 int64_t ImmVal; // For MO_Immediate. member
362 return Contents.ImmVal; in getImm()
426 Contents.ImmVal = immVal; in setImm()
458 void ChangeToImmediate(int64_t ImmVal);
/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/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/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/llvm/lib/Target/ARM/
DARMBaseInstrInfo.cpp2674 uint32_t ImmVal = (uint32_t)DefMI.getOperand(1).getImm(); in FoldImmediate() local
2697 if (ARM_AM::isSOImmTwoPartVal(ImmVal)) in FoldImmediate()
2699 else if (ARM_AM::isSOImmTwoPartVal(-ImmVal)) { in FoldImmediate()
2700 ImmVal = -ImmVal; in FoldImmediate()
2704 SOImmValV1 = (uint32_t)ARM_AM::getSOImmTwoPartFirst(ImmVal); in FoldImmediate()
2705 SOImmValV2 = (uint32_t)ARM_AM::getSOImmTwoPartSecond(ImmVal); in FoldImmediate()
2710 if (!ARM_AM::isSOImmTwoPartVal(ImmVal)) in FoldImmediate()
2712 SOImmValV1 = (uint32_t)ARM_AM::getSOImmTwoPartFirst(ImmVal); in FoldImmediate()
2713 SOImmValV2 = (uint32_t)ARM_AM::getSOImmTwoPartSecond(ImmVal); in FoldImmediate()
2728 if (ARM_AM::isT2SOImmTwoPartVal(ImmVal)) in FoldImmediate()
[all …]
DARMExpandPseudoInsts.cpp689 unsigned ImmVal = (unsigned)MO.getImm(); in ExpandMOV32BitImm() local
690 unsigned SOImmValV1 = ARM_AM::getSOImmTwoPartFirst(ImmVal); in ExpandMOV32BitImm()
691 unsigned SOImmValV2 = ARM_AM::getSOImmTwoPartSecond(ImmVal); in ExpandMOV32BitImm()
DARMISelLowering.cpp5188 int ImmVal = IsDouble ? ARM_AM::getFP64Imm(FPVal) : ARM_AM::getFP32Imm(FPVal); in LowerConstantFP() local
5190 if (ImmVal != -1) { in LowerConstantFP()
5200 SDValue NewVal = DAG.getTargetConstant(ImmVal, DL, MVT::i32); in LowerConstantFP()
5682 int ImmVal = ARM_AM::getFP32Imm(SplatBits); in LowerBUILD_VECTOR() local
5683 if (ImmVal != -1) { in LowerBUILD_VECTOR()
5684 SDValue Val = DAG.getTargetConstant(ImmVal, dl, MVT::i32); in LowerBUILD_VECTOR()
/external/llvm/lib/Target/PowerPC/AsmParser/
DPPCAsmParser.cpp1965 int64_t ImmVal; in validateTargetOperandClass() local
1967 case MCK_0: ImmVal = 0; break; in validateTargetOperandClass()
1968 case MCK_1: ImmVal = 1; break; in validateTargetOperandClass()
1969 case MCK_2: ImmVal = 2; break; in validateTargetOperandClass()
1970 case MCK_3: ImmVal = 3; break; in validateTargetOperandClass()
1971 case MCK_4: ImmVal = 4; break; in validateTargetOperandClass()
1972 case MCK_5: ImmVal = 5; break; in validateTargetOperandClass()
1973 case MCK_6: ImmVal = 6; break; in validateTargetOperandClass()
1974 case MCK_7: ImmVal = 7; break; in validateTargetOperandClass()
1979 if (Op.isImm() && Op.getImm() == ImmVal) in validateTargetOperandClass()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMBaseInstrInfo.cpp1894 uint32_t ImmVal = (uint32_t)DefMI->getOperand(1).getImm(); in FoldImmediate() local
1913 ImmVal = -ImmVal; in FoldImmediate()
1920 if (!ARM_AM::isSOImmTwoPartVal(ImmVal)) in FoldImmediate()
1922 SOImmValV1 = (uint32_t)ARM_AM::getSOImmTwoPartFirst(ImmVal); in FoldImmediate()
1923 SOImmValV2 = (uint32_t)ARM_AM::getSOImmTwoPartSecond(ImmVal); in FoldImmediate()
1935 ImmVal = -ImmVal; in FoldImmediate()
1942 if (!ARM_AM::isT2SOImmTwoPartVal(ImmVal)) in FoldImmediate()
1944 SOImmValV1 = (uint32_t)ARM_AM::getT2SOImmTwoPartFirst(ImmVal); in FoldImmediate()
1945 SOImmValV2 = (uint32_t)ARM_AM::getT2SOImmTwoPartSecond(ImmVal); in FoldImmediate()
DARMExpandPseudoInsts.cpp664 unsigned ImmVal = (unsigned)MO.getImm(); in ExpandMOV32BitImm() local
665 unsigned SOImmValV1 = ARM_AM::getSOImmTwoPartFirst(ImmVal); in ExpandMOV32BitImm()
666 unsigned SOImmValV2 = ARM_AM::getSOImmTwoPartSecond(ImmVal); in ExpandMOV32BitImm()
/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/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.cpp1296 APInt ImmVal = Imm; in getIntImmCost() local
1298 ImmVal = Imm.sext((BitSize + 63) & ~0x3fU); in getIntImmCost()
1304 APInt Tmp = ImmVal.ashr(ShiftVal).sextOrTrunc(64); in getIntImmCost()
1343 uint64_t ImmVal = Imm.getZExtValue(); in getIntImmCost() local
1344 if (ImmVal == 0x100000000ULL || ImmVal == 0xffffffff) in getIntImmCost()
DX86ISelDAGToDAG.cpp1553 uint64_t ImmVal = CN->getZExtValue(); in selectMOV64Imm32() local
1554 if ((uint32_t)ImmVal != (uint64_t)ImmVal) in selectMOV64Imm32()
1557 Imm = CurDAG->getTargetConstant(ImmVal, SDLoc(N), MVT::i64); in selectMOV64Imm32()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp1829 const MCExpr *ImmVal; in tryParseRegister()
1831 if (getParser().ParseExpression(ImmVal)) in tryParseRegister()
1833 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseRegister()
1978 const MCExpr *ImmVal; in tryParseRegisterWithWriteBack() local
1980 if (getParser().ParseExpression(ImmVal)) in tryParseRegisterWithWriteBack()
1982 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseRegisterWithWriteBack()
3434 const MCExpr *ImmVal; in parseOperand() local
3435 if (getParser().ParseExpression(ImmVal)) in parseOperand()
3437 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ImmVal); in parseOperand()
3444 ImmVal = MCConstantExpr::Create(INT32_MIN, getContext()); in parseOperand()
[all …]
/external/swiftshader/third_party/LLVM/utils/TableGen/
DAsmMatcherEmitter.cpp326 int64_t ImmVal; member
355 X.ImmVal = Val; in getImmOp()
1470 int64_t ImmVal = CGA.ResultOperands[AliasOpNo].getImm(); in BuildAliasResultOperands() local
1471 ResOperands.push_back(ResOperand::getImmOp(ImmVal)); in BuildAliasResultOperands()
1579 int64_t Val = OpInfo.ImmVal; in EmitConvertToMCInst()
/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/utils/TableGen/
DAsmMatcherEmitter.cpp420 int64_t ImmVal; member
449 X.ImmVal = Val; in getImmOp()
1803 int64_t ImmVal = CGA.ResultOperands[AliasOpNo].getImm(); in buildAliasResultOperands() local
1804 ResOperands.push_back(ResOperand::getImmOp(ImmVal)); in buildAliasResultOperands()
2041 int64_t Val = OpInfo.ImmVal; in emitConvertFuncs()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DMachineInstr.cpp141 void MachineOperand::ChangeToImmediate(int64_t ImmVal) { in ChangeToImmediate() argument
149 Contents.ImmVal = ImmVal; in ChangeToImmediate()
/external/llvm/lib/CodeGen/
DMachineInstr.cpp134 void MachineOperand::ChangeToImmediate(int64_t ImmVal) { in ChangeToImmediate() argument
140 Contents.ImmVal = ImmVal; in ChangeToImmediate()
/external/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp3218 const MCExpr *ImmVal; in tryParseRegisterWithWriteBack() local
3219 if (getParser().parseExpression(ImmVal)) in tryParseRegisterWithWriteBack()
3221 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseRegisterWithWriteBack()
5239 const MCExpr *ImmVal; in parseOperand() local
5240 if (getParser().parseExpression(ImmVal)) in parseOperand()
5242 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ImmVal); in parseOperand()
5246 ImmVal = MCConstantExpr::create(INT32_MIN, getContext()); in parseOperand()
5249 Operands.push_back(ARMOperand::CreateImm(ImmVal, S, E)); in parseOperand()