LLVM 22.0.0git
|
#include "llvm/Transforms/Instrumentation/KCFI.h"
Public Member Functions | |
LLVM_ABI PreservedAnalyses | run (Function &F, FunctionAnalysisManager &AM) |
Public Member Functions inherited from llvm::PassInfoMixin< KCFIPass > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Static Public Member Functions | |
static bool | isRequired () |
Static Public Member Functions inherited from llvm::PassInfoMixin< KCFIPass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. |
PreservedAnalyses KCFIPass::run | ( | Function & | F, |
FunctionAnalysisManager & | AM ) |
Definition at line 47 of file KCFI.cpp.
References llvm::PreservedAnalyses::all(), assert(), Call, llvm::cast(), llvm::MDBuilder::createUnlikelyBranchWeights(), llvm::LLVMContext::diagnose(), llvm::dyn_cast(), llvm::SmallVectorTemplateCommon< T, typename >::empty(), F, llvm::Type::getInt32Ty(), llvm::Value::getType(), I, instructions, llvm::Int32Ty, llvm::PreservedAnalyses::none(), llvm::LLVMContext::OB_kcfi, llvm::SmallVectorTemplateBase< T, bool >::push_back(), llvm::CallBase::removeOperandBundle(), llvm::SplitBlockAndInsertIfThen(), T, and llvm::Test.