[llvm] [BOLT][BTI] Add MCPlusBuilder::insertBTI (PR #167329)
Peter Waller via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 8 02:01:01 PST 2025
================
@@ -1899,6 +1899,19 @@ class MCPlusBuilder {
llvm_unreachable("not implemented");
}
+ /// Checks if the indirect call / jump is accepted by the landing pad at the
+ /// start of the target BasicBlock.
+ virtual bool isBTIVariantCoveringCall(MCInst &Call, MCInst &Pad) const {
----------------
peterwaller-arm wrote:
Suggestion: `isCallCoveredByBTIPad` is verbose but: 1) makes the relationship between the parameters clear 2) order of parts within the name corresponds to parameter order.
https://github.com/llvm/llvm-project/pull/167329
More information about the llvm-commits
mailing list