Lines Matching refs:TargetFunction

1120 bool BinaryContext::registerFragment(BinaryFunction &TargetFunction,  in registerFragment()  argument
1122 if (!isPotentialFragmentByName(TargetFunction, Function)) in registerFragment()
1124 assert(TargetFunction.isFragment() && "TargetFunction must be a fragment"); in registerFragment()
1125 if (TargetFunction.isParentFragment(&Function)) in registerFragment()
1127 TargetFunction.addParentFragment(Function); in registerFragment()
1128 Function.addFragment(TargetFunction); in registerFragment()
1130 TargetFunction.setSimple(false); in registerFragment()
1134 outs() << "BOLT-INFO: marking " << TargetFunction << " as a fragment of " in registerFragment()
1156 BinaryFunction *TargetFunction = getBinaryFunctionContainingAddress(Address); in handleAArch64Veneer() local
1157 if (TargetFunction) in handleAArch64Veneer()
1242 BinaryFunction *TargetFunction = in processInterproceduralReferences() local
1244 if (&Function == TargetFunction) in processInterproceduralReferences()
1247 if (TargetFunction) { in processInterproceduralReferences()
1248 if (TargetFunction->isFragment() && in processInterproceduralReferences()
1249 !registerFragment(*TargetFunction, Function)) { in processInterproceduralReferences()
1253 << TargetFunction->getPrintName() << '\n'; in processInterproceduralReferences()
1255 if (uint64_t Offset = Address - TargetFunction->getAddress()) in processInterproceduralReferences()
1256 TargetFunction->addEntryPointAtOffset(Offset); in processInterproceduralReferences()
1285 TargetFunction = getBinaryFunctionContainingAddress(Address, in processInterproceduralReferences()
1290 if (TargetFunction && TargetFunction->isSimple()) { in processInterproceduralReferences()
1291 errs() << "BOLT-WARNING: function " << *TargetFunction in processInterproceduralReferences()
1294 TargetFunction->setMaxSize(TargetFunction->getSize()); in processInterproceduralReferences()