remove class/function/variable names from comments; NFC

llvm-svn: 220577
This commit is contained in:
Sanjay Patel 2014-10-24 17:55:59 +00:00
parent a48d977ee2
commit 514253cf43
1 changed files with 13 additions and 20 deletions

View File

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