Lines Matching refs:InstCombinerImpl
193 Value *InstCombinerImpl::EmitGEPOffset(GEPOperator *GEP, bool RewriteGEP) { in EmitGEPOffset()
220 bool InstCombinerImpl::isDesirableIntType(unsigned BitWidth) const { in isDesirableIntType()
239 bool InstCombinerImpl::shouldChangeType(unsigned FromWidth, in shouldChangeType()
267 bool InstCombinerImpl::shouldChangeType(Type *From, Type *To) const { in shouldChangeType()
336 InstCombinerImpl &IC) { in simplifyAssocCastAssoc()
384 Value *InstCombinerImpl::simplifyIntToPtrRoundTripCast(Value *Val) { in simplifyIntToPtrRoundTripCast()
420 bool InstCombinerImpl::SimplifyAssociativeOrCommutative(BinaryOperator &I) { in SimplifyAssociativeOrCommutative()
771 Instruction *InstCombinerImpl::tryFoldInstWithCtpopWithNot(Instruction *I) { in tryFoldInstWithCtpopWithNot()
876 Instruction *InstCombinerImpl::foldBinOpShiftWithShift(BinaryOperator &I) { in foldBinOpShiftWithShift()
1023 InstCombinerImpl::foldBinOpOfSelectAndCastOfSelectCondition(BinaryOperator &I) { in foldBinOpOfSelectAndCastOfSelectCondition()
1082 Value *InstCombinerImpl::tryFactorizationFolds(BinaryOperator &I) { in tryFactorizationFolds()
1125 Value *InstCombinerImpl::foldUsingDistributiveLaws(BinaryOperator &I) { in foldUsingDistributiveLaws()
1245 InstCombinerImpl::matchSymmetricPair(Value *LHS, Value *RHS) { in matchSymmetricPair()
1281 Value *InstCombinerImpl::SimplifySelectsFeedingBinaryOp(BinaryOperator &I, in SimplifySelectsFeedingBinaryOp()
1361 void InstCombinerImpl::freelyInvertAllUsersOf(Value *I, Value *IgnoredUser) { in freelyInvertAllUsersOf()
1394 Value *InstCombinerImpl::dyn_castNegVal(Value *V) const { in dyn_castNegVal()
1438 Instruction *InstCombinerImpl::foldFBinOpOfIntCastsFromSign( in foldFBinOpOfIntCastsFromSign()
1598 Instruction *InstCombinerImpl::foldFBinOpOfIntCasts(BinaryOperator &BO) { in foldFBinOpOfIntCasts()
1629 Instruction *InstCombinerImpl::foldBinopOfSextBoolToSelect(BinaryOperator &BO) { in foldBinopOfSextBoolToSelect()
1685 Instruction *InstCombinerImpl::FoldOpIntoSelect(Instruction &Op, SelectInst *SI, in FoldOpIntoSelect()
1770 Instruction *InstCombinerImpl::foldOpIntoPhi(Instruction &I, PHINode *PN) { in foldOpIntoPhi()
1876 Instruction *InstCombinerImpl::foldBinopWithPhiOperands(BinaryOperator &BO) { in foldBinopWithPhiOperands()
1987 Instruction *InstCombinerImpl::foldBinOpIntoSelectOrPhi(BinaryOperator &I) { in foldBinOpIntoSelectOrPhi()
2011 Instruction *InstCombinerImpl::foldVectorBinop(BinaryOperator &Inst) { in foldVectorBinop()
2259 Instruction *InstCombinerImpl::narrowMathIfNoOverflow(BinaryOperator &BO) { in narrowMathIfNoOverflow()
2347 InstCombinerImpl &IC) { in canonicalizeGEPOfConstGEPI8()
2379 Instruction *InstCombinerImpl::visitGEPOfGEP(GetElementPtrInst &GEP, in visitGEPOfGEP()
2709 Instruction *InstCombinerImpl::visitGetElementPtrInst(GetElementPtrInst &GEP) { in visitGetElementPtrInst()
3236 Instruction *InstCombinerImpl::visitAllocSite(Instruction &MI) { in visitAllocSite()
3452 Instruction *InstCombinerImpl::visitFree(CallInst &FI, Value *Op) { in visitFree()
3492 Instruction *InstCombinerImpl::visitReturnInst(ReturnInst &RI) { in visitReturnInst()
3512 bool InstCombinerImpl::removeInstructionsBeforeUnreachable(Instruction &I) { in removeInstructionsBeforeUnreachable()
3539 Instruction *InstCombinerImpl::visitUnreachableInst(UnreachableInst &I) { in visitUnreachableInst()
3544 Instruction *InstCombinerImpl::visitUnconditionalBranchInst(BranchInst &BI) { in visitUnconditionalBranchInst()
3573 void InstCombinerImpl::addDeadEdge(BasicBlock *From, BasicBlock *To, in addDeadEdge()
3592 void InstCombinerImpl::handleUnreachableFrom( in handleUnreachableFrom()
3622 void InstCombinerImpl::handlePotentiallyDeadBlocks( in handlePotentiallyDeadBlocks()
3635 void InstCombinerImpl::handlePotentiallyDeadSuccessors(BasicBlock *BB, in handlePotentiallyDeadSuccessors()
3649 Instruction *InstCombinerImpl::visitBranchInst(BranchInst &BI) { in visitBranchInst()
3744 Instruction *InstCombinerImpl::visitSwitchInst(SwitchInst &SI) { in visitSwitchInst()
3873 InstCombinerImpl::foldExtractOfOverflowIntrinsic(ExtractValueInst &EV) { in foldExtractOfOverflowIntrinsic()
3958 Instruction *InstCombinerImpl::visitExtractValueInst(ExtractValueInst &EV) { in visitExtractValueInst()
4115 Instruction *InstCombinerImpl::visitLandingPadInst(LandingPadInst &LI) { in visitLandingPadInst()
4425 InstCombinerImpl::pushFreezeToPreventPoisonFromPropagating(FreezeInst &OrigFI) { in pushFreezeToPreventPoisonFromPropagating()
4485 Instruction *InstCombinerImpl::foldFreezeIntoRecurrence(FreezeInst &FI, in foldFreezeIntoRecurrence()
4553 bool InstCombinerImpl::freezeOtherUses(FreezeInst &FI) { in freezeOtherUses()
4608 Instruction *InstCombinerImpl::visitFreeze(FreezeInst &I) { in visitFreeze()
4727 bool InstCombinerImpl::tryToSinkInstruction(Instruction *I, in tryToSinkInstruction()
4816 void InstCombinerImpl::tryToSinkInstructionDbgValues( in tryToSinkInstructionDbgValues()
4875 void InstCombinerImpl::tryToSinkInstructionDbgVariableRecords( in tryToSinkInstructionDbgVariableRecords()
5003 bool InstCombinerImpl::run() { in run()
5238 bool InstCombinerImpl::prepareWorklist( in prepareWorklist()
5420 InstCombinerImpl IC(Worklist, Builder, F.hasMinSize(), AA, AC, TLI, TTI, DT, in combineInstructionsOverFunction()