Home
last modified time | relevance | path

Searched refs:AllowUndef (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/
H A DUtils.h397 bool AllowUndef = true);
403 int64_t SplatValue, bool AllowUndef);
409 int64_t SplatValue, bool AllowUndef);
415 bool AllowUndef = false);
421 bool AllowUndef = false);
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp1023 bool AllowUndef) { in getAnyConstantSplat() argument
1039 if (AllowUndef && isa<GImplicitDef>(MRI.getVRegDef(Element))) in getAnyConstantSplat()
1060 int64_t SplatValue, bool AllowUndef) { in isBuildVectorConstantSplat() argument
1061 if (auto SplatValAndReg = getAnyConstantSplat(Reg, MRI, AllowUndef)) in isBuildVectorConstantSplat()
1070 AllowUndef); in isBuildVectorConstantSplat()
1107 bool AllowUndef) { in getFConstantSplat() argument
1108 if (auto SplatValAndReg = getAnyConstantSplat(VReg, MRI, AllowUndef)) in getFConstantSplat()
1115 bool AllowUndef) { in isBuildVectorAllZeros() argument
1116 return isBuildVectorConstantSplat(MI, MRI, 0, AllowUndef); in isBuildVectorAllZeros()
1121 bool AllowUndef) { in isBuildVectorAllOnes() argument
[all …]
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DPatternMatch.h230 bool AllowUndef; member
232 apint_match(const APInt *&Res, bool AllowUndef) in apint_match()
233 : Res(Res), AllowUndef(AllowUndef) {} in apint_match()
243 dyn_cast_or_null<ConstantInt>(C->getSplatValue(AllowUndef))) { in match()
255 bool AllowUndef; member
257 apfloat_match(const APFloat *&Res, bool AllowUndef) in apfloat_match()
258 : Res(Res), AllowUndef(AllowUndef) {} in apfloat_match()
268 dyn_cast_or_null<ConstantFP>(C->getSplatValue(AllowUndef))) { in match()