Home
last modified time | relevance | path

Searched defs:CFP (Results 1 – 25 of 49) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVInlineAsmLowering.cpp30 } else if (ConstantFP *CFP = dyn_cast<ConstantFP>(Val)) { in lowerAsmOperandForConstraint() local
37 } else if (ConstantFP *CFP = dyn_cast<ConstantFP>(II->getOperand(0))) { in lowerAsmOperandForConstraint() local
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp58 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this)) in isNegativeZeroValue() local
78 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this)) in isZeroValue() local
96 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this)) in isNullValue() local
113 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this)) in isAllOnesValue() local
130 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this)) in isOneValue() local
147 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this)) in isNotOneValue() local
175 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this)) in isMinSignedValue() local
192 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this)) in isNotMinSignedValue() local
215 if (auto *CFP = dyn_cast<ConstantFP>(this)) in isFiniteNonZeroFP() local
220 auto *CFP = dyn_cast_or_null<ConstantFP>(getAggregateElement(I)); in isFiniteNonZeroFP() local
[all …]
H A DConstantFold.cpp575 if (ConstantFP *CFP = dyn_cast<ConstantFP>(C)) { in ConstantFoldUnaryInstruction() local
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDebugLocEntry.h55 const ConstantFP *CFP; member
68 DbgValueLocEntry(const ConstantFP *CFP) : EntryKind(E_ConstantFP) { in DbgValueLocEntry()
H A DDwarfUnit.cpp454 void DwarfUnit::addConstantFPValue(DIE &Die, const ConstantFP *CFP) { in addConstantFPValue()
1774 if (const ConstantFP *CFP = dyn_cast_or_null<ConstantFP>(DT->getConstant())) in getOrCreateStaticMemberDIE() local
H A DAsmPrinter.cpp3541 static void emitGlobalConstantFP(const ConstantFP *CFP, AsmPrinter &AP) { in emitGlobalConstantFP()
3724 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(CV)) in emitGlobalConstantImpl() local
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCLowerMASSVEntries.cpp113 if (ConstantFP *CFP = dyn_cast_or_null<ConstantFP>(Exp->getSplatValue())) { in handlePowSpecialCases() local
H A DPPCFastISel.cpp1985 unsigned PPCFastISel::PPCMaterializeFP(const ConstantFP *CFP, MVT VT) { in PPCMaterializeFP()
2257 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(C)) in fastMaterializeConstant() local
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineOperand.h171 const ConstantFP *CFP; // For MO_FPImmediate. member
694 void setFPImm(const ConstantFP *CFP) { in setFPImm() argument
827 CreateFPImm(const ConstantFP * CFP) CreateFPImm() argument
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/
H A DXtensaAsmPrinter.cpp119 if (const auto *CFP = dyn_cast<ConstantFP>(C)) { in emitMachineConstantPoolEntry() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp1571 static bool fitsInFPType(ConstantFP *CFP, const fltSemantics &Sem) { in fitsInFPType()
1578 static Type *shrinkFPConstant(ConstantFP *CFP, bool PreferBFloat) { in shrinkFPConstant()
1616 auto *CFP = dyn_cast_or_null<ConstantFP>(CV->getAggregateElement(i)); in shrinkFPConstantVector() local
1642 if (auto *CFP = dyn_cast<ConstantFP>(V)) in getMinimumFPType() local
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DMachineIRBuilder.cpp114 } else if (auto *CFP = dyn_cast<ConstantFP>(NumericConstant)) { in buildConstDbgValue() local
388 auto *CFP = in buildFConstant() local
396 auto *CFP = ConstantFP::get(Ctx, Val); in buildFConstant() local
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FixupVectorConstants.cpp94 if (auto *CFP = dyn_cast<ConstantFP>(C)) in extractConstantBits() local
H A DX86FastISel.cpp3774 unsigned X86FastISel::X86MaterializeFP(const ConstantFP *CFP, MVT VT) { in X86MaterializeFP()
3896 if (const auto *CFP = dyn_cast<ConstantFP>(C)) in fastMaterializeConstant() local
H A DX86InstructionSelector.cpp
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600ISelLowering.cpp786 if (ConstantFPSDNode * CFP = dyn_cast<ConstantFPSDNode>(Op)) { in isHWTrueValue() local
793 if (ConstantFPSDNode * CFP = dyn_cast<ConstantFPSDNode>(Op)) { in isHWFalseValue() local
H A DAMDGPUInstCombineIntrinsic.cpp360 ConstantFP *CFP; in matchFPExtFromF16() local
H A DAMDGPULibCalls.cpp600 const ConstantFP *CFP = dyn_cast<ConstantFP>(Elt); in isKnownIntegral() local
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsFastISel.cpp384 unsigned MipsFastISel::materializeFP(const ConstantFP *CFP, MVT VT) { in materializeFP()
450 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(C)) in fastMaterializeConstant() local
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp391 unsigned AArch64FastISel::materializeFP(const ConstantFP *CFP, MVT VT) { in materializeFP()
554 else if (const ConstantFP *CFP = dyn_cast<ConstantFP>(C)) in fastMaterializeConstant() local
562 unsigned AArch64FastISel::fastMaterializeFloatZero(const ConstantFP* CFP) { in fastMaterializeFloatZero()
1507 if (const auto *CFP = dyn_cast<ConstantFP>(RHS)) in emitFCmp() local
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMFastISel.cpp414 unsigned ARMFastISel::ARMMaterializeFP(const ConstantFP *CFP, MVT VT) { in ARMMaterializeFP()
631 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(C)) in fastMaterializeConstant() local
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp443 if (auto *CFP = dyn_cast<ConstantFP>(C)) { in ReadDataFromGlobal() local
1305 ConstantFP *CFP = dyn_cast<ConstantFP>(Operand); in FlushFPConstant() local
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp311 SelectionDAGLegalize::ExpandConstantFP(ConstantFPSDNode *CFP, bool UseCP) { in ExpandConstantFP()
433 if (ConstantFPSDNode *CFP = dyn_cast<ConstantFPSDNode>(Value)) { in OptimizeFloatStore() local
3737 ConstantFPSDNode *CFP = cast<ConstantFPSDNode>(Node); in ExpandNode() local
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/GISel/
H A DX86InstructionSelector.cpp1524 const ConstantFP *CFP = I.getOperand(1).getFPImm(); in materializeFP() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp123 auto *CFP = cast<ConstrainedFPIntrinsic>(CI); in canHandle() local

12