summaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
AgeCommit message (Expand)Author
2024-06-12Reapply "[llvm][IR] Extend BranchWeightMetadata to track provenance o… (#95...Paul Kirth
2024-06-11Revert "[llvm][IR] Extend BranchWeightMetadata to track provenance of weights...Paul Kirth
2024-06-10[llvm][IR] Extend BranchWeightMetadata to track provenance of weights (#86609)Paul Kirth
2023-11-16Add setBranchWeigths convenience function. NFC (#72446)Matthias Braun
2023-10-23[LegacyPM] Clean up includes in LowerExpectIntrinsicPassBjorn Pettersson
2023-10-22[LegacyPM] Remove LowerExpectIntrinsicPassFangrui Song
2023-10-22[llvm] Stop including llvm/ADT/iterator_range.h (NFC)Kazu Hirata
2022-12-22[LowerExpectIntrinsic] Propagate branch weights through phi values when Expec...Zhi Zhuang
2022-09-28[iwyu] Move <cmath> out of llvm/Support/MathExtras.hserge-sans-paille
2022-08-07[llvm] Qualify auto (NFC)Kazu Hirata
2022-04-19[misexpect] Re-implement MisExpect DiagnosticsPaul Kirth
2022-03-31Revert "[misexpect] Re-implement MisExpect Diagnostics"Jorge Gorbe Moya
2022-03-31[misexpect] Re-implement MisExpect DiagnosticsPaul Kirth
2022-03-29Revert "[misexpect] Re-implement MisExpect Diagnostics"Paul Kirth
2022-03-28[misexpect] Re-implement MisExpect DiagnosticsPaul Kirth
2022-03-18Revert "Revert "Revert "[misexpect] Re-implement MisExpect Diagnostics"""Paul Kirth
2022-03-18Revert "Revert "[misexpect] Re-implement MisExpect Diagnostics""Paul Kirth
2022-03-17Revert "[misexpect] Re-implement MisExpect Diagnostics"Paul Kirth
2022-03-17[misexpect] Re-implement MisExpect DiagnosticsPaul Kirth
2022-03-03Cleanup includes: Transform/Scalarserge-sans-paille
2022-01-10[LowerExpectIntrinsic] Use cast<> instead of dyn_cast<> to avoid dereference ...Simon Pilgrim
2021-11-02[Transforms] Use make_early_inc_range (NFC)Kazu Hirata
2021-03-22[TargetTransformInfo] move branch probability query from TargetLoweringInfoSanjay Patel
2021-03-21[clang][CodeGen] Lower Likelihood attributes to @llvm.expect intrin instead o...Roman Lebedev
2021-03-21Revert "[BranchProbability] move options for 'likely' and 'unlikely'"Roman Lebedev
2021-03-20[BranchProbability] move options for 'likely' and 'unlikely'Sanjay Patel
2020-11-14Revert "clang-misexpect: Profile Guided Validation of Performance Annotations...Roman Lebedev
2020-10-31Revert "Use uint64_t for branch weights instead of uint32_t"Arthur Eubanks
2020-10-30Use uint64_t for branch weights instead of uint32_tArthur Eubanks
2020-10-27Revert "Use uint64_t for branch weights instead of uint32_t"Nico Weber
2020-10-26Use uint64_t for branch weights instead of uint32_tArthur Eubanks
2020-09-09Implements [[likely]] and [[unlikely]] in IfStmt.Mark de Wever
2020-07-09Make helpers static. NFC.Benjamin Kramer
2020-06-22Use std::make_tuple instead initializer listLei Zhang
2020-06-22Add support of __builtin_expect_with_probabilityZhi Zhuang
2019-11-13Sink all InitializePasses.h includesReid Kleckner
2019-10-02LowerExpectIntrinsic handlePhiDef - silence static analyzer dyn_cast<PHINode>...Simon Pilgrim
2019-09-11Reland "clang-misexpect: Profile Guided Validation of Performance Annotations...Petr Hosek
2019-09-11Revert "clang-misexpect: Profile Guided Validation of Performance Annotations...Dmitri Gribenko
2019-09-11clang-misexpect: Profile Guided Validation of Performance Annotations in LLVMPetr Hosek
2019-09-10Revert "clang-misexpect: Profile Guided Validation of Performance Annotations...Petr Hosek
2019-09-10clang-misexpect: Profile Guided Validation of Performance Annotations in LLVMPetr Hosek
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth
2018-05-01Remove \brief commands from doxygen comments.Adrian Prantl
2017-06-07Fix builin_expect lowering bugXinliang David Li
2017-06-02[Profile] Enhance expect lowering to handle correlated branchesXinliang David Li
2017-06-01Fix compiler_rt buildbot failureXinliang David Li
2017-06-01[Profile] Fix builtin_expect lowering bugXinliang David Li
2017-04-12[IR] Redesign the case iterator in SwitchInst to actually be an iteratorChandler Carruth
2016-09-02[Profile] handle select instruction in 'expect' loweringXinliang David Li