Lines Matching defs:ForCodesize
5652 bool ForCodesize) {
5655 return ForCodesize ? 2 : 1;
5659 return ForCodesize ? 4 : 1;
5661 return ForCodesize ? 4 : 2;
5663 return ForCodesize ? 4 : 2;
5665 return ForCodesize ? 4 : 2;
5668 return ForCodesize ? 4 : 1;
5670 return ForCodesize ? 4 : 1;
5672 return ForCodesize ? 4 : 1;
5674 return ForCodesize ? 8 : 2;
5676 return ForCodesize ? 8 : 2;
5679 return ForCodesize ? 8 : 2;
5680 return ForCodesize ? 8 : 3; // Literal pool load
5685 bool ForCodesize) {
5686 // Check with ForCodesize
5687 unsigned Cost1 = ConstantMaterializationCost(Val1, Subtarget, ForCodesize);
5688 unsigned Cost2 = ConstantMaterializationCost(Val2, Subtarget, ForCodesize);
5694 // If they are equal, try with !ForCodesize
5695 return ConstantMaterializationCost(Val1, Subtarget, !ForCodesize) <
5696 ConstantMaterializationCost(Val2, Subtarget, !ForCodesize);