Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64LowerHomogeneousPrologEpilog.cpp202 bool IsFloat = AArch64::FPR64RegClass.contains(Reg1); in emitStore() local
203 assert(!(IsFloat ^ AArch64::FPR64RegClass.contains(Reg2))); in emitStore()
206 Opc = IsFloat ? AArch64::STPDpre : AArch64::STPXpre; in emitStore()
208 Opc = IsFloat ? AArch64::STPDi : AArch64::STPXi; in emitStore()
225 bool IsFloat = AArch64::FPR64RegClass.contains(Reg1); in emitLoad() local
226 assert(!(IsFloat ^ AArch64::FPR64RegClass.contains(Reg2))); in emitLoad()
229 Opc = IsFloat ? AArch64::LDPDpost : AArch64::LDPXpost; in emitLoad()
231 Opc = IsFloat ? AArch64::LDPDi : AArch64::LDPXi; in emitLoad()
/openbsd/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVPreLegalizer.cpp308 bool IsFloat = SpvType->getOpcode() == SPIRV::OpTypeFloat; in createNewIdReg() local
313 IsFloat |= IsVectorFloat; in createNewIdReg()
314 auto GetIdOp = IsFloat ? SPIRV::GET_fID : SPIRV::GET_ID; in createNewIdReg()
315 auto DstClass = IsFloat ? &SPIRV::fIDRegClass : &SPIRV::IDRegClass; in createNewIdReg()
322 GetIdOp = IsFloat ? SPIRV::GET_vfID : SPIRV::GET_vID; in createNewIdReg()
323 DstClass = IsFloat ? &SPIRV::vfIDRegClass : &SPIRV::vIDRegClass; in createNewIdReg()
/openbsd/gnu/llvm/clang/include/clang/Basic/
H A Driscv_vector.td612 class IsFloat<string type> {
633 if !not(IsFloat<type>.val) then {
681 if !not(IsFloat<type>.val) then {
696 if !not(IsFloat<type>.val) then {
756 if !not(IsFloat<type>.val) then {
786 if !not(IsFloat<type>.val) then {
826 if !not(IsFloat<type>.val) then {
978 if !not(IsFloat<type>.val) then {
1045 if !not(IsFloat<type>.val) then {
1112 if !not(IsFloat<type>.val) then {
[all …]
/openbsd/gnu/llvm/llvm/lib/IR/
H A DAutoUpgrade.cpp1417 bool IsFloat = Ty->isFPOrFPVectorTy(); in UpgradeX86VPERMT2Intrinsics() local
1419 if (VecWidth == 128 && EltWidth == 32 && IsFloat) in UpgradeX86VPERMT2Intrinsics()
1421 else if (VecWidth == 128 && EltWidth == 32 && !IsFloat) in UpgradeX86VPERMT2Intrinsics()
1423 else if (VecWidth == 128 && EltWidth == 64 && IsFloat) in UpgradeX86VPERMT2Intrinsics()
1425 else if (VecWidth == 128 && EltWidth == 64 && !IsFloat) in UpgradeX86VPERMT2Intrinsics()
1427 else if (VecWidth == 256 && EltWidth == 32 && IsFloat) in UpgradeX86VPERMT2Intrinsics()
1431 else if (VecWidth == 256 && EltWidth == 64 && IsFloat) in UpgradeX86VPERMT2Intrinsics()
1435 else if (VecWidth == 512 && EltWidth == 32 && IsFloat) in UpgradeX86VPERMT2Intrinsics()
1439 else if (VecWidth == 512 && EltWidth == 64 && IsFloat) in UpgradeX86VPERMT2Intrinsics()
1906 bool IsFloat = CI.getType()->isFPOrFPVectorTy(); in upgradeAVX512MaskToSelect() local
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/Mips/
H A DMipsFastISel.cpp703 bool IsFloat = Left->getType()->isFloatTy(); in emitCmp() local
705 if (!IsFloat && !IsDouble) in emitCmp()
710 Opc = IsFloat ? Mips::C_EQ_S : Mips::C_EQ_D32; in emitCmp()
714 Opc = IsFloat ? Mips::C_EQ_S : Mips::C_EQ_D32; in emitCmp()
718 Opc = IsFloat ? Mips::C_OLT_S : Mips::C_OLT_D32; in emitCmp()
722 Opc = IsFloat ? Mips::C_OLE_S : Mips::C_OLE_D32; in emitCmp()
726 Opc = IsFloat ? Mips::C_ULE_S : Mips::C_ULE_D32; in emitCmp()
730 Opc = IsFloat ? Mips::C_ULT_S : Mips::C_ULT_D32; in emitCmp()
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp65 static bool canSafelyConvertTo16Bit(Value &V, bool IsFloat) { in canSafelyConvertTo16Bit() argument
71 if (IsFloat) { in canSafelyConvertTo16Bit()
91 bool IsExt = IsFloat ? match(&V, m_FPExt(PatternMatch::m_Value(CastSrc))) in canSafelyConvertTo16Bit()
/openbsd/gnu/llvm/llvm/include/llvm/Transforms/Utils/
H A DSimplifyLibCalls.h233 void classifyArgUse(Value *Val, Function *F, bool IsFloat,
/openbsd/gnu/llvm/libcxx/src/filesystem/
H A Dfilesystem_common.h286 bool IsFloat = is_floating_point<typename FileTimeT::rep>::value>
/openbsd/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoVPseudos.td4905 foreach vti = !if(IsFloat, NoGroupFloatVectors, NoGroupIntegerVectors) in
4907 defvar vectorM1 = !cast<VTypeInfo>(!if(IsFloat, "VF", "VI") # vti.SEW # "M1");
4914 foreach gvti = !if(IsFloat, GroupFloatVectors, GroupIntegerVectors) in
4925 foreach vti = !if(IsFloat, AllFloatVectors, AllIntegerVectors) in
4929 defvar wtiM1 = !cast<VTypeInfo>(!if(IsFloat, "VF", "VI") # wtiSEW # "M1");
6257 defm : VPatReductionV_VS<"int_riscv_vfredosum", "PseudoVFREDOSUM", /*IsFloat=*/1>;
6258 defm : VPatReductionV_VS<"int_riscv_vfredusum", "PseudoVFREDUSUM", /*IsFloat=*/1>;
6259 defm : VPatReductionV_VS<"int_riscv_vfredmin", "PseudoVFREDMIN", /*IsFloat=*/1>;
6260 defm : VPatReductionV_VS<"int_riscv_vfredmax", "PseudoVFREDMAX", /*IsFloat=*/1>;
6265 defm : VPatReductionW_VS<"int_riscv_vfwredusum", "PseudoVFWREDUSUM", /*IsFloat=*/1>;
[all …]
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp2593 bool IsFloat = Arg->getType()->isFloatTy(); in optimizeSinCosPi() local
2600 classifyArgUse(U, F, IsFloat, SinCalls, CosCalls, SinCosCalls); in optimizeSinCosPi()
2607 if (!insertSinCosCall(B, CI->getCalledFunction(), Arg, IsFloat, Sin, Cos, in optimizeSinCosPi()
2625 Value *Val, Function *F, bool IsFloat, in classifyArgUse() argument
2645 if (IsFloat) { in classifyArgUse()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSema.cpp2022 bool IsFloat = UnqualTy == Context.FloatTy; in checkTypeSupport() local
2023 if (IsRetTy && !TI.hasFPReturn() && (IsDouble || IsFloat)) { in checkTypeSupport()
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h868 bool IsFloat = Ty->isFPOrFPVectorTy(); variable
871 InstructionCost OpCost = (IsFloat ? 2 : 1);
/openbsd/gnu/llvm/llvm/lib/CodeGen/MIRParser/
H A DMIParser.cpp2659 bool IsFloat = Token.is(MIToken::kw_floatpred); in parsePredicateOperand() local
2669 if (IsFloat) { in parsePredicateOperand()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DTargetInfo.cpp11068 bool IsFloat = Ty->isRealFloatingType(); in detectFPCCEligibleStructHelper() local
11070 if (IsInt || IsFloat) { in detectFPCCEligibleStructHelper()
11077 if (IsFloat && (Size > FLen || Size < 32)) in detectFPCCEligibleStructHelper()
11842 bool IsFloat = Ty->isRealFloatingType(); in detectFARsEligibleStructHelper() local
11844 if (IsInt || IsFloat) { in detectFARsEligibleStructHelper()
11851 if (IsFloat && (Size > FRLen || Size < 32)) in detectFARsEligibleStructHelper()
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp3653 bool IsFloat = OutVT.isFloatingPoint(); in SplitVecOp_TruncateHelper() local
3687 EVT HalfElementVT = IsFloat ? in SplitVecOp_TruncateHelper()
3729 return IsFloat in SplitVecOp_TruncateHelper()
/openbsd/gnu/llvm/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp14483 static bool isValidMVECond(unsigned CC, bool IsFloat) { in isValidMVECond() argument
14494 return !IsFloat; in isValidMVECond()