LLVM 17.0.0git
|
#include "llvm/Transforms/Instrumentation/KCFI.h"
Public Member Functions | |
PreservedAnalyses | run (Function &F, FunctionAnalysisManager &AM) |
![]() | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Static Public Member Functions | |
static bool | isRequired () |
![]() | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
PreservedAnalyses KCFIPass::run | ( | Function & | F, |
FunctionAnalysisManager & | AM | ||
) |
Definition at line 51 of file KCFI.cpp.
References llvm::PreservedAnalyses::all(), assert(), Builder, llvm::MDBuilder::createBranchWeights(), llvm::LLVMContext::diagnose(), llvm::SmallVectorBase< Size_T >::empty(), F, llvm::ConstantInt::get(), llvm::Intrinsic::getDeclaration(), llvm::Type::getInt32Ty(), I, instructions, Int32Ty, llvm::PreservedAnalyses::none(), llvm::LLVMContext::OB_kcfi, llvm::SmallVectorTemplateBase< T, bool >::push_back(), llvm::CallBase::removeOperandBundle(), llvm::SplitBlockAndInsertIfThen(), and llvm::Test.