| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SeparateConstOffsetFromGEP.cpp | 717 BinaryOperator *NewBO = nullptr; in distributeExtsAndCloneChain() local 719 NewBO = BinaryOperator::Create(BO->getOpcode(), NextInChain, TheOther, in distributeExtsAndCloneChain() 722 NewBO = BinaryOperator::Create(BO->getOpcode(), TheOther, NextInChain, in distributeExtsAndCloneChain() 725 return UserChain[ChainIndex] = NewBO; in distributeExtsAndCloneChain() 770 BinaryOperator *NewBO; in removeConstOffset() local 772 NewBO = BinaryOperator::Create(NewOp, NextInChain, TheOther, "", IP); in removeConstOffset() 774 NewBO = BinaryOperator::Create(NewOp, TheOther, NextInChain, "", IP); in removeConstOffset() 776 NewBO->takeName(BO); in removeConstOffset() 777 return NewBO; in removeConstOffset()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 543 if (isa<FPMathOperator>(NewBO)) { in SimplifyAssociativeOrCommutative() 547 NewBO->setFastMathFlags(Flags); in SimplifyAssociativeOrCommutative() 549 InsertNewInstWith(NewBO, I.getIterator()); in SimplifyAssociativeOrCommutative() 550 NewBO->takeName(Op1); in SimplifyAssociativeOrCommutative() 551 replaceOperand(I, 0, NewBO); in SimplifyAssociativeOrCommutative() 1767 Value *NewBO = Builder.CreateBinOp(BO.getOpcode(), in foldBinopWithPhiOperands() local 1775 NewPhi->addIncoming(NewBO, OtherBB); in foldBinopWithPhiOperands() 1912 NewBO->copyIRFlags(&Inst); in foldVectorBinop() 1913 return NewBO; in foldVectorBinop() 2030 Value *NewBO = Builder.CreateBinOp(Opcode, X, Y); in foldVectorBinop() local [all …]
|
| H A D | InstCombineVectorOps.cpp | 2178 Instruction *NewBO = BinaryOperator::Create(BOpcode, X, NewC); in foldSelectShuffleWith1Binop() local 2179 NewBO->copyIRFlags(BO); in foldSelectShuffleWith1Binop() 2185 NewBO->dropPoisonGeneratingFlags(); in foldSelectShuffleWith1Binop() 2186 return NewBO; in foldSelectShuffleWith1Binop() 2341 Value *NewBO = ConstantsAreOp1 ? Builder.CreateBinOp(BOpc, V, NewC) : in foldSelectShuffle() local 2349 if (auto *NewI = dyn_cast<Instruction>(NewBO)) { in foldSelectShuffle() 2357 return replaceInstUsesWith(Shuf, NewBO); in foldSelectShuffle() 2760 Value *NewBO = Builder.CreateBinOp(BinOp->getOpcode(), X, Y); in simplifyBinOpSplats() local 2761 if (auto NewBOI = dyn_cast<Instruction>(NewBO)) in simplifyBinOpSplats() 2764 return new ShuffleVectorInst(NewBO, SVI.getShuffleMask()); in simplifyBinOpSplats()
|
| H A D | InstCombineCasts.cpp | 2304 Value *NewBO = Builder.CreateBinOp(BO->getOpcode(), CastedOp, Y); in foldBitCastBitwiseLogic() local 2305 return CastInst::CreateBitOrPointerCast(NewBO, DestTy); in foldBitCastBitwiseLogic() 2311 Value *NewBO = Builder.CreateBinOp(BO->getOpcode(), CastedOp, X); in foldBitCastBitwiseLogic() local 2312 return CastInst::CreateBitOrPointerCast(NewBO, DestTy); in foldBitCastBitwiseLogic()
|
| H A D | InstCombineAndOrXor.cpp | 1863 Value *NewBO = Opc == Instruction::Sub ? Builder.CreateBinOp(Opc, NewC, X) in narrowMaskedBinOp() local 1865 return new ZExtInst(Builder.CreateAnd(NewBO, X), Ty); in narrowMaskedBinOp() 2349 Value *NewBO = in visitAnd() local 2351 return new ZExtInst(NewBO, Ty); in visitAnd() 2359 Value *NewBO = in visitAnd() local 2361 return new ZExtInst(NewBO, Ty); in visitAnd()
|
| H A D | InstCombineSelect.cpp | 480 BinaryOperator *NewBO = BinaryOperator::Create(BO->getOpcode(), Op0, Op1); in foldSelectOpOp() local 481 NewBO->copyIRFlags(TI); in foldSelectOpOp() 482 NewBO->andIRFlags(FI); in foldSelectOpOp() 483 return NewBO; in foldSelectOpOp()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VectorCombine.cpp | 1400 Value *NewBO = Builder.CreateBinOp(Opcode, Shuf0, Shuf1); in foldShuffleOfBinops() local 1402 if (auto *NewInst = dyn_cast<Instruction>(NewBO)) { in foldShuffleOfBinops() 1406 replaceValue(I, *NewBO); in foldShuffleOfBinops()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ScalarEvolution.cpp | 7497 auto NewBO = MatchBinaryOp(BO->LHS, getDataLayout(), AC, DT, in getOperandsToCreate() local 7499 if (!NewBO || in getOperandsToCreate() 7501 (NewBO->Opcode != Instruction::Add && in getOperandsToCreate() 7502 NewBO->Opcode != Instruction::Sub)) || in getOperandsToCreate() 7504 NewBO->Opcode != Instruction::Mul)) { in getOperandsToCreate() 7517 BO = NewBO; in getOperandsToCreate() 7713 if (!NewBO || (NewBO->Opcode != Instruction::Add && in createSCEV() 7714 NewBO->Opcode != Instruction::Sub)) { in createSCEV() 7718 BO = NewBO; in createSCEV() 7745 if (!NewBO || NewBO->Opcode != Instruction::Mul) { in createSCEV() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 2508 SDValue NewBO = DAG.getNode(Opcode, SDLoc(N), VT, F0, FVal, N->getFlags()); in foldSelectWithIdentityConstant() local 2509 return DAG.getSelect(SDLoc(N), VT, Cond, F0, NewBO); in foldSelectWithIdentityConstant() 2514 SDValue NewBO = DAG.getNode(Opcode, SDLoc(N), VT, F0, TVal, N->getFlags()); in foldSelectWithIdentityConstant() local 2515 return DAG.getSelect(SDLoc(N), VT, Cond, NewBO, F0); in foldSelectWithIdentityConstant() 25438 SDValue NewBO = in visitVECTOR_SHUFFLE() local 25440 SDValue Insert = DAG.getNode(ISD::SCALAR_TO_VECTOR, DL, VT, NewBO); in visitVECTOR_SHUFFLE()
|