Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1693 bool CanFold = false; in visitICmpInstWithInstAndIntCst() local
1698 CanFold = false; in visitICmpInstWithInstAndIntCst()
1706 CanFold = true; in visitICmpInstWithInstAndIntCst()
1714 CanFold = true; in visitICmpInstWithInstAndIntCst()
1722 CanFold = true; in visitICmpInstWithInstAndIntCst()
1726 if (CanFold) { in visitICmpInstWithInstAndIntCst()
/external/llvm-project/polly/lib/Analysis/
DScopBuilder.cpp2425 bool CanFold = true; in foldSizeConstantsToRight() local
2427 CanFold = false; in foldSizeConstantsToRight()
2432 CanFold = false; in foldSizeConstantsToRight()
2434 if (!CanFold) in foldSizeConstantsToRight()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1648 bool CanFold = false; in foldICmpAndShift() local
1655 CanFold = true; in foldICmpAndShift()
1669 CanFold = true; in foldICmpAndShift()
1673 if (CanFold) { in foldICmpAndShift()
3572 auto CanFold = [NewShAmt, WidestBitWidth, NarrowestShift, SQ, in foldShiftIntoShiftInAnotherHandOfAndInICmp() local
3615 if (!CanFold()) in foldShiftIntoShiftInAnotherHandOfAndInICmp()
/external/llvm-project/clang/include/clang/Sema/
DSema.h11712 AllowFoldKind CanFold = NoFold);
11715 AllowFoldKind CanFold = NoFold);
11718 AllowFoldKind CanFold = NoFold);
11720 AllowFoldKind CanFold = NoFold) {
11721 return VerifyIntegerConstantExpression(E, nullptr, CanFold);
/external/llvm-project/clang/lib/Sema/
DSemaExpr.cpp15994 AllowFoldKind CanFold) { in VerifyIntegerConstantExpression() argument
16007 return VerifyIntegerConstantExpression(E, Result, Diagnoser, CanFold); in VerifyIntegerConstantExpression()
16013 AllowFoldKind CanFold) { in VerifyIntegerConstantExpression() argument
16026 return VerifyIntegerConstantExpression(E, Result, Diagnoser, CanFold); in VerifyIntegerConstantExpression()
16043 AllowFoldKind CanFold) { in VerifyIntegerConstantExpression() argument
16161 if (!Folded || !CanFold) { in VerifyIntegerConstantExpression()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp3615 auto CanFold = [NewShAmt, WidestBitWidth, NarrowestShift, SQ, in foldShiftIntoShiftInAnotherHandOfAndInICmp() local
3658 if (!CanFold()) in foldShiftIntoShiftInAnotherHandOfAndInICmp()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp7892 bool CanFold = true; in LowerBuildVectorv4x32() local
7893 for (unsigned i = EltIdx + 1; i < 4 && CanFold; ++i) { in LowerBuildVectorv4x32()
7901 CanFold = (SrcVector == V1) && (Current.getConstantOperandAPInt(1) == i); in LowerBuildVectorv4x32()
7904 if (!CanFold) in LowerBuildVectorv4x32()
8873 bool CanFold = true; in isHorizontalBinOpPart() local
8880 for (unsigned i = 0, e = NumElts; i != e && CanFold; ++i) { in isHorizontalBinOpPart()
8892 CanFold = Op->getOpcode() == Opcode && Op->hasOneUse(); in isHorizontalBinOpPart()
8894 if (!CanFold) in isHorizontalBinOpPart()
8902 CanFold = (Op0.getOpcode() == ISD::EXTRACT_VECTOR_ELT && in isHorizontalBinOpPart()
8907 if (!CanFold) in isHorizontalBinOpPart()
[all …]
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelLowering.cpp8183 bool CanFold = true; in LowerBuildVectorv4x32() local
8184 for (unsigned i = EltIdx + 1; i < 4 && CanFold; ++i) { in LowerBuildVectorv4x32()
8192 CanFold = (SrcVector == V1) && (Current.getConstantOperandAPInt(1) == i); in LowerBuildVectorv4x32()
8195 if (!CanFold) in LowerBuildVectorv4x32()
9147 bool CanFold = true; in isHorizontalBinOpPart() local
9154 for (unsigned i = 0, e = NumElts; i != e && CanFold; ++i) { in isHorizontalBinOpPart()
9166 CanFold = Op->getOpcode() == Opcode && Op->hasOneUse(); in isHorizontalBinOpPart()
9168 if (!CanFold) in isHorizontalBinOpPart()
9176 CanFold = (Op0.getOpcode() == ISD::EXTRACT_VECTOR_ELT && in isHorizontalBinOpPart()
9181 if (!CanFold) in isHorizontalBinOpPart()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp3754 bool CanFold = true; in visitOR() local
3775 CanFold = false; in visitOR()
3788 if (CanFold) { in visitOR()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp5829 bool CanFold = true; in visitOR() local
5850 CanFold = false; in visitOR()
5863 if (CanFold) { in visitOR()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp6240 bool CanFold = true; in visitOR() local
6261 CanFold = false; in visitOR()
6274 if (CanFold) { in visitOR()