Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp529 Type *F32Ty = Builder.getFloatTy(); in expandDivRem24() local
551 Value *FA = IsSigned ? Builder.CreateSIToFP(IA, F32Ty) in expandDivRem24()
552 : Builder.CreateUIToFP(IA, F32Ty); in expandDivRem24()
555 Value *FB = IsSigned ? Builder.CreateSIToFP(IB,F32Ty) in expandDivRem24()
556 : Builder.CreateUIToFP(IB,F32Ty); in expandDivRem24()
558 Value *RCP = Builder.CreateFDiv(ConstantFP::get(F32Ty, 1.0), FB); in expandDivRem24()
629 Type *F32Ty = Builder.getFloatTy(); in expandDivRem32() local
667 Value *DEN_F32 = Builder.CreateUIToFP(Den, F32Ty); in expandDivRem32()
668 Value *RCP_F32 = Builder.CreateFDiv(ConstantFP::get(F32Ty, 1.0), DEN_F32); in expandDivRem32()
669 Constant *UINT_MAX_PLUS_1 = ConstantFP::get(F32Ty, BitsToFloat(0x4f800000)); in expandDivRem32()