Home
last modified time | relevance | path

Searched refs:FloatVal (Results 1 – 24 of 24) sorted by relevance

/external/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp52 Dest.FloatVal = -Src.FloatVal; in executeFNegInst()
79 R.AggregateVal[i].FloatVal = -Src.AggregateVal[i].FloatVal; in visitUnaryOperator()
156 Dest.FloatVal = fmod(Src1.FloatVal, Src2.FloatVal); in executeFRemInst()
396 if (X.FloatVal != X.FloatVal || Y.FloatVal != Y.FloatVal) { \
514 if (X.FloatVal != X.FloatVal || Y.FloatVal != Y.FloatVal) { \
597 ( (Src1.AggregateVal[_i].FloatVal == in executeFCMP_ORD()
598 Src1.AggregateVal[_i].FloatVal) && in executeFCMP_ORD()
599 (Src2.AggregateVal[_i].FloatVal == in executeFCMP_ORD()
600 Src2.AggregateVal[_i].FloatVal))); in executeFCMP_ORD()
610 Dest.IntVal = APInt(1,(Src1.FloatVal == Src1.FloatVal && in executeFCMP_ORD()
[all …]
DExternalFunctions.cpp171 *FloatPtr = AV.FloatVal; in ffiValueFor()
245 case Type::FloatTyID: Result.FloatVal = *(float *) ret.data(); break; in ffiInvoke()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp52 Dest.FloatVal = -Src.FloatVal; in executeFNegInst()
79 R.AggregateVal[i].FloatVal = -Src.AggregateVal[i].FloatVal; in visitUnaryOperator()
156 Dest.FloatVal = fmod(Src1.FloatVal, Src2.FloatVal); in executeFRemInst()
394 if (X.FloatVal != X.FloatVal || Y.FloatVal != Y.FloatVal) { \
512 if (X.FloatVal != X.FloatVal || Y.FloatVal != Y.FloatVal) { \
595 ( (Src1.AggregateVal[_i].FloatVal == in executeFCMP_ORD()
596 Src1.AggregateVal[_i].FloatVal) && in executeFCMP_ORD()
597 (Src2.AggregateVal[_i].FloatVal == in executeFCMP_ORD()
598 Src2.AggregateVal[_i].FloatVal))); in executeFCMP_ORD()
608 Dest.IntVal = APInt(1,(Src1.FloatVal == Src1.FloatVal && in executeFCMP_ORD()
[all …]
DExternalFunctions.cpp171 *FloatPtr = AV.FloatVal; in ffiValueFor()
245 case Type::FloatTyID: Result.FloatVal = *(float *) ret.data(); break; in ffiInvoke()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp103 Dest.FloatVal = fmod(Src1.FloatVal, Src2.FloatVal); in executeFRemInst()
341 if (X.FloatVal != X.FloatVal || Y.FloatVal != Y.FloatVal) { \
459 if (X.FloatVal != X.FloatVal || Y.FloatVal != Y.FloatVal) { \
542 ( (Src1.AggregateVal[_i].FloatVal == in executeFCMP_ORD()
543 Src1.AggregateVal[_i].FloatVal) && in executeFCMP_ORD()
544 (Src2.AggregateVal[_i].FloatVal == in executeFCMP_ORD()
545 Src2.AggregateVal[_i].FloatVal))); in executeFCMP_ORD()
555 Dest.IntVal = APInt(1,(Src1.FloatVal == Src1.FloatVal && in executeFCMP_ORD()
556 Src2.FloatVal == Src2.FloatVal)); in executeFCMP_ORD()
573 ( (Src1.AggregateVal[_i].FloatVal != in executeFCMP_UNO()
[all …]
DExternalFunctions.cpp160 *FloatPtr = AV.FloatVal; in ffiValueFor()
233 case Type::FloatTyID: Result.FloatVal = *(float *) ret.data(); break; in ffiInvoke()
/external/llvm-project/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp671 GV.FloatVal = float(GV.DoubleVal); in getConstantValue()
677 GV.DoubleVal = double(GV.FloatVal); in getConstantValue()
683 GV.FloatVal = float(GV.IntVal.roundToDouble()); in getConstantValue()
698 GV.FloatVal = float(GV.IntVal.signedRoundToDouble()); in getConstantValue()
715 GV.IntVal = APIntOps::RoundFloatToAPInt(GV.FloatVal, BitWidth); in getConstantValue()
754 GV.FloatVal = GV.IntVal.bitsToFloat(); in getConstantValue()
760 GV.IntVal = APInt::floatToBits(GV.FloatVal); in getConstantValue()
809 GV.FloatVal = LHS.FloatVal + RHS.FloatVal; break; in getConstantValue()
811 GV.FloatVal = LHS.FloatVal - RHS.FloatVal; break; in getConstantValue()
813 GV.FloatVal = LHS.FloatVal * RHS.FloatVal; break; in getConstantValue()
[all …]
DExecutionEngineBindings.cpp58 GenVal->FloatVal = N; in LLVMCreateGenericValueOfFloat()
89 return unwrap(GenVal)->FloatVal; in LLVMGenericValueToFloat()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp677 GV.FloatVal = float(GV.DoubleVal); in getConstantValue()
683 GV.DoubleVal = double(GV.FloatVal); in getConstantValue()
689 GV.FloatVal = float(GV.IntVal.roundToDouble()); in getConstantValue()
704 GV.FloatVal = float(GV.IntVal.signedRoundToDouble()); in getConstantValue()
721 GV.IntVal = APIntOps::RoundFloatToAPInt(GV.FloatVal, BitWidth); in getConstantValue()
760 GV.FloatVal = GV.IntVal.bitsToFloat(); in getConstantValue()
766 GV.IntVal = APInt::floatToBits(GV.FloatVal); in getConstantValue()
815 GV.FloatVal = LHS.FloatVal + RHS.FloatVal; break; in getConstantValue()
817 GV.FloatVal = LHS.FloatVal - RHS.FloatVal; break; in getConstantValue()
819 GV.FloatVal = LHS.FloatVal * RHS.FloatVal; break; in getConstantValue()
[all …]
DExecutionEngineBindings.cpp58 GenVal->FloatVal = N; in LLVMCreateGenericValueOfFloat()
89 return unwrap(GenVal)->FloatVal; in LLVMGenericValueToFloat()
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp675 GV.FloatVal = float(GV.DoubleVal); in getConstantValue()
681 GV.DoubleVal = double(GV.FloatVal); in getConstantValue()
687 GV.FloatVal = float(GV.IntVal.roundToDouble()); in getConstantValue()
702 GV.FloatVal = float(GV.IntVal.signedRoundToDouble()); in getConstantValue()
719 GV.IntVal = APIntOps::RoundFloatToAPInt(GV.FloatVal, BitWidth); in getConstantValue()
758 GV.FloatVal = GV.IntVal.bitsToFloat(); in getConstantValue()
764 GV.IntVal = APInt::floatToBits(GV.FloatVal); in getConstantValue()
813 GV.FloatVal = LHS.FloatVal + RHS.FloatVal; break; in getConstantValue()
815 GV.FloatVal = LHS.FloatVal - RHS.FloatVal; break; in getConstantValue()
817 GV.FloatVal = LHS.FloatVal * RHS.FloatVal; break; in getConstantValue()
[all …]
DExecutionEngineBindings.cpp58 GenVal->FloatVal = N; in LLVMCreateGenericValueOfFloat()
89 return unwrap(GenVal)->FloatVal; in LLVMGenericValueToFloat()
/external/llvm-project/llvm/include/llvm/ExecutionEngine/
DGenericValue.h30 float FloatVal; member
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/
DGenericValue.h30 float FloatVal; member
/external/llvm/include/llvm/ExecutionEngine/
DGenericValue.h34 float FloatVal; member
/external/llvm/lib/ExecutionEngine/Orc/
DOrcMCJITReplacement.cpp110 rv.FloatVal = ((float (*)())(intptr_t)FPtr)(); in runFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DOrcMCJITReplacement.cpp109 rv.FloatVal = ((float (*)())(intptr_t)FPtr)(); in runFunction()
/external/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp576 rv.FloatVal = ((float(*)())(intptr_t)FPtr)(); in runFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp590 rv.FloatVal = ((float(*)())(intptr_t)FPtr)(); in runFunction()
/external/llvm-project/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp596 rv.FloatVal = ((float(*)())(intptr_t)FPtr)(); in runFunction()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp3187 SDValue FloatVal = DAG.getNode(ISD::FP_ROUND, dl, MVT::f32, Op, in ExpandNode() local
3190 DAG.getNode(ISD::FP_TO_FP16, dl, Node->getValueType(0), FloatVal)); in ExpandNode()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp3231 SDValue FloatVal = DAG.getNode(ISD::FP_ROUND, dl, MVT::f32, Op, in ExpandNode() local
3234 DAG.getNode(ISD::FP_TO_FP16, dl, Node->getValueType(0), FloatVal)); in ExpandNode()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp3380 SDValue FloatVal = DAG.getNode(ISD::FP_ROUND, dl, MVT::f32, Op, in ExpandNode() local
3383 DAG.getNode(ISD::FP_TO_FP16, dl, Node->getValueType(0), FloatVal)); in ExpandNode()
/external/llvm-project/clang/lib/Sema/
DSemaOverload.cpp399 llvm::APFloat FloatVal = ConstantValue.getFloat(); in getNarrowingKind() local
402 llvm::APFloat::opStatus ConvertStatus = FloatVal.convert( in getNarrowingKind()