Home
last modified time | relevance | path

Searched refs:Flt (Results 1 – 21 of 21) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXMCExpr.h31 const APFloat Flt; variable
33 explicit NVPTXFloatMCExpr(VariantKind Kind, APFloat Flt) in NVPTXFloatMCExpr() argument
34 : Kind(Kind), Flt(std::move(Flt)) {} in NVPTXFloatMCExpr()
40 static const NVPTXFloatMCExpr *create(VariantKind Kind, const APFloat &Flt,
43 static const NVPTXFloatMCExpr *createConstantFPHalf(const APFloat &Flt, in createConstantFPHalf() argument
45 return create(VK_NVPTX_HALF_PREC_FLOAT, Flt, Ctx); in createConstantFPHalf()
48 static const NVPTXFloatMCExpr *createConstantFPSingle(const APFloat &Flt, in createConstantFPSingle() argument
50 return create(VK_NVPTX_SINGLE_PREC_FLOAT, Flt, Ctx); in createConstantFPSingle()
53 static const NVPTXFloatMCExpr *createConstantFPDouble(const APFloat &Flt, in createConstantFPDouble() argument
55 return create(VK_NVPTX_DOUBLE_PREC_FLOAT, Flt, Ctx); in createConstantFPDouble()
[all …]
DNVPTXMCExpr.cpp19 NVPTXFloatMCExpr::create(VariantKind Kind, const APFloat &Flt, MCContext &Ctx) { in create() argument
20 return new (Ctx) NVPTXFloatMCExpr(Kind, Flt); in create()
/external/llvm-project/llvm/lib/Target/NVPTX/
DNVPTXMCExpr.h31 const APFloat Flt; variable
33 explicit NVPTXFloatMCExpr(VariantKind Kind, APFloat Flt) in NVPTXFloatMCExpr() argument
34 : Kind(Kind), Flt(std::move(Flt)) {} in NVPTXFloatMCExpr()
40 static const NVPTXFloatMCExpr *create(VariantKind Kind, const APFloat &Flt,
43 static const NVPTXFloatMCExpr *createConstantFPHalf(const APFloat &Flt, in createConstantFPHalf() argument
45 return create(VK_NVPTX_HALF_PREC_FLOAT, Flt, Ctx); in createConstantFPHalf()
48 static const NVPTXFloatMCExpr *createConstantFPSingle(const APFloat &Flt, in createConstantFPSingle() argument
50 return create(VK_NVPTX_SINGLE_PREC_FLOAT, Flt, Ctx); in createConstantFPSingle()
53 static const NVPTXFloatMCExpr *createConstantFPDouble(const APFloat &Flt, in createConstantFPDouble() argument
55 return create(VK_NVPTX_DOUBLE_PREC_FLOAT, Flt, Ctx); in createConstantFPDouble()
[all …]
DNVPTXMCExpr.cpp19 NVPTXFloatMCExpr::create(VariantKind Kind, const APFloat &Flt, MCContext &Ctx) { in create() argument
20 return new (Ctx) NVPTXFloatMCExpr(Kind, Flt); in create()
/external/llvm/lib/Target/NVPTX/
DNVPTXMCExpr.h31 const APFloat Flt; variable
33 explicit NVPTXFloatMCExpr(VariantKind Kind, APFloat Flt) in NVPTXFloatMCExpr() argument
34 : Kind(Kind), Flt(std::move(Flt)) {} in NVPTXFloatMCExpr()
40 static const NVPTXFloatMCExpr *create(VariantKind Kind, const APFloat &Flt,
43 static const NVPTXFloatMCExpr *createConstantFPSingle(const APFloat &Flt, in createConstantFPSingle() argument
45 return create(VK_NVPTX_SINGLE_PREC_FLOAT, Flt, Ctx); in createConstantFPSingle()
48 static const NVPTXFloatMCExpr *createConstantFPDouble(const APFloat &Flt, in createConstantFPDouble() argument
50 return create(VK_NVPTX_DOUBLE_PREC_FLOAT, Flt, Ctx); in createConstantFPDouble()
61 APFloat getAPFloat() const { return Flt; } in getAPFloat()
DNVPTXMCExpr.cpp19 NVPTXFloatMCExpr::create(VariantKind Kind, const APFloat &Flt, MCContext &Ctx) { in create() argument
20 return new (Ctx) NVPTXFloatMCExpr(Kind, Flt); in create()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/AsmParser/
DWebAssemblyAsmParser.cpp70 struct FltOp Flt; member
80 : Kind(K), StartLoc(Start), EndLoc(End), Flt(F) {} in WebAssemblyOperand()
129 Inst.addOperand(MCOperand::createFPImm(Flt.Val)); in addFPImmOperands()
149 OS << "Flt:" << Flt.Val; in print()
354 auto &Flt = Lexer.getTok(); in parseSingleFloat() local
356 if (Flt.getString().getAsDouble(Val, false)) in parseSingleFloat()
357 return error("Cannot parse real: ", Flt); in parseSingleFloat()
361 WebAssemblyOperand::Float, Flt.getLoc(), Flt.getEndLoc(), in parseSingleFloat()
370 auto &Flt = Lexer.getTok(); in parseSpecialFloatMaybe() local
371 auto S = Flt.getString(); in parseSpecialFloatMaybe()
[all …]
/external/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/
DWebAssemblyAsmParser.cpp72 struct FltOp Flt; member
82 : Kind(K), StartLoc(Start), EndLoc(End), Flt(F) {} in WebAssemblyOperand()
131 Inst.addOperand(MCOperand::createFPImm(Flt.Val)); in addFPImmOperands()
151 OS << "Flt:" << Flt.Val; in print()
374 auto &Flt = Lexer.getTok(); in parseSingleFloat() local
376 if (Flt.getString().getAsDouble(Val, false)) in parseSingleFloat()
377 return error("Cannot parse real: ", Flt); in parseSingleFloat()
381 WebAssemblyOperand::Float, Flt.getLoc(), Flt.getEndLoc(), in parseSingleFloat()
390 auto &Flt = Lexer.getTok(); in parseSpecialFloatMaybe() local
391 auto S = Flt.getString(); in parseSpecialFloatMaybe()
[all …]
/external/llvm-project/llvm/lib/Support/
DAPFixedPoint.cpp472 APFloat Flt(*OpSema); in convertToFloat() local
473 APFloat::opStatus S = Flt.convertFromAPInt(Val, Sema.isSigned(), RM); in convertToFloat()
484 Flt.multiply(ScaleFactor, LosslessRM); in convertToFloat()
487 Flt.convert(FloatSema, RM, &Ignored); in convertToFloat()
489 return Flt; in convertToFloat()
/external/golang-protobuf/jsonpb/
Djsonpb_test.go522 {"FloatValue", marshaler, &pb.KnownTypes{Flt: &wpb.FloatValue{Value: 1.2}}, `{"flt":1.2}`},
847 {"FloatValue", Unmarshaler{}, `{"flt":1.2}`, &pb.KnownTypes{Flt: &wpb.FloatValue{Value: 1.2}}},
866 {"null FloatValue", Unmarshaler{}, `{"flt":null}`, &pb.KnownTypes{Flt: nil}},
/external/golang-protobuf/jsonpb/jsonpb_test_proto/
Dtest_objects.pb.go820 Flt *wrappers.FloatValue `protobuf:"bytes,4,opt,name=flt" json:"flt,omitempty"` member
909 return m.Flt
/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp232 const APFloat &Flt = CF->getValueAPF(); in materializeConstant() local
238 (void)Flt.convertToInteger(x, IntBitWidth, /*isSigned=*/true, in materializeConstant()
DSelectionDAGBuilder.cpp4149 static SDValue getF32Constant(SelectionDAG &DAG, unsigned Flt, in getF32Constant() argument
4151 return DAG.getConstantFP(APFloat(APFloat::IEEEsingle, APInt(32, Flt)), dl, in getF32Constant()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp424 const APFloat &Flt = CF->getValueAPF(); in materializeConstant() local
429 (void)Flt.convertToInteger(SIntVal, APFloat::rmTowardZero, &isExact); in materializeConstant()
DSelectionDAGBuilder.cpp4965 static SDValue getF32Constant(SelectionDAG &DAG, unsigned Flt, in getF32Constant() argument
4967 return DAG.getConstantFP(APFloat(APFloat::IEEEsingle(), APInt(32, Flt)), dl, in getF32Constant()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp438 const APFloat &Flt = CF->getValueAPF(); in materializeConstant() local
443 (void)Flt.convertToInteger(SIntVal, APFloat::rmTowardZero, &isExact); in materializeConstant()
DSelectionDAGBuilder.cpp4752 static SDValue getF32Constant(SelectionDAG &DAG, unsigned Flt, in getF32Constant() argument
4754 return DAG.getConstantFP(APFloat(APFloat::IEEEsingle(), APInt(32, Flt)), dl, in getF32Constant()
/external/llvm-project/llvm/lib/Target/ARM/
DARMInstrMVE.td3936 multiclass MVE_VCVT_fp_int_anpm_inner<MVEVectorVTInfo Int, MVEVectorVTInfo Flt,
3938 def "": MVE_VCVT_fp_int_anpm<Int.Suffix # "." # Flt.Suffix, Int.Size,
3947 def : Pat<(Int.Vec (UnpredIntr (i32 Int.Unsigned), (Flt.Vec MQPR:$in))),
3948 (Int.Vec (Inst (Flt.Vec MQPR:$in)))>;
3951 (Flt.Vec MQPR:$in), (Flt.Pred VCCR:$pred))),
3952 (Int.Vec (Inst (Flt.Vec MQPR:$in), ARMVCCThen,
3953 (Flt.Pred VCCR:$pred), (Int.Vec MQPR:$inactive)))>;
3958 MVEVectorVTInfo Flt> {
3959 defm a : MVE_VCVT_fp_int_anpm_inner<Int, Flt, "a", 0b00>;
3960 defm n : MVE_VCVT_fp_int_anpm_inner<Int, Flt, "n", 0b01>;
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86MCInstLower.cpp1858 static void printConstant(const APFloat &Flt, raw_ostream &CS) { in printConstant() argument
1861 Flt.toString(Str, 0, 0); in printConstant()
/external/llvm-project/llvm/lib/Target/X86/
DX86MCInstLower.cpp1891 static void printConstant(const APFloat &Flt, raw_ostream &CS) { in printConstant() argument
1894 Flt.toString(Str, 0, 0); in printConstant()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DSIISelLowering.cpp11820 const fltSemantics &Flt = RMW->getType()->getScalarType()->getFltSemantics(); in fpModeMatchesGlobalFPAtomicMode() local
11821 auto DenormMode = RMW->getParent()->getParent()->getDenormalMode(Flt); in fpModeMatchesGlobalFPAtomicMode()
11822 if (&Flt == &APFloat::IEEEsingle()) in fpModeMatchesGlobalFPAtomicMode()