Lines Matching defs:BAT

540     // BAT YAML is handled by DataAggregator since normal YAML output requires
541 // CFG which is not available in BAT mode.
607 if (BAT)
608 if (const uint64_t HotAddr = BAT->fetchParentAddress(Func.getAddress()))
614 bool BAT) {
615 if (!BAT)
643 StringRef LocName = getLocationName(Func, BAT);
650 if (BAT)
651 Address = BAT->translate(Func.getAddress(), Address, /*IsBranchSrc=*/false);
663 AggrData->Name = getLocationName(Func, BAT);
682 SrcFunc = getLocationName(*FromFunc, BAT);
693 DstFunc = getLocationName(*ToFunc, BAT);
730 // FIXME: support BAT case where the function might be in empty state
740 // Mutates \p Addr to an offset into the containing function, performing BAT
743 // Returns the containing function (or BAT parent) and whether the address
755 if (BAT)
756 Addr = BAT->translate(Func->getAddress(), Addr, IsFrom);
827 // Set ParentFunc to BAT parent function or FromFunc itself.
834 BAT ? BAT->getFallthroughsInTrace(FromFunc->getAddress(), First.To,
853 if (BAT) {
854 From = BAT->translate(FromFunc->getAddress(), From, /*IsBranchSrc=*/true);
855 To = BAT->translate(FromFunc->getAddress(), To, /*IsBranchSrc=*/false);
1395 // BAT mode (non BAT disassembles the function and is able to ignore this
1482 if (BAT && Sample.LBR.size() == 32 && !NeedsSkylakeFix) {
2215 if (BAT)
2290 // FIXME: Need to match hash function used to produce BAT hashes.
2308 // Convert profile for functions not covered by BAT
2313 if (BAT->isBATFunction(Function.getAddress()))
2316 Function, /*UseDFS=*/false, InlineTree, BAT));
2326 if (!BAT->isBATFunction(FuncAddress))
2330 YamlBF.Name = getLocationName(*BF, BAT);
2332 YamlBF.Hash = BAT->getBFHash(FuncAddress);
2334 YamlBF.NumBasicBlocks = BAT->getNumBasicBlocks(FuncAddress);
2336 BAT->getBBHashMap(FuncAddress);
2349 errs() << "BOLT-ERROR: invalid BAT section\n";
2373 YAMLProfileWriter::setCSIDestination(BC, CSI, BD->getSymbol(), BAT,
2410 const uint32_t InputOffset = BAT->translate(