Lines Matching refs:To
37 /// getComplexity: Assign a complexity or rank value to LLVM Values...
54 /// to the instcombine worklist.
75 /// Worklist - All of the instructions that need to be simplified.
196 // visitInstruction - Specify what to return for unhandled instructions...
200 bool ShouldChangeType(Type *From, Type *To) const;
207 /// ShouldOptimizeCast - Return true if the cast from "V to Ty" actually
208 /// results in any code being generated and is interesting to optimize out. If
210 /// to do the simplification first.
226 // in the program. Add the new instruction to the worklist.
245 // ReplaceInstUsesWith - This method is to be used when an instruction is
246 // found to be dead, replacable with another preexisting expression. Here
247 // we add all uses of I to the worklist, replace all uses of I with the new
252 Worklist.AddUsersToWorkList(I); // Add all modified instrs to worklist.
267 // effects or produces a void value, we can't rely on DCE to delete the
306 /// SimplifyUsingDistributiveLaws - This tries to simplify binary operations
313 /// SimplifyDemandedUseBits - Attempts to replace V with a simpler value
324 /// properties that allow us to simplify its operands.
332 // into the PHI (which is only possible if all operands to the PHI are
337 // FoldPHIArgOpIntoPHI - If all operands to a PHI node are the same "unary"
339 // inputs, and do the operation once, to the result of the PHI.