reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Target/X86/X86TargetTransformInfo.cpp
  249       (Op2Info == TargetTransformInfo::OK_UniformConstantValue ||
  250        Op2Info == TargetTransformInfo::OK_NonUniformConstantValue) &&
  258           2 * getArithmeticInstrCost(Instruction::AShr, Ty, Op1Info, Op2Info,
  261       Cost += getArithmeticInstrCost(Instruction::LShr, Ty, Op1Info, Op2Info,
  264       Cost += getArithmeticInstrCost(Instruction::Add, Ty, Op1Info, Op2Info,
  270         Cost += getArithmeticInstrCost(Instruction::Mul, Ty, Op1Info, Op2Info);
  271         Cost += getArithmeticInstrCost(Instruction::Sub, Ty, Op1Info, Op2Info);
  279       return getArithmeticInstrCost(Instruction::LShr, Ty, Op1Info, Op2Info,
  284       return getArithmeticInstrCost(Instruction::And, Ty, Op1Info, Op2Info,
  295   if (Op2Info == TargetTransformInfo::OK_UniformConstantValue &&
  308   if (Op2Info == TargetTransformInfo::OK_UniformConstantValue &&
  323   if (Op2Info == TargetTransformInfo::OK_UniformConstantValue &&
  341   if (Op2Info == TargetTransformInfo::OK_UniformConstantValue &&
  359   if ((Op2Info == TargetTransformInfo::OK_UniformConstantValue ||
  360        Op2Info == TargetTransformInfo::OK_NonUniformConstantValue) &&
  374   if ((Op2Info == TargetTransformInfo::OK_UniformConstantValue ||
  375        Op2Info == TargetTransformInfo::OK_NonUniformConstantValue) &&
  397   if ((Op2Info == TargetTransformInfo::OK_UniformConstantValue ||
  398        Op2Info == TargetTransformInfo::OK_NonUniformConstantValue) &&
  431   if ((Op2Info == TargetTransformInfo::OK_UniformConstantValue ||
  432        Op2Info == TargetTransformInfo::OK_NonUniformConstantValue) &&
  456       ((Op2Info == TargetTransformInfo::OK_UniformConstantValue) ||
  457        (Op2Info == TargetTransformInfo::OK_UniformValue))) {
  478       ((Op2Info == TargetTransformInfo::OK_UniformConstantValue) ||
  479        (Op2Info == TargetTransformInfo::OK_UniformValue))) {
  573         (Op2Info == TargetTransformInfo::OK_UniformConstantValue ||
  574          Op2Info == TargetTransformInfo::OK_NonUniformConstantValue))
  577       return getArithmeticInstrCost(Instruction::Mul, Ty, Op1Info, Op2Info,
  620         (Op2Info == TargetTransformInfo::OK_UniformConstantValue ||
  621          Op2Info == TargetTransformInfo::OK_NonUniformConstantValue))
  645       ((Op2Info == TargetTransformInfo::OK_UniformConstantValue) ||
  646        (Op2Info == TargetTransformInfo::OK_UniformValue))) {
  658       Op2Info == TargetTransformInfo::OK_NonUniformConstantValue) {
  879         Opcode, Ty->getScalarType(), Op1Info, Op2Info,
  885   return BaseT::getArithmeticInstrCost(Opcode, Ty, Op1Info, Op2Info);