LLVM  6.0.0svn
Classes | Namespaces | Macros | Enumerations | Functions
Intrinsics.h File Reference
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/None.h"
#include "llvm/ADT/Optional.h"
#include <string>
#include "llvm/IR/Intrinsics.gen"
Include dependency graph for Intrinsics.h:

Go to the source code of this file.


struct  llvm::Intrinsic::IITDescriptor
 This is a type descriptor which explains the type requirements of an intrinsic. More...


 Compute iterated dominance frontiers using a linear time algorithm.
 This namespace contains an enum with a value for every intrinsic/builtin function known by LLVM.




enum  llvm::Intrinsic::ID : unsigned { llvm::Intrinsic::not_intrinsic = 0, llvm::Intrinsic::num_intrinsics }


StringRef llvm::Intrinsic::getName (ID id)
 Return the LLVM name for an intrinsic, such as "llvm.ppc.altivec.lvx". More...
std::string llvm::Intrinsic::getName (ID id, ArrayRef< Type *> Tys)
 Return the LLVM name for an intrinsic, such as "llvm.ppc.altivec.lvx". More...
FunctionTypellvm::Intrinsic::getType (LLVMContext &Context, ID id, ArrayRef< Type *> Tys=None)
 Return the function type for an intrinsic. More...
bool llvm::Intrinsic::isOverloaded (ID id)
 Returns true if the intrinsic can be overloaded. More...
bool llvm::Intrinsic::isLeaf (ID id)
 Returns true if the intrinsic is a leaf, i.e. More...
AttributeList llvm::Intrinsic::getAttributes (LLVMContext &C, ID id)
 Return the attributes for an intrinsic. More...
Functionllvm::Intrinsic::getDeclaration (Module *M, ID id, ArrayRef< Type *> Tys=None)
 Create or insert an LLVM Function declaration for an intrinsic, and return it. More...
int llvm::Intrinsic::lookupLLVMIntrinsicByName (ArrayRef< const char *> NameTable, StringRef Name)
 Looks up Name in NameTable via binary search. More...
ID llvm::Intrinsic::getIntrinsicForGCCBuiltin (const char *Prefix, StringRef BuiltinName)
 Map a GCC builtin name to an intrinsic ID. More...
ID llvm::Intrinsic::getIntrinsicForMSBuiltin (const char *Prefix, StringRef BuiltinName)
 Map a MS builtin name to an intrinsic ID. More...
void llvm::Intrinsic::getIntrinsicInfoTableEntries (ID id, SmallVectorImpl< IITDescriptor > &T)
 Return the IIT table descriptor for the specified intrinsic into an array of IITDescriptors. More...
bool llvm::Intrinsic::matchIntrinsicType (Type *Ty, ArrayRef< IITDescriptor > &Infos, SmallVectorImpl< Type *> &ArgTys)
 Match the specified type (which comes from an intrinsic argument or return value) with the type constraints specified by the .td file. More...
bool llvm::Intrinsic::matchIntrinsicVarArg (bool isVarArg, ArrayRef< IITDescriptor > &Infos)
 Verify if the intrinsic has variable arguments. More...
llvm::Optional< Function * > llvm::Intrinsic::remangleIntrinsicFunction (Function *F)

Macro Definition Documentation



Definition at line 41 of file Intrinsics.h.