Lines Matching defs:SrcChain
376 : SrcChain(Jump->Source->CurChain), DstChain(Jump->Target->CurChain),
379 ChainT *srcChain() const { return SrcChain; }
383 bool isSelfEdge() const { return SrcChain == DstChain; }
396 if (From == SrcChain)
397 SrcChain = To;
403 return Src == SrcChain ? CacheValidForward : CacheValidBackward;
407 return Src == SrcChain ? CachedGainForward : CachedGainBackward;
411 if (Src == SrcChain) {
433 ChainT *SrcChain{nullptr};
813 ChainT *SrcChain = AllNodes[SrcBB].CurChain;
815 if (SrcChain != DstChain && !DstChain->isEntry() &&
816 SrcChain->Nodes.back()->Index == SrcBB &&
818 SrcChain->isCold() == DstChain->isCold()) {
819 mergeChains(SrcChain, DstChain, 0, MergeTypeT::X_Y);
1213 ChainT *SrcChain = Edge->srcChain();
1226 computeMergeGain(SrcChain, DstChain, Jumps, MergeType);
1231 if ((MergeType == MergeTypeT::X_Y && SrcChain->Id < DstChain->Id) ||
1232 (MergeType == MergeTypeT::Y_X && SrcChain->Id > DstChain->Id)) {