Lines Matching defs:Term
680 static void updateBranchWeights(Instruction *Term, WeightInfo &Info) {
681 setBranchWeights(*Term, Info.Weights, /*IsExpected=*/false);
700 Instruction *Term = ExitingBlock->getTerminator();
702 if (!extractBranchWeights(*Term, Weights))
709 for (auto [Succ, Weight] : zip(successors(Term), Weights)) {
721 for (auto [Succ, Weight] : zip(successors(Term), Weights)) {
734 WeightInfos.insert({Term, {std::move(Weights), std::move(SubWeights)}});
1043 for (auto &[Term, Info] : Weights) {
1044 auto *TermCopy = cast<Instruction>(VMap[Term]);
1073 for (const auto &[Term, Info] : Weights) {
1074 setBranchWeights(*Term, Info.Weights, /*IsExpected=*/false);