Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Delemental_ir_emitter.cc44 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/
Delemental_ir_emitter.cc96 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/
DInstCombineCasts.cpp1833 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/
Dir_builder_mixin.h311 llvm::Value* FPCast(Args&&... args) { in FPCast() function
/external/tensorflow/tensorflow/compiler/xla/service/
Delemental_ir_emitter.cc394 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()