~ubuntu-branches/ubuntu/trusty/llvm-toolchain-snapshot/trusty-201310232150

« back to all changes in this revision

Viewing changes to include/llvm/IR/Intrinsics.h

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2013-05-27 15:01:57 UTC
  • mfrom: (0.10.1) (0.9.1) (0.8.1) (0.7.1) (0.6.1) (0.5.2)
  • Revision ID: package-import@ubuntu.com-20130527150157-tdkrsjpuvht7v0qx
Tags: 1:3.4~svn182733-1~exp1
* New snapshot release (3.4 release)
* Add a symlink of libLLVM-3.4.so.1 to usr/lib/llvm-3.4/lib/libLLVM-3.4.so
    to fix make the llvm-config-3.4 --libdir work (Closes: #708677)
  * Various packages rename to allow co installations:
    * libclang1 => libclang1-3.4
    * libclang1-dbg => libclang1-3.4-dbg
    * libclang-dev => libclang-3.4-dev
    * libclang-common-dev => libclang-common-3.4-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
  
46
46
  /// Intrinsic::getName(ID) - Return the LLVM name for an intrinsic, such as
47
47
  /// "llvm.ppc.altivec.lvx".
48
 
  std::string getName(ID id, ArrayRef<Type*> Tys = ArrayRef<Type*>());
49
 
  
 
48
  std::string getName(ID id, ArrayRef<Type*> Tys = None);
 
49
 
50
50
  /// Intrinsic::getType(ID) - Return the function type for an intrinsic.
51
51
  ///
52
52
  FunctionType *getType(LLVMContext &Context, ID id,
53
 
                        ArrayRef<Type*> Tys = ArrayRef<Type*>());
 
53
                        ArrayRef<Type*> Tys = None);
54
54
 
55
55
  /// Intrinsic::isOverloaded(ID) - Returns true if the intrinsic can be
56
56
  /// overloaded.
63
63
  /// Intrinsic::getDeclaration(M, ID) - Create or insert an LLVM Function
64
64
  /// declaration for an intrinsic, and return it.
65
65
  ///
66
 
  /// The Tys and numTys parameters are for intrinsics with overloaded types
67
 
  /// (e.g., those using iAny, fAny, vAny, or iPTRAny). For a declaration for an
68
 
  /// overloaded intrinsic, Tys should point to an array of numTys pointers to
69
 
  /// Type, and must provide exactly one type for each overloaded type in the
70
 
  /// intrinsic.
71
 
  Function *getDeclaration(Module *M, ID id,
72
 
                           ArrayRef<Type*> Tys = ArrayRef<Type*>());
73
 
                           
 
66
  /// The Tys parameter is for intrinsics with overloaded types (e.g., those
 
67
  /// using iAny, fAny, vAny, or iPTRAny).  For a declaration of an overloaded
 
68
  /// intrinsic, Tys must provide exactly one type for each overloaded type in
 
69
  /// the intrinsic.
 
70
  Function *getDeclaration(Module *M, ID id, ArrayRef<Type*> Tys = None);
 
71
 
74
72
  /// Map a GCC builtin name to an intrinsic ID.
75
73
  ID getIntrinsicForGCCBuiltin(const char *Prefix, const char *BuiltinName);
76
74