Lines Matching defs:ForCodesize
5632 bool ForCodesize) {
5635 return ForCodesize ? 2 : 1;
5639 return ForCodesize ? 4 : 1;
5641 return ForCodesize ? 4 : 2;
5643 return ForCodesize ? 4 : 2;
5645 return ForCodesize ? 4 : 2;
5648 return ForCodesize ? 4 : 1;
5650 return ForCodesize ? 4 : 1;
5652 return ForCodesize ? 4 : 1;
5654 return ForCodesize ? 8 : 2;
5656 return ForCodesize ? 8 : 2;
5659 return ForCodesize ? 8 : 2;
5660 return ForCodesize ? 8 : 3; // Literal pool load
5665 bool ForCodesize) {
5666 // Check with ForCodesize
5667 unsigned Cost1 = ConstantMaterializationCost(Val1, Subtarget, ForCodesize);
5668 unsigned Cost2 = ConstantMaterializationCost(Val2, Subtarget, ForCodesize);
5674 // If they are equal, try with !ForCodesize
5675 return ConstantMaterializationCost(Val1, Subtarget, !ForCodesize) <
5676 ConstantMaterializationCost(Val2, Subtarget, !ForCodesize);