Home
last modified time | relevance | path

Searched refs:FormalArg (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/llvm/test/Transforms/FunctionSpecialization/
H A Dspecialize-multiple-arguments.ll10 ; FnSpecialization: FormalArg = binop1, ActualArg = power
11 ; FnSpecialization: FormalArg = binop2, ActualArg = mul
13 ; FnSpecialization: FormalArg = binop1, ActualArg = plus
14 ; FnSpecialization: FormalArg = binop2, ActualArg = minus
16 ; FnSpecialization: FormalArg = binop1, ActualArg = minus
17 ; FnSpecialization: FormalArg = binop2, ActualArg = power
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp430 for (Argument &FormalArg : F->args()) { in calculateGains()
434 if (!isArgumentInteresting(&FormalArg, ActualArgs)) { in calculateGains()
436 << FormalArg.getNameOrAsOperand() in calculateGains()
451 S.Gain += getSpecializationBonus(&FormalArg, ActualArg); in calculateGains()
452 S.Args.push_back({&FormalArg, ActualArg}); in calculateGains()
/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMipsFastISel.cpp1343 for (const auto &FormalArg : F->args()) { in fastLowerArguments() local
1344 if (FormalArg.hasAttribute(Attribute::InReg) || in fastLowerArguments()
1345 FormalArg.hasAttribute(Attribute::StructRet) || in fastLowerArguments()
1346 FormalArg.hasAttribute(Attribute::ByVal)) { in fastLowerArguments()
1351 Type *ArgTy = FormalArg.getType(); in fastLowerArguments()
1369 if (!FormalArg.hasAttribute(Attribute::SExt) && in fastLowerArguments()
1370 !FormalArg.hasAttribute(Attribute::ZExt)) { in fastLowerArguments()
1391 if (FormalArg.hasAttribute(Attribute::ZExt)) { in fastLowerArguments()
1456 for (const auto &FormalArg : F->args()) { in fastLowerArguments() local
1457 unsigned ArgNo = FormalArg.getArgNo(); in fastLowerArguments()
[all …]