Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DUtils.h640 enum class GIConstantKind { Scalar, FixedVector, ScalableVector }; enum
643 GIConstantKind Kind;
649 : Kind(GIConstantKind::FixedVector), Values(Values) {}; in GIConstant()
650 GIConstant(const APInt &Value, GIConstantKind Kind) in GIConstant()
654 GIConstantKind getKind() const { return Kind; } in getKind()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelperCompares.cpp33 if (LHSCst.getKind() != GIConstant::GIConstantKind::Scalar) in constantFoldICmp()
H A DUtils.cpp2018 assert(Kind == GIConstantKind::Scalar && "Expected scalar constant"); in getScalarValue()
2032 return GIConstant(MayBeConstant->Value, GIConstantKind::ScalableVector); in getConstant()
2054 return GIConstant(MayBeConstant->Value, GIConstantKind::Scalar); in getConstant()