Home
last modified time | relevance | path

Searched refs:NewAnd (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp150 Value *NewAnd = Builder.CreateAnd(X, AndRHS); in OptAndOp() local
151 NewAnd->takeName(Op); in OptAndOp()
152 return BinaryOperator::CreateXor(NewAnd, AndRHS); in OptAndOp()
513 Value *NewAnd = Builder.CreateAnd(A, NewMask); in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed() local
514 return Builder.CreateICmp(NewCC, NewAnd, NewMaskedValue); in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()
652 Value *NewAnd = Builder.CreateAnd(A, NewOr); in foldLogOpOfMaskedICmps() local
657 return Builder.CreateICmp(NewCC, NewAnd, Zero); in foldLogOpOfMaskedICmps()
663 Value *NewAnd = Builder.CreateAnd(A, NewOr); in foldLogOpOfMaskedICmps() local
664 return Builder.CreateICmp(NewCC, NewAnd, NewOr); in foldLogOpOfMaskedICmps()
741 Value *NewAnd = Builder.CreateAnd(A, NewOr1); in foldLogOpOfMaskedICmps() local
[all …]
DInstCombineSimplifyDemanded.cpp303 Instruction *NewAnd = BinaryOperator::CreateAnd(I->getOperand(0), AndC); in SimplifyDemandedUseBits() local
304 InsertNewInstWith(NewAnd, *I); in SimplifyDemandedUseBits()
308 Instruction *NewXor = BinaryOperator::CreateXor(NewAnd, XorC); in SimplifyDemandedUseBits()
DInstCombineCompares.cpp1707 Value *NewAnd = Builder.CreateAnd(Shift->getOperand(0), NewShift); in foldICmpAndShift() local
1708 Cmp.setOperand(0, NewAnd); in foldICmpAndShift()
1775 Value *NewAnd = Builder.CreateAnd(W, ZextC2, And->getName()); in foldICmpAndConstConst() local
1776 return new ICmpInst(Cmp.getPredicate(), NewAnd, ZextC1); in foldICmpAndConstConst()
1814 Value *NewAnd = Builder.CreateAnd(A, NewOr, And->getName()); in foldICmpAndConstConst() local
1815 Cmp.setOperand(0, NewAnd); in foldICmpAndConstConst()
DInstCombineAddSub.cpp794 Value *NewAnd = Builder.CreateAnd(Z, *C1); in checkForNegativeOperand() local
795 return Builder.CreateSub(RHS, NewAnd, "sub"); in checkForNegativeOperand()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp1721 SDValue NewAnd = DAG.getNode(ISD::AND, DL, VT, X, NewMask); in foldMaskedShiftToScaledMask() local
1722 SDValue NewShift = DAG.getNode(ISD::SHL, DL, VT, NewAnd, Shift.getOperand(1)); in foldMaskedShiftToScaledMask()
1730 insertDAGNode(DAG, N, NewAnd); in foldMaskedShiftToScaledMask()
1736 AM.IndexReg = NewAnd; in foldMaskedShiftToScaledMask()
1887 SDValue NewAnd = DAG.getNode(ISD::AND, DL, VT, NewSRL, NewMask); in foldMaskedShiftToBEXTR() local
1889 SDValue NewSHL = DAG.getNode(ISD::SHL, DL, VT, NewAnd, NewSHLAmt); in foldMaskedShiftToBEXTR()
1899 insertDAGNode(DAG, N, NewAnd); in foldMaskedShiftToBEXTR()
1906 AM.IndexReg = NewAnd; in foldMaskedShiftToBEXTR()
4009 SDValue NewAnd = CurDAG->getNode(ISD::AND, SDLoc(And), VT, And0, NewMask); in shrinkAndImmediate() local
4010 ReplaceNode(And, NewAnd.getNode()); in shrinkAndImmediate()
[all …]
DX86ISelLowering.cpp44192 SDValue NewAnd = DAG.getNode(ISD::AND, DL, IntVT, Op0->getOperand(0), in combineVectorCompareAndMaskUnaryOp() local
44194 SDValue Res = DAG.getBitcast(VT, NewAnd); in combineVectorCompareAndMaskUnaryOp()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp5916 auto *NewAnd = cast<Instruction>( in optimizeLoadExt() local
5920 InsertedInsts.insert(NewAnd); in optimizeLoadExt()
5924 Load->replaceAllUsesWith(NewAnd); in optimizeLoadExt()
5925 NewAnd->setOperand(0, Load); in optimizeLoadExt()
5932 And->replaceAllUsesWith(NewAnd); in optimizeLoadExt()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp2897 SDValue NewAnd = DAG.getNode(ISD::AND, SDLoc(N0), OpVT, NotX, Y); in foldSetCCWithAnd() local
2898 return DAG.getSetCC(DL, VT, NewAnd, Zero, Cond); in foldSetCCWithAnd()
DDAGCombiner.cpp5139 SDValue NewAnd = DAG.getNode(ISD::AND, DL, VT, X, Mask); in combineShiftAnd1ToBitTest() local
5141 SDValue Setcc = DAG.getSetCC(DL, CCVT, NewAnd, Zero, ISD::SETEQ); in combineShiftAnd1ToBitTest()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp9892 SDValue NewAnd = DAG.getNode(ISD::AND, DL, IntVT, in performVectorCompareAndMaskUnaryOpCombine() local
9894 SDValue Res = DAG.getNode(ISD::BITCAST, DL, VT, NewAnd); in performVectorCompareAndMaskUnaryOpCombine()