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.cpp28 if (auto ValAndVReg = in getAArch64VectorSplat() local
30 return RegOrConstant(ValAndVReg->Value.getSExtValue()); in getAArch64VectorSplat()
H A DAArch64PostLegalizerLowering.cpp408 auto ValAndVReg = in matchNonConstInsert() local
410 return !ValAndVReg; in matchNonConstInsert()
564 auto ValAndVReg = getIConstantVRegValWithLookThrough(RHS, MRI); in tryAdjustICmpImmAndPred() local
565 if (!ValAndVReg) in tryAdjustICmpImmAndPred()
567 uint64_t OriginalC = ValAndVReg->Value.getZExtValue(); in tryAdjustICmpImmAndPred()
825 auto ValAndVReg = in getCmpOperandFoldingProfit() local
827 if (!ValAndVReg) in getCmpOperandFoldingProfit()
829 uint64_t Mask = ValAndVReg->Value.getZExtValue(); in getCmpOperandFoldingProfit()
H A DAArch64InstructionSelector.cpp751 auto ValAndVReg = in getImmedFromMO() local
753 if (!ValAndVReg) in getImmedFromMO()
755 Immed = ValAndVReg->Value.getSExtValue(); in getImmedFromMO()
2280 auto ValAndVReg = getAnyConstantVRegValWithLookThrough(Src, MRI); in earlySelect() local
2281 if (!ValAndVReg) in earlySelect()
2288 ValAndVReg->Value)); in earlySelect()
4383 if (auto ValAndVReg = getIConstantVRegValWithLookThrough(RHS.getReg(), MRI)) { in emitTST() local
4384 int64_t Imm = ValAndVReg->Value.getSExtValue(); in emitTST()
5051 auto ValAndVReg = getIConstantVRegValWithLookThrough(RHS.getReg(), MRI); in tryFoldIntegerCompare() local
5052 if (!ValAndVReg || ValAndVReg->Value != 0) in tryFoldIntegerCompare()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp297 std::optional<ValueAndVReg> ValAndVReg = getIConstantVRegValWithLookThrough( in getIConstantVRegVal() local
299 assert((!ValAndVReg || ValAndVReg->VReg == VReg) && in getIConstantVRegVal()
301 if (!ValAndVReg) in getIConstantVRegVal()
303 return ValAndVReg->Value; in getIConstantVRegVal()
1396 if (std::optional<ValueAndVReg> ValAndVReg = in getIConstantSplatVal() local
1398 return ValAndVReg->Value; in getIConstantSplatVal()
H A DCombinerHelper.cpp6553 std::optional<FPValueAndVReg> ValAndVReg; in matchCommuteFPConstantToRHS() local
6554 if (!mi_match(LHS, MRI, m_GFCstOrSplat(ValAndVReg))) in matchCommuteFPConstantToRHS()
6556 return !mi_match(RHS, MRI, m_GFCstOrSplat(ValAndVReg)); in matchCommuteFPConstantToRHS()