LLVM API Documentation
Enumerations | |
| enum | ID { not_intrinsic = 0, GET_INTRINSIC_ENUM_VALUES, num_intrinsics } |
Functions | |
| std::string | getName (ID id, const Type **Tys=0, unsigned numTys=0) |
| const FunctionType * | getType (ID id, const Type **Tys=0, unsigned numTys=0) |
| PAListPtr | getParamAttrs (ID id) |
| Function * | getDeclaration (Module *M, ID id, const Type **Tys=0, unsigned numTys=0) |
|
|
Definition at line 34 of file Intrinsics.h. |
|
||||||||||||||||||||
|
Intrinsic::getDeclaration(M, ID) - Create or insert an LLVM Function declaration for an intrinsic, and return it. The Tys and numTys parameters are for intrinsics with overloaded types (i.e., those using iAny or fAny). For a declaration for an overloaded intrinsic, Tys should point to an array of numTys pointers to Type, and must provide exactly one type for each overloaded type in the intrinsic. Referenced by FFSOpt::CallOptimizer(), CycleCounter::CycleCounter(), LowerInvoke::doInitialization(), LibCallOptimization::EmitMemCpy(), and llvm::InlineFunction(). |
|
||||||||||||||||
|
Intrinsic::getName(ID) - Return the LLVM name for an intrinsic, such as "llvm.ppc.altivec.lvx". Referenced by llvm::SDNode::getOperationName(), llvm::SourceFileInfo::operator<(), llvm::SourceFileInfo::operator==(), llvm::MachineFunction::viewCFG(), llvm::SelectionDAG::viewGraph(), and StatisticInfo::~StatisticInfo(). |
|
|
Intrinsic::getParamAttrs(ID) - Return the attributes for an intrinsic. Referenced by llvm::PAListPtr::getParamAlignment(), llvm::PAListPtr::paramHasAttr(), and Verifier::VerifyIntrinsicPrototype(). |
|
||||||||||||||||