/external/llvm/include/llvm/IR/ |
Constants.h | 24 #include "llvm/ADT/APFloat.h" 233 APFloat Val; 239 ConstantFP(Type *Ty, const APFloat& V); 257 static ConstantFP *get(LLVMContext &Context, const APFloat &V); 262 static bool isValueValidForType(Type *Ty, const APFloat &V); 263 inline const APFloat &getValueAPF() const { return Val; } 280 bool isExactlyValue(const APFloat &V) const; 284 APFloat FV(V); 285 FV.convert(Val.getSemantics(), APFloat::rmNearestTiesToEven, &ignored); 562 /// type, return the specified element as an APFloat [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
SelectionDAG.cpp | 73 bool ConstantFPSDNode::isExactlyValue(const APFloat& V) const { 78 const APFloat& Val) { 82 APFloat Val2 = APFloat(Val); 85 APFloat::rmNearestTiesToEven, [all...] |
/external/llvm/lib/Support/ |
Android.mk | 5 APFloat.cpp \
|
ScaledNumber.cpp | 16 #include "llvm/ADT/APFloat.h" 184 APFloat Float(APFloat::x87DoubleExtended, APInt(80, RawBits)); 229 // Fall back on APFloat for very small and very large numbers.
|
/external/clang/lib/CodeGen/ |
CGExprScalar.cpp | 560 using llvm::APFloat; 572 APFloat LargestFloat = 573 APFloat::getLargest(CGF.getContext().getFloatTypeSemantics(DstType)); 577 if (LargestFloat.convertToInteger(LargestInt, APFloat::rmTowardZero, 578 &IsExact) != APFloat::opOK) 603 APFloat MinSrc(SrcSema, APFloat::uninitialized); 604 if (MinSrc.convertFromAPInt(Min, !Unsigned, APFloat::rmTowardZero) & 605 APFloat::opOverflow) 608 MinSrc = APFloat::getInf(SrcSema, true) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
AMDGPUISelLowering.h | 77 bool isFPImmLegal(const APFloat &Imm, EVT VT) const;
|
/external/llvm/examples/Kaleidoscope/Chapter5/ |
toy.cpp | 466 return ConstantFP::get(getGlobalContext(), APFloat(Val)); 518 ConstantFP::get(getGlobalContext(), APFloat(0.0)), 618 StepVal = ConstantFP::get(getGlobalContext(), APFloat(1.0)); 629 ConstantFP::get(getGlobalContext(), APFloat(0.0)),
|
/external/llvm/examples/Kaleidoscope/Chapter6/ |
toy.cpp | 551 return ConstantFP::get(getGlobalContext(), APFloat(Val)); 622 ConstantFP::get(getGlobalContext(), APFloat(0.0)), 722 StepVal = ConstantFP::get(getGlobalContext(), APFloat(1.0)); 733 ConstantFP::get(getGlobalContext(), APFloat(0.0)),
|
/external/llvm/lib/AsmParser/ |
LLToken.h | 200 APFloat, // APFloatVal
|
/external/llvm/lib/Target/Hexagon/ |
HexagonISelLowering.h | 167 bool isFPImmLegal(const APFloat &Imm, EVT VT) const override;
|
/external/mesa3d/src/gallium/drivers/radeon/ |
AMDGPUISelLowering.h | 77 bool isFPImmLegal(const APFloat &Imm, EVT VT) const;
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
ARMAddressingModes.h | 17 #include "llvm/ADT/APFloat.h" 632 static inline int getFP32Imm(const APFloat &FPImm) { 660 static inline int getFP64Imm(const APFloat &FPImm) {
|
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCompares.cpp | [all...] |
/external/llvm/lib/IR/ |
AsmWriter.cpp | 779 if (&CFP->getValueAPF().getSemantics() == &APFloat::IEEEsingle || 780 &CFP->getValueAPF().getSemantics() == &APFloat::IEEEdouble) { 787 bool isHalf = &CFP->getValueAPF().getSemantics()==&APFloat::IEEEhalf; 788 bool isDouble = &CFP->getValueAPF().getSemantics()==&APFloat::IEEEdouble; 805 if (APFloat(APFloat::IEEEdouble, StrVal).convertToDouble() == Val) { 818 APFloat apf = CFP->getValueAPF(); 821 apf.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, 836 if (&CFP->getValueAPF().getSemantics() == &APFloat::x87DoubleExtended) [all...] |
Metadata.cpp | 413 APFloat AVal = cast<ConstantFP>(A->getOperand(0))->getValueAPF(); 414 APFloat BVal = cast<ConstantFP>(B->getOperand(0))->getValueAPF(); 415 if (AVal.compare(BVal) == APFloat::cmpLessThan)
|
/external/lldb/source/Core/ |
DataExtractor.cpp | 20 #include "llvm/ADT/APFloat.h" [all...] |
/external/clang/lib/Frontend/ |
InitPreprocessor.cpp | 26 #include "llvm/ADT/APFloat.h" 119 if (Sem == (const llvm::fltSemantics*)&llvm::APFloat::IEEEsingle) 121 if (Sem == (const llvm::fltSemantics*)&llvm::APFloat::IEEEdouble) 123 if (Sem == (const llvm::fltSemantics*)&llvm::APFloat::x87DoubleExtended) 125 if (Sem == (const llvm::fltSemantics*)&llvm::APFloat::PPCDoubleDouble) 127 assert(Sem == (const llvm::fltSemantics*)&llvm::APFloat::IEEEquad); [all...] |
/external/llvm/examples/Kaleidoscope/Chapter7/ |
toy.cpp | 626 return ConstantFP::get(getGlobalContext(), APFloat(Val)); 718 ConstantFP::get(getGlobalContext(), APFloat(0.0)), 824 StepVal = ConstantFP::get(getGlobalContext(), APFloat(1.0)); 839 ConstantFP::get(getGlobalContext(), APFloat(0.0)), 882 InitVal = ConstantFP::get(getGlobalContext(), APFloat(0.0)); [all...] |