Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1198 Value *RHSTrunc = LookThroughFPExtensions(OpI->getOperand(1)); in visitFPTrunc() local
1200 RHSTrunc->getType() != SrcTy) { in visitFPTrunc()
1205 RHSTrunc->getType()->getScalarSizeInBits() <= DstSize) { in visitFPTrunc()
1207 RHSTrunc = Builder->CreateFPExt(RHSTrunc, CI.getType()); in visitFPTrunc()
1208 return BinaryOperator::Create(OpI->getOpcode(), LHSTrunc, RHSTrunc); in visitFPTrunc()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1386 Value *RHSTrunc = Builder->CreateFPTrunc(SI->getOperand(2), in visitFPTrunc() local
1388 return SelectInst::Create(SI->getOperand(0), LHSTrunc, RHSTrunc); in visitFPTrunc()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp28033 bool RHSTrunc = N1.getOpcode() == ISD::TRUNCATE; in WidenMaskArithmetic() local
28037 if (!RHSTrunc && !RHSConstSplat) in WidenMaskArithmetic()
28051 } else if (RHSTrunc) { in WidenMaskArithmetic()