/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/ |
H A D | SeparateConstOffsetFromGEP.cpp | 704 BinaryOperator *NewBO = nullptr; in distributeExtsAndCloneChain() local 706 NewBO = BinaryOperator::Create(BO->getOpcode(), NextInChain, TheOther, in distributeExtsAndCloneChain() 709 NewBO = BinaryOperator::Create(BO->getOpcode(), TheOther, NextInChain, in distributeExtsAndCloneChain() 712 return UserChain[ChainIndex] = NewBO; in distributeExtsAndCloneChain() 757 BinaryOperator *NewBO; in removeConstOffset() local 759 NewBO = BinaryOperator::Create(NewOp, NextInChain, TheOther, "", IP); in removeConstOffset() 761 NewBO = BinaryOperator::Create(NewOp, TheOther, NextInChain, "", IP); in removeConstOffset() 763 NewBO->takeName(BO); in removeConstOffset() 764 return NewBO; in removeConstOffset()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 542 if (isa<FPMathOperator>(NewBO)) { in SimplifyAssociativeOrCommutative() 546 NewBO->setFastMathFlags(Flags); in SimplifyAssociativeOrCommutative() 548 InsertNewInstWith(NewBO, I); in SimplifyAssociativeOrCommutative() 549 NewBO->takeName(Op1); in SimplifyAssociativeOrCommutative() 550 replaceOperand(I, 0, NewBO); in SimplifyAssociativeOrCommutative() 1090 if (auto *NewBOI = dyn_cast<Instruction>(NewBO)) in foldOperationIntoSelectOperand() 1092 return NewBO; in foldOperationIntoSelectOperand() 1350 Value *NewBO = Builder.CreateBinOp(BO.getOpcode(), in foldBinopWithPhiOperands() local 1358 NewPhi->addIncoming(NewBO, OtherBB); in foldBinopWithPhiOperands() 1759 NewBO->copyIRFlags(&Inst); in foldVectorBinop() [all …]
|
H A D | InstCombineVectorOps.cpp | 2151 Instruction *NewBO = BinaryOperator::Create(BOpcode, X, NewC); in foldSelectShuffleWith1Binop() local 2152 NewBO->copyIRFlags(BO); in foldSelectShuffleWith1Binop() 2158 NewBO->dropPoisonGeneratingFlags(); in foldSelectShuffleWith1Binop() 2159 return NewBO; in foldSelectShuffleWith1Binop() 2315 Value *NewBO = ConstantsAreOp1 ? Builder.CreateBinOp(BOpc, V, NewC) : in foldSelectShuffle() local 2323 if (auto *NewI = dyn_cast<Instruction>(NewBO)) { in foldSelectShuffle() 2331 return replaceInstUsesWith(Shuf, NewBO); in foldSelectShuffle() 2719 Value *NewBO = Builder.CreateBinOp(BinOp->getOpcode(), X, Y); in simplifyBinOpSplats() local 2720 if (auto NewBOI = dyn_cast<Instruction>(NewBO)) in simplifyBinOpSplats() 2723 return new ShuffleVectorInst(NewBO, SVI.getShuffleMask()); in simplifyBinOpSplats()
|
H A D | InstCombineCasts.cpp | 2415 Value *NewBO = Builder.CreateBinOp(BO->getOpcode(), CastedOp, Y); in foldBitCastBitwiseLogic() local 2416 return CastInst::CreateBitOrPointerCast(NewBO, DestTy); in foldBitCastBitwiseLogic() 2422 Value *NewBO = Builder.CreateBinOp(BO->getOpcode(), CastedOp, X); in foldBitCastBitwiseLogic() local 2423 return CastInst::CreateBitOrPointerCast(NewBO, DestTy); in foldBitCastBitwiseLogic()
|
H A D | InstCombineAndOrXor.cpp | 1712 Value *NewBO = Opc == Instruction::Sub ? Builder.CreateBinOp(Opc, NewC, X) in narrowMaskedBinOp() local 1714 return new ZExtInst(Builder.CreateAnd(NewBO, X), Ty); in narrowMaskedBinOp() 2095 Value *NewBO = in visitAnd() local 2097 return new ZExtInst(NewBO, Ty); in visitAnd() 2105 Value *NewBO = in visitAnd() local 2107 return new ZExtInst(NewBO, Ty); in visitAnd()
|
H A D | InstCombineSelect.cpp | 438 BinaryOperator *NewBO = BinaryOperator::Create(BO->getOpcode(), Op0, Op1); in foldSelectOpOp() local 439 NewBO->copyIRFlags(TI); in foldSelectOpOp() 440 NewBO->andIRFlags(FI); in foldSelectOpOp() 441 return NewBO; in foldSelectOpOp()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/Vectorize/ |
H A D | VectorCombine.cpp | 1257 Value *NewBO = Builder.CreateBinOp(Opcode, Shuf0, Shuf1); in foldShuffleOfBinops() local 1259 if (auto *NewInst = dyn_cast<Instruction>(NewBO)) { in foldShuffleOfBinops() 1263 replaceValue(I, *NewBO); in foldShuffleOfBinops()
|
/openbsd/gnu/llvm/llvm/lib/Analysis/ |
H A D | ScalarEvolution.cpp | 7480 if (!NewBO || in getOperandsToCreate() 7482 (NewBO->Opcode != Instruction::Add && in getOperandsToCreate() 7483 NewBO->Opcode != Instruction::Sub)) || in getOperandsToCreate() 7485 NewBO->Opcode != Instruction::Mul)) { in getOperandsToCreate() 7491 if (NewBO->Op && (NewBO->IsNSW || NewBO->IsNUW)) { in getOperandsToCreate() 7492 auto *I = dyn_cast<Instruction>(NewBO->Op); in getOperandsToCreate() 7498 BO = NewBO; in getOperandsToCreate() 7694 if (!NewBO || (NewBO->Opcode != Instruction::Add && in createSCEV() 7699 BO = NewBO; in createSCEV() 7726 if (!NewBO || NewBO->Opcode != Instruction::Mul) { in createSCEV() [all …]
|
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
H A D | DAGCombiner.cpp | 2224 SDValue NewBO = DAG.getNode(Opcode, SDLoc(N), VT, F0, FVal, N->getFlags()); in foldSelectWithIdentityConstant() local 2225 return DAG.getSelect(SDLoc(N), VT, Cond, F0, NewBO); in foldSelectWithIdentityConstant() 2230 SDValue NewBO = DAG.getNode(Opcode, SDLoc(N), VT, F0, TVal, N->getFlags()); in foldSelectWithIdentityConstant() local 2231 return DAG.getSelect(SDLoc(N), VT, Cond, NewBO, F0); in foldSelectWithIdentityConstant() 23870 SDValue NewBO = in visitVECTOR_SHUFFLE() local 23872 SDValue Insert = DAG.getNode(ISD::SCALAR_TO_VECTOR, DL, VT, NewBO); in visitVECTOR_SHUFFLE()
|