Home
last modified time | relevance | path

Searched refs:buildFConstant (Results 1 – 21 of 21) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DCSEMIRBuilder.h104 using MachineIRBuilder::buildFConstant;
105 MachineInstrBuilder buildFConstant(const DstOp &Res,
DMachineIRBuilder.h696 virtual MachineInstrBuilder buildFConstant(const DstOp &Res,
699 MachineInstrBuilder buildFConstant(const DstOp &Res, double Val);
700 MachineInstrBuilder buildFConstant(const DstOp &Res, const APFloat &Val);
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
DCSEMIRBuilder.h104 using MachineIRBuilder::buildFConstant;
105 MachineInstrBuilder buildFConstant(const DstOp &Res,
DMachineIRBuilder.h793 virtual MachineInstrBuilder buildFConstant(const DstOp &Res,
796 MachineInstrBuilder buildFConstant(const DstOp &Res, double Val);
797 MachineInstrBuilder buildFConstant(const DstOp &Res, const APFloat &Val);
/external/llvm-project/llvm/unittests/CodeGen/GlobalISel/
DMachineIRBuilderTest.cpp18 B.buildFConstant(LLT::scalar(32), 1.0); in TEST_F()
21 B.buildFConstant(LLT::vector(2, 32), 2.0); in TEST_F()
25 B.buildFConstant(LLT::scalar(64), KVal); in TEST_F()
66 EXPECT_DEATH(B.buildFConstant(LLT::scalar(16), *CF), in TEST_F()
68 EXPECT_DEATH(B.buildFConstant(LLT::vector(2, 16), *CF), in TEST_F()
DCSETest.cpp55 auto MIBFP0 = CSEB.buildFConstant(s32, 1.0); in TEST_F()
56 auto MIBFP0_1 = CSEB.buildFConstant(s32, 1.0); in TEST_F()
67 auto FSplat = CSEB.buildFConstant(LLT::vector(2, s32), 1.0); in TEST_F()
DConstantFoldingTest.cpp79 auto MIBFCst1 = B.buildFConstant(s32, 1.0000001); in TEST_F()
80 auto MIBFCst2 = B.buildFConstant(s32, 2.0); in TEST_F()
DPatternMatchTest.cpp226 auto MIBFCst = B.buildFConstant(s32, .5); in TEST_F()
237 auto MIBFCst64 = B.buildFConstant(s64, .5); in TEST_F()
249 auto MIBFCst16 = B.buildFConstant(s16, .5); in TEST_F()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DCSEMIRBuilder.cpp231 MachineInstrBuilder CSEMIRBuilder::buildFConstant(const DstOp &Res, in buildFConstant() function in CSEMIRBuilder
235 return MachineIRBuilder::buildFConstant(Res, Val); in buildFConstant()
240 return buildSplatVector(Res, buildFConstant(Ty.getElementType(), Val)); in buildFConstant()
253 MachineInstrBuilder NewMIB = MachineIRBuilder::buildFConstant(Res, Val); in buildFConstant()
DMachineIRBuilder.cpp306 MachineInstrBuilder MachineIRBuilder::buildFConstant(const DstOp &Res, in buildFConstant() function in MachineIRBuilder
337 MachineInstrBuilder MachineIRBuilder::buildFConstant(const DstOp &Res, in buildFConstant() function in MachineIRBuilder
343 return buildFConstant(Res, *CFP); in buildFConstant()
346 MachineInstrBuilder MachineIRBuilder::buildFConstant(const DstOp &Res, in buildFConstant() function in MachineIRBuilder
350 return buildFConstant(Res, *CFP); in buildFConstant()
DLegalizerHelper.cpp2031 auto Zero = MIRBuilder.buildFConstant(Ty, ZeroForNegation); in lower()
3902 auto True = MIRBuilder.buildFConstant(DstTy, 1.0); in lowerUITOFP()
3903 auto False = MIRBuilder.buildFConstant(DstTy, 0.0); in lowerUITOFP()
3935 auto True = MIRBuilder.buildFConstant(DstTy, -1.0); in lowerSITOFP()
3936 auto False = MIRBuilder.buildFConstant(DstTy, 0.0); in lowerSITOFP()
3995 MachineInstrBuilder Threshold = MIRBuilder.buildFConstant(SrcTy, TwoPExpFP); in lowerFPTOUI()
4148 auto Zero = MIRBuilder.buildFConstant(Ty, 0.0); in lowerIntrinsicRound()
DIRTranslator.cpp2139 EntryBuilder->buildFConstant(Reg, *CF); in translate()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DCSEMIRBuilder.cpp261 MachineInstrBuilder CSEMIRBuilder::buildFConstant(const DstOp &Res, in buildFConstant() function in CSEMIRBuilder
265 return MachineIRBuilder::buildFConstant(Res, Val); in buildFConstant()
270 return buildSplatVector(Res, buildFConstant(Ty.getElementType(), Val)); in buildFConstant()
283 MachineInstrBuilder NewMIB = MachineIRBuilder::buildFConstant(Res, Val); in buildFConstant()
DMachineIRBuilder.cpp272 MachineInstrBuilder MachineIRBuilder::buildFConstant(const DstOp &Res, in buildFConstant() function in MachineIRBuilder
304 MachineInstrBuilder MachineIRBuilder::buildFConstant(const DstOp &Res, in buildFConstant() function in MachineIRBuilder
310 return buildFConstant(Res, *CFP); in buildFConstant()
313 MachineInstrBuilder MachineIRBuilder::buildFConstant(const DstOp &Res, in buildFConstant() function in MachineIRBuilder
317 return buildFConstant(Res, *CFP); in buildFConstant()
DLegalizerHelper.cpp5059 auto True = MIRBuilder.buildFConstant(DstTy, 1.0); in lowerUITOFP()
5060 auto False = MIRBuilder.buildFConstant(DstTy, 0.0); in lowerUITOFP()
5091 auto True = MIRBuilder.buildFConstant(DstTy, -1.0); in lowerSITOFP()
5092 auto False = MIRBuilder.buildFConstant(DstTy, 0.0); in lowerSITOFP()
5151 MachineInstrBuilder Threshold = MIRBuilder.buildFConstant(SrcTy, TwoPExpFP); in lowerFPTOUI()
5512 auto Zero = MIRBuilder.buildFConstant(Ty, 0.0); in lowerIntrinsicRound()
5513 auto One = MIRBuilder.buildFConstant(Ty, 1.0); in lowerIntrinsicRound()
5514 auto Half = MIRBuilder.buildFConstant(Ty, 0.5); in lowerIntrinsicRound()
5540 auto Zero = MIRBuilder.buildFConstant(Ty, 0.0); in lowerFFloor()
DCombinerHelper.cpp1491 Builder.buildFConstant(DstReg, *FPVal); in applyCombineConstantFoldFpUnary()
2585 Builder.buildFConstant(MI.getOperand(0), C); in replaceInstWithFConstant()
DIRTranslator.cpp2799 EntryBuilder->buildFConstant(Reg, *CF); in translate()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPULegalizerInfo.cpp1872 auto C1 = B.buildFConstant(Ty, C1Val); in legalizeFrint()
1879 auto C2 = B.buildFConstant(Ty, C2Val); in legalizeFrint()
1904 const auto Zero = B.buildFConstant(S64, 0.0); in legalizeFceil()
1905 const auto One = B.buildFConstant(S64, 1.0); in legalizeFceil()
2043 auto K0 = B.buildFConstant(S64, BitsToDouble(UINT64_C(0x3df0000000000000))); in legalizeFPTOI()
2044 auto K1 = B.buildFConstant(S64, BitsToDouble(UINT64_C(0xc1f0000000000000))); in legalizeFPTOI()
2173 auto OneOver2Pi = B.buildFConstant(Ty, 0.5 * numbers::inv_pi); in legalizeSinCos()
2499 auto Log2BaseInvertedOperand = B.buildFConstant(Ty, Log2BaseInverted); in legalizeFlog()
2513 auto K = B.buildFConstant(Ty, numbers::log2e); in legalizeFExp()
2598 auto Const = B.buildFConstant(S64, BitsToDouble(0x3fefffffffffffff)); in legalizeFFloor()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULegalizerInfo.cpp1368 auto C1 = B.buildFConstant(Ty, C1Val); in legalizeFrint()
1375 auto C2 = B.buildFConstant(Ty, C2Val); in legalizeFrint()
1400 const auto Zero = B.buildFConstant(S64, 0.0); in legalizeFceil()
1401 const auto One = B.buildFConstant(S64, 1.0); in legalizeFceil()
1600 auto OneOver2Pi = B.buildFConstant(Ty, 0.5 / M_PI); in legalizeSinCos()
2077 auto One = B.buildFConstant(S32, 1.0f); in legalizeFDIV32()
2142 auto One = B.buildFConstant(S64, 1.0); in legalizeFDIV64()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsLegalizerInfo.cpp297 MachineInstrBuilder TwoP52FP = MIRBuilder.buildFConstant( in legalizeCustom()
/external/llvm-project/llvm/lib/Target/Mips/
DMipsLegalizerInfo.cpp444 MachineInstrBuilder TwoP52FP = MIRBuilder.buildFConstant( in legalizeCustom()