/external/llvm/lib/Transforms/InstCombine/ |
InstCombineSelect.cpp | 435 return ReplaceInstUsesWith(SI, FalseVal); 439 return ReplaceInstUsesWith(SI, FalseVal); 544 return ReplaceInstUsesWith(SI, Builder->CreateOr(AShr, C1)); 547 return ReplaceInstUsesWith(SI, Builder->CreateAdd(And, C1)); 559 return ReplaceInstUsesWith(SI, FalseVal); 562 return ReplaceInstUsesWith(SI, FalseVal); 566 return ReplaceInstUsesWith(SI, TrueVal); 569 return ReplaceInstUsesWith(SI, TrueVal); 587 return ReplaceInstUsesWith(SI, V); 641 return ReplaceInstUsesWith(Outer, Inner) [all...] |
InstCombineVectorOps.cpp | 172 return ReplaceInstUsesWith(EI, scalarPHI); 180 return ReplaceInstUsesWith(EI, C->getAggregateElement(0U)); 191 return ReplaceInstUsesWith(EI, UndefValue::get(EI.getType())); 208 return ReplaceInstUsesWith(EI, Elt); 246 return ReplaceInstUsesWith(EI, IE->getOperand(1)); 264 return ReplaceInstUsesWith(EI, UndefValue::get(EI.getType())); 449 ReplaceInstUsesWith(IE, VecOp); 462 return ReplaceInstUsesWith(IE, VecOp); 465 return ReplaceInstUsesWith(IE, UndefValue::get(IE.getType())); 470 return ReplaceInstUsesWith(IE, VecOp) [all...] |
InstCombineCompares.cpp | 405 return ReplaceInstUsesWith(ICI, Builder->getFalse()); 425 return ReplaceInstUsesWith(ICI, Builder->getTrue()); 663 return ReplaceInstUsesWith(I, Cmp); 713 return ReplaceInstUsesWith(I, // No comparison is needed here. 748 return ReplaceInstUsesWith(ICI, ConstantInt::get(ICI.getType(), isTrue)); 753 return ReplaceInstUsesWith(ICI, Builder->getFalse()); 757 return ReplaceInstUsesWith(ICI, Builder->getTrue()); [all...] |
InstCombineCasts.cpp | 152 ReplaceInstUsesWith(AI, NewCast); 154 return ReplaceInstUsesWith(CI, New); 461 return ReplaceInstUsesWith(CI, Res); 485 return ReplaceInstUsesWith(CI, Constant::getNullValue(CI.getType())); 536 return ReplaceInstUsesWith(CI, In); 566 return ReplaceInstUsesWith(CI, Res); 584 return ReplaceInstUsesWith(CI, In); 624 return ReplaceInstUsesWith(CI, Result); 798 return ReplaceInstUsesWith(CI, Res); [all...] |
InstCombineCalls.cpp | 278 return ReplaceInstUsesWith(CI, ConstantInt::get(CI.getType(), Size)); 287 return ReplaceInstUsesWith(CI, X); 304 return ReplaceInstUsesWith(CI, ConstantFP::get(CI.getType(), 1.0)); 307 return ReplaceInstUsesWith(CI, II->getArgOperand(0)); 327 return ReplaceInstUsesWith(CI, ConstantInt::get(IT, 345 return ReplaceInstUsesWith(CI, ConstantInt::get(IT, 408 return ReplaceInstUsesWith(CI, UndefValue::get(II->getType())); 429 return ReplaceInstUsesWith(CI, UndefValue::get(II->getType())); 485 return ReplaceInstUsesWith(CI, UndefValue::get(II->getType())); 490 return ReplaceInstUsesWith(CI, Constant::getNullValue(II->getType())) [all...] |
InstCombinePHI.cpp | 685 return ReplaceInstUsesWith(FirstPhi, UndefValue::get(FirstPhi.getType())); 781 ReplaceInstUsesWith(*PHIUsers[UserI].Inst, EltPHI); 788 ReplaceInstUsesWith(*PHIsToSlice[i], Undef); 789 return ReplaceInstUsesWith(FirstPhi, Undef); 796 return ReplaceInstUsesWith(PN, V); 819 return ReplaceInstUsesWith(PN, UndefValue::get(PN.getType())); 831 return ReplaceInstUsesWith(PN, UndefValue::get(PN.getType())); [all...] |
InstCombineShifts.cpp | 324 return ReplaceInstUsesWith(I, 338 return ReplaceInstUsesWith(I, Constant::getNullValue(Op0->getType())); 558 return ReplaceInstUsesWith(I, Constant::getNullValue(I.getType())); 681 return ReplaceInstUsesWith(I, V); 718 return ReplaceInstUsesWith(I, V); 758 return ReplaceInstUsesWith(I, V); 775 return ReplaceInstUsesWith(I, X); 806 return ReplaceInstUsesWith(I, Op0);
|
InstCombineMulDivRem.cpp | 122 return ReplaceInstUsesWith(I, V); 125 return ReplaceInstUsesWith(I, V); 232 return ReplaceInstUsesWith(I, Op0BO); 410 return ReplaceInstUsesWith(I, V); 434 return ReplaceInstUsesWith(I, V); 693 return ReplaceInstUsesWith(I, Constant::getNullValue(I.getType())); 849 return ReplaceInstUsesWith(I, V); 910 return ReplaceInstUsesWith(I, V); [all...] |
InstCombineLoadStoreAlloca.cpp | 193 return ReplaceInstUsesWith(AI, GEP); 195 return ReplaceInstUsesWith(AI, Constant::getNullValue(AI.getType())); 243 return ReplaceInstUsesWith(AI, EntryAI); 266 = ReplaceInstUsesWith(AI, ConstantExpr::getBitCast(TheSrc, 368 return ReplaceInstUsesWith(LI, AvailableVal); 381 return ReplaceInstUsesWith(LI, UndefValue::get(LI.getType())); 394 return ReplaceInstUsesWith(LI, UndefValue::get(LI.getType()));
|
InstructionCombining.cpp | 752 ReplaceInstUsesWith(*User, NewPN); 755 return ReplaceInstUsesWith(I, NewPN); [all...] |
InstCombineAddSub.cpp | 919 return ReplaceInstUsesWith(I, V); 923 return ReplaceInstUsesWith(I, V); [all...] |
InstCombineAndOrXor.cpp | 216 return ReplaceInstUsesWith(TheAnd, Op); // No need for the and. 236 return ReplaceInstUsesWith(TheAnd, Op); [all...] |
InstCombine.h | 260 // ReplaceInstUsesWith - This method is to be used when an instruction is 266 Instruction *ReplaceInstUsesWith(Instruction &I, Value *V) {
|
InstCombineSimplifyDemanded.cpp | 62 ReplaceInstUsesWith(Inst, V); [all...] |