Lines Matching refs:InstCombiner
81 Instruction *InstCombiner::PromoteCastOfAllocation(BitCastInst &CI,
159 Value *InstCombiner::EvaluateInDifferentType(Value *V, Type *Ty,
267 bool InstCombiner::ShouldOptimizeCast(Instruction::CastOps opc, const Value *V,
288 Instruction *InstCombiner::commonCastTransforms(CastInst &CI) {
331 static bool canEvaluateTruncated(Value *V, Type *Ty, InstCombiner &IC,
439 static Instruction *foldVecTruncToExtElt(TruncInst &Trunc, InstCombiner &IC,
477 Instruction *InstCombiner::visitTrunc(TruncInst &CI) {
583 Instruction *InstCombiner::transformZExtICmp(ICmpInst *ICI, Instruction &CI,
725 InstCombiner &IC, Instruction *CxtI) {
832 Instruction *InstCombiner::visitZExt(ZExtInst &CI) {
967 Instruction *InstCombiner::transformSExtICmp(ICmpInst *ICI, Instruction &CI) {
1117 Instruction *InstCombiner::visitSExt(SExtInst &CI) {
1256 Instruction *InstCombiner::visitFPTrunc(FPTruncInst &CI) {
1412 Instruction *InstCombiner::visitFPExt(CastInst &CI) {
1420 Instruction *InstCombiner::FoldItoFPtoI(Instruction &FI) {
1460 Instruction *InstCombiner::visitFPToUI(FPToUIInst &FI) {
1471 Instruction *InstCombiner::visitFPToSI(FPToSIInst &FI) {
1482 Instruction *InstCombiner::visitUIToFP(CastInst &CI) {
1486 Instruction *InstCombiner::visitSIToFP(CastInst &CI) {
1490 Instruction *InstCombiner::visitIntToPtr(IntToPtrInst &CI) {
1512 Instruction *InstCombiner::commonPointerCastTransforms(CastInst &CI) {
1536 Instruction *InstCombiner::visitPtrToInt(PtrToIntInst &CI) {
1561 InstCombiner &IC) {
1740 InstCombiner &IC) {
1769 InstCombiner &IC,
1789 Instruction *InstCombiner::visitBitCast(BitCastInst &CI) {
1913 Instruction *InstCombiner::visitAddrSpaceCast(AddrSpaceCastInst &CI) {