LLVM API Documentation

Public Member Functions | Protected Member Functions | Protected Attributes
llvm::SimplifyFortifiedLibCalls Class Reference

#include <BuildLibCalls.h>

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

List of all members.

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 121 of file BuildLibCalls.h.


Constructor & Destructor Documentation

Definition at line 490 of file BuildLibCalls.cpp.


Member Function Documentation

virtual bool llvm::SimplifyFortifiedLibCalls::isFoldable ( unsigned  SizeCIOp,
unsigned  SizeArgOp,
bool  isString 
) const [protected, pure virtual]

Referenced by fold().

virtual void llvm::SimplifyFortifiedLibCalls::replaceCall ( Value With) [protected, pure virtual]

Referenced by fold().


Member Data Documentation

Definition at line 123 of file BuildLibCalls.h.

Referenced by fold().


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