Home
last modified time | relevance | path

Searched refs:ConstFP (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVGlobalRegistry.cpp353 const auto ConstFP = ConstantFP::get(Ctx, Val); in buildConstantFP() local
354 Register Res = DT.find(ConstFP, &MF); in buildConstantFP()
359 DT.add(ConstFP, &MF, Res); in buildConstantFP()
365 addNumImm(ConstFP->getValueAPF().bitcastToAPInt(), MIB); in buildConstantFP()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp3394 auto *ConstFP = dyn_cast<ConstantFP>(Op); in ConstantFoldScalarFrexpCall() local
3395 if (!ConstFP) in ConstantFoldScalarFrexpCall()
3398 const APFloat &U = ConstFP->getValueAPF(); in ConstantFoldScalarFrexpCall()
3401 Constant *Result0 = ConstantFP::get(ConstFP->getType(), FrexpMant); in ConstantFoldScalarFrexpCall()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMFastISel.cpp1372 } else if (const ConstantFP *ConstFP = dyn_cast<ConstantFP>(Src2Value)) { in ARMEmitCmp() local
1374 if (ConstFP->isZero() && !ConstFP->isNegative()) in ARMEmitCmp()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp11919 } else if (auto *ConstFP = isConstOrConstSplatFP(V)) { in isNeutralConstant() local
11922 return ConstFP->isZero() && in isNeutralConstant()
11923 (Flags.hasNoSignedZeros() || ConstFP->isNegative()); in isNeutralConstant()
11925 return OperandNo == 1 && ConstFP->isZero() && in isNeutralConstant()
11926 (Flags.hasNoSignedZeros() || !ConstFP->isNegative()); in isNeutralConstant()
11928 return ConstFP->isExactlyValue(1.0); in isNeutralConstant()
11930 return OperandNo == 1 && ConstFP->isExactlyValue(1.0); in isNeutralConstant()
11944 return ConstFP->isExactlyValue(NeutralAF); in isNeutralConstant()