Searched refs:GIConstant (Results 1 – 4 of 4) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CombinerHelperCompares.cpp | 30 const GIConstant &LHSCst, in constantFoldICmp() 31 const GIConstant &RHSCst, in constantFoldICmp() 33 if (LHSCst.getKind() != GIConstant::GIConstantKind::Scalar) in constantFoldICmp() 101 if (auto CLHS = GIConstant::getConstant(LHS, MRI)) { in matchCanonicalizeICmp() 102 if (auto CRHS = GIConstant::getConstant(RHS, MRI)) in matchCanonicalizeICmp()
|
| H A D | Utils.cpp | 2017 APInt llvm::GIConstant::getScalarValue() const { in getScalarValue() 2023 std::optional<GIConstant> 2024 llvm::GIConstant::getConstant(Register Const, const MachineRegisterInfo &MRI) { in getConstant() 2032 return GIConstant(MayBeConstant->Value, GIConstantKind::ScalableVector); in getConstant() 2046 return GIConstant(Values); in getConstant() 2054 return GIConstant(MayBeConstant->Value, GIConstantKind::Scalar); in getConstant()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | Utils.h | 638 class GIConstant { 648 GIConstant(ArrayRef<APInt> Values) in GIConstant() function 650 GIConstant(const APInt &Value, GIConstantKind Kind) in GIConstant() function 659 LLVM_ABI static std::optional<GIConstant>
|
| H A D | CombinerHelper.h | 1122 bool constantFoldICmp(const GICmp &ICmp, const GIConstant &LHSCst, 1123 const GIConstant &RHSCst, BuildFnTy &MatchInfo) const;
|