Home
last modified time | relevance | path

Searched refs:bitcastToAPInt (Results 1 – 25 of 111) sorted by relevance

12345

/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DFloating.h86 return APSInt(getValue().bitcastToAPInt());
124 Val = F.bitcastToAPInt().getZExtValue(); in copy()
127 std::memcpy(Memory, F.bitcastToAPInt().getRawData(), in copy()
191 llvm::APInt API = getValue().bitcastToAPInt(); in bitcastToMemory()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMAddressingModes.h674 return getFP16Imm(FPImm.bitcastToAPInt()); in getFP16Imm()
686 return getFP32FP16Imm(FPImm.bitcastToAPInt()); in getFP32FP16Imm()
714 return getFP32Imm(FPImm.bitcastToAPInt()); in getFP32Imm()
742 return getFP64Imm(FPImm.bitcastToAPInt()); in getFP64Imm()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPFloat.cpp3788 APInt IEEEFloat::bitcastToAPInt() const { in bitcastToAPInt() function in llvm::detail::IEEEFloat
3851 APInt api = bitcastToAPInt(); in convertToFloat()
3858 APInt api = bitcastToAPInt(); in convertToDouble()
3866 APInt api = bitcastToAPInt(); in convertToQuad()
5158 APFloat Tmp(semPPCDoubleDoubleLegacy, bitcastToAPInt()); in divide()
5160 Tmp.divide(APFloat(semPPCDoubleDoubleLegacy, RHS.bitcastToAPInt()), RM); in divide()
5161 *this = DoubleAPFloat(semPPCDoubleDouble, Tmp.bitcastToAPInt()); in divide()
5167 APFloat Tmp(semPPCDoubleDoubleLegacy, bitcastToAPInt()); in remainder()
5169 Tmp.remainder(APFloat(semPPCDoubleDoubleLegacy, RHS.bitcastToAPInt())); in remainder()
5170 *this = DoubleAPFloat(semPPCDoubleDouble, Tmp.bitcastToAPInt()); in remainder()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXMCExpr.cpp55 APInt API = APF.bitcastToAPInt(); in printImpl()
H A DNVPTXAsmPrinter.cpp1545 APInt API = APF.bitcastToAPInt(); in printFPConstant()
1636 AddIntToBuffer(cast<ConstantFP>(CPV)->getValueAPF().bitcastToAPInt()); in bufferLEByte()
1687 ExtendBuffer(CFP->getValueAPF().bitcastToAPInt(), aggBuffer); in bufferAggregateConstant()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp702 GV.IntVal = apf.bitcastToAPInt(); in getConstantValue()
717 GV.IntVal = apf.bitcastToAPInt(); in getConstantValue()
855 GV.IntVal = apfLHS.bitcastToAPInt(); in getConstantValue()
860 GV.IntVal = apfLHS.bitcastToAPInt(); in getConstantValue()
865 GV.IntVal = apfLHS.bitcastToAPInt(); in getConstantValue()
870 GV.IntVal = apfLHS.bitcastToAPInt(); in getConstantValue()
874 GV.IntVal = apfLHS.bitcastToAPInt(); in getConstantValue()
910 Result.IntVal = cast <ConstantFP>(C)->getValueAPF().bitcastToAPInt(); in getConstantValue()
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYInstrInfoF1.td51 (N->getValueAPF().bitcastToAPInt().getZExtValue() >> 16) & 0xFFFF,
57 N->getValueAPF().bitcastToAPInt().getZExtValue() & 0xFFFF,
62 "return CurDAG->getTargetConstant(N->getValueAPF().bitcastToAPInt().lshr("#shift#").getLoBits("#width#"), SDLoc(N), MVT::i32);">;
65 "return CurDAG->getTargetConstant(N->getValueAPF().bitcastToAPInt().lshr("#shift#").getLoBits("#width#"), SDLoc(N), MVT::i16);">;
68 "return isShiftedUInt<"#width#", "#shift#">(N->getValueAPF().bitcastToAPInt().getZExtValue());">;
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64AddressingModes.h387 return getFP16Imm(FPImm.bitcastToAPInt()); in getFP16Imm()
415 return getFP32Imm(FPImm.bitcastToAPInt()); in getFP32Imm()
443 return getFP64Imm(FPImm.bitcastToAPInt()); in getFP64Imm()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMIRVRegNamerUtils.cpp76 MO.getFPImm()->getValueAPF().bitcastToAPInt().getZExtValue()); in getInstructionOpcodeHash()
H A DMachineStableHash.cpp78 : MO.getFPImm()->getValueAPF().bitcastToAPInt(); in stableHashValue()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonMCInstLower.cpp145 MCConstantExpr::create(*Val.bitcastToAPInt().getRawData(), in HexagonLowerToMC()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVBaseInfo.cpp209 APInt Imm = FPImm.bitcastToAPInt(); in getLoadFPImm()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FixupVectorConstants.cpp99 return APInt::getSplat(NumBits, CFP->getValue().bitcastToAPInt()); in extractConstantBits()
101 return CFP->getValue().bitcastToAPInt(); in extractConstantBits()
138 Bits.insertBits(CDS->getElementAsAPFloat(I).bitcastToAPInt(), in extractConstantBits()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp114 return CFP->getValueAPF().bitcastToAPInt().isAllOnes(); in isAllOnesValue()
131 return CFP->getValueAPF().bitcastToAPInt().isOne(); in isOneValue()
148 return !CFP->getValueAPF().bitcastToAPInt().isOne(); in isNotOneValue()
176 return CFP->getValueAPF().bitcastToAPInt().isMinSignedValue(); in isMinSignedValue()
193 return !CFP->getValueAPF().bitcastToAPInt().isMinSignedValue(); in isNotMinSignedValue()
1258 Elts.push_back(CFP->getValueAPF().bitcastToAPInt().getLimitedValue()); in getFPSequenceIfElementsMatch()
3071 NumElts, CFP->getValueAPF().bitcastToAPInt().getLimitedValue()); in getSplat()
3076 NumElts, CFP->getValueAPF().bitcastToAPInt().getLimitedValue()); in getSplat()
3081 NumElts, CFP->getValueAPF().bitcastToAPInt().getLimitedValue()); in getSplat()
3086 NumElts, CFP->getValueAPF().bitcastToAPInt().getLimitedValue()); in getSplat()
H A DStructuralHash.cpp77 return hashAPInt(F.bitcastToAPInt()); in hashAPFloat()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFloat.h470 LLVM_ABI APInt bitcastToAPInt() const;
874 LLVM_ABI APInt bitcastToAPInt() const;
1373 APInt bitcastToAPInt() const { in bitcastToAPInt() function
1374 APFLOAT_DISPATCH_ON_SEMANTICS(bitcastToAPInt()); in bitcastToAPInt()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DAPValue.cpp588 profileIntValue(ID, getFloat().bitcastToAPInt()); in Profile()
596 profileIntValue(ID, getComplexFloatReal().bitcastToAPInt()); in Profile()
597 profileIntValue(ID, getComplexFloatImag().bitcastToAPInt()); in Profile()
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/
H A DXtensaAsmPrinter.cpp128 CFP->getValueAPF().bitcastToAPInt().getSExtValue(), OutContext); in emitMachineConstantPoolEntry()
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DScalar.cpp127 store(m_float.bitcastToAPInt()); in GetBytes()
139 return (m_float.bitcastToAPInt().getBitWidth() + 7) / 8; in GetByteSize()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyMCInstLower.cpp262 Imm->getValueAPF().bitcastToAPInt().getZExtValue(); in lower()
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEISelLowering.h149 const APInt &Imm = N->getValueAPF().bitcastToAPInt(); in getFpImmVal()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyInstPrinter.cpp296 APInt AI = FP.bitcastToAPInt(); in toString()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DPropertiesBase.td283 let Read = [{ node.getFloat().bitcastToAPInt() }];
322 let Read = [{ node.getComplexFloatReal().bitcastToAPInt() }];
325 let Read = [{ node.getComplexFloatImag().bitcastToAPInt() }];
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelDAGToDAG.h40 Out = C->getValueAPF().bitcastToAPInt().getSExtValue(); in getConstantValue()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp109 return cmpAPInts(L.bitcastToAPInt(), R.bitcastToAPInt()); in cmpAPFloats()

12345