LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
llvm::SimplifyFortifiedLibCalls Class Referenceabstract

#include <BuildLibCalls.h>

Collaboration diagram for llvm::SimplifyFortifiedLibCalls:
Collaboration graph
[legend]

Public Member Functions

virtual ~SimplifyFortifiedLibCalls ()
 
bool fold (CallInst *CI, const DataLayout *TD, const TargetLibraryInfo *TLI)
 

Protected Member Functions

virtual void replaceCall (Value *With)=0
 
virtual bool isFoldable (unsigned SizeCIOp, unsigned SizeArgOp, bool isString) const =0
 

Protected Attributes

CallInstCI
 

Detailed Description

SimplifyFortifiedLibCalls - Helper class for folding checked library calls (e.g. __strcpy_chk) into their unchecked counterparts.

Definition at line 113 of file BuildLibCalls.h.

Constructor & Destructor Documentation

SimplifyFortifiedLibCalls::~SimplifyFortifiedLibCalls ( )
virtual

Definition at line 467 of file BuildLibCalls.cpp.

Member Function Documentation

bool SimplifyFortifiedLibCalls::fold ( CallInst CI,
const DataLayout TD,
const TargetLibraryInfo TLI 
)
virtual bool llvm::SimplifyFortifiedLibCalls::isFoldable ( unsigned  SizeCIOp,
unsigned  SizeArgOp,
bool  isString 
) const
protectedpure virtual

Referenced by fold().

virtual void llvm::SimplifyFortifiedLibCalls::replaceCall ( Value With)
protectedpure virtual

Referenced by fold().

Member Data Documentation

CallInst* llvm::SimplifyFortifiedLibCalls::CI
protected

Definition at line 115 of file BuildLibCalls.h.

Referenced by fold().


The documentation for this class was generated from the following files: