Searched refs:FPCast (Results 1 – 5 of 5) sorted by relevance
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | elemental_ir_emitter.cc | 44 lhs = FPCast(lhs, b()->getFloatTy()); in EmitAtan2() 45 rhs = FPCast(rhs, b()->getFloatTy()); in EmitAtan2() 68 result = FPCast(result, b()->getHalfTy()); in EmitAtan2() 80 value = FPCast(value, b()->getFloatTy()); in EmitTanh() 103 result = FPCast(result, b()->getHalfTy()); in EmitTanh()
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | elemental_ir_emitter.cc | 96 FPCast(converted_operands[i], b()->getFloatTy()); in EmitDeviceMathCall() 116 result = FPCast(result, b()->getHalfTy()); in EmitDeviceMathCall() 283 llvm::Value* input = FPCast(value, type); in EmitTanh() 295 return FPCast(Select(FCmpULT(abs_value, max_value), fast_tanh, one_with_sign), in EmitTanh()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 1833 auto *FPCast = cast<CastInst>(Src); in visitFPTrunc() local 1834 if (isKnownExactCastIntToFP(*FPCast)) in visitFPTrunc() 1835 return CastInst::Create(FPCast->getOpcode(), FPCast->getOperand(0), Ty); in visitFPTrunc() 1847 auto *FPCast = cast<CastInst>(Src); in visitFPExt() local 1848 if (isKnownExactCastIntToFP(*FPCast)) in visitFPExt() 1849 return CastInst::Create(FPCast->getOpcode(), FPCast->getOperand(0), Ty); in visitFPExt()
|
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/ |
D | ir_builder_mixin.h | 311 llvm::Value* FPCast(Args&&... args) { in FPCast() function
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | elemental_ir_emitter.cc | 394 FPCast(operand_value, in EmitFloatUnaryOp() 414 return FPCast(operand_value, in EmitFloatUnaryOp() 565 op, FPCast(EmitExtractReal(operand_value), to_ir_component_type), in EmitComplexUnaryOp() 566 FPCast(EmitExtractImag(operand_value), to_ir_component_type)); in EmitComplexUnaryOp() 2571 return FAdd(accumulator, FPCast(FMul(lhs, rhs), accumulator->getType())); in EmitMulAdd() 2961 return FPCast(Load(sum_address), lhs_llvm_type); in EmitConvolution()
|