Home
last modified time | relevance | path

Searched refs:FloatToBits (Results 1 – 15 of 15) sorted by relevance

/external/llvm/lib/Target/AMDGPU/MCTargetDesc/
DSIMCCodeEmitter.cpp104 if (Val == FloatToBits(0.5f)) in getLit32Encoding()
107 if (Val == FloatToBits(-0.5f)) in getLit32Encoding()
110 if (Val == FloatToBits(1.0f)) in getLit32Encoding()
113 if (Val == FloatToBits(-1.0f)) in getLit32Encoding()
116 if (Val == FloatToBits(2.0f)) in getLit32Encoding()
119 if (Val == FloatToBits(-2.0f)) in getLit32Encoding()
122 if (Val == FloatToBits(4.0f)) in getLit32Encoding()
125 if (Val == FloatToBits(-4.0f)) in getLit32Encoding()
/external/llvm/include/llvm/Support/
DEndianStream.h43 write(FloatToBits(Val));
55 write(FloatToBits(Val));
DMathExtras.h564 inline uint32_t FloatToBits(float Float) {
/external/llvm/lib/Target/AMDGPU/InstPrinter/
DAMDGPUInstPrinter.cpp314 if (Imm == FloatToBits(0.0f)) in printImmediate32()
316 else if (Imm == FloatToBits(1.0f)) in printImmediate32()
318 else if (Imm == FloatToBits(-1.0f)) in printImmediate32()
320 else if (Imm == FloatToBits(0.5f)) in printImmediate32()
322 else if (Imm == FloatToBits(-0.5f)) in printImmediate32()
324 else if (Imm == FloatToBits(2.0f)) in printImmediate32()
326 else if (Imm == FloatToBits(-2.0f)) in printImmediate32()
328 else if (Imm == FloatToBits(4.0f)) in printImmediate32()
330 else if (Imm == FloatToBits(-4.0f)) in printImmediate32()
412 printImmediate32(FloatToBits(Op.getFPImm()), O); in printOperand()
/external/swiftshader/third_party/LLVM/unittests/Support/
DMathExtrasTest.cpp77 EXPECT_FLOAT_EQ(kValue, BitsToFloat(FloatToBits(kValue))); in TEST()
/external/swiftshader/third_party/LLVM/lib/Target/CellSPU/
DSPUOperands.td189 return getI32Imm(FloatToBits(fval) >> 16);
196 return getI32Imm(FloatToBits(fval) & 0xffff);
201 return getI32Imm((int) ((FloatToBits(fval) << 16) >> 16));
206 return getI32Imm(FloatToBits(fval) & ((1 << 18) - 1));
217 uint32_t val = FloatToBits(N->getValueAPF().convertToFloat());
227 uint32_t Value = FloatToBits(N->getValueAPF().convertToFloat());
DSPUISelDAGToDAG.cpp104 int val = FloatToBits(FPN->getValueAPF().convertToFloat()); in isFPS16Immediate()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DMathExtras.h384 inline uint32_t FloatToBits(float Float) { in FloatToBits() function
/external/llvm/lib/Target/AMDGPU/
DSIInstrInfo.cpp1489 return (FloatToBits(0.0f) == Val) || in isInlineConstant()
1490 (FloatToBits(1.0f) == Val) || in isInlineConstant()
1491 (FloatToBits(-1.0f) == Val) || in isInlineConstant()
1492 (FloatToBits(0.5f) == Val) || in isInlineConstant()
1493 (FloatToBits(-0.5f) == Val) || in isInlineConstant()
1494 (FloatToBits(2.0f) == Val) || in isInlineConstant()
1495 (FloatToBits(-2.0f) == Val) || in isInlineConstant()
1496 (FloatToBits(4.0f) == Val) || in isInlineConstant()
1497 (FloatToBits(-4.0f) == Val); in isInlineConstant()
DSIISelLowering.cpp3084 return FloatToBits(Node->getValueAPF().convertToFloat()); in analyzeImmediate()
/external/llvm/lib/Target/AMDGPU/Disassembler/
DAMDGPUDisassembler.cpp323 return MCOperand::createImm(Is32? FloatToBits(V) : DoubleToBits(V)); in decodeFPImmed()
/external/llvm/unittests/Support/
DMathExtrasTest.cpp190 EXPECT_FLOAT_EQ(kValue, BitsToFloat(FloatToBits(kValue))); in TEST()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DMathExtras.h586 inline uint32_t FloatToBits(float Float) {
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCISelLowering.cpp743 Value = FloatToBits(CN->getValueAPF().convertToFloat()); in get_VSPLTI_elt()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp1681 Value = FloatToBits(CN->getValueAPF().convertToFloat()); in get_VSPLTI_elt()