Home
last modified time | relevance | path

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

/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/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/swiftshader/third_party/LLVM/lib/ExecutionEngine/
DExecutionEngine.cpp577 GV.FloatVal = float(GV.DoubleVal); in getConstantValue()
583 GV.DoubleVal = double(GV.FloatVal); in getConstantValue()
589 GV.FloatVal = float(GV.IntVal.roundToDouble()); in getConstantValue()
604 GV.FloatVal = float(GV.IntVal.signedRoundToDouble()); in getConstantValue()
621 GV.IntVal = APIntOps::RoundFloatToAPInt(GV.FloatVal, BitWidth); in getConstantValue()
658 GV.FloatVal = GV.IntVal.bitsToFloat(); in getConstantValue()
664 GV.IntVal = APInt::floatToBits(GV.FloatVal); in getConstantValue()
713 GV.FloatVal = LHS.FloatVal + RHS.FloatVal; break; in getConstantValue()
715 GV.FloatVal = LHS.FloatVal - RHS.FloatVal; break; in getConstantValue()
717 GV.FloatVal = LHS.FloatVal * RHS.FloatVal; break; in getConstantValue()
[all …]
DExecutionEngineBindings.cpp43 GenVal->FloatVal = N; in LLVMCreateGenericValueOfFloat()
74 return unwrap(GenVal)->FloatVal; in LLVMGenericValueToFloat()
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/Interpreter/
DExecution.cpp101 Dest.FloatVal = fmod(Src1.FloatVal, Src2.FloatVal); in executeFRemInst()
369 if (X.FloatVal != X.FloatVal || Y.FloatVal != Y.FloatVal) { \
425 Dest.IntVal = APInt(1,(Src1.FloatVal == Src1.FloatVal && in executeFCMP_ORD()
426 Src2.FloatVal == Src2.FloatVal)); in executeFCMP_ORD()
437 Dest.IntVal = APInt(1,(Src1.FloatVal != Src1.FloatVal || in executeFCMP_UNO()
438 Src2.FloatVal != Src2.FloatVal)); in executeFCMP_UNO()
967 Dest.FloatVal = (float) Src.DoubleVal; in executeFPTruncInst()
976 Dest.DoubleVal = (double) Src.FloatVal; in executeFPExtInst()
988 Dest.IntVal = APIntOps::RoundFloatToAPInt(Src.FloatVal, DBitWidth); in executeFPToUIInst()
1002 Dest.IntVal = APIntOps::RoundFloatToAPInt(Src.FloatVal, DBitWidth); in executeFPToSIInst()
[all …]
DExternalFunctions.cpp160 *FloatPtr = AV.FloatVal; in ffiValueFor()
234 case Type::FloatTyID: Result.FloatVal = *(float *) ret.data(); break; in ffiInvoke()
/external/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVValue.h140 Union.FloatVal = TheValue; in SPIRVConstant()
154 float getFloatValue() const { return Union.FloatVal;} in getFloatValue()
185 float FloatVal; member
/external/swiftshader/third_party/LLVM/include/llvm/ExecutionEngine/
DGenericValue.h29 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/bindings/ocaml/executionengine/
Dllvm_executionengine.mli27 [llvm::GenericValue::DoubleVal] and [llvm::GenericValue::FloatVal]. *)
53 and [llvm::GenericValue::FloatVal]. *)
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp205 rv.FloatVal = ((float(*)())(intptr_t)FPtr)(); in runFunction()
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/
DJIT.cpp470 rv.FloatVal = ((float(*)())(intptr_t)FPtr)(); in runFunction()
511 C = ConstantFP::get(F->getContext(), APFloat(AV.FloatVal)); in runFunction()
/external/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp576 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/clang/lib/Sema/
DSemaOverload.cpp363 llvm::APFloat FloatVal = ConstantValue.getFloat(); in getNarrowingKind() local
366 llvm::APFloat::opStatus ConvertStatus = FloatVal.convert( in getNarrowingKind()