#include <cstdint>
#include <cstring>
#include <limits>
#include <set>
#include <vector>
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/FunctionExtras.h"
#include "llvm/ADT/STLFunctionalExtras.h"
#include "llvm/ADT/SetVector.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/IR/PassManager.h"
#include "llvm/Support/Compiler.h"
Go to the source code of this file.
|
| LLVM_ABI bool | llvm::lowertypetests::isJumpTableCanonical (Function *F) |
| LLVM_ABI bool | llvm::lowertypetests::hasTypeMetadata (const GlobalObject &GO) |
| | Returns whether a global or its associated global has attached type metadata.
|
| LLVM_ABI SetVector< GlobalValue * > | llvm::lowertypetests::findCfiFunctions (Module &M) |
| | Finds all functions and aliases in M that may need CFI jump table entries.
|
| LLVM_ABI SetVector< uint64_t > | llvm::lowertypetests::findCfiTypeIds (const Module &M) |
| | Finds all 64-bit numeric type identifiers in M used for cross-DSO CFI.
|
| LLVM_ABI void | llvm::lowertypetests::createCfiMetadata (Module &DestM, const Module &SrcM, ArrayRef< GlobalValue * > CfiFunctions, ProfileSummaryInfo &PSI, function_ref< const BlockFrequencyInfo &(Function &)> BFIGetter) |
| | Creates cfi.functions, aliases, and symvers named metadata in DestM for CFI functions in CfiFunctions from source module SrcM.
|
| LLVM_ABI bool | llvm::lowertypetests::cleanUpTypeCheckedLoad (Module &M, Function &CheckedLoadFn, bool IsRelative, SmallSetVector< Function *, 8 > *ModifiedFunctions=nullptr) |
| | Lower @llvm.type.checked.load[.relative] calls to the guarded load with the check assumed true, and erase the declaration once it has no users.
|