Deleted Added
full compact
TargetIntrinsicInfo.h (276479) TargetIntrinsicInfo.h (280031)
1//===-- llvm/Target/TargetIntrinsicInfo.h - Instruction Info ----*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 38 unchanged lines hidden (view full) ---

47 /// names.
48 virtual unsigned lookupName(const char *Name, unsigned Len) const =0;
49
50 /// Return the target intrinsic ID of a function, or 0.
51 virtual unsigned getIntrinsicID(Function *F) const;
52
53 /// Returns true if the intrinsic can be overloaded.
54 virtual bool isOverloaded(unsigned IID) const = 0;
1//===-- llvm/Target/TargetIntrinsicInfo.h - Instruction Info ----*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 38 unchanged lines hidden (view full) ---

47 /// names.
48 virtual unsigned lookupName(const char *Name, unsigned Len) const =0;
49
50 /// Return the target intrinsic ID of a function, or 0.
51 virtual unsigned getIntrinsicID(Function *F) const;
52
53 /// Returns true if the intrinsic can be overloaded.
54 virtual bool isOverloaded(unsigned IID) const = 0;
55
55
56 /// Create or insert an LLVM Function declaration for an intrinsic,
57 /// and return it. The Tys and numTys are for intrinsics with overloaded
58 /// types. See above for more information.
59 virtual Function *getDeclaration(Module *M, unsigned ID, Type **Tys = nullptr,
60 unsigned numTys = 0) const = 0;
61};
62
63} // End llvm namespace
64
65#endif
56 /// Create or insert an LLVM Function declaration for an intrinsic,
57 /// and return it. The Tys and numTys are for intrinsics with overloaded
58 /// types. See above for more information.
59 virtual Function *getDeclaration(Module *M, unsigned ID, Type **Tys = nullptr,
60 unsigned numTys = 0) const = 0;
61};
62
63} // End llvm namespace
64
65#endif