Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/GlobalISel/
H A DUtils.h398 bool AllowUndef = true);
404 int64_t SplatValue, bool AllowUndef);
410 int64_t SplatValue, bool AllowUndef);
416 bool AllowUndef = false);
422 bool AllowUndef = false);
/openbsd/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp1033 bool AllowUndef) { in getAnyConstantSplat() argument
1049 ? getAnyConstantSplat(Element, MRI, AllowUndef) in getAnyConstantSplat()
1054 if (AllowUndef && isa<GImplicitDef>(MRI.getVRegDef(Element))) in getAnyConstantSplat()
1076 if (auto SplatValAndReg = getAnyConstantSplat(Reg, MRI, AllowUndef)) in isBuildVectorConstantSplat()
1085 AllowUndef); in isBuildVectorConstantSplat()
1123 bool AllowUndef) { in getFConstantSplat() argument
1124 if (auto SplatValAndReg = getAnyConstantSplat(VReg, MRI, AllowUndef)) in getFConstantSplat()
1131 bool AllowUndef) { in isBuildVectorAllZeros() argument
1132 return isBuildVectorConstantSplat(MI, MRI, 0, AllowUndef); in isBuildVectorAllZeros()
1137 bool AllowUndef) { in isBuildVectorAllOnes() argument
[all …]
/openbsd/gnu/llvm/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()