Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1197 Value *LHSTrunc = LookThroughFPExtensions(OpI->getOperand(0)); in visitFPTrunc() local
1199 if (LHSTrunc->getType() != SrcTy && in visitFPTrunc()
1204 if (LHSTrunc->getType()->getScalarSizeInBits() <= DstSize && in visitFPTrunc()
1206 LHSTrunc = Builder->CreateFPExt(LHSTrunc, CI.getType()); in visitFPTrunc()
1208 return BinaryOperator::Create(OpI->getOpcode(), LHSTrunc, RHSTrunc); in visitFPTrunc()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1384 Value *LHSTrunc = Builder->CreateFPTrunc(SI->getOperand(1), in visitFPTrunc() local
1388 return SelectInst::Create(SI->getOperand(0), LHSTrunc, RHSTrunc); in visitFPTrunc()