Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/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()
DX86TargetTransformInfo.cpp3020 APInt ImmVal = Imm; in getIntImmCost() local
3022 ImmVal = Imm.sext(alignTo(BitSize, 64)); in getIntImmCost()
3028 APInt Tmp = ImmVal.ashr(ShiftVal).sextOrTrunc(64); in getIntImmCost()
3067 uint64_t ImmVal = Imm.getZExtValue(); in getIntImmCostInst() local
3068 if (ImmVal == 0x100000000ULL || ImmVal == 0xffffffff) in getIntImmCostInst()
DX86ISelDAGToDAG.cpp2426 uint64_t ImmVal = CN->getZExtValue(); in selectMOV64Imm32() local
2427 if (!isUInt<32>(ImmVal)) in selectMOV64Imm32()
2430 Imm = CurDAG->getTargetConstant(ImmVal, SDLoc(N), MVT::i64); in selectMOV64Imm32()
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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 …]
DHexagonHardwareLoops.cpp327 unsigned ImmVal; member
337 Contents.ImmVal = v; in CountValue()
356 return Contents.ImmVal; in getImm()
361 if (isImm()) { OS << Contents.ImmVal; } in print()
/third_party/skia/third_party/externals/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 …]
DAArch64InstructionSelector.cpp1048 int64_t ImmVal = 0; in getVectorShiftImm() local
1055 ImmVal = VRegAndVal->Value; in getVectorShiftImm()
1056 if (ImmVal != VRegAndVal->Value) in getVectorShiftImm()
1060 return ImmVal; in getVectorShiftImm()
1110 Optional<int64_t> ImmVal = getVectorSHLImm(Ty, Src2Reg, MRI); in selectVectorSHL() local
1114 Opc = ImmVal ? AArch64::SHLv2i64_shift : AArch64::USHLv2i64; in selectVectorSHL()
1116 Opc = ImmVal ? AArch64::SHLv4i32_shift : AArch64::USHLv4i32; in selectVectorSHL()
1118 Opc = ImmVal ? AArch64::SHLv2i32_shift : AArch64::USHLv2i32; in selectVectorSHL()
1126 if (ImmVal) in selectVectorSHL()
1127 Shl.addImm(*ImmVal); in selectVectorSHL()
[all …]
DAArch64TargetTransformInfo.cpp68 APInt ImmVal = Imm; in getIntImmCost() local
70 ImmVal = Imm.sext((BitSize + 63) & ~0x3fU); in getIntImmCost()
76 APInt Tmp = ImmVal.ashr(ShiftVal).sextOrTrunc(64); in getIntImmCost()
DAArch64ISelLowering.cpp10927 int64_t ImmVal = CN->getSExtValue(); in tryConvertSVEWideCompare() local
10928 if (ImmVal >= -16 && ImmVal <= 15) in tryConvertSVEWideCompare()
10929 Imm = DAG.getConstant(ImmVal, DL, MVT::i32); in tryConvertSVEWideCompare()
10941 uint64_t ImmVal = CN->getZExtValue(); in tryConvertSVEWideCompare() local
10942 if (ImmVal <= 127) in tryConvertSVEWideCompare()
10943 Imm = DAG.getConstant(ImmVal, DL, MVT::i32); in tryConvertSVEWideCompare()
/third_party/skia/third_party/externals/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);
/third_party/skia/third_party/externals/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 …]
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MCCodeEmitter.cpp216 uint32_t ImmVal = 0; in getLdStUImm12OpValue() local
219 ImmVal = static_cast<uint32_t>(MO.getImm()); in getLdStUImm12OpValue()
227 return ImmVal; in getLdStUImm12OpValue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/AsmParser/
DSparcAsmParser.cpp758 int64_t ImmVal = 0; in parseMembarTag() local
762 if (!Mask->isImm() || !Mask->getImm()->evaluateAsAbsolute(ImmVal) || in parseMembarTag()
763 ImmVal < 0 || ImmVal > 127) { in parseMembarTag()
789 ImmVal |= MaskVal; in parseMembarTag()
795 EVal = MCConstantExpr::create(ImmVal, getContext()); in parseMembarTag()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMBaseInstrInfo.cpp3214 uint32_t ImmVal = (uint32_t)DefMI.getOperand(1).getImm(); in FoldImmediate() local
3237 if (ARM_AM::isSOImmTwoPartVal(ImmVal)) in FoldImmediate()
3239 else if (ARM_AM::isSOImmTwoPartVal(-ImmVal)) { in FoldImmediate()
3240 ImmVal = -ImmVal; in FoldImmediate()
3244 SOImmValV1 = (uint32_t)ARM_AM::getSOImmTwoPartFirst(ImmVal); in FoldImmediate()
3245 SOImmValV2 = (uint32_t)ARM_AM::getSOImmTwoPartSecond(ImmVal); in FoldImmediate()
3249 if (!ARM_AM::isSOImmTwoPartVal(ImmVal)) in FoldImmediate()
3251 SOImmValV1 = (uint32_t)ARM_AM::getSOImmTwoPartFirst(ImmVal); in FoldImmediate()
3252 SOImmValV2 = (uint32_t)ARM_AM::getSOImmTwoPartSecond(ImmVal); in FoldImmediate()
3269 if (ARM_AM::isT2SOImmTwoPartVal(ImmVal)) in FoldImmediate()
[all …]
DARMExpandPseudoInsts.cpp852 unsigned ImmVal = (unsigned)MO.getImm(); in ExpandMOV32BitImm() local
853 unsigned SOImmValV1 = ARM_AM::getSOImmTwoPartFirst(ImmVal); in ExpandMOV32BitImm()
854 unsigned SOImmValV2 = ARM_AM::getSOImmTwoPartSecond(ImmVal); in ExpandMOV32BitImm()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/Disassembler/
DAArch64Disassembler.cpp801 int64_t ImmVal = Imm; in DecodePCRelLabel19() local
806 if (ImmVal & (1 << (19 - 1))) in DecodePCRelLabel19()
807 ImmVal |= ~((1LL << 19) - 1); in DecodePCRelLabel19()
809 if (!Dis->tryAddingSymbolicOperand(Inst, ImmVal * 4, Addr, in DecodePCRelLabel19()
811 Inst.addOperand(MCOperand::createImm(ImmVal)); in DecodePCRelLabel19()
1677 unsigned ImmVal = Imm & 0xFFF; in DecodeAddSubImmShift() local
1699 Inst.addOperand(MCOperand::createImm(ImmVal)); in DecodeAddSubImmShift()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineOperand.cpp154 void MachineOperand::ChangeToImmediate(int64_t ImmVal) { in ChangeToImmediate() argument
160 Contents.ImmVal = ImmVal; in ChangeToImmediate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp1771 uint64_t ImmVal = FPLiteral.bitcastToAPInt().getZExtValue(); in addLiteralImmOperand() local
1772 Inst.addOperand(MCOperand::createImm(ImmVal)); in addLiteralImmOperand()
5045 int64_t ImmVal = 0; in parseHwreg() local
5056 ImmVal = encodeHwreg(HwReg.Id, Offset, Width); in parseHwreg()
5058 } else if (parseExpr(ImmVal)) { in parseHwreg()
5059 if (ImmVal < 0 || !isUInt<16>(ImmVal)) in parseHwreg()
5063 Operands.push_back(AMDGPUOperand::CreateImm(this, ImmVal, Loc, AMDGPUOperand::ImmTyHwreg)); in parseHwreg()
5144 int64_t ImmVal = 0; in parseSendMsgOp() local
5155 ImmVal = encodeMsg(Msg.Id, Op.Id, Stream.Id); in parseSendMsgOp()
5157 } else if (parseExpr(ImmVal)) { in parseSendMsgOp()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/
DAVRExpandPseudoInsts.cpp78 bool isLogicImmOpRedundant(unsigned Op, unsigned ImmVal) const;
208 isLogicImmOpRedundant(unsigned Op, unsigned ImmVal) const { in isLogicImmOpRedundant()
211 if (Op == AVR::ANDIRdK && ImmVal == 0xff) in isLogicImmOpRedundant()
215 if (Op == AVR::ORIRdK && ImmVal == 0x0) in isLogicImmOpRedundant()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Target/
DTargetInstrPredicate.td134 int ImmVal = Imm;
141 string ImmVal = Value;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/AsmParser/
DRISCVAsmParser.cpp1358 int64_t ImmVal; in parseAtomicMemOp() local
1360 if (getParser().parseIntToken(ImmVal, in parseAtomicMemOp()
1368 RISCVOperand::createImm(MCConstantExpr::create(ImmVal, getContext()), in parseAtomicMemOp()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZInstrInfo.cpp617 int32_t ImmVal = (int32_t)DefMI.getOperand(1).getImm(); in FoldImmediate() local
665 UseMI.getOperand(UseIdx).ChangeToImmediate(ImmVal); in FoldImmediate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp4075 const MCExpr *ImmVal; in tryParseRegisterWithWriteBack() local
4076 if (getParser().parseExpression(ImmVal)) in tryParseRegisterWithWriteBack()
4078 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseRegisterWithWriteBack()
6055 const MCExpr *ImmVal; in parseOperand() local
6056 if (getParser().parseExpression(ImmVal)) in parseOperand()
6058 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(ImmVal); in parseOperand()
6062 ImmVal = MCConstantExpr::create(std::numeric_limits<int32_t>::min(), in parseOperand()
6066 Operands.push_back(ARMOperand::CreateImm(ImmVal, S, E)); in parseOperand()

12