Lines Matching refs:LIC

249     void UnswitchNontrivialCondition(Value *LIC, Constant *OnVal, Loop *L,
252 void RewriteLoopBodyWithConditionConstant(Loop *L, Value *LIC,
255 void EmitPreheaderBranchOnCondition(Value *LIC, Constant *Val,
726 void LoopUnswitch::EmitPreheaderBranchOnCondition(Value *LIC, Constant *Val, in EmitPreheaderBranchOnCondition() argument
733 Value *BranchVal = LIC; in EmitPreheaderBranchOnCondition()
736 Val->getType() != Type::getInt1Ty(LIC->getContext())) in EmitPreheaderBranchOnCondition()
737 BranchVal = new ICmpInst(InsertPt, ICmpInst::ICMP_EQ, LIC, Val); in EmitPreheaderBranchOnCondition()
969 void LoopUnswitch::UnswitchNontrivialCondition(Value *LIC, Constant *Val, in UnswitchNontrivialCondition() argument
975 << " when '" << *Val << "' == " << *LIC << "\n"); in UnswitchNontrivialCondition()
1089 EmitPreheaderBranchOnCondition(LIC, Val, NewBlocks[0], LoopBlocks[0], OldBR, in UnswitchNontrivialCondition()
1101 WeakVH LICHandle(LIC); in UnswitchNontrivialCondition()
1105 RewriteLoopBodyWithConditionConstant(L, LIC, Val, false); in UnswitchNontrivialCondition()
1148 void LoopUnswitch::RewriteLoopBodyWithConditionConstant(Loop *L, Value *LIC, in RewriteLoopBodyWithConditionConstant() argument
1151 assert(!isa<Constant>(LIC) && "Why are we unswitching on a constant?"); in RewriteLoopBodyWithConditionConstant()
1176 for (User *U : LIC->users()) { in RewriteLoopBodyWithConditionConstant()
1185 (*UI)->replaceUsesOfWith(LIC, Replacement); in RewriteLoopBodyWithConditionConstant()
1194 for (User *U : LIC->users()) { in RewriteLoopBodyWithConditionConstant()