LLVM API Documentation
#include <LibCallSemantics.h>
Public Member Functions | |
| LibCallInfo () | |
| virtual | ~LibCallInfo () |
| const LibCallLocationInfo & | getLocationInfo (unsigned LocID) const |
| getLocationInfo - Return information about the specified LocationID. | |
| const LibCallFunctionInfo * | getFunctionInfo (Function *F) const |
| virtual unsigned | getLocationInfo (const LibCallLocationInfo *&Array) const |
| virtual const LibCallFunctionInfo * | getFunctionInfoArray () const =0 |
Definition at line 126 of file LibCallSemantics.h.
| llvm::LibCallInfo::LibCallInfo | ( | ) | [inline] |
Definition at line 132 of file LibCallSemantics.h.
| LibCallInfo::~LibCallInfo | ( | ) | [virtual] |
| const LibCallLocationInfo & LibCallInfo::getLocationInfo | ( | unsigned | LocID | ) | const |
getLocationInfo - Return information about the specified LocationID.
Definition at line 31 of file LibCallSemantics.cpp.
| const LibCallFunctionInfo * LibCallInfo::getFunctionInfo | ( | Function * | F | ) | const |
getFunctionInfo - Return the LibCallFunctionInfo object corresponding to the specified function if we have it. If not, return null.
getFunctionInfo - Return the LibCallFunctionInfo object corresponding to the specified function if we have it. If not, return null.
If this is the first time we are querying for this info, lazily construct the StringMap to index it.
Definition at line 43 of file LibCallSemantics.cpp.
References llvm::StringMap< ValueTy, AllocatorTy >::end(), llvm::StringMap< ValueTy, AllocatorTy >::find(), getFunctionInfoArray(), getMap(), llvm::Value::getNameLen(), and llvm::Value::getNameStart().
Referenced by llvm::LibCallAliasAnalysis::getModRefInfo().
| virtual unsigned llvm::LibCallInfo::getLocationInfo | ( | const LibCallLocationInfo *& | Array | ) | const [inline, virtual] |
getLocationInfo - Return descriptors for the locations referenced by this set of libcalls.
Definition at line 154 of file LibCallSemantics.h.
| virtual const LibCallFunctionInfo* llvm::LibCallInfo::getFunctionInfoArray | ( | ) | const [pure virtual] |
getFunctionInfoArray - Return an array of descriptors that describe the set of libcalls represented by this LibCallInfo object. This array is terminated by an entry with a NULL name.
Referenced by getFunctionInfo().