Lines Matching refs:InstCombinerImpl
193 Value *InstCombinerImpl::EmitGEPOffset(User *GEP) { in EmitGEPOffset()
202 bool InstCombinerImpl::isDesirableIntType(unsigned BitWidth) const { in isDesirableIntType()
221 bool InstCombinerImpl::shouldChangeType(unsigned FromWidth, in shouldChangeType()
249 bool InstCombinerImpl::shouldChangeType(Type *From, Type *To) const { in shouldChangeType()
318 InstCombinerImpl &IC) { in simplifyAssocCastAssoc()
366 Value *InstCombinerImpl::simplifyIntToPtrRoundTripCast(Value *Val) { in simplifyIntToPtrRoundTripCast()
402 bool InstCombinerImpl::SimplifyAssociativeOrCommutative(BinaryOperator &I) { in SimplifyAssociativeOrCommutative()
751 Instruction *InstCombinerImpl::tryFoldInstWithCtpopWithNot(Instruction *I) { in tryFoldInstWithCtpopWithNot()
853 Instruction *InstCombinerImpl::foldBinOpShiftWithShift(BinaryOperator &I) { in foldBinOpShiftWithShift()
1000 InstCombinerImpl::foldBinOpOfSelectAndCastOfSelectCondition(BinaryOperator &I) { in foldBinOpOfSelectAndCastOfSelectCondition()
1059 Value *InstCombinerImpl::tryFactorizationFolds(BinaryOperator &I) { in tryFactorizationFolds()
1102 Value *InstCombinerImpl::foldUsingDistributiveLaws(BinaryOperator &I) { in foldUsingDistributiveLaws()
1222 InstCombinerImpl::matchSymmetricPair(Value *LHS, Value *RHS) { in matchSymmetricPair()
1258 Value *InstCombinerImpl::SimplifySelectsFeedingBinaryOp(BinaryOperator &I, in SimplifySelectsFeedingBinaryOp()
1338 void InstCombinerImpl::freelyInvertAllUsersOf(Value *I, Value *IgnoredUser) { in freelyInvertAllUsersOf()
1367 Value *InstCombinerImpl::dyn_castNegVal(Value *V) const { in dyn_castNegVal()
1407 Instruction *InstCombinerImpl::foldBinopOfSextBoolToSelect(BinaryOperator &BO) { in foldBinopOfSextBoolToSelect()
1463 Instruction *InstCombinerImpl::FoldOpIntoSelect(Instruction &Op, SelectInst *SI, in FoldOpIntoSelect()
1563 Instruction *InstCombinerImpl::foldOpIntoPhi(Instruction &I, PHINode *PN) { in foldOpIntoPhi()
1669 Instruction *InstCombinerImpl::foldBinopWithPhiOperands(BinaryOperator &BO) { in foldBinopWithPhiOperands()
1780 Instruction *InstCombinerImpl::foldBinOpIntoSelectOrPhi(BinaryOperator &I) { in foldBinOpIntoSelectOrPhi()
1804 Instruction *InstCombinerImpl::foldVectorBinop(BinaryOperator &Inst) { in foldVectorBinop()
2052 Instruction *InstCombinerImpl::narrowMathIfNoOverflow(BinaryOperator &BO) { in narrowMathIfNoOverflow()
2140 Instruction *InstCombinerImpl::visitGEPOfGEP(GetElementPtrInst &GEP, in visitGEPOfGEP()
2382 Instruction *InstCombinerImpl::visitGetElementPtrInst(GetElementPtrInst &GEP) { in visitGetElementPtrInst()
2831 Instruction *InstCombinerImpl::visitAllocSite(Instruction &MI) { in visitAllocSite()
3047 Instruction *InstCombinerImpl::visitFree(CallInst &FI, Value *Op) { in visitFree()
3087 Instruction *InstCombinerImpl::visitReturnInst(ReturnInst &RI) { in visitReturnInst()
3093 bool InstCombinerImpl::removeInstructionsBeforeUnreachable(Instruction &I) { in removeInstructionsBeforeUnreachable()
3120 Instruction *InstCombinerImpl::visitUnreachableInst(UnreachableInst &I) { in visitUnreachableInst()
3125 Instruction *InstCombinerImpl::visitUnconditionalBranchInst(BranchInst &BI) { in visitUnconditionalBranchInst()
3154 void InstCombinerImpl::addDeadEdge(BasicBlock *From, BasicBlock *To, in addDeadEdge()
3173 void InstCombinerImpl::handleUnreachableFrom( in handleUnreachableFrom()
3200 void InstCombinerImpl::handlePotentiallyDeadBlocks( in handlePotentiallyDeadBlocks()
3213 void InstCombinerImpl::handlePotentiallyDeadSuccessors(BasicBlock *BB, in handlePotentiallyDeadSuccessors()
3227 Instruction *InstCombinerImpl::visitBranchInst(BranchInst &BI) { in visitBranchInst()
3284 Instruction *InstCombinerImpl::visitSwitchInst(SwitchInst &SI) { in visitSwitchInst()
3403 InstCombinerImpl::foldExtractOfOverflowIntrinsic(ExtractValueInst &EV) { in foldExtractOfOverflowIntrinsic()
3477 Instruction *InstCombinerImpl::visitExtractValueInst(ExtractValueInst &EV) { in visitExtractValueInst()
3627 Instruction *InstCombinerImpl::visitLandingPadInst(LandingPadInst &LI) { in visitLandingPadInst()
3937 InstCombinerImpl::pushFreezeToPreventPoisonFromPropagating(FreezeInst &OrigFI) { in pushFreezeToPreventPoisonFromPropagating()
3997 Instruction *InstCombinerImpl::foldFreezeIntoRecurrence(FreezeInst &FI, in foldFreezeIntoRecurrence()
4065 bool InstCombinerImpl::freezeOtherUses(FreezeInst &FI) { in freezeOtherUses()
4120 Instruction *InstCombinerImpl::visitFreeze(FreezeInst &I) { in visitFreeze()
4239 bool InstCombinerImpl::tryToSinkInstruction(Instruction *I, in tryToSinkInstruction()
4372 bool InstCombinerImpl::run() { in run()
4614 bool InstCombinerImpl::prepareWorklist( in prepareWorklist()
4795 InstCombinerImpl IC(Worklist, Builder, F.hasMinSize(), AA, AC, TLI, TTI, DT, in combineInstructionsOverFunction()