Home
last modified time | relevance | path

Searched refs:floatValue (Results 1 – 4 of 4) sorted by relevance

/llvm-project/mlir/lib/ExecutionEngine/
H A DFloat16bits.cpp38 uint16_t float2half(float floatValue) { in float2half() argument
46 f.f = floatValue; in float2half()
113 uint16_t float2bfloat(float floatValue) { in float2bfloat() argument
114 if (std::isnan(floatValue)) in float2bfloat()
115 return std::signbit(floatValue) ? 0xFFC0 : 0x7FC0; in float2bfloat()
118 floatBits.f = floatValue; in float2bfloat()
/llvm-project/clang/test/CodeGenObjC/
H A Dfpret.m11 -(float) floatValue; method
35 [(A*)0 floatValue];
/llvm-project/mlir/lib/Dialect/Math/Transforms/
H A DPolynomialApproximation.cpp1563 Value floatValue = b.create<arith::BitcastOp>(floatTy, intValue);
1564 Value squared = b.create<arith::MulFOp>(floatValue, floatValue);
1565 Value mulTwo = b.create<arith::MulFOp>(floatValue, fpTwo);
1567 floatValue = b.create<arith::AddFOp>(mulTwo, divSquared);
1568 floatValue = b.create<arith::MulFOp>(floatValue, fpThird);
1571 squared = b.create<arith::MulFOp>(floatValue, floatValue);
1572 mulTwo = b.create<arith::MulFOp>(floatValue, fpTw
1535 Value floatValue = b.create<arith::BitcastOp>(floatTy, intValue); matchAndRewrite() local
[all...]
/llvm-project/mlir/unittests/IR/
H A DAttributeTest.cpp428 auto floatValue = DenseFPElementsAttr::get(floatValueTy, {1.0f}); in TEST()
434 auto sparseFloat = SparseElementsAttr::get(tensorF32, indices, floatValue); in TEST()
413 auto floatValue = DenseFPElementsAttr::get(floatValueTy, {1.0f}); TEST() local