Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1368 bool CanFold = false; in visitICmpInstWithInstAndIntCst() local
1373 CanFold = false; in visitICmpInstWithInstAndIntCst()
1381 CanFold = true; in visitICmpInstWithInstAndIntCst()
1389 CanFold = true; in visitICmpInstWithInstAndIntCst()
1397 CanFold = true; in visitICmpInstWithInstAndIntCst()
1401 if (CanFold) { in visitICmpInstWithInstAndIntCst()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp5260 bool CanFold = true; in LowerBuildVectorv4x32() local
5261 for (unsigned i = EltIdx + 1; i < 4 && CanFold; ++i) { in LowerBuildVectorv4x32()
5269 CanFold = SrcVector == V1 && in LowerBuildVectorv4x32()
5273 if (!CanFold) in LowerBuildVectorv4x32()
5889 bool CanFold = true; in isHorizontalBinOp() local
5896 for (unsigned i = 0, e = NumElts; i != e && CanFold; ++i) { in isHorizontalBinOp()
5908 CanFold = Op->getOpcode() == Opcode && Op->hasOneUse(); in isHorizontalBinOp()
5910 if (!CanFold) in isHorizontalBinOp()
5918 CanFold = (Op0.getOpcode() == ISD::EXTRACT_VECTOR_ELT && in isHorizontalBinOp()
5923 if (!CanFold) in isHorizontalBinOp()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp3710 bool CanFold = true; in visitOR() local
3724 for (unsigned i = 0; i != NumElts && CanFold; ++i) { in visitOR()
3738 CanFold = false; in visitOR()
3746 if (CanFold) { in visitOR()