Home
last modified time | relevance | path

Searched refs:ValAndVReg (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64GlobalISelUtils.cpp26 if (auto ValAndVReg = in getAArch64VectorSplat() local
28 return RegOrConstant(ValAndVReg->Value.getSExtValue()); in getAArch64VectorSplat()
H A DAArch64PostLegalizerLowering.cpp423 auto ValAndVReg = in matchNonConstInsert() local
425 return !ValAndVReg; in matchNonConstInsert()
582 auto ValAndVReg = getIConstantVRegValWithLookThrough(RHS, MRI); in tryAdjustICmpImmAndPred() local
583 if (!ValAndVReg) in tryAdjustICmpImmAndPred()
585 uint64_t OriginalC = ValAndVReg->Value.getZExtValue(); in tryAdjustICmpImmAndPred()
841 auto ValAndVReg = in getCmpOperandFoldingProfit() local
843 if (!ValAndVReg) in getCmpOperandFoldingProfit()
845 uint64_t Mask = ValAndVReg->Value.getZExtValue(); in getCmpOperandFoldingProfit()
H A DAArch64InstructionSelector.cpp758 auto ValAndVReg = in getImmedFromMO() local
760 if (!ValAndVReg) in getImmedFromMO()
762 Immed = ValAndVReg->Value.getSExtValue(); in getImmedFromMO()
2408 auto ValAndVReg = getAnyConstantVRegValWithLookThrough(Src, MRI); in earlySelect() local
2409 if (!ValAndVReg) in earlySelect()
2417 ValAndVReg->Value.trunc(MRI.getType(Dst).getScalarSizeInBits()))); in earlySelect()
4518 if (auto ValAndVReg = getIConstantVRegValWithLookThrough(RHS.getReg(), MRI)) { in emitTST() local
4519 int64_t Imm = ValAndVReg->Value.getSExtValue(); in emitTST()
5186 auto ValAndVReg = getIConstantVRegValWithLookThrough(RHS.getReg(), MRI); in tryFoldIntegerCompare() local
5187 if (!ValAndVReg || ValAndVReg->Value != 0) in tryFoldIntegerCompare()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp296 std::optional<ValueAndVReg> ValAndVReg = getIConstantVRegValWithLookThrough( in getIConstantVRegVal() local
298 assert((!ValAndVReg || ValAndVReg->VReg == VReg) && in getIConstantVRegVal()
300 if (!ValAndVReg) in getIConstantVRegVal()
302 return ValAndVReg->Value; in getIConstantVRegVal()
1415 if (std::optional<ValueAndVReg> ValAndVReg = in getIConstantSplatVal() local
1417 return ValAndVReg->Value; in getIConstantSplatVal()
H A DCombinerHelper.cpp6845 std::optional<FPValueAndVReg> ValAndVReg; in matchCommuteFPConstantToRHS() local
6846 if (!mi_match(LHS, MRI, m_GFCstOrSplat(ValAndVReg))) in matchCommuteFPConstantToRHS()
6848 return !mi_match(RHS, MRI, m_GFCstOrSplat(ValAndVReg)); in matchCommuteFPConstantToRHS()