Home
last modified time | relevance | path

Searched refs:IsFloat (Results 1 – 22 of 22) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64LowerHomogeneousPrologEpilog.cpp199 bool IsFloat = AArch64::FPR64RegClass.contains(Reg1); in emitStore() local
200 assert(!(IsFloat ^ AArch64::FPR64RegClass.contains(Reg2))); in emitStore()
203 if (IsFloat) in emitStore()
208 if (IsFloat) in emitStore()
240 bool IsFloat = AArch64::FPR64RegClass.contains(Reg1); in emitLoad() local
241 assert(!(IsFloat ^ AArch64::FPR64RegClass.contains(Reg2))); in emitLoad()
244 if (IsFloat) in emitLoad()
249 if (IsFloat) in emitLoad()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DLoongArch.cpp107 bool IsFloat = Ty->isRealFloatingType(); in detectFARsEligibleStructHelper() local
109 if (IsInt || IsFloat) { in detectFARsEligibleStructHelper()
115 if (IsFloat && Size > FRLen) in detectFARsEligibleStructHelper()
H A DRISCV.cpp185 bool IsFloat = Ty->isRealFloatingType(); in detectFPCCEligibleStructHelper() local
187 if (IsInt || IsFloat) { in detectFPCCEligibleStructHelper()
193 if (IsFloat && Size > FLen) in detectFPCCEligibleStructHelper()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A Driscv_vector.td23 class IsFloat<string type> {
44 if !not(IsFloat<type>.val) then {
65 if !not(IsFloat<type>.val) then {
80 if !not(IsFloat<type>.val) then {
95 if !not(IsFloat<type>.val) then {
105 if !not(IsFloat<type>.val) then {
130 if !not(IsFloat<type>.val) then {
150 if !not(IsFloat<type>.val) then {
170 if !not(IsFloat<type>.val) then {
180 if !not(IsFloat<type>.val) then {
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsFastISel.cpp701 bool IsFloat = Left->getType()->isFloatTy(); in emitCmp() local
703 if (!IsFloat && !IsDouble) in emitCmp()
708 Opc = IsFloat ? Mips::C_EQ_S : Mips::C_EQ_D32; in emitCmp()
712 Opc = IsFloat ? Mips::C_EQ_S : Mips::C_EQ_D32; in emitCmp()
716 Opc = IsFloat ? Mips::C_OLT_S : Mips::C_OLT_D32; in emitCmp()
720 Opc = IsFloat ? Mips::C_OLE_S : Mips::C_OLE_D32; in emitCmp()
724 Opc = IsFloat ? Mips::C_ULE_S : Mips::C_ULE_D32; in emitCmp()
728 Opc = IsFloat ? Mips::C_ULT_S : Mips::C_ULT_D32; in emitCmp()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAutoUpgrade.cpp1845 bool IsFloat = Ty->isFPOrFPVectorTy(); in upgradeX86VPERMT2Intrinsics() local
1847 if (VecWidth == 128 && EltWidth == 32 && IsFloat) in upgradeX86VPERMT2Intrinsics()
1849 else if (VecWidth == 128 && EltWidth == 32 && !IsFloat) in upgradeX86VPERMT2Intrinsics()
1851 else if (VecWidth == 128 && EltWidth == 64 && IsFloat) in upgradeX86VPERMT2Intrinsics()
1853 else if (VecWidth == 128 && EltWidth == 64 && !IsFloat) in upgradeX86VPERMT2Intrinsics()
1855 else if (VecWidth == 256 && EltWidth == 32 && IsFloat) in upgradeX86VPERMT2Intrinsics()
1857 else if (VecWidth == 256 && EltWidth == 32 && !IsFloat) in upgradeX86VPERMT2Intrinsics()
1859 else if (VecWidth == 256 && EltWidth == 64 && IsFloat) in upgradeX86VPERMT2Intrinsics()
1861 else if (VecWidth == 256 && EltWidth == 64 && !IsFloat) in upgradeX86VPERMT2Intrinsics()
1863 else if (VecWidth == 512 && EltWidth == 32 && IsFloat) in upgradeX86VPERMT2Intrinsics()
[all …]
/freebsd/contrib/llvm-project/lldb/source/ValueObject/
H A DValueObject.cpp1169 if (!GetCompilerType().IsFloat()) in GetValueAsAPFloat()
1192 if (val_type.IsFloat()) { in GetValueAsBool()
1208 !val_type.IsFloat() && !val_type.IsPointerType() && in SetValueFromInteger()
1248 !val_type.IsFloat() && !val_type.IsPointerType() && in SetValueFromInteger()
1265 if (!new_val_type.IsInteger() && !new_val_type.IsFloat() && in SetValueFromInteger()
1278 } else if (new_val_type.IsFloat()) { in SetValueFromInteger()
3132 bool is_float = GetCompilerType().IsFloat(); in CastToBasicType()
3224 if (type.IsFloat()) { in CastToBasicType()
3286 bool is_float = GetCompilerType().IsFloat(); in CastToEnumType()
/freebsd/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DCompilerType.h202 bool IsFloat() const;
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FixupVectorConstants.cpp127 bool IsFloat = CDS->getElementType()->isHalfTy() || in extractConstantBits() local
131 if (IsInteger || IsFloat) { in extractConstantBits()
/freebsd/contrib/llvm-project/libcxx/src/filesystem/
H A Dtime_utils.h122 template <class FileTimeT, class TimeT, bool IsFloat = is_floating_point<typename FileTimeT::rep>::…
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSimplifyLibCalls.h246 void classifyArgUse(Value *Val, Function *F, bool IsFloat,
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoVPseudos.td5733 multiclass VPatReductionV_VS<string intrinsic, string instruction, bit IsFloat = 0> {
5734 foreach vti = !if(IsFloat, NoGroupFloatVectors, NoGroupIntegerVectors) in {
5735 defvar vectorM1 = !cast<VTypeInfo>(!if(IsFloat, "VF", "VI") # vti.SEW # "M1");
5743 foreach gvti = !if(IsFloat, GroupFloatVectors, GroupIntegerVectors) in {
5753 multiclass VPatReductionV_VS_RM<string intrinsic, string instruction, bit IsFloat = 0> {
5754 foreach vti = !if(IsFloat, NoGroupFloatVectors, NoGroupIntegerVectors) in {
5755 defvar vectorM1 = !cast<VTypeInfo>(!if(IsFloat, "VF", "VI") # vti.SEW # "M1");
5763 foreach gvti = !if(IsFloat, GroupFloatVectors, GroupIntegerVectors) in {
5773 multiclass VPatReductionW_VS<string intrinsic, string instruction, bit IsFloat = 0> {
5774 foreach vti = !if(IsFloat, AllFloatVectors, AllIntegerVectors) in {
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp67 static bool canSafelyConvertTo16Bit(Value &V, bool IsFloat) { in canSafelyConvertTo16Bit() argument
73 if (IsFloat) { in canSafelyConvertTo16Bit()
93 bool IsExt = IsFloat ? match(&V, m_FPExt(PatternMatch::m_Value(CastSrc))) in canSafelyConvertTo16Bit()
H A DSIISelLowering.cpp6533 bool IsFloat = VT.isFloatingPoint(); in lowerLaneOp() local
6534 Src0 = DAG.getAnyExtOrTrunc(IsFloat ? DAG.getBitcast(IntVT, Src0) : Src0, in lowerLaneOp()
6538 Src1 = DAG.getAnyExtOrTrunc(IsFloat ? DAG.getBitcast(IntVT, Src1) : Src1, in lowerLaneOp()
6543 Src2 = DAG.getAnyExtOrTrunc(IsFloat ? DAG.getBitcast(IntVT, Src2) : Src2, in lowerLaneOp()
6549 return IsFloat ? DAG.getBitcast(VT, Trunc) : Trunc; in lowerLaneOp()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp3009 bool IsFloat = Arg->getType()->isFloatTy(); in optimizeSinCosPi() local
3016 classifyArgUse(U, F, IsFloat, SinCalls, CosCalls, SinCosCalls); in optimizeSinCosPi()
3023 if (!insertSinCosCall(B, CI->getCalledFunction(), Arg, IsFloat, Sin, Cos, in optimizeSinCosPi()
3041 Value *Val, Function *F, bool IsFloat, in classifyArgUse() argument
3061 if (IsFloat) { in classifyArgUse()
/freebsd/contrib/llvm-project/lldb/source/Symbol/
H A DCompilerType.cpp333 bool CompilerType::IsFloat() const { in IsFloat() function in CompilerType
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.cpp2885 std::optional<unsigned> getInlineEncodingV216(bool IsFloat, uint32_t Literal) { in getInlineEncodingV216() argument
2903 if (IsFloat) { in getInlineEncodingV216()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSema.cpp2227 bool IsFloat = UnqualTy == Context.FloatTy; in checkTypeSupport() local
2228 if (IsRetTy && !TI.hasFPReturn() && (IsDouble || IsFloat)) { in checkTypeSupport()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h1043 bool IsFloat = Ty->isFPOrFPVectorTy(); variable
1046 InstructionCost OpCost = (IsFloat ? 2 : 1);
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIParser.cpp2709 bool IsFloat = Token.is(MIToken::kw_floatpred); in parsePredicateOperand() local
2719 if (IsFloat) { in parsePredicateOperand()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp4331 bool IsFloat = OutVT.isFloatingPoint(); in SplitVecOp_TruncateHelper() local
4365 EVT HalfElementVT = IsFloat ? in SplitVecOp_TruncateHelper()
4407 return IsFloat in SplitVecOp_TruncateHelper()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp14725 static bool isValidMVECond(unsigned CC, bool IsFloat) { in isValidMVECond() argument
14736 return !IsFloat; in isValidMVECond()