Home
last modified time | relevance | path

Searched refs:NewOr (Results 1 – 9 of 9) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp750 Value *NewOr = Builder->CreateOr(Val, Val2); in FoldAndOfICmps() local
751 return Builder->CreateICmp(LHSCC, NewOr, LHSCst); in FoldAndOfICmps()
756 Value *NewOr = Builder->CreateOr(Val, Val2); in FoldAndOfICmps() local
757 return Builder->CreateICmp(LHSCC, NewOr, LHSCst); in FoldAndOfICmps()
768 Value *NewOr = Builder->CreateOr(Val, Val2); in FoldAndOfICmps() local
769 return Builder->CreateICmp(LHSCC, NewOr, LHSCst); in FoldAndOfICmps()
1490 Value *NewOr = Builder->CreateOr(Val, Val2); in FoldOrOfICmps() local
1491 return Builder->CreateICmp(LHSCC, NewOr, LHSCst); in FoldOrOfICmps()
1496 Value *NewOr = Builder->CreateOr(Val, Val2); in FoldOrOfICmps() local
1497 return Builder->CreateICmp(LHSCC, NewOr, LHSCst); in FoldOrOfICmps()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp723 Value *NewOr = Builder->CreateOr(B, D); in foldLogOpOfMaskedICmps() local
724 Value *NewAnd = Builder->CreateAnd(A, NewOr); in foldLogOpOfMaskedICmps()
734 Value *NewOr = Builder->CreateOr(B, D); in foldLogOpOfMaskedICmps() local
735 Value *NewAnd = Builder->CreateAnd(A, NewOr); in foldLogOpOfMaskedICmps()
736 return Builder->CreateICmp(NewCC, NewAnd, NewOr); in foldLogOpOfMaskedICmps()
909 Value *NewOr = Builder->CreateOr(Val, Val2); in FoldAndOfICmps() local
910 return Builder->CreateICmp(LHSCC, NewOr, LHSCst); in FoldAndOfICmps()
1835 Value *NewOr = Builder->CreateOr(Val, Val2); in FoldOrOfICmps() local
1836 return Builder->CreateICmp(LHSCC, NewOr, LHSCst); in FoldOrOfICmps()
DInstCombineAddSub.cpp1004 Value *NewOr = Builder->CreateOr(Z, ~(*C1)); in checkForNegativeOperand() local
1005 return Builder->CreateSub(RHS, NewOr, "sub"); in checkForNegativeOperand()
1024 Value *NewOr = Builder->CreateOr(Z, ~(*C2)); in checkForNegativeOperand() local
1025 return Builder->CreateSub(RHS, NewOr, "sub"); in checkForNegativeOperand()
DInstCombineCompares.cpp1800 Value *NewOr = nullptr; in visitICmpInstWithInstAndIntCst() local
1804 NewOr = in visitICmpInstWithInstAndIntCst()
1808 NewOr = Builder->CreateOr(Builder->CreateShl(One, Y, in visitICmpInstWithInstAndIntCst()
1813 if (NewOr) { in visitICmpInstWithInstAndIntCst()
1814 Value *NewAnd = Builder->CreateAnd(X, NewOr, LHSI->getName()); in visitICmpInstWithInstAndIntCst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp654 Value *NewOr = Builder.CreateOr(B, D); in foldLogOpOfMaskedICmps() local
655 Value *NewAnd = Builder.CreateAnd(A, NewOr); in foldLogOpOfMaskedICmps()
665 Value *NewOr = Builder.CreateOr(B, D); in foldLogOpOfMaskedICmps() local
666 Value *NewAnd = Builder.CreateAnd(A, NewOr); in foldLogOpOfMaskedICmps()
667 return Builder.CreateICmp(NewCC, NewAnd, NewOr); in foldLogOpOfMaskedICmps()
953 Value *NewOr = Builder.CreateOr(LHS0, RHS0); in foldAndOfICmps() local
954 return Builder.CreateICmp(PredL, NewOr, LHSC); in foldAndOfICmps()
1904 Value *NewOr = Builder.CreateOr(LHS0, RHS0); in foldOrOfICmps() local
1905 return Builder.CreateICmp(PredL, NewOr, LHSC); in foldOrOfICmps()
DInstCombineAddSub.cpp894 Value *NewOr = Builder.CreateOr(Z, ~(*C1)); in checkForNegativeOperand() local
895 return Builder.CreateSub(RHS, NewOr, "sub"); in checkForNegativeOperand()
914 Value *NewOr = Builder.CreateOr(Z, ~(*C2)); in checkForNegativeOperand() local
915 return Builder.CreateSub(RHS, NewOr, "sub"); in checkForNegativeOperand()
DInstCombineCompares.cpp1655 Value *NewOr = nullptr; in foldICmpAndConstConst() local
1658 NewOr = ConstantExpr::getOr(ConstantExpr::getNUWShl(One, C), One); in foldICmpAndConstConst()
1661 NewOr = Builder.CreateOr(Builder.CreateShl(One, B, LShr->getName(), in foldICmpAndConstConst()
1665 if (NewOr) { in foldICmpAndConstConst()
1666 Value *NewAnd = Builder.CreateAnd(A, NewOr, And->getName()); in foldICmpAndConstConst()
/external/llvm/lib/Target/Hexagon/
DHexagonISelDAGToDAG.cpp1312 SDValue NewOr = DAG.getNode(ISD::OR, DLS, VT, SX, VOp); in PreprocessISelDAG() local
1313 SDValue NewSel = DAG.getNode(ISD::SELECT, DLS, VT, SC, NewOr, VOp); in PreprocessISelDAG()
1316 SDValue NewOr = DAG.getNode(ISD::OR, DLS, VT, SY, VOp); in PreprocessISelDAG() local
1317 SDValue NewSel = DAG.getNode(ISD::SELECT, DLS, VT, SC, VOp, NewOr); in PreprocessISelDAG()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonISelDAGToDAG.cpp1006 SDValue NewOr = DAG.getNode(ISD::OR, DLS, VT, SX, VOp); in ppSimplifyOrSelect0() local
1007 SDValue NewSel = DAG.getNode(ISD::SELECT, DLS, VT, SC, NewOr, VOp); in ppSimplifyOrSelect0()
1010 SDValue NewOr = DAG.getNode(ISD::OR, DLS, VT, SY, VOp); in ppSimplifyOrSelect0() local
1011 SDValue NewSel = DAG.getNode(ISD::SELECT, DLS, VT, SC, VOp, NewOr); in ppSimplifyOrSelect0()