This machine mirrors various open-source projects.
20 Gbit/s uplink.
If there are any issues or you want another project mirrored, please contact
mirror-service -=AT=- netcologne DOT de !
#include <SRInfo.h>
Public Member Functions | |
llvm::StringRef | getLinkName () const |
Returns the link name associated with this SRInfo. | |
llvm::Function * | getLLVMFunction () const |
Returns the LLVM Function implementing the subroutine. | |
llvm::Module * | getLLVMModule () const |
Returns the LLVM Module this subroutine is defined/declared in. | |
bool | isaFunction () const |
Returns true if this info corresponds to a Comma function. | |
bool | isaProcedure () const |
Returns true if this info corresponds to a Comma procedure. | |
bool | hasSRet () const |
Returns true if this subroutine follows the structure return calling convention. | |
bool | usesVRet () const |
Returns true if this subroutine uses the vstack for its return value(s). | |
bool | hasAggRet () const |
Returns true if this function has an aggregate return value. | |
bool | isImported () const |
Returns true if this subroutine is imported from an external library. | |
Canonical Subroutines | |
Currently, all subroutines are declared within the context of a domain. DomainInstanceDecl's provide a public view of a domains declarations, whereas PercentDecl's and AddDecl's provide an internal view. All publicly visible declarations have a corresponding internal declaration. The "canonical" declaration is an internal declaration resolved to a completion (definition) when possible. Consider the following: domain D with procedure Foo; procedure Bar; add procedure Foo is ... end Foo; pragma Import(C, Bar, "bar_impl"); end D; The public view of
| |
SubroutineDecl * | getDeclaration () |
Returns the canonical SubroutineDecl associated with this info. | |
const SubroutineDecl * | getDeclaration () const |
Returns the canonical SubroutineDecl associated with this info. | |
Friends | |
class | InstanceInfo |
Definition at line 26 of file SRInfo.h.
const SubroutineDecl* comma::SRInfo::getDeclaration | ( | ) | const [inline] |
Returns the canonical SubroutineDecl associated with this info.
SubroutineDecl* comma::SRInfo::getDeclaration | ( | ) | [inline] |
Returns the canonical SubroutineDecl associated with this info.
llvm::StringRef comma::SRInfo::getLinkName | ( | ) | const [inline] |
llvm::Function* comma::SRInfo::getLLVMFunction | ( | ) | const [inline] |
llvm::Module* comma::SRInfo::getLLVMModule | ( | ) | const [inline] |
bool comma::SRInfo::hasAggRet | ( | ) | const [inline] |
bool comma::SRInfo::hasSRet | ( | ) | const [inline] |
bool comma::SRInfo::isaFunction | ( | ) | const [inline] |
bool comma::SRInfo::isaProcedure | ( | ) | const [inline] |
bool comma::SRInfo::isImported | ( | ) | const [inline] |
bool comma::SRInfo::usesVRet | ( | ) | const [inline] |
friend class InstanceInfo [friend] |