/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 151 Value *NewAnd = Builder.CreateAnd(X, AndRHS); in OptAndOp() local 152 NewAnd->takeName(Op); in OptAndOp() 153 return BinaryOperator::CreateXor(NewAnd, AndRHS); in OptAndOp() 516 Value *NewAnd = Builder.CreateAnd(A, NewMask); in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed() local 517 return Builder.CreateICmp(NewCC, NewAnd, NewMaskedValue); in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed() 655 Value *NewAnd = Builder.CreateAnd(A, NewOr); in foldLogOpOfMaskedICmps() local 660 return Builder.CreateICmp(NewCC, NewAnd, Zero); in foldLogOpOfMaskedICmps() 666 Value *NewAnd = Builder.CreateAnd(A, NewOr); in foldLogOpOfMaskedICmps() local 667 return Builder.CreateICmp(NewCC, NewAnd, NewOr); in foldLogOpOfMaskedICmps() 744 Value *NewAnd = Builder.CreateAnd(A, NewOr1); in foldLogOpOfMaskedICmps() local [all …]
|
D | InstCombineSimplifyDemanded.cpp | 302 Instruction *NewAnd = BinaryOperator::CreateAnd(I->getOperand(0), AndC); in SimplifyDemandedUseBits() local 303 InsertNewInstWith(NewAnd, *I); in SimplifyDemandedUseBits() 307 Instruction *NewXor = BinaryOperator::CreateXor(NewAnd, XorC); in SimplifyDemandedUseBits()
|
D | InstCombineCompares.cpp | 1589 Value *NewAnd = Builder.CreateAnd(Shift->getOperand(0), NewShift); in foldICmpAndShift() local 1590 Cmp.setOperand(0, NewAnd); in foldICmpAndShift() 1627 Value *NewAnd = Builder.CreateAnd(W, ZextC2, And->getName()); in foldICmpAndConstConst() local 1628 return new ICmpInst(Cmp.getPredicate(), NewAnd, ZextC1); in foldICmpAndConstConst() 1666 Value *NewAnd = Builder.CreateAnd(A, NewOr, And->getName()); in foldICmpAndConstConst() local 1667 Cmp.setOperand(0, NewAnd); in foldICmpAndConstConst()
|
D | InstCombineAddSub.cpp | 889 Value *NewAnd = Builder.CreateAnd(Z, *C1); in checkForNegativeOperand() local 890 return Builder.CreateSub(RHS, NewAnd, "sub"); in checkForNegativeOperand()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 215 Value *NewAnd = Builder->CreateAnd(X, AndRHS); in OptAndOp() local 216 NewAnd->takeName(Op); in OptAndOp() 217 return BinaryOperator::CreateXor(NewAnd, AndRHS); in OptAndOp() 724 Value *NewAnd = Builder->CreateAnd(A, NewOr); in foldLogOpOfMaskedICmps() local 729 return Builder->CreateICmp(NewCC, NewAnd, Zero); in foldLogOpOfMaskedICmps() 735 Value *NewAnd = Builder->CreateAnd(A, NewOr); in foldLogOpOfMaskedICmps() local 736 return Builder->CreateICmp(NewCC, NewAnd, NewOr); in foldLogOpOfMaskedICmps() 805 Value *NewAnd = Builder->CreateAnd(A, NewOr1); in foldLogOpOfMaskedICmps() local 806 return Builder->CreateICmp(NewCC, NewAnd, NewOr2); in foldLogOpOfMaskedICmps() 941 Value *NewAnd = Builder->CreateAnd(V, Low | AndCst->getValue()); in FoldAndOfICmps() local [all …]
|
D | InstCombineSimplifyDemanded.cpp | 393 Instruction *NewAnd = BinaryOperator::CreateAnd(I->getOperand(0), AndC); in SimplifyDemandedUseBits() local 394 InsertNewInstWith(NewAnd, *I); in SimplifyDemandedUseBits() 398 Instruction *NewXor = BinaryOperator::CreateXor(NewAnd, XorC); in SimplifyDemandedUseBits()
|
D | InstCombineCompares.cpp | 1653 Value *NewAnd = in visitICmpInstWithInstAndIntCst() local 1656 NewAnd->takeName(LHSI); in visitICmpInstWithInstAndIntCst() 1657 return new ICmpInst(ICI.getPredicate(), NewAnd, in visitICmpInstWithInstAndIntCst() 1669 Value *NewAnd = in visitICmpInstWithInstAndIntCst() local 1672 NewAnd->takeName(LHSI); in visitICmpInstWithInstAndIntCst() 1673 return new ICmpInst(ICI.getPredicate(), NewAnd, in visitICmpInstWithInstAndIntCst() 1774 Value *NewAnd = in visitICmpInstWithInstAndIntCst() local 1777 ICI.setOperand(0, NewAnd); in visitICmpInstWithInstAndIntCst() 1814 Value *NewAnd = Builder->CreateAnd(X, NewOr, LHSI->getName()); in visitICmpInstWithInstAndIntCst() local 1815 ICI.setOperand(0, NewAnd); in visitICmpInstWithInstAndIntCst()
|
D | InstCombineAddSub.cpp | 999 Value *NewAnd = Builder->CreateAnd(Z, *C1); in checkForNegativeOperand() local 1000 return Builder->CreateSub(RHS, NewAnd, "sub"); in checkForNegativeOperand()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 259 Value *NewAnd = Builder->CreateAnd(X, AndRHS); in OptAndOp() local 260 NewAnd->takeName(Op); in OptAndOp() 261 return BinaryOperator::CreateXor(NewAnd, AndRHS); in OptAndOp() 762 Value *NewAnd = Builder->CreateAnd(Val, Val2); in FoldAndOfICmps() local 763 return Builder->CreateICmp(LHSCC, NewAnd, LHSCst); in FoldAndOfICmps() 801 Value *NewAnd = Builder->CreateAnd(V, Low | AndCst->getValue()); in FoldAndOfICmps() local 804 return Builder->CreateICmp(LHSCC, NewAnd, NewVal); in FoldAndOfICmps() 1502 Value *NewAnd = Builder->CreateAnd(Val, Val2); in FoldOrOfICmps() local 1503 return Builder->CreateICmp(LHSCC, NewAnd, LHSCst); in FoldOrOfICmps()
|
D | InstCombineCompares.cpp | 1090 Value *NewAnd = in visitICmpInstWithInstAndIntCst() local 1093 NewAnd->takeName(LHSI); in visitICmpInstWithInstAndIntCst() 1094 return new ICmpInst(ICI.getPredicate(), NewAnd, in visitICmpInstWithInstAndIntCst() 1106 Value *NewAnd = in visitICmpInstWithInstAndIntCst() local 1109 NewAnd->takeName(LHSI); in visitICmpInstWithInstAndIntCst() 1110 return new ICmpInst(ICI.getPredicate(), NewAnd, in visitICmpInstWithInstAndIntCst() 1196 Value *NewAnd = in visitICmpInstWithInstAndIntCst() local 1199 ICI.setOperand(0, NewAnd); in visitICmpInstWithInstAndIntCst()
|
D | InstCombineSimplifyDemanded.cpp | 353 Instruction *NewAnd = BinaryOperator::CreateAnd(I->getOperand(0), AndC); in SimplifyDemandedUseBits() local 354 InsertNewInstWith(NewAnd, *I); in SimplifyDemandedUseBits() 358 Instruction *NewXor = BinaryOperator::CreateXor(NewAnd, XorC); in SimplifyDemandedUseBits()
|
D | InstCombineCasts.cpp | 871 Value *NewAnd = Builder->CreateAnd(TI0, ZC); in visitZExt() local 872 return BinaryOperator::CreateXor(NewAnd, ZC); in visitZExt()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86ISelDAGToDAG.cpp | 1201 SDValue NewAnd = DAG.getNode(ISD::AND, DL, VT, X, NewMask); in foldMaskedShiftToScaledMask() local 1202 SDValue NewShift = DAG.getNode(ISD::SHL, DL, VT, NewAnd, Shift.getOperand(1)); in foldMaskedShiftToScaledMask() 1210 insertDAGNode(DAG, N, NewAnd); in foldMaskedShiftToScaledMask() 1215 AM.IndexReg = NewAnd; in foldMaskedShiftToScaledMask() 2754 SDValue NewAnd = CurDAG->getNode(ISD::AND, SDLoc(And), VT, And0, NewMask); in shrinkAndImmediate() local 2755 ReplaceNode(And, NewAnd.getNode()); in shrinkAndImmediate() 2756 SelectCode(NewAnd.getNode()); in shrinkAndImmediate()
|
D | X86ISelLowering.cpp | 38384 SDValue NewAnd = DAG.getNode(ISD::AND, DL, IntVT, in combineVectorCompareAndMaskUnaryOp() local 38386 SDValue Res = DAG.getBitcast(VT, NewAnd); in combineVectorCompareAndMaskUnaryOp()
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 4511 auto *NewAnd = dyn_cast<Instruction>( in optimizeLoadExt() local 4516 Load->replaceAllUsesWith(NewAnd); in optimizeLoadExt() 4517 NewAnd->setOperand(0, Load); in optimizeLoadExt() 4524 And->replaceAllUsesWith(NewAnd); in optimizeLoadExt() 5434 BinaryOperator *NewAnd = in sinkAndCmp() local 5438 CmpInst::Create(Cmp->getOpcode(), Cmp->getPredicate(), NewAnd, Zero, in sinkAndCmp()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelDAGToDAG.cpp | 983 SDValue NewAnd = DAG.getNode(ISD::AND, DL, VT, X, NewMask); in foldMaskedShiftToScaledMask() local 984 SDValue NewShift = DAG.getNode(ISD::SHL, DL, VT, NewAnd, Shift.getOperand(1)); in foldMaskedShiftToScaledMask() 992 insertDAGNode(DAG, N, NewAnd); in foldMaskedShiftToScaledMask() 997 AM.IndexReg = NewAnd; in foldMaskedShiftToScaledMask()
|
D | X86ISelLowering.cpp | 30482 SDValue NewAnd = DAG.getNode(ISD::AND, DL, IntVT, in combineVectorCompareAndMaskUnaryOp() local 30484 SDValue Res = DAG.getBitcast(VT, NewAnd); in combineVectorCompareAndMaskUnaryOp()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 5491 auto *NewAnd = dyn_cast<Instruction>( in optimizeLoadExt() local 5495 InsertedInsts.insert(NewAnd); in optimizeLoadExt() 5499 Load->replaceAllUsesWith(NewAnd); in optimizeLoadExt() 5500 NewAnd->setOperand(0, Load); in optimizeLoadExt() 5507 And->replaceAllUsesWith(NewAnd); in optimizeLoadExt()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 1333 SDValue NewAnd = DAG.getNode(ISD::AND, SDLoc(N0), OpVT, NotX, Y); in simplifySetCCWithAnd() local 1334 return DAG.getSetCC(DL, VT, NewAnd, Zero, Cond); in simplifySetCCWithAnd()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 1847 SDValue NewAnd = DAG.getNode(ISD::AND, SDLoc(N0), OpVT, NotX, Y); in simplifySetCCWithAnd() local 1848 return DAG.getSetCC(DL, VT, NewAnd, Zero, Cond); in simplifySetCCWithAnd()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 7634 SDValue NewAnd = DAG.getNode(ISD::AND, DL, IntVT, in performVectorCompareAndMaskUnaryOpCombine() local 7636 SDValue Res = DAG.getNode(ISD::BITCAST, DL, VT, NewAnd); in performVectorCompareAndMaskUnaryOpCombine()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 8792 SDValue NewAnd = DAG.getNode(ISD::AND, DL, IntVT, in performVectorCompareAndMaskUnaryOpCombine() local 8794 SDValue Res = DAG.getNode(ISD::BITCAST, DL, VT, NewAnd); in performVectorCompareAndMaskUnaryOpCombine()
|