Searched refs:CstVal (Results 1 – 7 of 7) sorted by relevance
797 int64_t CstVal = MI.getOperand(1).getCImm()->getSExtValue(); in renderNegImm() local798 MIB.addImm(-CstVal); in renderNegImm()806 uint64_t CstVal = MI.getOperand(1).getCImm()->getZExtValue(); in renderImmSubFromXLen() local807 MIB.addImm(STI.getXLen() - CstVal); in renderImmSubFromXLen()815 uint64_t CstVal = MI.getOperand(1).getCImm()->getZExtValue(); in renderImmSubFrom32() local816 MIB.addImm(32 - CstVal); in renderImmSubFrom32()824 int64_t CstVal = MI.getOperand(1).getCImm()->getSExtValue(); in renderImmPlus1() local825 MIB.addImm(CstVal + 1); in renderImmPlus1()833 int64_t CstVal = MI.getOperand(1).getCImm()->getSExtValue(); in renderImm() local834 MIB.addImm(CstVal); in renderImm()
102 auto &CstVal = SrcMI->getOperand(1); in tryCombineAnyExt() local109 DstReg, CstVal.getCImm()->getValue().sext(DstTy.getSizeInBits())); in tryCombineAnyExt()182 auto &CstVal = SrcMI->getOperand(1); in tryCombineZExt() local184 DstReg, CstVal.getCImm()->getValue().zext(DstTy.getSizeInBits())); in tryCombineZExt()246 auto &CstVal = SrcMI->getOperand(1); in tryCombineSExt() local248 DstReg, CstVal.getCImm()->getValue().sext(DstTy.getSizeInBits())); in tryCombineSExt()274 auto &CstVal = SrcMI->getOperand(1); in tryCombineTrunc() local276 DstReg, CstVal.getCImm()->getValue().trunc(DstTy.getSizeInBits())); in tryCombineTrunc()
406 const MachineOperand &CstVal = MI->getOperand(1); in getCImmAsAPInt() local407 if (!CstVal.isCImm()) in getCImmAsAPInt()409 Result = CstVal.getCImm()->getValue(); in getCImmAsAPInt()414 const MachineOperand &CstVal = MI->getOperand(1); in getCImmOrFPImmAsAPInt() local415 if (CstVal.isCImm()) in getCImmOrFPImmAsAPInt()416 Result = CstVal.getCImm()->getValue(); in getCImmOrFPImmAsAPInt()417 else if (CstVal.isFPImm()) in getCImmOrFPImmAsAPInt()418 Result = CstVal.getFPImm()->getValueAPF().bitcastToAPInt(); in getCImmOrFPImmAsAPInt()
2177 const MachineOperand &CstVal = SrcInstr->getOperand(1); in matchCombineUnmergeConstant() local2179 ? CstVal.getCImm()->getValue() in matchCombineUnmergeConstant()2180 : CstVal.getFPImm()->getValueAPF().bitcastToAPInt(); in matchCombineUnmergeConstant()
1128 int64_t CstVal = in checkIfSafeAddSequence() local1131 IdxDiff.getSExtValue() == CstVal) in checkIfSafeAddSequence()1138 int64_t CstVal = in checkIfSafeAddSequence() local1141 IdxDiff.getSExtValue() == -CstVal) in checkIfSafeAddSequence()
7769 std::optional<int64_t> CstVal = in renderTruncImm() local7771 assert(CstVal && "Expected constant value"); in renderTruncImm()7772 MIB.addImm(*CstVal); in renderTruncImm()7779 uint64_t CstVal = I.getOperand(1).getCImm()->getZExtValue(); in renderLogicalImm32() local7780 uint64_t Enc = AArch64_AM::encodeLogicalImmediate(CstVal, 32); in renderLogicalImm32()7788 uint64_t CstVal = I.getOperand(1).getCImm()->getZExtValue(); in renderLogicalImm64() local7789 uint64_t Enc = AArch64_AM::encodeLogicalImmediate(CstVal, 64); in renderLogicalImm64()
4744 APInt CstVal = IsSExt ? Cst->getValue().sext(BitWidth) in promoteOperandForOther() local4746 TPT.setOperand(ExtOpnd, OpIdx, ConstantInt::get(Ext->getType(), CstVal)); in promoteOperandForOther()7706 if (ConstantInt *CstVal = dyn_cast<ConstantInt>(ValExtractIdx)) in getConstantVector() local7707 ExtractIdx = CstVal->getSExtValue(); in getConstantVector()