Searched refs:PBP (Results 1 – 5 of 5) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | TargetParser.cpp | 352 bool ARM::parseBranchProtection(StringRef Spec, ParsedBranchProtection &PBP, in parseBranchProtection() argument 354 PBP = {"none", "a_key", false}; in parseBranchProtection() 359 PBP.Scope = "non-leaf"; in parseBranchProtection() 360 PBP.BranchTargetEnforcement = true; in parseBranchProtection() 369 PBP.BranchTargetEnforcement = true; in parseBranchProtection() 373 PBP.Scope = "non-leaf"; in parseBranchProtection() 377 PBP.Scope = "all"; in parseBranchProtection() 379 PBP.Key = "b_key"; in parseBranchProtection()
|
| /llvm-project-15.0.7/clang/lib/Basic/Targets/ |
| H A D | AArch64.cpp | 144 llvm::ARM::ParsedBranchProtection PBP; in validateBranchProtection() local 145 if (!llvm::ARM::parseBranchProtection(Spec, PBP, Err)) in validateBranchProtection() 149 llvm::StringSwitch<LangOptions::SignReturnAddressScopeKind>(PBP.Scope) in validateBranchProtection() 154 if (PBP.Key == "a_key") in validateBranchProtection() 159 BPI.BranchTargetEnforcement = PBP.BranchTargetEnforcement; in validateBranchProtection()
|
| H A D | ARM.cpp | 395 llvm::ARM::ParsedBranchProtection PBP; in validateBranchProtection() local 396 if (!llvm::ARM::parseBranchProtection(Spec, PBP, Err)) in validateBranchProtection() 403 llvm::StringSwitch<LangOptions::SignReturnAddressScopeKind>(PBP.Scope) in validateBranchProtection() 409 if (PBP.Key == "b_key") in validateBranchProtection() 413 BPI.BranchTargetEnforcement = PBP.BranchTargetEnforcement; in validateBranchProtection()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | TargetParser.h | 190 bool parseBranchProtection(StringRef Spec, ParsedBranchProtection &PBP,
|
| /llvm-project-15.0.7/clang/lib/Driver/ToolChains/ |
| H A D | Clang.cpp | 1699 llvm::ARM::ParsedBranchProtection PBP; in CollectARMPACBTIOptions() local 1700 if (!llvm::ARM::parseBranchProtection(A->getValue(), PBP, DiagMsg)) in CollectARMPACBTIOptions() 1703 if (!isAArch64 && PBP.Key == "b_key") in CollectARMPACBTIOptions() 1706 Scope = PBP.Scope; in CollectARMPACBTIOptions() 1707 Key = PBP.Key; in CollectARMPACBTIOptions() 1708 IndirectBranches = PBP.BranchTargetEnforcement; in CollectARMPACBTIOptions()
|