Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp627 Value *BinOp0 = BinOp->getOperand(0); in narrowBinOp() local
637 if (match(BinOp0, m_Constant(C))) { in narrowBinOp()
646 Value *TruncX = Builder.CreateTrunc(BinOp0, DestTy); in narrowBinOp()
650 if (match(BinOp0, m_ZExtOrSExt(m_Value(X))) && X->getType() == DestTy) { in narrowBinOp()
657 Value *NarrowOp0 = Builder.CreateTrunc(BinOp0, DestTy); in narrowBinOp()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp590 Value *BinOp0 = BinOp->getOperand(0); in narrowBinOp() local
600 if (match(BinOp0, m_Constant(C))) { in narrowBinOp()
609 Value *TruncX = Builder.CreateTrunc(BinOp0, DestTy); in narrowBinOp()
613 if (match(BinOp0, m_ZExtOrSExt(m_Value(X))) && X->getType() == DestTy) { in narrowBinOp()
620 Value *NarrowOp0 = Builder.CreateTrunc(BinOp0, DestTy); in narrowBinOp()
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp2549 BinaryOperator *BinOp0 = cast<BinaryOperator>(VL0); in vectorizeTree() local
2550 Value *V0 = Builder.CreateBinOp(BinOp0->getOpcode(), LHS, RHS); in vectorizeTree()