reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1783 if (Value *V = SimplifyCall(&CI, SQ.getWithInstruction(&CI))) 1783 if (Value *V = SimplifyCall(&CI, SQ.getWithInstruction(&CI))) 1784 return replaceInstUsesWith(CI, V); 1786 if (isFreeCall(&CI, &TLI)) 1787 return visitFree(CI); 1791 if (CI.getFunction()->doesNotThrow() && !CI.doesNotThrow()) { 1791 if (CI.getFunction()->doesNotThrow() && !CI.doesNotThrow()) { 1792 CI.setDoesNotThrow(); 1793 return &CI; 1796 IntrinsicInst *II = dyn_cast<IntrinsicInst>(&CI); 1797 if (!II) return visitCallBase(CI); 1807 return eraseInstFromFunction(CI); 1828 Module *M = CI.getModule(); 1833 Type *Tys[3] = { CI.getArgOperand(0)->getType(), 1834 CI.getArgOperand(1)->getType(), 1835 CI.getArgOperand(2)->getType() }; 1836 CI.setCalledFunction(Intrinsic::getDeclaration(M, MemCpyID, Tys)); 1844 return eraseInstFromFunction(CI); 1887 return replaceInstUsesWith(CI, V); 1905 return replaceInstUsesWith(CI, SimplifiedMaskedOp); 1924 return BinaryOperator::CreateFDiv(ConstantFP::get(CI.getType(), 1.0), 1997 return &CI; 2007 return &CI; 2012 if (Instruction *I = canonicalizeConstantArg0ToArg1(CI)) 2041 if (Instruction *I = canonicalizeConstantArg0ToArg1(CI)) 2075 if (Instruction *I = canonicalizeConstantArg0ToArg1(CI)) 2158 if (Instruction *I = canonicalizeConstantArg0ToArg1(CI)) 2249 if (Instruction *I = canonicalizeConstantArg0ToArg1(CI)) 2422 return replaceInstUsesWith(CI, ConstantInt::get(II->getType(), 0)); 2429 return replaceInstUsesWith(CI, ConstantInt::get(II->getType(), Result)); 2443 return replaceInstUsesWith(CI, II->getArgOperand(0)); 2445 return replaceInstUsesWith(CI, ConstantInt::get(II->getType(), 0)); 2450 return replaceInstUsesWith(CI, ConstantInt::get(II->getType(), Result)); 3050 return replaceInstUsesWith(CI, Op0); 3054 return replaceInstUsesWith(CI, Op0); 3211 return CastInst::Create(Instruction::BitCast, Result, CI.getType()); 3265 return replaceInstUsesWith(CI, ConstantAggregateZero::get(II->getType())); 3277 return replaceInstUsesWith(CI, ConstantExpr::getMul(CV0, CV1)); 3329 return replaceInstUsesWith(CI, Src); 3339 return replaceInstUsesWith(CI, ConstantFP::get(II->getContext(), Val)); 3349 return replaceInstUsesWith(CI, Src); 3361 return replaceInstUsesWith(CI, ConstantFP::get(II->getContext(), 3369 return replaceInstUsesWith(CI, ConstantInt::get(II->getType(), Exp)); 3373 return replaceInstUsesWith(CI, UndefValue::get(II->getType())); 3810 return eraseInstFromFunction(CI); 3866 return eraseInstFromFunction(CI); 3885 return eraseInstFromFunction(CI); 3906 return eraseInstFromFunction(CI); 3928 return eraseInstFromFunction(CI);