Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp28 static bool cheapToScalarize(Value *V, bool isConstant) { in cheapToScalarize() function
53 (cheapToScalarize(BO->getOperand(0), isConstant) || in cheapToScalarize()
54 cheapToScalarize(BO->getOperand(1), isConstant))) in cheapToScalarize()
58 (cheapToScalarize(CI->getOperand(0), isConstant) || in cheapToScalarize()
59 cheapToScalarize(CI->getOperand(1), isConstant))) in cheapToScalarize()
95 !(isa<BinaryOperator>(PHIUser)) || !cheapToScalarize(PHIUser, true)) in scalarizePHI()
154 if (cheapToScalarize(C, false)) in visitExtractElementInst()
204 cheapToScalarize(BO, isa<ConstantInt>(EI.getOperand(1)))) { in visitExtractElementInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp51 static bool cheapToScalarize(Value *V, bool isConstant) { in cheapToScalarize() function
76 (cheapToScalarize(BO->getOperand(0), isConstant) || in cheapToScalarize()
77 cheapToScalarize(BO->getOperand(1), isConstant))) in cheapToScalarize()
81 (cheapToScalarize(CI->getOperand(0), isConstant) || in cheapToScalarize()
82 cheapToScalarize(CI->getOperand(1), isConstant))) in cheapToScalarize()
118 !(isa<BinaryOperator>(PHIUser)) || !cheapToScalarize(PHIUser, true)) in scalarizePHI()
178 if (cheapToScalarize(C, false)) in visitExtractElementInst()
230 cheapToScalarize(BO, isa<ConstantInt>(EI.getOperand(1)))) { in visitExtractElementInst()