LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

FindUnsafePointerTypes.cpp File Reference

#include "llvm/Analysis/FindUnsafePointerTypes.h"
#include "llvm/Assembly/CachedWriter.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Module.h"
#include "llvm/Support/InstIterator.h"
#include "llvm/Support/CommandLine.h"

Include dependency graph for FindUnsafePointerTypes.cpp:

Go to the source code of this file.

Functions

static bool isSafeInstruction (const Instruction &I)

Variables

static RegisterAnalysis< FindUnsafePointerTypesX ("unsafepointertypes","Find Unsafe Pointer Types")
static cl::opt< bool > PrintFailures ("printunsafeptrinst", cl::Hidden, cl::desc("Print Unsafe Pointer Access Instructions"))


Function Documentation

static bool isSafeInstruction const Instruction I  )  [inline, static]
 

Definition at line 44 of file FindUnsafePointerTypes.cpp.

References llvm::Alloca, llvm::ISD::Call, llvm::Instruction::getOpcode(), llvm::ISD::Load, llvm::Instruction::Malloc, llvm::ISD::PHI, and llvm::ISD::Store.

Referenced by llvm::FindUnsafePointerTypes::runOnModule().


Variable Documentation

cl::opt<bool> PrintFailures("printunsafeptrinst", cl::Hidden, cl::desc("Print Unsafe Pointer Access Instructions")) [static]
 

Referenced by llvm::FindUnsafePointerTypes::runOnModule().

RegisterAnalysis<FindUnsafePointerTypes> X("unsafepointertypes","Find Unsafe Pointer Types") [static]