Lines Matching refs:Fn
81 Function *Fn = CI->getCalledFunction(); in handleSwitchExpect() local
82 if (!Fn || (Fn->getIntrinsicID() != Intrinsic::expect && in handleSwitchExpect()
83 Fn->getIntrinsicID() != Intrinsic::expect_with_probability)) in handleSwitchExpect()
95 getBranchWeight(Fn->getIntrinsicID(), CI, n + 1); in handleSwitchExpect()
123 Function *Fn = Expect->getCalledFunction(); in handlePhiDef() local
128 if (Fn->getIntrinsicID() == Intrinsic::expect_with_probability) { in handlePhiDef()
316 Function *Fn = CI->getCalledFunction(); in handleBrSelExpect() local
317 if (!Fn || (Fn->getIntrinsicID() != Intrinsic::expect && in handleBrSelExpect()
318 Fn->getIntrinsicID() != Intrinsic::expect_with_probability)) in handleBrSelExpect()
331 getBranchWeight(Fn->getIntrinsicID(), CI, 2); in handleBrSelExpect()
390 Function *Fn = CI->getCalledFunction(); in lowerExpectIntrinsic() local
391 if (Fn && (Fn->getIntrinsicID() == Intrinsic::expect || in lowerExpectIntrinsic()
392 Fn->getIntrinsicID() == Intrinsic::expect_with_probability)) { in lowerExpectIntrinsic()