forked from OSchip/llvm-project
remove class/function/variable names from comments; NFC
llvm-svn: 220577
This commit is contained in:
parent
a48d977ee2
commit
514253cf43
|
@ -28,10 +28,9 @@ class LLVMContext;
|
|||
class Module;
|
||||
class AttributeSet;
|
||||
|
||||
/// Intrinsic Namespace - This namespace contains an enum with a value for
|
||||
/// every intrinsic/builtin function known by LLVM. These enum values are
|
||||
/// returned by Function::getIntrinsicID().
|
||||
///
|
||||
/// This namespace contains an enum with a value for every intrinsic/builtin
|
||||
/// function known by LLVM. The enum values are returned by
|
||||
/// Function::getIntrinsicID().
|
||||
namespace Intrinsic {
|
||||
enum ID {
|
||||
not_intrinsic = 0, // Must be zero
|
||||
|
@ -43,25 +42,21 @@ namespace Intrinsic {
|
|||
, num_intrinsics
|
||||
};
|
||||
|
||||
/// Intrinsic::getName(ID) - Return the LLVM name for an intrinsic, such as
|
||||
/// "llvm.ppc.altivec.lvx".
|
||||
/// Return the LLVM name for an intrinsic, such as "llvm.ppc.altivec.lvx".
|
||||
std::string getName(ID id, ArrayRef<Type*> Tys = None);
|
||||
|
||||
/// Intrinsic::getType(ID) - Return the function type for an intrinsic.
|
||||
///
|
||||
/// Return the function type for an intrinsic.
|
||||
FunctionType *getType(LLVMContext &Context, ID id,
|
||||
ArrayRef<Type*> Tys = None);
|
||||
|
||||
/// Intrinsic::isOverloaded(ID) - Returns true if the intrinsic can be
|
||||
/// overloaded.
|
||||
/// Returns true if the intrinsic can be overloaded.
|
||||
bool isOverloaded(ID id);
|
||||
|
||||
/// Intrinsic::getAttributes(ID) - Return the attributes for an intrinsic.
|
||||
///
|
||||
/// Return the attributes for an intrinsic.
|
||||
AttributeSet getAttributes(LLVMContext &C, ID id);
|
||||
|
||||
/// Intrinsic::getDeclaration(M, ID) - Create or insert an LLVM Function
|
||||
/// declaration for an intrinsic, and return it.
|
||||
/// Create or insert an LLVM Function declaration for an intrinsic, and return
|
||||
/// it.
|
||||
///
|
||||
/// The Tys parameter is for intrinsics with overloaded types (e.g., those
|
||||
/// using iAny, fAny, vAny, or iPTRAny). For a declaration of an overloaded
|
||||
|
@ -75,9 +70,8 @@ namespace Intrinsic {
|
|||
/// Map a MS builtin name to an intrinsic ID.
|
||||
ID getIntrinsicForMSBuiltin(const char *Prefix, const char *BuiltinName);
|
||||
|
||||
/// IITDescriptor - This is a type descriptor which explains the type
|
||||
/// requirements of an intrinsic. This is returned by
|
||||
/// getIntrinsicInfoTableEntries.
|
||||
/// This is a type descriptor which explains the type requirements of an
|
||||
/// intrinsic. This is returned by getIntrinsicInfoTableEntries.
|
||||
struct IITDescriptor {
|
||||
enum IITDescriptorKind {
|
||||
Void, VarArg, MMX, Metadata, Half, Float, Double,
|
||||
|
@ -117,9 +111,8 @@ namespace Intrinsic {
|
|||
}
|
||||
};
|
||||
|
||||
/// getIntrinsicInfoTableEntries - Return the IIT table descriptor for the
|
||||
/// specified intrinsic into an array of IITDescriptors.
|
||||
///
|
||||
/// Return the IIT table descriptor for the specified intrinsic into an array
|
||||
/// of IITDescriptors.
|
||||
void getIntrinsicInfoTableEntries(ID id, SmallVectorImpl<IITDescriptor> &T);
|
||||
|
||||
} // End Intrinsic namespace
|
||||
|
|
Loading…
Reference in New Issue