/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCalls.cpp | 684 return ReplaceInstUsesWith(CI, V); 769 return ReplaceInstUsesWith(CI, ConstantInt::get(CI.getType(), Size)); 778 return ReplaceInstUsesWith(CI, X); 797 return ReplaceInstUsesWith(CI, X); 805 return ReplaceInstUsesWith(CI, ConstantFP::get(CI.getType(), 1.0)); 808 return ReplaceInstUsesWith(CI, II->getArgOperand(0)); 828 return ReplaceInstUsesWith(CI, ConstantInt::get(IT, 846 return ReplaceInstUsesWith(CI, ConstantInt::get(IT, [all...] |
InstCombineSelect.cpp | 522 return ReplaceInstUsesWith(SI, Builder->CreateOr(AShr, C1)); 525 return ReplaceInstUsesWith(SI, Builder->CreateAdd(And, C1)); 588 return ReplaceInstUsesWith(SI, V); 593 return ReplaceInstUsesWith(SI, V); 596 return ReplaceInstUsesWith(SI, V); 649 return ReplaceInstUsesWith(Outer, Inner); 657 return ReplaceInstUsesWith(Outer, C); 672 return ReplaceInstUsesWith(Outer, Inner); 690 return ReplaceInstUsesWith(Outer, Inner); 700 return ReplaceInstUsesWith(Outer, NewSI) [all...] |
InstCombineVectorOps.cpp | 128 return ReplaceInstUsesWith(EI, scalarPHI); 134 return ReplaceInstUsesWith(EI, V); 140 return ReplaceInstUsesWith(EI, C->getAggregateElement(0U)); 201 return ReplaceInstUsesWith(EI, IE->getOperand(1)); 219 return ReplaceInstUsesWith(EI, UndefValue::get(EI.getType())); 476 return ReplaceInstUsesWith(I, I.getOperand(0)); 487 ReplaceInstUsesWith(IE, VecOp); 501 return ReplaceInstUsesWith(IE, VecOp); 504 return ReplaceInstUsesWith(IE, UndefValue::get(IE.getType())); 509 return ReplaceInstUsesWith(IE, VecOp) [all...] |
InstCombineMulDivRem.cpp | 180 return ReplaceInstUsesWith(I, V); 183 return ReplaceInstUsesWith(I, V); 186 return ReplaceInstUsesWith(I, V); 326 return ReplaceInstUsesWith(I, Op0BO); 539 return ReplaceInstUsesWith(I, V); 546 return ReplaceInstUsesWith(I, V); 577 return ReplaceInstUsesWith(I, V); 619 return ReplaceInstUsesWith(I, II->getOperand(0)); 644 return ReplaceInstUsesWith(I, FSub); 664 return ReplaceInstUsesWith(I, FMul) [all...] |
InstCombineCompares.cpp | 404 return ReplaceInstUsesWith(ICI, Builder->getFalse()); 424 return ReplaceInstUsesWith(ICI, Builder->getTrue()); 673 return ReplaceInstUsesWith(I, Cmp); 709 return ReplaceInstUsesWith(I, // No comparison is needed here. 805 return ReplaceInstUsesWith( [all...] |
InstCombineLoadStoreAlloca.cpp | 206 return IC.ReplaceInstUsesWith(AI, GEP); 210 return IC.ReplaceInstUsesWith(AI, Constant::getNullValue(AI.getType())); 272 return ReplaceInstUsesWith(AI, EntryAI); 296 Instruction *NewI = ReplaceInstUsesWith(AI, Cast); 532 return IC.ReplaceInstUsesWith(LI, IC.Builder->CreateInsertValue( 563 return IC.ReplaceInstUsesWith(LI, V); 571 return IC.ReplaceInstUsesWith(LI, IC.Builder->CreateInsertValue( 807 return ReplaceInstUsesWith( 823 return ReplaceInstUsesWith(LI, UndefValue::get(LI.getType())); [all...] |
InstCombineAddSub.cpp | [all...] |
InstCombinePHI.cpp | 771 return ReplaceInstUsesWith(FirstPhi, UndefValue::get(FirstPhi.getType())); [all...] |
InstCombineShifts.cpp | 343 return ReplaceInstUsesWith( 576 return ReplaceInstUsesWith(I, Constant::getNullValue(I.getType())); 697 return ReplaceInstUsesWith(I, V); 702 return ReplaceInstUsesWith(I, V); 739 return ReplaceInstUsesWith(I, V); 743 return ReplaceInstUsesWith(I, V); 783 return ReplaceInstUsesWith(I, V); 787 return ReplaceInstUsesWith(I, V); [all...] |
InstCombineAndOrXor.cpp | 245 return ReplaceInstUsesWith(TheAnd, Op); // No need for the and. 265 return ReplaceInstUsesWith(TheAnd, Op); [all...] |
InstCombineCasts.cpp | 152 ReplaceInstUsesWith(AI, NewCast); 154 return ReplaceInstUsesWith(CI, New); 511 return ReplaceInstUsesWith(CI, Res); 535 return ReplaceInstUsesWith(CI, Constant::getNullValue(DestTy)); 609 return ReplaceInstUsesWith(CI, In); 639 return ReplaceInstUsesWith(CI, Res); 657 return ReplaceInstUsesWith(CI, In); 697 return ReplaceInstUsesWith(CI, Result); [all...] |
InstructionCombining.cpp | [all...] |
InstCombineInternal.h | 420 Instruction *ReplaceInstUsesWith(Instruction &I, Value *V) {
|
InstCombineSimplifyDemanded.cpp | 64 ReplaceInstUsesWith(Inst, V); [all...] |