Home
last modified time | relevance | path

Searched refs:NewBO (Results 1 – 17 of 17) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DSeparateConstOffsetFromGEP.cpp627 BinaryOperator *NewBO = nullptr; in distributeExtsAndCloneChain() local
629 NewBO = BinaryOperator::Create(BO->getOpcode(), NextInChain, TheOther, in distributeExtsAndCloneChain()
632 NewBO = BinaryOperator::Create(BO->getOpcode(), TheOther, NextInChain, in distributeExtsAndCloneChain()
635 return UserChain[ChainIndex] = NewBO; in distributeExtsAndCloneChain()
680 BinaryOperator *NewBO; in removeConstOffset() local
682 NewBO = BinaryOperator::Create(NewOp, NextInChain, TheOther, "", IP); in removeConstOffset()
684 NewBO = BinaryOperator::Create(NewOp, TheOther, NextInChain, "", IP); in removeConstOffset()
686 NewBO->takeName(BO); in removeConstOffset()
687 return NewBO; in removeConstOffset()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSeparateConstOffsetFromGEP.cpp673 BinaryOperator *NewBO = nullptr; in distributeExtsAndCloneChain() local
675 NewBO = BinaryOperator::Create(BO->getOpcode(), NextInChain, TheOther, in distributeExtsAndCloneChain()
678 NewBO = BinaryOperator::Create(BO->getOpcode(), TheOther, NextInChain, in distributeExtsAndCloneChain()
681 return UserChain[ChainIndex] = NewBO; in distributeExtsAndCloneChain()
726 BinaryOperator *NewBO; in removeConstOffset() local
728 NewBO = BinaryOperator::Create(NewOp, NextInChain, TheOther, "", IP); in removeConstOffset()
730 NewBO = BinaryOperator::Create(NewOp, TheOther, NextInChain, "", IP); in removeConstOffset()
732 NewBO->takeName(BO); in removeConstOffset()
733 return NewBO; in removeConstOffset()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DSeparateConstOffsetFromGEP.cpp705 BinaryOperator *NewBO = nullptr; in distributeExtsAndCloneChain() local
707 NewBO = BinaryOperator::Create(BO->getOpcode(), NextInChain, TheOther, in distributeExtsAndCloneChain()
710 NewBO = BinaryOperator::Create(BO->getOpcode(), TheOther, NextInChain, in distributeExtsAndCloneChain()
713 return UserChain[ChainIndex] = NewBO; in distributeExtsAndCloneChain()
758 BinaryOperator *NewBO; in removeConstOffset() local
760 NewBO = BinaryOperator::Create(NewOp, NextInChain, TheOther, "", IP); in removeConstOffset()
762 NewBO = BinaryOperator::Create(NewOp, TheOther, NextInChain, "", IP); in removeConstOffset()
764 NewBO->takeName(BO); in removeConstOffset()
765 return NewBO; in removeConstOffset()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp1832 Instruction *NewBO = BinaryOperator::Create(BOpcode, X, NewC); in foldSelectShuffleWith1Binop() local
1833 NewBO->copyIRFlags(BO); in foldSelectShuffleWith1Binop()
1839 NewBO->dropPoisonGeneratingFlags(); in foldSelectShuffleWith1Binop()
1840 return NewBO; in foldSelectShuffleWith1Binop()
1990 Instruction *NewBO = ConstantsAreOp1 ? BinaryOperator::Create(BOpc, V, NewC) : in foldSelectShuffle() local
1998 NewBO->copyIRFlags(B0); in foldSelectShuffle()
1999 NewBO->andIRFlags(B1); in foldSelectShuffle()
2001 NewBO->setHasNoSignedWrap(false); in foldSelectShuffle()
2003 NewBO->dropPoisonGeneratingFlags(); in foldSelectShuffle()
2004 return NewBO; in foldSelectShuffle()
DInstructionCombining.cpp497 BinaryOperator *NewBO = (IsNUW && Opcode == Instruction::Add) ? in SimplifyAssociativeOrCommutative() local
501 if (isa<FPMathOperator>(NewBO)) { in SimplifyAssociativeOrCommutative()
505 NewBO->setFastMathFlags(Flags); in SimplifyAssociativeOrCommutative()
507 InsertNewInstWith(NewBO, I); in SimplifyAssociativeOrCommutative()
508 NewBO->takeName(Op1); in SimplifyAssociativeOrCommutative()
509 replaceOperand(I, 0, NewBO); in SimplifyAssociativeOrCommutative()
1597 Instruction *NewBO = BinaryOperator::Create(Opcode, V1, V2); in foldVectorBinop() local
1598 NewBO->copyIRFlags(&Inst); in foldVectorBinop()
1599 return NewBO; in foldVectorBinop()
1716 Value *NewBO = Builder.CreateBinOp(Opcode, X, Y); in foldVectorBinop() local
[all …]
DInstCombineSelect.cpp377 BinaryOperator *NewBO = BinaryOperator::Create(BO->getOpcode(), Op0, Op1); in foldSelectOpOp() local
378 NewBO->copyIRFlags(TI); in foldSelectOpOp()
379 NewBO->andIRFlags(FI); in foldSelectOpOp()
380 return NewBO; in foldSelectOpOp()
DInstCombineAndOrXor.cpp1684 Value *NewBO = Opc == Instruction::Sub ? Builder.CreateBinOp(Opc, NewC, X) in narrowMaskedBinOp() local
1686 return new ZExtInst(Builder.CreateAnd(NewBO, X), Ty); in narrowMaskedBinOp()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp1496 Instruction *NewBO = BinaryOperator::Create(BOpcode, X, NewC); in foldSelectShuffleWith1Binop() local
1497 NewBO->copyIRFlags(BO); in foldSelectShuffleWith1Binop()
1503 NewBO->dropPoisonGeneratingFlags(); in foldSelectShuffleWith1Binop()
1504 return NewBO; in foldSelectShuffleWith1Binop()
1652 Instruction *NewBO = ConstantsAreOp1 ? BinaryOperator::Create(BOpc, V, NewC) : in foldSelectShuffle() local
1660 NewBO->copyIRFlags(B0); in foldSelectShuffle()
1661 NewBO->andIRFlags(B1); in foldSelectShuffle()
1663 NewBO->setHasNoSignedWrap(false); in foldSelectShuffle()
1665 NewBO->dropPoisonGeneratingFlags(); in foldSelectShuffle()
1666 return NewBO; in foldSelectShuffle()
DInstructionCombining.cpp456 BinaryOperator *NewBO = (IsNUW && Opcode == Instruction::Add) ? in SimplifyAssociativeOrCommutative() local
460 if (isa<FPMathOperator>(NewBO)) { in SimplifyAssociativeOrCommutative()
464 NewBO->setFastMathFlags(Flags); in SimplifyAssociativeOrCommutative()
466 InsertNewInstWith(NewBO, I); in SimplifyAssociativeOrCommutative()
467 NewBO->takeName(Op1); in SimplifyAssociativeOrCommutative()
468 I.setOperand(0, NewBO); in SimplifyAssociativeOrCommutative()
1509 Instruction *NewBO = BinaryOperator::Create(Opcode, V1, V2); in foldVectorBinop() local
1510 NewBO->copyIRFlags(&Inst); in foldVectorBinop()
1511 return NewBO; in foldVectorBinop()
DInstCombineSelect.cpp399 BinaryOperator *NewBO = BinaryOperator::Create(BO->getOpcode(), Op0, Op1); in foldSelectOpOp() local
400 NewBO->copyIRFlags(TI); in foldSelectOpOp()
401 NewBO->andIRFlags(FI); in foldSelectOpOp()
402 return NewBO; in foldSelectOpOp()
DInstCombineAndOrXor.cpp1715 Value *NewBO = Opc == Instruction::Sub ? Builder.CreateBinOp(Opc, NewC, X) in narrowMaskedBinOp() local
1717 return new ZExtInst(Builder.CreateAnd(NewBO, X), Ty); in narrowMaskedBinOp()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1246 if (BinaryOperator *NewBO = dyn_cast<BinaryOperator>(BO)) in CreateBinOpAsGiven() local
1247 NewBO->copyIRFlags(&Inst); in CreateBinOpAsGiven()
1280 Value *NewBO = CreateBinOpAsGiven(Inst, LShuf->getOperand(0), in SimplifyVectorOp() local
1282 return Builder->CreateShuffleVector(NewBO, in SimplifyVectorOp()
1283 UndefValue::get(NewBO->getType()), LShuf->getMask()); in SimplifyVectorOp()
1321 Value *NewBO = CreateBinOpAsGiven(Inst, NewLHS, NewRHS, Builder); in SimplifyVectorOp() local
1322 return Builder->CreateShuffleVector(NewBO, in SimplifyVectorOp()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp4988 auto NewBO = MatchBinaryOp(BO->LHS, DT); in createSCEV() local
4989 if (!NewBO || (NewBO->Opcode != Instruction::Add && in createSCEV()
4990 NewBO->Opcode != Instruction::Sub)) { in createSCEV()
4994 BO = NewBO; in createSCEV()
5018 auto NewBO = MatchBinaryOp(BO->LHS, DT); in createSCEV() local
5019 if (!NewBO || NewBO->Opcode != Instruction::Mul) { in createSCEV()
5023 BO = NewBO; in createSCEV()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolution.cpp6237 auto NewBO = MatchBinaryOp(BO->LHS, DT); in createSCEV() local
6238 if (!NewBO || (NewBO->Opcode != Instruction::Add && in createSCEV()
6239 NewBO->Opcode != Instruction::Sub)) { in createSCEV()
6243 BO = NewBO; in createSCEV()
6267 auto NewBO = MatchBinaryOp(BO->LHS, DT); in createSCEV() local
6268 if (!NewBO || NewBO->Opcode != Instruction::Mul) { in createSCEV()
6272 BO = NewBO; in createSCEV()
/external/llvm-project/llvm/lib/Analysis/
DScalarEvolution.cpp6404 auto NewBO = MatchBinaryOp(BO->LHS, DT); in createSCEV() local
6405 if (!NewBO || (NewBO->Opcode != Instruction::Add && in createSCEV()
6406 NewBO->Opcode != Instruction::Sub)) { in createSCEV()
6410 BO = NewBO; in createSCEV()
6434 auto NewBO = MatchBinaryOp(BO->LHS, DT); in createSCEV() local
6435 if (!NewBO || NewBO->Opcode != Instruction::Mul) { in createSCEV()
6439 BO = NewBO; in createSCEV()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp19213 SDValue NewBO = DAG.getNode(N0.getOpcode(), DL, EltVT, ExtL, ExtR, in visitVECTOR_SHUFFLE() local
19215 SDValue Insert = DAG.getNode(ISD::SCALAR_TO_VECTOR, DL, VT, NewBO); in visitVECTOR_SHUFFLE()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp20636 SDValue NewBO = DAG.getNode(N0.getOpcode(), DL, EltVT, ExtL, ExtR, in visitVECTOR_SHUFFLE() local
20638 SDValue Insert = DAG.getNode(ISD::SCALAR_TO_VECTOR, DL, VT, NewBO); in visitVECTOR_SHUFFLE()