Home
last modified time | relevance | path

Searched refs:MaybeCst (Results 1 – 4 of 4) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCSEMIRBuilder.cpp201 if (auto MaybeCst = in buildInstr() local
203 return buildConstant(Dst, *MaybeCst); in buildInstr()
H A DCombinerHelper.cpp1637 const ConstantFP *MaybeCst = getConstantFPVRegVal(Op, MRI); in constantFoldFpUnary() local
1638 if (!MaybeCst) in constantFoldFpUnary()
1641 APFloat V = MaybeCst->getValueAPF(); in constantFoldFpUnary()
3256 auto MaybeCst = getBuildVectorConstantSplat(*CstDef, MRI); in matchNotCmp() local
3257 if (!MaybeCst) in matchNotCmp()
3259 if (!isConstValidTrue(TLI, Ty.getScalarSizeInBits(), *MaybeCst, true, IsFP)) in matchNotCmp()
4260 auto MaybeCst = ConstantFoldBinOp(MI.getOpcode(), Op1, Op2, MRI); in matchConstantFold() local
4261 if (!MaybeCst) in matchConstantFold()
4263 MatchInfo = *MaybeCst; in matchConstantFold()
H A DLegalizerHelper.cpp4007 auto MaybeCst = in fewerElementsVectorExtractInsertVectorElt() local
4010 if (MaybeCst) { in fewerElementsVectorExtractInsertVectorElt()
4011 IdxVal = MaybeCst->Value.getSExtValue(); in fewerElementsVectorExtractInsertVectorElt()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DMIPatternMatch.h66 if (auto MaybeCst = getConstantVRegSExtVal(Reg, MRI)) { in match() local
67 CR = *MaybeCst; in match()
80 if (auto MaybeCst = getConstantVRegValWithLookThrough( in match() local
83 CR = MaybeCst->VReg; in match()